Modules

  • Transaction type | type | code | remark | | ———————– | —————– | ———————————— | | WALLET_REGISTER | 100u32 | Wallet register. | | DEPOSIT | 200u32 | Deposit transaction. | | WITHDRAWAL | 201u32 | Withdraw transaction. | | TRANSFER | 300u32 | Transfer transaction. | | RESET_MAIN_SECRET | 400u32 | Create main secret transaction. | | CREATE_API_SECRET | 401u32 | Create api secret transaction. | | DESTROY_API_SECRET | 402u32 | Destroy api secret transaction. | | CREATE_SPOT_ORDER | 500u32 | Submit spot order. | | CANCEL_SPOT_ORDER | 501u32 | Cancel spot order. | | ADD_AMM_V2_LIQUIDITY | 600u32 | Add AMM-V2 liquidity. | | REMOVE_AMM_V2_LIQUIDITY | 601u32 | Remove AMM-V2 liquidity. |

Structs

Type Definitions