ERC20InterfaceUpgaradable.sol
Important changes to the ERC20 implementation
ERC20Interface will be using the balance info coming from gAVAX, so there is no _balances
There is also a function for pricePerShare, so it is easy for any code to keep track of underlying AVAX balances.
Balance info for the used ID's ERC20interface will show the gAVAX balance info.
TotalSupply info for the used ID's ERC20interface will show the gAVAX totalSupply info.
Note, these code pieces should NOT be used in production.
See it on Diffchecker.
See it on Github.
Last updated