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
which isn't the worst but it would be great to have msg.sender, msg.value, and constants available here.
The text was updated successfully, but these errors were encountered:
haydenadams
changed the title
Allow use of msg.sender, msg.value, and constants as "default value" in public functions
VIP: Allow use of msg.sender, msg.value, and constants as "default value" in public functions
Jul 10, 2019
haydenadams
changed the title
VIP: Allow use of msg.sender, msg.value, and constants as "default value" in public functions
VIP: Allow msg.sender, msg.value, and constants as "default value" in public functions
Jul 10, 2019
So, allow constants and environment variables? I'm on board with that too
haydenadams
changed the title
VIP: Allow msg.sender, msg.value, and constants as "default value" in public functions
VIP: Allow environment variables and constants as "default value" in public functions
Jul 10, 2019
There are a number of Uniswap functions that have a recipient field. It would be great to default this field to msg.sender like so:
Currently I have to do something along these lines:
which isn't the worst but it would be great to have msg.sender, msg.value, and constants available here.
The text was updated successfully, but these errors were encountered: