
The data structures defined by this contract.
Action parameter in addaddresses
{ "name": "addaddresses", "base": "", "fields": [ { "name": "actor", "type": "name" }, { "name": "permission_id", "type": "uint64" }, { "name": "b_id", "type": "string" }, { "name": "wallet_code", "type": "string" }, { "name": "btc_addresses", "type": "string[]" } ] }
Action parameter in addcolladdr
{ "name": "addcolladdr", "base": "", "fields": [ { "name": "permission_id", "type": "uint64" }, { "name": "collection_address", "type": "string" }, { "name": "address_type", "type": "string" } ] }
Table row type of addrmappings
{ "name": "address_mapping_row", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "b_id", "type": "string" }, { "name": "wallet_code", "type": "string" }, { "name": "btc_address", "type": "string" }, { "name": "evm_address", "type": "checksum160" }, { "name": "last_bridge_time", "type": "time_point_sec" }, { "name": "applicant", "type": "name$" }, { "name": "remark", "type": "string$" }, { "name": "whitelist_btc_address", "type": "string$" } ] }
Table row type of addresses
{ "name": "address_row", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "permission_id", "type": "uint64" }, { "name": "provider_actors", "type": "name[]" }, { "name": "statuses", "type": "bytes" }, { "name": "confirmed_count", "type": "uint8" }, { "name": "global_status", "type": "status_type" }, { "name": "b_id", "type": "string" }, { "name": "wallet_code", "type": "string" }, { "name": "btc_address", "type": "string" } ] }
Action parameter in appaddrmap
{ "name": "appaddrmap", "base": "", "fields": [ { "name": "actor", "type": "name" }, { "name": "permission_id", "type": "uint64" }, { "name": "recipient_address", "type": "string" }, { "name": "remark", "type": "string" }, { "name": "assign_deposit_address", "type": "string?" } ] }
Table row type of application
{ "name": "application_row", "base": "", "fields": [ { "name": "applicant", "type": "name" }, { "name": "notify_contract", "type": "string" }, { "name": "function_selector", "type": "string" }, { "name": "enable", "type": "bool" }, { "name": "address_used_count", "type": "uint64" }, { "name": "address_limit_count", "type": "uint64" } ] }
-
{ "name": "boot_row", "base": "", "fields": [ { "name": "initialized", "type": "bool" }, { "name": "returned", "type": "bool" }, { "name": "quantity", "type": "asset" } ] }
Action parameter in clearaddress
{ "name": "clearaddress", "base": "", "fields": [ { "name": "permission_id", "type": "uint64" }, { "name": "rows", "type": "uint64" } ] }
Table row type of collectaddr
{ "name": "collection_address_row", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "collection_address", "type": "string" }, { "name": "address_type", "type": "string" } ] }
Table row type of configs
{ "name": "config_row", "base": "", "fields": [ { "name": "deposit_enable", "type": "bool" }, { "name": "withdraw_enable", "type": "bool" }, { "name": "check_uxto_enable", "type": "bool" }, { "name": "limit_amount", "type": "uint64" }, { "name": "deposit_fee", "type": "uint64" }, { "name": "withdraw_fast_fee", "type": "uint64" }, { "name": "withdraw_slow_fee", "type": "uint64" }, { "name": "withdraw_merge_count", "type": "uint16" }, { "name": "withdraw_timeout_minutes", "type": "uint16" }, { "name": "btc_address_inactive_clear_days", "type": "uint16" }, { "name": "gas_limit", "type": "uint64$" }, { "name": "withdraw_max_amount", "type": "uint64$" } ] }
-
{ "name": "delapp", "base": "", "fields": [ { "name": "applicant", "type": "name" } ] }
Action parameter in delcolladdr
{ "name": "delcolladdr", "base": "", "fields": [ { "name": "permission_id", "type": "uint64" }, { "name": "id", "type": "uint64" } ] }
-
{ "name": "delperm", "base": "", "fields": [ { "name": "id", "type": "uint64" } ] }
-
{ "name": "deposit", "base": "", "fields": [ { "name": "actor", "type": "name" }, { "name": "permission_id", "type": "uint64" }, { "name": "b_id", "type": "string" }, { "name": "wallet_code", "type": "string" }, { "name": "sender_address", "type": "string" }, { "name": "btc_address", "type": "string" }, { "name": "order_id", "type": "string" }, { "name": "block_height", "type": "uint64" }, { "name": "tx_id", "type": "checksum256" }, { "name": "index", "type": "int32" }, { "name": "amount", "type": "uint64" }, { "name": "tx_status", "type": "tx_status" }, { "name": "remark_detail", "type": "string?" }, { "name": "tx_time_stamp", "type": "uint64" }, { "name": "create_time_stamp", "type": "uint64" } ] }
-
{ "name": "deposit_row", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "permission_id", "type": "uint64" }, { "name": "provider_actors", "type": "name[]" }, { "name": "confirmed_count", "type": "uint8" }, { "name": "tx_status", "type": "tx_status" }, { "name": "global_status", "type": "status_type" }, { "name": "b_id", "type": "string" }, { "name": "wallet_code", "type": "string" }, { "name": "btc_address", "type": "string" }, { "name": "evm_address", "type": "checksum160" }, { "name": "order_id", "type": "string" }, { "name": "block_height", "type": "uint64" }, { "name": "tx_id", "type": "checksum256" }, { "name": "index", "type": "int32" }, { "name": "amount", "type": "uint64" }, { "name": "fee", "type": "uint64" }, { "name": "remark_detail", "type": "string" }, { "name": "tx_time_stamp", "type": "uint64" }, { "name": "create_time_stamp", "type": "uint64" }, { "name": "applicant", "type": "name$" }, { "name": "remark", "type": "string$" }, { "name": "sender_address", "type": "string$" } ] }
Action parameter in depositlog
{ "name": "depositlog", "base": "", "fields": [ { "name": "permission_id", "type": "uint64" }, { "name": "deposit_id", "type": "uint64" }, { "name": "b_id", "type": "string" }, { "name": "wallet_code", "type": "string" }, { "name": "global_status", "type": "status_type" }, { "name": "sender_address", "type": "string" }, { "name": "btc_address", "type": "string" }, { "name": "evm_address", "type": "checksum160" }, { "name": "order_id", "type": "string" }, { "name": "block_height", "type": "uint64" }, { "name": "tx_id", "type": "checksum256" }, { "name": "index", "type": "int32" }, { "name": "amount", "type": "uint64" }, { "name": "fee", "type": "uint64" }, { "name": "issue_amount", "type": "uint64" }, { "name": "remark_detail", "type": "string" }, { "name": "tx_time_stamp", "type": "uint64" }, { "name": "create_time_stamp", "type": "uint64" }, { "name": "transaction_id", "type": "checksum256" } ] }
Action parameter in genorderno
{ "name": "genorderno", "base": "", "fields": [ { "name": "permission_id", "type": "uint64" } ] }
Table row type of globalid
{ "name": "global_id_row", "base": "", "fields": [ { "name": "permission_id", "type": "uint64" }, { "name": "address_id", "type": "uint64" }, { "name": "address_mapping_id", "type": "uint64" }, { "name": "deposit_id", "type": "uint64" }, { "name": "withdraw_id", "type": "uint64" } ] }
Action parameter in initialize
{ "name": "initialize", "base": "", "fields": [] }
Action parameter in mapaddrlog
{ "name": "mapaddrlog", "base": "", "fields": [ { "name": "actor", "type": "name" }, { "name": "permission_id", "type": "uint64" }, { "name": "address_id", "type": "uint64" }, { "name": "evm_address", "type": "checksum160" }, { "name": "btc_address", "type": "string" }, { "name": "remark", "type": "string" } ] }
Action parameter in mappingaddr
{ "name": "mappingaddr", "base": "", "fields": [ { "name": "actor", "type": "name" }, { "name": "permission_id", "type": "uint64" }, { "name": "evm_address", "type": "checksum160" }, { "name": "assign_deposit_address", "type": "string?" }, { "name": "whitelist_btc_address", "type": "string?" } ] }
Action parameter in movecolladdr
{ "name": "movecolladdr", "base": "", "fields": [ { "name": "permission_id", "type": "uint64" }, { "name": "deposit_address", "type": "string" }, { "name": "address_type", "type": "string" } ] }
-
{ "name": "notifylog", "base": "", "fields": [ { "name": "applicant", "type": "name" }, { "name": "deposit_address", "type": "string" }, { "name": "recipient_address", "type": "checksum160" }, { "name": "notify_contract", "type": "string" }, { "name": "token", "type": "string" }, { "name": "symbol", "type": "string" }, { "name": "amount", "type": "uint64" }, { "name": "fee", "type": "uint64" }, { "name": "remark", "type": "string" } ] }
Table row type of permissions
{ "name": "permission_row", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "actors", "type": "name[]" } ] }
Action parameter in resetorderno
{ "name": "resetorderno", "base": "", "fields": [ { "name": "permission_id", "type": "uint64" }, { "name": "ids", "type": "uint64[]" } ] }
-
{ "name": "setapp", "base": "", "fields": [ { "name": "applicant", "type": "name" }, { "name": "notify_contract", "type": "string" }, { "name": "function_selector", "type": "string" }, { "name": "enable", "type": "bool" }, { "name": "address_limit_count", "type": "uint64" } ] }
-
{ "name": "setperm", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "actors", "type": "name[]" } ] }
Table row type of statistics
{ "name": "statistics_row", "base": "", "fields": [ { "name": "total_btc_address_count", "type": "uint64" }, { "name": "mapped_address_count", "type": "uint64" }, { "name": "total_deposit_amount", "type": "uint64" }, { "name": "total_withdraw_amount", "type": "uint64" } ] }
Table row type of transactions
{ "name": "transaction_row", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "permission_id", "type": "uint64" }, { "name": "transaction_id", "type": "checksum256" } ] }
-
{ "name": "updapp", "base": "", "fields": [ { "name": "applicant", "type": "name" }, { "name": "address_limit_count", "type": "uint64" } ] }
Action parameter in updateconfig
{ "name": "updateconfig", "base": "", "fields": [ { "name": "permission_id", "type": "uint64" }, { "name": "deposit_enable", "type": "bool" }, { "name": "withdraw_enable", "type": "bool" }, { "name": "check_uxto_enable", "type": "bool" }, { "name": "limit_amount", "type": "uint64" }, { "name": "deposit_fee", "type": "uint64" }, { "name": "withdraw_fast_fee", "type": "uint64" }, { "name": "withdraw_slow_fee", "type": "uint64" }, { "name": "withdraw_merge_count", "type": "uint16" }, { "name": "withdraw_timeout_minutes", "type": "uint16" }, { "name": "btc_address_inactive_clear_days", "type": "uint16" }, { "name": "gas_limit", "type": "uint64" }, { "name": "withdraw_max_amount", "type": "uint64" } ] }
Action parameter in upddeposit
{ "name": "upddeposit", "base": "", "fields": [ { "name": "actor", "type": "name" }, { "name": "permission_id", "type": "uint64" }, { "name": "deposit_id", "type": "uint64" }, { "name": "tx_status", "type": "tx_status" } ] }
Action parameter in updwithdraw
{ "name": "updwithdraw", "base": "", "fields": [ { "name": "actor", "type": "name" }, { "name": "permission_id", "type": "uint64" }, { "name": "withdraw_id", "type": "uint64" }, { "name": "withdraw_status", "type": "withdraw_status" }, { "name": "order_status", "type": "order_status" } ] }
Action parameter in valaddress
{ "name": "valaddress", "base": "", "fields": [ { "name": "actor", "type": "name" }, { "name": "permission_id", "type": "uint64" }, { "name": "address_id", "type": "uint64" }, { "name": "status", "type": "status_type" } ] }
Action parameter in valdeposit
{ "name": "valdeposit", "base": "", "fields": [ { "name": "actor", "type": "name" }, { "name": "permission_id", "type": "uint64" }, { "name": "deposit_id", "type": "uint64" }, { "name": "tx_status", "type": "tx_status" } ] }
Action parameter in valwithdraw
{ "name": "valwithdraw", "base": "", "fields": [ { "name": "actor", "type": "name" }, { "name": "permission_id", "type": "uint64" }, { "name": "withdraw_id", "type": "uint64" }, { "name": "order_status", "type": "order_status" } ] }
-
{ "name": "withdraw_row", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "permission_id", "type": "uint64" }, { "name": "provider_actors", "type": "name[]" }, { "name": "confirmed_count", "type": "uint8" }, { "name": "order_status", "type": "order_status" }, { "name": "withdraw_status", "type": "withdraw_status" }, { "name": "global_status", "type": "status_type" }, { "name": "b_id", "type": "string" }, { "name": "wallet_code", "type": "string" }, { "name": "btc_address", "type": "string" }, { "name": "evm_address", "type": "checksum160" }, { "name": "gas_level", "type": "string" }, { "name": "order_id", "type": "string" }, { "name": "order_no", "type": "string" }, { "name": "block_height", "type": "uint64" }, { "name": "tx_id", "type": "checksum256" }, { "name": "amount", "type": "uint64" }, { "name": "fee", "type": "uint64" }, { "name": "remark_detail", "type": "string" }, { "name": "tx_time_stamp", "type": "uint64" }, { "name": "create_time_stamp", "type": "uint64" }, { "name": "withdraw_time_stamp", "type": "uint64" } ] }
Action parameter in withdrawinfo
{ "name": "withdrawinfo", "base": "", "fields": [ { "name": "actor", "type": "name" }, { "name": "permission_id", "type": "uint64" }, { "name": "withdraw_id", "type": "uint64" }, { "name": "b_id", "type": "string" }, { "name": "wallet_code", "type": "string" }, { "name": "order_id", "type": "string" }, { "name": "withdraw_status", "type": "withdraw_status" }, { "name": "order_status", "type": "order_status" }, { "name": "block_height", "type": "uint64" }, { "name": "tx_id", "type": "checksum256" }, { "name": "remark_detail", "type": "string?" }, { "name": "tx_time_stamp", "type": "uint64" }, { "name": "create_time_stamp", "type": "uint64" } ] }
Action parameter in withdrawlog
{ "name": "withdrawlog", "base": "", "fields": [ { "name": "permission_id", "type": "uint64" }, { "name": "withdraw_id", "type": "uint64" }, { "name": "b_id", "type": "string" }, { "name": "wallet_code", "type": "string" }, { "name": "global_status", "type": "status_type" }, { "name": "btc_address", "type": "string" }, { "name": "evm_address", "type": "checksum160" }, { "name": "order_id", "type": "string" }, { "name": "order_no", "type": "string" }, { "name": "withdraw_status", "type": "withdraw_status" }, { "name": "order_status", "type": "order_status" }, { "name": "block_height", "type": "uint64" }, { "name": "tx_id", "type": "checksum256" }, { "name": "amount", "type": "uint64" }, { "name": "fee", "type": "uint64" }, { "name": "remark_detail", "type": "string" }, { "name": "tx_time_stamp", "type": "uint64" }, { "name": "create_time_stamp", "type": "uint64" }, { "name": "withdraw_time_stamp", "type": "uint64" }, { "name": "transaction_id", "type": "checksum256" } ] }
Action parameter in wthdrwinglog
{ "name": "wthdrwinglog", "base": "", "fields": [ { "name": "permission_id", "type": "uint64" }, { "name": "withdraw_id", "type": "uint64" }, { "name": "global_status", "type": "status_type" }, { "name": "btc_address", "type": "string" }, { "name": "evm_address", "type": "checksum160" }, { "name": "order_no", "type": "string" }, { "name": "withdraw_status", "type": "withdraw_status" }, { "name": "withdraw_amount", "type": "uint64" }, { "name": "withdraw_fee", "type": "uint64" }, { "name": "transfer_amount", "type": "uint64" }, { "name": "withdraw_time_stamp", "type": "time_point_sec" }, { "name": "transaction_id", "type": "checksum256" } ] }