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

DeployKCSErc20OffchainMnemonicAddress

Model getters

Method name Return type Description Notes
getSymbol() string Name of the ERC20 token - stored as a symbol on Blockchain
Example: MT
 
getSupply() string max supply of ERC20 token.
Example: 10000000
 
getDescription() string Description of the ERC20 token
Example: My ERC20 Token
 
getBasePair() string Base pair for ERC20 token. 1 token will be equal to 1 unit of base pair. Transaction value will be calculated according to this base pair.
Example: EUR
 
getBaseRate() float Exchange rate of the base pair. Each unit of the created curency will represent value of baseRate*1 basePair.
Example: 1
[optional] [default to 1]
getCustomer() \Tatum\Model\CustomerRegistration
Example: null
[optional]
getAddress() string Address on Ethereum blockchain, where all initial supply will be stored. Either xpub and derivationIndex, or address must be present, not both.
Example: 0x687422eEA2cB73B5d3e242bA5456b782919AFc85
 
getMnemonic() string Mnemonic to generate private key for the deploy account of ERC20, from which the gas will be paid (index will be used). If address is not present, mnemonic is used to generate xpub and index is set to 1. Either mnemonic and index or privateKey and address must be present, not both.
Example: urge pulp usage sister evidence arrest palm math please chief egg abuse
 
getIndex() int derivation index of address to pay for deployment of ERC20
Example: 0
 
getNonce() float The nonce to be set to the transaction; if not present, the last known nonce will be used
Example: null
[optional]