mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-27 08:45:19 +00:00
f4b8bf8f07
* first pass at convert cosmos coin -> evm msg * test ConvertCosmosCoinFromERC20 method * test message server for MsgConvertCosmosCoinFromERC20 * update spec to include MsgConvertCosmosCoinFromERC20 * update changelog * add CLI command for convert-cosmos-coin-from-erc20 * add test of removed/re-enable denom for convert
54 lines
2.4 KiB
Markdown
54 lines
2.4 KiB
Markdown
<!--
|
|
order: 4
|
|
-->
|
|
|
|
# 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'} |
|
|
|
|
### MsgConvertCosmosCoinFromERC20
|
|
|
|
| Type | Attribute Key | Attribute Value |
|
|
| ------------------------------ | ------------- | ------------------ |
|
|
| convert_cosmos_coin_from_erc20 | initiator | `{initiator}` |
|
|
| convert_cosmos_coin_from_erc20 | receiver | `{receiver}` |
|
|
| convert_cosmos_coin_from_erc20 | erc20_address | `{erc20_address}` |
|
|
| convert_cosmos_coin_from_erc20 | amount | `{amount}` |
|
|
| message | module | evmutil |
|
|
| message | sender | {'sender address'} |
|