mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-27 00:35:18 +00:00
fd83da7a05
* better error message for mismatched events * rename evm asset conversion event types * emit message event for MsgConvertCosmosCoinToERC20 * emit convert_cosmos_coin_to_erc20 event
1.8 KiB
1.8 KiB
Events
The evmutil module emits the following events:
Handlers
MsgConvertERC20ToCoin
Type | Attribute Key | Attribute Value |
---|---|---|
convert_evm_erc20_to_coin | initiator | {initiator} |
convert_evm_erc20_to_coin | receiver | {receiver} |
convert_evm_erc20_to_coin | erc20_address | {erc20_address} |
convert_evm_erc20_to_coin | amount | {amount} |
message | module | evmutil |
message | sender | {'sender address'} |
MsgConvertCoinToERC20
Type | Attribute Key | Attribute Value |
---|---|---|
convert_evm_erc20_from_coin | initiator | {initiator} |
convert_evm_erc20_from_coin | receiver | {receiver} |
convert_evm_erc20_from_coin | erc20_address | {erc20_address} |
convert_evm_erc20_from_coin | amount | {amount} |
message | module | evmutil |
message | sender | {'sender address'} |
MsgConvertCosmosCoinToERC20
Type | Attribute Key | Attribute Value |
---|---|---|
convert_cosmos_coin_to_erc20 | initiator | {initiator} |
convert_cosmos_coin_to_erc20 | receiver | {receiver} |
convert_cosmos_coin_to_erc20 | erc20_address | {erc20_address} |
convert_cosmos_coin_to_erc20 | amount | {amount} |
message | module | evmutil |
message | sender | {'sender address'} |