You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be really good to know which function called your own contract. Maybe you could add ctx.function which would return the contract that called you or None if it wasn't a contract.
This would allow a pure sell tax for example. Currently that can't be done since all we can know is who called us - for example the Rocketswap contract - but not from which function.
The text was updated successfully, but these errors were encountered:
It would be really good to know which function called your own contract. Maybe you could add
ctx.function
which would return the contract that called you orNone
if it wasn't a contract.This would allow a pure sell tax for example. Currently that can't be done since all we can know is who called us - for example the Rocketswap contract - but not from which function.
The text was updated successfully, but these errors were encountered: