[ { "type": "function", "name": "BC_FUSION_CHANNELID", "inputs": [], "outputs": [ { "name": "", "type": "uint8", "internalType": "uint8" } ], "stateMutability": "view" }, { "type": "function", "name": "BEP2_TOKEN_DECIMALS", "inputs": [], "outputs": [ { "name": "", "type": "uint8", "internalType": "uint8" } ], "stateMutability": "view" }, { "type": "function", "name": "BIND_CHANNELID", "inputs": [], "outputs": [ { "name": "", "type": "uint8", "internalType": "uint8" } ], "stateMutability": "view" }, { "type": "function", "name": "BIND_PACKAGE", "inputs": [], "outputs": [ { "name": "", "type": "uint8", "internalType": "uint8" } ], "stateMutability": "view" }, { "type": "function", "name": "BIND_STATUS_ALREADY_BOUND_TOKEN", "inputs": [], "outputs": [ { "name": "", "type": "uint8", "internalType": "uint8" } ], "stateMutability": "view" }, { "type": "function", "name": "BIND_STATUS_DECIMALS_MISMATCH", "inputs": [], "outputs": [ { "name": "", "type": "uint8", "internalType": "uint8" } ], "stateMutability": "view" }, { "type": "function", "name": "BIND_STATUS_REJECTED", "inputs": [], "outputs": [ { "name": "", "type": "uint8", "internalType": "uint8" } ], "stateMutability": "view" }, { "type": "function", "name": "BIND_STATUS_SYMBOL_MISMATCH", "inputs": [], "outputs": [ { "name": "", "type": "uint8", "internalType": "uint8" } ], "stateMutability": "view" }, { "type": "function", "name": "BIND_STATUS_TIMEOUT", "inputs": [], "outputs": [ { "name": "", "type": "uint8", "internalType": "uint8" } ], "stateMutability": "view" }, { "type": "function", "name": "BIND_STATUS_TOO_MUCH_TOKENHUB_BALANCE", "inputs": [], "outputs": [ { "name": "", "type": "uint8", "internalType": "uint8" } ], "stateMutability": "view" }, { "type": "function", "name": "BIND_STATUS_TOTAL_SUPPLY_MISMATCH", "inputs": [], "outputs": [ { "name": "", "type": "uint8", "internalType": "uint8" } ], "stateMutability": "view" }, { "type": "function", "name": "CODE_OK", "inputs": [], "outputs": [ { "name": "", "type": "uint32", "internalType": "uint32" } ], "stateMutability": "view" }, { "type": "function", "name": "CROSS_CHAIN_CONTRACT_ADDR", "inputs": [], "outputs": [ { "name": "", "type": "address", "internalType": "address" } ], "stateMutability": "view" }, { "type": "function", "name": "CROSS_STAKE_CHANNELID", "inputs": [], "outputs": [ { "name": "", "type": "uint8", "internalType": "uint8" } ], "stateMutability": "view" }, { "type": "function", "name": "ERROR_FAIL_DECODE", "inputs": [], "outputs": [ { "name": "", "type": "uint32", "internalType": "uint32" } ], "stateMutability": "view" }, { "type": "function", "name": "GOVERNOR_ADDR", "inputs": [], "outputs": [ { "name": "", "type": "address", "internalType": "address" } ], "stateMutability": "view" }, { "type": "function", "name": "GOV_CHANNELID", "inputs": [], "outputs": [ { "name": "", "type": "uint8", "internalType": "uint8" } ], "stateMutability": "view" }, { "type": "function", "name": "GOV_HUB_ADDR", "inputs": [], "outputs": [ { "name": "", "type": "address", "internalType": "address" } ], "stateMutability": "view" }, { "type": "function", "name": "GOV_TOKEN_ADDR", "inputs": [], "outputs": [ { "name": "", "type": "address", "internalType": "address" } ], "stateMutability": "view" }, { "type": "function", "name": "INCENTIVIZE_ADDR", "inputs": [], "outputs": [ { "name": "", "type": "address", "internalType": "address" } ], "stateMutability": "view" }, { "type": "function", "name": "LIGHT_CLIENT_ADDR", "inputs": [], "outputs": [ { "name": "", "type": "address", "internalType": "address" } ], "stateMutability": "view" }, { "type": "function", "name": "LOG_MAX_UINT256", "inputs": [], "outputs": [ { "name": "", "type": "uint256", "internalType": "uint256" } ], "stateMutability": "view" }, { "type": "function", "name": "MAXIMUM_BEP20_SYMBOL_LEN", "inputs": [], "outputs": [ { "name": "", "type": "uint8", "internalType": "uint8" } ], "stateMutability": "view" }, { "type": "function", "name": "MAX_BEP2_TOTAL_SUPPLY", "inputs": [], "outputs": [ { "name": "", "type": "uint256", "internalType": "uint256" } ], "stateMutability": "view" }, { "type": "function", "name": "MAX_GAS_FOR_TRANSFER_BNB", "inputs": [], "outputs": [ { "name": "", "type": "uint256", "internalType": "uint256" } ], "stateMutability": "view" }, { "type": "function", "name": "MINIMUM_BEP20_SYMBOL_LEN", "inputs": [], "outputs": [ { "name": "", "type": "uint8", "internalType": "uint8" } ], "stateMutability": "view" }, { "type": "function", "name": "MIRROR_CHANNELID", "inputs": [], "outputs": [ { "name": "", "type": "uint8", "internalType": "uint8" } ], "stateMutability": "view" }, { "type": "function", "name": "MIRROR_STATUS_ALREADY_BOUND", "inputs": [], "outputs": [ { "name": "", "type": "uint8", "internalType": "uint8" } ], "stateMutability": "view" }, { "type": "function", "name": "MIRROR_STATUS_DUPLICATED_BEP2_SYMBOL", "inputs": [], "outputs": [ { "name": "", "type": "uint8", "internalType": "uint8" } ], "stateMutability": "view" }, { "type": "function", "name": "MIRROR_STATUS_TIMEOUT", "inputs": [], "outputs": [ { "name": "", "type": "uint8", "internalType": "uint8" } ], "stateMutability": "view" }, { "type": "function", "name": "RELAYERHUB_CONTRACT_ADDR", "inputs": [], "outputs": [ { "name": "", "type": "address", "internalType": "address" } ], "stateMutability": "view" }, { "type": "function", "name": "SLASH_CHANNELID", "inputs": [], "outputs": [ { "name": "", "type": "uint8", "internalType": "uint8" } ], "stateMutability": "view" }, { "type": "function", "name": "SLASH_CONTRACT_ADDR", "inputs": [], "outputs": [ { "name": "", "type": "address", "internalType": "address" } ], "stateMutability": "view" }, { "type": "function", "name": "STAKE_CREDIT_ADDR", "inputs": [], "outputs": [ { "name": "", "type": "address", "internalType": "address" } ], "stateMutability": "view" }, { "type": "function", "name": "STAKE_HUB_ADDR", "inputs": [], "outputs": [ { "name": "", "type": "address", "internalType": "address" } ], "stateMutability": "view" }, { "type": "function", "name": "STAKING_CHANNELID", "inputs": [], "outputs": [ { "name": "", "type": "uint8", "internalType": "uint8" } ], "stateMutability": "view" }, { "type": "function", "name": "STAKING_CONTRACT_ADDR", "inputs": [], "outputs": [ { "name": "", "type": "address", "internalType": "address" } ], "stateMutability": "view" }, { "type": "function", "name": "SYNC_CHANNELID", "inputs": [], "outputs": [ { "name": "", "type": "uint8", "internalType": "uint8" } ], "stateMutability": "view" }, { "type": "function", "name": "SYNC_STATUS_NOT_BOUND_MIRROR", "inputs": [], "outputs": [ { "name": "", "type": "uint8", "internalType": "uint8" } ], "stateMutability": "view" }, { "type": "function", "name": "SYNC_STATUS_TIMEOUT", "inputs": [], "outputs": [ { "name": "", "type": "uint8", "internalType": "uint8" } ], "stateMutability": "view" }, { "type": "function", "name": "SYSTEM_REWARD_ADDR", "inputs": [], "outputs": [ { "name": "", "type": "address", "internalType": "address" } ], "stateMutability": "view" }, { "type": "function", "name": "TEN_DECIMALS", "inputs": [], "outputs": [ { "name": "", "type": "uint256", "internalType": "uint256" } ], "stateMutability": "view" }, { "type": "function", "name": "TIMELOCK_ADDR", "inputs": [], "outputs": [ { "name": "", "type": "address", "internalType": "address" } ], "stateMutability": "view" }, { "type": "function", "name": "TOKEN_HUB_ADDR", "inputs": [], "outputs": [ { "name": "", "type": "address", "internalType": "address" } ], "stateMutability": "view" }, { "type": "function", "name": "TOKEN_MANAGER_ADDR", "inputs": [], "outputs": [ { "name": "", "type": "address", "internalType": "address" } ], "stateMutability": "view" }, { "type": "function", "name": "TOKEN_RECOVER_PORTAL_ADDR", "inputs": [], "outputs": [ { "name": "", "type": "address", "internalType": "address" } ], "stateMutability": "view" }, { "type": "function", "name": "TRANSFER_IN_CHANNELID", "inputs": [], "outputs": [ { "name": "", "type": "uint8", "internalType": "uint8" } ], "stateMutability": "view" }, { "type": "function", "name": "TRANSFER_OUT_CHANNELID", "inputs": [], "outputs": [ { "name": "", "type": "uint8", "internalType": "uint8" } ], "stateMutability": "view" }, { "type": "function", "name": "UNBIND_PACKAGE", "inputs": [], "outputs": [ { "name": "", "type": "uint8", "internalType": "uint8" } ], "stateMutability": "view" }, { "type": "function", "name": "VALIDATOR_CONTRACT_ADDR", "inputs": [], "outputs": [ { "name": "", "type": "address", "internalType": "address" } ], "stateMutability": "view" }, { "type": "function", "name": "alreadyInit", "inputs": [], "outputs": [ { "name": "", "type": "bool", "internalType": "bool" } ], "stateMutability": "view" }, { "type": "function", "name": "approveBind", "inputs": [ { "name": "contractAddr", "type": "address", "internalType": "address" }, { "name": "bep2Symbol", "type": "string", "internalType": "string" } ], "outputs": [ { "name": "", "type": "bool", "internalType": "bool" } ], "stateMutability": "payable" }, { "type": "function", "name": "bindPackageRecord", "inputs": [ { "name": "", "type": "bytes32", "internalType": "bytes32" } ], "outputs": [ { "name": "packageType", "type": "uint8", "internalType": "uint8" }, { "name": "bep2TokenSymbol", "type": "bytes32", "internalType": "bytes32" }, { "name": "contractAddr", "type": "address", "internalType": "address" }, { "name": "totalSupply", "type": "uint256", "internalType": "uint256" }, { "name": "peggyAmount", "type": "uint256", "internalType": "uint256" }, { "name": "bep20Decimals", "type": "uint8", "internalType": "uint8" }, { "name": "expireTime", "type": "uint64", "internalType": "uint64" } ], "stateMutability": "view" }, { "type": "function", "name": "boundByMirror", "inputs": [ { "name": "", "type": "address", "internalType": "address" } ], "outputs": [ { "name": "", "type": "bool", "internalType": "bool" } ], "stateMutability": "view" }, { "type": "function", "name": "bscChainID", "inputs": [], "outputs": [ { "name": "", "type": "uint16", "internalType": "uint16" } ], "stateMutability": "view" }, { "type": "function", "name": "expireBind", "inputs": [ { "name": "bep2Symbol", "type": "string", "internalType": "string" } ], "outputs": [ { "name": "", "type": "bool", "internalType": "bool" } ], "stateMutability": "payable" }, { "type": "function", "name": "handleAckPackage", "inputs": [ { "name": "channelId", "type": "uint8", "internalType": "uint8" }, { "name": "msgBytes", "type": "bytes", "internalType": "bytes" } ], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "handleFailAckPackage", "inputs": [ { "name": "channelId", "type": "uint8", "internalType": "uint8" }, { "name": "msgBytes", "type": "bytes", "internalType": "bytes" } ], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "handleSynPackage", "inputs": [ { "name": "channelId", "type": "uint8", "internalType": "uint8" }, { "name": "msgBytes", "type": "bytes", "internalType": "bytes" } ], "outputs": [ { "name": "", "type": "bytes", "internalType": "bytes" } ], "stateMutability": "nonpayable" }, { "type": "function", "name": "mirror", "inputs": [ { "name": "bep20Addr", "type": "address", "internalType": "address" }, { "name": "expireTime", "type": "uint64", "internalType": "uint64" } ], "outputs": [ { "name": "", "type": "bool", "internalType": "bool" } ], "stateMutability": "payable" }, { "type": "function", "name": "mirrorFee", "inputs": [], "outputs": [ { "name": "", "type": "uint256", "internalType": "uint256" } ], "stateMutability": "view" }, { "type": "function", "name": "mirrorPendingRecord", "inputs": [ { "name": "", "type": "address", "internalType": "address" } ], "outputs": [ { "name": "", "type": "bool", "internalType": "bool" } ], "stateMutability": "view" }, { "type": "function", "name": "queryRequiredLockAmountForBind", "inputs": [ { "name": "symbol", "type": "string", "internalType": "string" } ], "outputs": [ { "name": "", "type": "uint256", "internalType": "uint256" } ], "stateMutability": "view" }, { "type": "function", "name": "rejectBind", "inputs": [ { "name": "contractAddr", "type": "address", "internalType": "address" }, { "name": "bep2Symbol", "type": "string", "internalType": "string" } ], "outputs": [ { "name": "", "type": "bool", "internalType": "bool" } ], "stateMutability": "payable" }, { "type": "function", "name": "sync", "inputs": [ { "name": "bep20Addr", "type": "address", "internalType": "address" }, { "name": "expireTime", "type": "uint64", "internalType": "uint64" } ], "outputs": [ { "name": "", "type": "bool", "internalType": "bool" } ], "stateMutability": "payable" }, { "type": "function", "name": "syncFee", "inputs": [], "outputs": [ { "name": "", "type": "uint256", "internalType": "uint256" } ], "stateMutability": "view" }, { "type": "function", "name": "updateParam", "inputs": [ { "name": "key", "type": "string", "internalType": "string" }, { "name": "value", "type": "bytes", "internalType": "bytes" } ], "outputs": [], "stateMutability": "nonpayable" }, { "type": "event", "name": "bindFailure", "inputs": [ { "name": "contractAddr", "type": "address", "indexed": true, "internalType": "address" }, { "name": "bep2Symbol", "type": "string", "indexed": false, "internalType": "string" }, { "name": "failedReason", "type": "uint32", "indexed": false, "internalType": "uint32" } ], "anonymous": false }, { "type": "event", "name": "bindSuccess", "inputs": [ { "name": "contractAddr", "type": "address", "indexed": true, "internalType": "address" }, { "name": "bep2Symbol", "type": "string", "indexed": false, "internalType": "string" }, { "name": "totalSupply", "type": "uint256", "indexed": false, "internalType": "uint256" }, { "name": "peggyAmount", "type": "uint256", "indexed": false, "internalType": "uint256" } ], "anonymous": false }, { "type": "event", "name": "mirrorFailure", "inputs": [ { "name": "bep20Addr", "type": "address", "indexed": true, "internalType": "address" }, { "name": "errCode", "type": "uint8", "indexed": false, "internalType": "uint8" } ], "anonymous": false }, { "type": "event", "name": "mirrorSuccess", "inputs": [ { "name": "bep20Addr", "type": "address", "indexed": true, "internalType": "address" }, { "name": "bep2Symbol", "type": "bytes32", "indexed": false, "internalType": "bytes32" } ], "anonymous": false }, { "type": "event", "name": "paramChange", "inputs": [ { "name": "key", "type": "string", "indexed": false, "internalType": "string" }, { "name": "value", "type": "bytes", "indexed": false, "internalType": "bytes" } ], "anonymous": false }, { "type": "event", "name": "syncFailure", "inputs": [ { "name": "bep20Addr", "type": "address", "indexed": true, "internalType": "address" }, { "name": "errCode", "type": "uint8", "indexed": false, "internalType": "uint8" } ], "anonymous": false }, { "type": "event", "name": "syncSuccess", "inputs": [ { "name": "bep20Addr", "type": "address", "indexed": true, "internalType": "address" } ], "anonymous": false }, { "type": "event", "name": "unexpectedPackage", "inputs": [ { "name": "channelId", "type": "uint8", "indexed": false, "internalType": "uint8" }, { "name": "msgBytes", "type": "bytes", "indexed": false, "internalType": "bytes" } ], "anonymous": false } ]