smart-contracts
smart-contracts copied to clipboard
avoid calling token.decimals() in reserve trade flow
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.