Standard ERC20 token functionality for native Cosmos tokens
Method | Gas Cost |
---|---|
name() | ~3,000 gas |
symbol() | ~3,000 gas |
decimals() | ~2,000 gas |
totalSupply() | ~2,500 gas |
balanceOf(address) | ~2,900 gas |
allowance(address,address) | ~3,000 gas |
transfer(address,uint256) | ~35,000 gas |
transferFrom(address,address,uint256) | ~40,000 gas |
approve(address,uint256) | ~30,000 gas |
increaseAllowance(address,uint256) | ~30,500 gas |
decreaseAllowance(address,uint256) | ~30,500 gas |
uatom
, stake
) exists as a native tokentotalSupply
balanceOf
transfer
transferFrom
approve
allowance
name
symbol
decimals