
此合约定义的数据结构。
addreporter中的操作参数
{ "name": "addreporter", "base": "", "fields": [ { "name": "reporter", "type": "name" } ] }-
{ "name": "addtoken", "base": "", "fields": [ { "name": "token_symbol", "type": "extended_symbol" }, { "name": "chain_id", "type": "uint8" }, { "name": "remote_token_address", "type": "checksum160" }, { "name": "remote_token_symbol", "type": "symbol" }, { "name": "remote_precision", "type": "uint8" } ] } -
{ "name": "claimed", "base": "", "fields": [ { "name": "reporter", "type": "name" }, { "name": "id", "type": "uint64" }, { "name": "token_address", "type": "checksum160" }, { "name": "quantity", "type": "asset" } ] } -
{ "name": "closepool", "base": "", "fields": [ { "name": "pool_id", "type": "uint64" }, { "name": "send_tokens", "type": "bool" } ] } clrreports中的操作参数
{ "name": "clrreports", "base": "", "fields": [] }clrsignature中的操作参数
{ "name": "clrsignature", "base": "", "fields": [ { "name": "id", "type": "uint64" } ] }clrteleports中的操作参数
{ "name": "clrteleports", "base": "", "fields": [] }-
{ "name": "config", "base": "", "fields": [ { "name": "admin_account", "type": "name" }, { "name": "enabled", "type": "bool" }, { "name": "pools_account", "type": "name" }, { "name": "threshold", "type": "uint32" }, { "name": "last_teleport_id", "type": "uint64" }, { "name": "last_report_id", "type": "uint64" } ] } -
{ "name": "exec", "base": "", "fields": [ { "name": "reporter", "type": "name" }, { "name": "report_id", "type": "uint64" } ] } -
{ "name": "exec2", "base": "", "fields": [ { "name": "reporter", "type": "name" }, { "name": "report_id", "type": "uint64" } ] } execfailed中的操作参数
{ "name": "execfailed", "base": "", "fields": [ { "name": "reporter", "type": "name" }, { "name": "report_id", "type": "uint64" } ] }-
{ "name": "extended_symbol", "base": "", "fields": [ { "name": "sym", "type": "symbol" }, { "name": "contract", "type": "name" } ] } fixteleports中的操作参数
{ "name": "fixteleports", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "token_address", "type": "checksum160" }, { "name": "token_amount", "type": "asset" } ] }-
{ "name": "init", "base": "", "fields": [ { "name": "admin_account", "type": "name" }, { "name": "enabled", "type": "bool" }, { "name": "pools_account", "type": "name" } ] } -
{ "name": "logwallet", "base": "", "fields": [ { "name": "owner", "type": "name" }, { "name": "chain_id", "type": "uint8" }, { "name": "token_address", "type": "checksum160" }, { "name": "quantity", "type": "extended_asset" } ] } -
{ "name": "pair_checksum256_remote_token_info", "base": "", "fields": [ { "name": "key", "type": "checksum256" }, { "name": "value", "type": "remote_token_info" } ] } 的结构体属性 pools_row
{ "name": "pair_name_string", "base": "", "fields": [ { "name": "key", "type": "name" }, { "name": "value", "type": "string" } ] }的结构体属性 pools_row
{ "name": "pair_name_uint32", "base": "", "fields": [ { "name": "key", "type": "name" }, { "name": "value", "type": "uint32" } ] }-
{ "name": "pool_info", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "owner", "type": "name" }, { "name": "total_raise", "type": "pair_checksum256_remote_token_info[]" } ] } -
{ "name": "pools_row", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "owner", "type": "name" }, { "name": "pool_type", "type": "name" }, { "name": "title", "type": "string" }, { "name": "avatar", "type": "string" }, { "name": "tag_line", "type": "string" }, { "name": "description", "type": "string" }, { "name": "status", "type": "name" }, { "name": "base_token", "type": "extended_symbol" }, { "name": "swap_ratio", "type": "extended_asset" }, { "name": "soft_cap", "type": "asset" }, { "name": "hard_cap", "type": "asset" }, { "name": "minimum_swap", "type": "asset" }, { "name": "maximum_swap", "type": "asset" }, { "name": "remaining_ask", "type": "asset" }, { "name": "remaining_offer", "type": "asset" }, { "name": "total_raise", "type": "asset" }, { "name": "directly_allocated", "type": "asset" }, { "name": "participants", "type": "uint16" }, { "name": "pool_open", "type": "time_point_sec" }, { "name": "private_end", "type": "time_point_sec" }, { "name": "public_end", "type": "time_point_sec" }, { "name": "bonus", "type": "uint16" }, { "name": "commission_rate", "type": "double_t" }, { "name": "commission_account", "type": "name" }, { "name": "token_lockup", "type": "bool" }, { "name": "lockup_percent", "type": "uint16" }, { "name": "lockup_period", "type": "uint16" }, { "name": "whitelist", "type": "name[]" }, { "name": "web_links", "type": "pair_name_string[]" }, { "name": "sentiment", "type": "pair_name_uint32[]" }, { "name": "tags", "type": "pair_name_string[]" } ] } -
{ "name": "reclaim", "base": "", "fields": [ { "name": "owner", "type": "name" }, { "name": "to_address", "type": "checksum160" } ] } -
{ "name": "remote_token_info", "base": "", "fields": [ { "name": "chain_id", "type": "uint8" }, { "name": "token_address", "type": "checksum160" }, { "name": "quantity", "type": "asset" } ] } -
{ "name": "report", "base": "", "fields": [ { "name": "reporter", "type": "name" }, { "name": "transfer", "type": "transfer_item" } ] } reports 的表格行类型
{ "name": "report_item", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "transfer", "type": "transfer_item" }, { "name": "confirmed", "type": "bool" }, { "name": "confirmed_by", "type": "name[]" }, { "name": "executed", "type": "bool" }, { "name": "failed", "type": "bool" }, { "name": "failed_by", "type": "name[]" }, { "name": "expires_at", "type": "time_point_sec" }, { "name": "retained", "type": "asset" }, { "name": "refunding", "type": "asset" }, { "name": "complete", "type": "bool" } ] }reporters 的表格行类型
{ "name": "reporter_info", "base": "", "fields": [ { "name": "account", "type": "name" }, { "name": "points", "type": "uint64" } ] }rmreporter中的操作参数
{ "name": "rmreporter", "base": "", "fields": [ { "name": "reporter", "type": "name" } ] }-
{ "name": "rmtoken", "base": "", "fields": [ { "name": "token_symbol", "type": "extended_symbol" }, { "name": "chain_id", "type": "uint8" }, { "name": "remote_token_address", "type": "checksum160" } ] } -
{ "name": "settings", "base": "", "fields": [ { "name": "admin", "type": "name" }, { "name": "platform_token", "type": "extended_symbol" }, { "name": "featured_pools", "type": "uint64[]" }, { "name": "listing_fee", "type": "asset" }, { "name": "premium_access_fee", "type": "asset" }, { "name": "social_fee", "type": "asset" }, { "name": "lockup_buckets", "type": "uint32" }, { "name": "unstake_buckets", "type": "uint32" }, { "name": "social_buckets", "type": "uint32" }, { "name": "fee_account", "type": "name" }, { "name": "success_fee", "type": "double_t" }, { "name": "website", "type": "string" }, { "name": "contact", "type": "string" }, { "name": "sourcecode", "type": "string" }, { "name": "enabled", "type": "bool" }, { "name": "last_pool_id", "type": "uint64" }, { "name": "last_pool_account_id", "type": "uint64" }, { "name": "last_token_id", "type": "uint64" }, { "name": "stake_pool", "type": "asset" } ] } -
{ "name": "sign", "base": "", "fields": [ { "name": "reporter", "type": "name" }, { "name": "id", "type": "uint64" }, { "name": "signature", "type": "string" } ] } -
{ "name": "teleport_item", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "time", "type": "uint32" }, { "name": "account", "type": "name" }, { "name": "to_address", "type": "checksum160" }, { "name": "chain_id", "type": "uint8" }, { "name": "token_address", "type": "checksum160" }, { "name": "token_amount", "type": "asset" }, { "name": "oracles", "type": "name[]" }, { "name": "signatures", "type": "string[]" }, { "name": "claimed", "type": "bool" } ] } tokenavatar中的操作参数
{ "name": "tokenavatar", "base": "", "fields": [ { "name": "token_symbol", "type": "extended_symbol" }, { "name": "chain_id", "type": "uint8" }, { "name": "remote_token_address", "type": "checksum160" }, { "name": "avatar_url", "type": "string" } ] }-
{ "name": "tokens", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "token_info", "type": "extended_symbol" }, { "name": "remote_chain_id", "type": "uint8" }, { "name": "remote_token_address", "type": "checksum160" }, { "name": "remote_token_symbol", "type": "symbol" }, { "name": "remote_precision", "type": "uint8" }, { "name": "avatar", "type": "string" }, { "name": "enabled", "type": "bool" } ] } -
{ "name": "transfer", "base": "", "fields": [ { "name": "teleport", "type": "teleport_item" } ] } -
{ "name": "transfer_item", "base": "", "fields": [ { "name": "transaction_id", "type": "checksum256" }, { "name": "from_address", "type": "checksum160" }, { "name": "to_account", "type": "name" }, { "name": "token_address", "type": "checksum160" }, { "name": "token_amount", "type": "asset" }, { "name": "pool_id", "type": "uint64" }, { "name": "from_chain_id", "type": "uint8" }, { "name": "to_chain_id", "type": "uint8" } ] } -
{ "name": "update", "base": "", "fields": [ { "name": "field", "type": "name" }, { "name": "value", "type": "uint64" } ] } -
{ "name": "wallet", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "chain_id", "type": "uint8" }, { "name": "token_address", "type": "checksum160" }, { "name": "balance", "type": "asset" } ] }