smart-contracts icon indicating copy to clipboard operation
smart-contracts copied to clipboard

avoid calling token.decimals() in reserve trade flow

Open ilanDoron opened this issue 5 years ago • 0 comments

in the reserve make sure this is a function that saves decimals for new tokens. so we should never call token.decimals() as part of trade flow. to avoid extra gas consumption.

ilanDoron avatar Dec 04 '19 20:12 ilanDoron