|
static void | generateCallDataForTotalSupply (uint8_t data[4]) |
| Generates the Ethereum ABI encoded data for calling the totalSupply() function of a XRC20 token. More...
|
|
static void | generateCallDataForBalanceOf (uint8_t address[ETH_ADDRESS_SIZE], uint8_t data[IOTEX_CONTRACT_ENCODED_TOTALSUPPLY_SIZE]) |
| Generates the Ethereum ABI encoded data for calling the balanceOf() function of a XRC20 token. More...
|
|
static void | generateCallDataForTransfer (uint8_t to[ETH_ADDRESS_SIZE], uint64_t value, uint8_t data[IOTEX_CONTRACT_ENCODED_TRANSFER_SIZE]) |
| Generates the Ethereum ABI encoded data for calling the transfer() function of a XRC20 token. More...
|
|
◆ generateCallDataForBalanceOf()
void Xrc20Contract::generateCallDataForBalanceOf |
( |
uint8_t |
address[ETH_ADDRESS_SIZE], |
|
|
uint8_t |
data[IOTEX_CONTRACT_ENCODED_TOTALSUPPLY_SIZE] |
|
) |
| |
|
static |
Generates the Ethereum ABI encoded data for calling the balanceOf() function of a XRC20 token.
- Parameters
-
| address | The ethereum address |
[out] | data | The buffere where the data is stored |
◆ generateCallDataForTotalSupply()
void Xrc20Contract::generateCallDataForTotalSupply |
( |
uint8_t |
data[4] | ) |
|
|
static |
Generates the Ethereum ABI encoded data for calling the totalSupply() function of a XRC20 token.
- Parameters
-
[out] | data | The buffer where the data is stored |
◆ generateCallDataForTransfer()
void Xrc20Contract::generateCallDataForTransfer |
( |
uint8_t |
to[ETH_ADDRESS_SIZE], |
|
|
uint64_t |
value, |
|
|
uint8_t |
data[IOTEX_CONTRACT_ENCODED_TRANSFER_SIZE] |
|
) |
| |
|
static |
Generates the Ethereum ABI encoded data for calling the transfer() function of a XRC20 token.
- Parameters
-
to | The ethereum destination address |
value | The amount to transfer |
data | |
The documentation for this class was generated from the following files: