{
"version": "eosio::abi/1.2",
"types": [
{
"new_type_name": "order_status",
"type": "uint8"
},
{
"new_type_name": "status_type",
"type": "uint8"
},
{
"new_type_name": "tx_status",
"type": "uint8"
},
{
"new_type_name": "withdraw_status",
"type": "uint8"
}
],
"structs": [
{
"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[]"
}
]
},
{
"name": "addcolladdr",
"base": "",
"fields": [
{
"name": "permission_id",
"type": "uint64"
},
{
"name": "collection_address",
"type": "string"
},
{
"name": "address_type",
"type": "string"
}
]
},
{
"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$"
}
]
},
{
"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"
}
]
},
{
"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?"
}
]
},
{
"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"
}
]
},
{
"name": "clearaddress",
"base": "",
"fields": [
{
"name": "permission_id",
"type": "uint64"
},
{
"name": "rows",
"type": "uint64"
}
]
},
{
"name": "collection_address_row",
"base": "",
"fields": [
{
"name": "id",
"type": "uint64"
},
{
"name": "collection_address",
"type": "string"
},
{
"name": "address_type",
"type": "string"
}
]
},
{
"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"
}
]
},
{
"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$"
}
]
},
{
"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"
}
]
},
{
"name": "genorderno",
"base": "",
"fields": [
{
"name": "permission_id",
"type": "uint64"
}
]
},
{
"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"
}
]
},
{
"name": "initialize",
"base": "",
"fields": []
},
{
"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"
}
]
},
{
"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?"
}
]
},
{
"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"
}
]
},
{
"name": "permission_row",
"base": "",
"fields": [
{
"name": "id",
"type": "uint64"
},
{
"name": "actors",
"type": "name[]"
}
]
},
{
"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[]"
}
]
},
{
"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"
}
]
},
{
"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"
}
]
},
{
"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"
}
]
},
{
"name": "upddeposit",
"base": "",
"fields": [
{
"name": "actor",
"type": "name"
},
{
"name": "permission_id",
"type": "uint64"
},
{
"name": "deposit_id",
"type": "uint64"
},
{
"name": "tx_status",
"type": "tx_status"
}
]
},
{
"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"
}
]
},
{
"name": "valaddress",
"base": "",
"fields": [
{
"name": "actor",
"type": "name"
},
{
"name": "permission_id",
"type": "uint64"
},
{
"name": "address_id",
"type": "uint64"
},
{
"name": "status",
"type": "status_type"
}
]
},
{
"name": "valdeposit",
"base": "",
"fields": [
{
"name": "actor",
"type": "name"
},
{
"name": "permission_id",
"type": "uint64"
},
{
"name": "deposit_id",
"type": "uint64"
},
{
"name": "tx_status",
"type": "tx_status"
}
]
},
{
"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"
}
]
},
{
"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"
}
]
},
{
"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"
}
]
},
{
"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"
}
]
}
],
"actions": [
{
"name": "addaddresses",
"type": "addaddresses",
"ricardian_contract": ""
},
{
"name": "addcolladdr",
"type": "addcolladdr",
"ricardian_contract": ""
},
{
"name": "appaddrmap",
"type": "appaddrmap",
"ricardian_contract": ""
},
{
"name": "clearaddress",
"type": "clearaddress",
"ricardian_contract": ""
},
{
"name": "delapp",
"type": "delapp",
"ricardian_contract": ""
},
{
"name": "delcolladdr",
"type": "delcolladdr",
"ricardian_contract": ""
},
{
"name": "delperm",
"type": "delperm",
"ricardian_contract": ""
},
{
"name": "deposit",
"type": "deposit",
"ricardian_contract": ""
},
{
"name": "depositlog",
"type": "depositlog",
"ricardian_contract": ""
},
{
"name": "genorderno",
"type": "genorderno",
"ricardian_contract": ""
},
{
"name": "initialize",
"type": "initialize",
"ricardian_contract": ""
},
{
"name": "mapaddrlog",
"type": "mapaddrlog",
"ricardian_contract": ""
},
{
"name": "mappingaddr",
"type": "mappingaddr",
"ricardian_contract": ""
},
{
"name": "movecolladdr",
"type": "movecolladdr",
"ricardian_contract": ""
},
{
"name": "notifylog",
"type": "notifylog",
"ricardian_contract": ""
},
{
"name": "resetorderno",
"type": "resetorderno",
"ricardian_contract": ""
},
{
"name": "setapp",
"type": "setapp",
"ricardian_contract": ""
},
{
"name": "setperm",
"type": "setperm",
"ricardian_contract": ""
},
{
"name": "updapp",
"type": "updapp",
"ricardian_contract": ""
},
{
"name": "updateconfig",
"type": "updateconfig",
"ricardian_contract": ""
},
{
"name": "upddeposit",
"type": "upddeposit",
"ricardian_contract": ""
},
{
"name": "updwithdraw",
"type": "updwithdraw",
"ricardian_contract": ""
},
{
"name": "valaddress",
"type": "valaddress",
"ricardian_contract": ""
},
{
"name": "valdeposit",
"type": "valdeposit",
"ricardian_contract": ""
},
{
"name": "valwithdraw",
"type": "valwithdraw",
"ricardian_contract": ""
},
{
"name": "withdrawinfo",
"type": "withdrawinfo",
"ricardian_contract": ""
},
{
"name": "withdrawlog",
"type": "withdrawlog",
"ricardian_contract": ""
},
{
"name": "wthdrwinglog",
"type": "wthdrwinglog",
"ricardian_contract": ""
}
],
"tables": [
{
"name": "addresses",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "address_row"
},
{
"name": "addrmappings",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "address_mapping_row"
},
{
"name": "application",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "application_row"
},
{
"name": "boot",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "boot_row"
},
{
"name": "collectaddr",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "collection_address_row"
},
{
"name": "configs",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "config_row"
},
{
"name": "depositings",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "deposit_row"
},
{
"name": "deposits",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "deposit_row"
},
{
"name": "globalid",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "global_id_row"
},
{
"name": "permissions",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "permission_row"
},
{
"name": "statistics",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "statistics_row"
},
{
"name": "transactions",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "transaction_row"
},
{
"name": "withdrawings",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "withdraw_row"
},
{
"name": "withdraws",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "withdraw_row"
}
],
"ricardian_clauses": [],
"error_messages": [],
"abi_extensions": [],
"variants": [],
"action_results": []
}