
此合约定义的数据结构。
-
{ "name": "addremote", "base": "", "fields": [ { "name": "token_symbol", "type": "extended_symbol" }, { "name": "chain_id", "type": "uint32" }, { "name": "token_contract", "type": "string" } ] } -
{ "name": "addtoken", "base": "", "fields": [ { "name": "token_symbol", "type": "extended_symbol" }, { "name": "min_quantity", "type": "asset" }, { "name": "enabled", "type": "bool" } ] } -
{ "name": "cancel", "base": "", "fields": [ { "name": "id", "type": "uint64" } ] } cancels 的表格行类型
{ "name": "cancel_item", "base": "", "fields": [ { "name": "teleport_id", "type": "uint64" } ] }-
{ "name": "claimed", "base": "", "fields": [ { "name": "oracle_name", "type": "name" }, { "name": "id", "type": "uint64" }, { "name": "to_eth", "type": "checksum256" }, { "name": "quantity", "type": "asset" } ] } delreceipts中的操作参数
{ "name": "delreceipts", "base": "", "fields": [] }-
{ "name": "delteles", "base": "", "fields": [] } deposits 的表格行类型
{ "name": "deposit_item", "base": "", "fields": [ { "name": "token_contract", "type": "name" }, { "name": "balance", "type": "asset" } ] }-
{ "name": "disable", "base": "", "fields": [] } -
{ "name": "enable", "base": "", "fields": [] } -
{ "name": "extended_symbol", "base": "", "fields": [ { "name": "sym", "type": "symbol" }, { "name": "contract", "type": "name" } ] } -
{ "name": "init", "base": "", "fields": [ { "name": "admin_account", "type": "name" }, { "name": "threshold", "type": "uint32" } ] } logteleport中的操作参数
{ "name": "logteleport", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "timestamp", "type": "uint32" }, { "name": "from", "type": "name" }, { "name": "quantity", "type": "asset" }, { "name": "chain_id", "type": "uint8" }, { "name": "eth_address", "type": "checksum256" } ] }oracles 的表格行类型
{ "name": "oracle_item", "base": "", "fields": [ { "name": "account", "type": "name" } ] }的结构体属性 tokens_item
{ "name": "pair_uint32_asset", "base": "", "fields": [ { "name": "key", "type": "uint32" }, { "name": "value", "type": "asset" } ] }的结构体属性 tokens_item
{ "name": "pair_uint32_string", "base": "", "fields": [ { "name": "key", "type": "uint32" }, { "name": "value", "type": "string" } ] }receipts 的表格行类型
{ "name": "receipt_item", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "date", "type": "time_point_sec" }, { "name": "ref", "type": "checksum256" }, { "name": "to", "type": "name" }, { "name": "from_chain_id", "type": "uint8" }, { "name": "to_chain_id", "type": "uint8" }, { "name": "confirmations", "type": "uint8" }, { "name": "token_contract", "type": "name" }, { "name": "quantity", "type": "asset" }, { "name": "approvers", "type": "name[]" }, { "name": "completed", "type": "bool" } ] }-
{ "name": "received", "base": "", "fields": [ { "name": "oracle_name", "type": "name" }, { "name": "to", "type": "name" }, { "name": "ref", "type": "checksum256" }, { "name": "quantity", "type": "asset" }, { "name": "from_chain_id", "type": "uint8" }, { "name": "to_chain_id", "type": "uint8" }, { "name": "confirmed", "type": "bool" } ] } -
{ "name": "regoracle", "base": "", "fields": [ { "name": "oracle_name", "type": "name" } ] } removetoken中的操作参数
{ "name": "removetoken", "base": "", "fields": [ { "name": "token_symbol", "type": "extended_symbol" } ] }-
{ "name": "setlocked", "base": "", "fields": [ { "name": "chain_id", "type": "uint32" }, { "name": "quantity", "type": "asset" } ] } setpending中的操作参数
{ "name": "setpending", "base": "", "fields": [ { "name": "chain_id", "type": "uint32" }, { "name": "quantity", "type": "asset" } ] }setthreshold中的操作参数
{ "name": "setthreshold", "base": "", "fields": [ { "name": "threshold", "type": "uint32" } ] }-
{ "name": "settings", "base": "", "fields": [ { "name": "admin_account", "type": "name" }, { "name": "enabled", "type": "bool" }, { "name": "threshold", "type": "uint32" }, { "name": "last_teleport_id", "type": "uint64" }, { "name": "last_receipts_id", "type": "uint64" } ] } -
{ "name": "sign", "base": "", "fields": [ { "name": "oracle_name", "type": "name" }, { "name": "id", "type": "uint64" }, { "name": "signature", "type": "string" } ] } -
{ "name": "teleport", "base": "", "fields": [ { "name": "from", "type": "name" }, { "name": "quantity", "type": "asset" }, { "name": "chain_id", "type": "uint8" }, { "name": "eth_address", "type": "checksum256" } ] } teleports 的表格行类型
{ "name": "teleport_item", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "time", "type": "uint32" }, { "name": "account", "type": "name" }, { "name": "token_contract", "type": "name" }, { "name": "quantity", "type": "asset" }, { "name": "chain_id", "type": "int8" }, { "name": "eth_address", "type": "checksum256" }, { "name": "oracles", "type": "name[]" }, { "name": "signatures", "type": "string[]" }, { "name": "claimed", "type": "bool" } ] }tokens 的表格行类型
{ "name": "tokens_item", "base": "", "fields": [ { "name": "token", "type": "extended_symbol" }, { "name": "min_quantity", "type": "asset" }, { "name": "claim_by_user", "type": "bool" }, { "name": "enabled", "type": "bool" }, { "name": "remote_contracts", "type": "pair_uint32_string[]" }, { "name": "pending", "type": "pair_uint32_asset[]" }, { "name": "locked", "type": "pair_uint32_asset[]" } ] }unregoracle中的操作参数
{ "name": "unregoracle", "base": "", "fields": [ { "name": "oracle_name", "type": "name" } ] }updatetoken中的操作参数
{ "name": "updatetoken", "base": "", "fields": [ { "name": "token_symbol", "type": "extended_symbol" }, { "name": "min_quantity", "type": "asset" }, { "name": "enabled", "type": "bool" } ] }-
{ "name": "withdraw", "base": "", "fields": [ { "name": "from", "type": "name" }, { "name": "quantity", "type": "asset" } ] }