Skip to main content Link Menu Expand (external link) Document Search Copy Copied

DeployErc20KMSCelo

Model getters

Method name Return type Description Notes
getSymbol() string Symbol of the ERC20 token
Example: ERC_SYMBOL
 
getName() string Name of the ERC20 token
Example: MyERC20
 
getTotalCap() string Max supply of ERC20 token.
Example: 10000000
[optional]
getSupply() string Max supply of ERC20 token.
Example: 10000000
 
getDigits() float Number of decimal points
Example: 18
 
getAddress() string Address on Celo blockchain, where all created ERC20 tokens will be transferred.
Example: 0xa0Ca9FF38Bad06eBe64f0fDfF279cAE35129F5C6
 
getIndex() float If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic.
Example: null
[optional]
getSignatureId() string Identifier of the private key associated in signing application. Private key, or signature Id must be present.
Example: 26d3883e-4e17-48b3-a0ee-09a3e484ac83
 
getNonce() float Nonce to be set to Celo transaction. If not present, last known nonce will be used.
Example: null
[optional]
getFeeCurrency() string Currency to pay for transaction gas
Example: null