[ { "type": "function", "name": "BC_FUSION_CHANNELID", "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": "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": "DECREASE_RATE", "inputs": [], "outputs": [ { "name": "", "type": "uint256", "internalType": "uint256" } ], "stateMutability": "view" }, { "type": "function", "name": "ERROR_FAIL_DECODE", "inputs": [], "outputs": [ { "name": "", "type": "uint32", "internalType": "uint32" } ], "stateMutability": "view" }, { "type": "function", "name": "FELONY_THRESHOLD", "inputs": [], "outputs": [ { "name": "", "type": "uint256", "internalType": "uint256" } ], "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": "INIT_FELONY_SLASH_REWARD_RATIO", "inputs": [], "outputs": [ { "name": "", "type": "uint256", "internalType": "uint256" } ], "stateMutability": "view" }, { "type": "function", "name": "INIT_FELONY_SLASH_SCOPE", "inputs": [], "outputs": [ { "name": "", "type": "uint256", "internalType": "uint256" } ], "stateMutability": "view" }, { "type": "function", "name": "LIGHT_CLIENT_ADDR", "inputs": [], "outputs": [ { "name": "", "type": "address", "internalType": "address" } ], "stateMutability": "view" }, { "type": "function", "name": "MISDEMEANOR_THRESHOLD", "inputs": [], "outputs": [ { "name": "", "type": "uint256", "internalType": "uint256" } ], "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": "SYSTEM_REWARD_ADDR", "inputs": [], "outputs": [ { "name": "", "type": "address", "internalType": "address" } ], "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": "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": "bscChainID", "inputs": [], "outputs": [ { "name": "", "type": "uint16", "internalType": "uint16" } ], "stateMutability": "view" }, { "type": "function", "name": "clean", "inputs": [], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "downtimeSlash", "inputs": [ { "name": "validator", "type": "address", "internalType": "address" }, { "name": "count", "type": "uint256", "internalType": "uint256" } ], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "enableMaliciousVoteSlash", "inputs": [], "outputs": [ { "name": "", "type": "bool", "internalType": "bool" } ], "stateMutability": "view" }, { "type": "function", "name": "felonySlashRewardRatio", "inputs": [], "outputs": [ { "name": "", "type": "uint256", "internalType": "uint256" } ], "stateMutability": "view" }, { "type": "function", "name": "felonySlashScope", "inputs": [], "outputs": [ { "name": "", "type": "uint256", "internalType": "uint256" } ], "stateMutability": "view" }, { "type": "function", "name": "felonyThreshold", "inputs": [], "outputs": [ { "name": "", "type": "uint256", "internalType": "uint256" } ], "stateMutability": "view" }, { "type": "function", "name": "getSlashIndicator", "inputs": [ { "name": "validator", "type": "address", "internalType": "address" } ], "outputs": [ { "name": "", "type": "uint256", "internalType": "uint256" }, { "name": "", "type": "uint256", "internalType": "uint256" } ], "stateMutability": "view" }, { "type": "function", "name": "getSlashThresholds", "inputs": [], "outputs": [ { "name": "", "type": "uint256", "internalType": "uint256" }, { "name": "", "type": "uint256", "internalType": "uint256" } ], "stateMutability": "view" }, { "type": "function", "name": "handleAckPackage", "inputs": [ { "name": "", "type": "uint8", "internalType": "uint8" }, { "name": "msgBytes", "type": "bytes", "internalType": "bytes" } ], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "handleFailAckPackage", "inputs": [ { "name": "", "type": "uint8", "internalType": "uint8" }, { "name": "", "type": "bytes", "internalType": "bytes" } ], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "handleSynPackage", "inputs": [ { "name": "", "type": "uint8", "internalType": "uint8" }, { "name": "", "type": "bytes", "internalType": "bytes" } ], "outputs": [ { "name": "", "type": "bytes", "internalType": "bytes" } ], "stateMutability": "nonpayable" }, { "type": "function", "name": "indicators", "inputs": [ { "name": "", "type": "address", "internalType": "address" } ], "outputs": [ { "name": "height", "type": "uint256", "internalType": "uint256" }, { "name": "count", "type": "uint256", "internalType": "uint256" }, { "name": "exist", "type": "bool", "internalType": "bool" } ], "stateMutability": "view" }, { "type": "function", "name": "init", "inputs": [], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "misdemeanorThreshold", "inputs": [], "outputs": [ { "name": "", "type": "uint256", "internalType": "uint256" } ], "stateMutability": "view" }, { "type": "function", "name": "previousHeight", "inputs": [], "outputs": [ { "name": "", "type": "uint256", "internalType": "uint256" } ], "stateMutability": "view" }, { "type": "function", "name": "sendFelonyPackage", "inputs": [ { "name": "validator", "type": "address", "internalType": "address" } ], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "slash", "inputs": [ { "name": "validator", "type": "address", "internalType": "address" } ], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "submitDoubleSignEvidence", "inputs": [ { "name": "header1", "type": "bytes", "internalType": "bytes" }, { "name": "header2", "type": "bytes", "internalType": "bytes" } ], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "submitFinalityViolationEvidence", "inputs": [ { "name": "_evidence", "type": "tuple", "internalType": "struct SlashIndicator.FinalityEvidence", "components": [ { "name": "voteA", "type": "tuple", "internalType": "struct SlashIndicator.VoteData", "components": [ { "name": "srcNum", "type": "uint256", "internalType": "uint256" }, { "name": "srcHash", "type": "bytes32", "internalType": "bytes32" }, { "name": "tarNum", "type": "uint256", "internalType": "uint256" }, { "name": "tarHash", "type": "bytes32", "internalType": "bytes32" }, { "name": "sig", "type": "bytes", "internalType": "bytes" } ] }, { "name": "voteB", "type": "tuple", "internalType": "struct SlashIndicator.VoteData", "components": [ { "name": "srcNum", "type": "uint256", "internalType": "uint256" }, { "name": "srcHash", "type": "bytes32", "internalType": "bytes32" }, { "name": "tarNum", "type": "uint256", "internalType": "uint256" }, { "name": "tarHash", "type": "bytes32", "internalType": "bytes32" }, { "name": "sig", "type": "bytes", "internalType": "bytes" } ] }, { "name": "voteAddr", "type": "bytes", "internalType": "bytes" } ] } ], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "updateParam", "inputs": [ { "name": "key", "type": "string", "internalType": "string" }, { "name": "value", "type": "bytes", "internalType": "bytes" } ], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "validators", "inputs": [ { "name": "", "type": "uint256", "internalType": "uint256" } ], "outputs": [ { "name": "", "type": "address", "internalType": "address" } ], "stateMutability": "view" }, { "type": "event", "name": "crashResponse", "inputs": [], "anonymous": false }, { "type": "event", "name": "failedFelony", "inputs": [ { "name": "validator", "type": "address", "indexed": true, "internalType": "address" }, { "name": "slashCount", "type": "uint256", "indexed": false, "internalType": "uint256" }, { "name": "failReason", "type": "bytes", "indexed": false, "internalType": "bytes" } ], "anonymous": false }, { "type": "event", "name": "indicatorCleaned", "inputs": [], "anonymous": false }, { "type": "event", "name": "knownResponse", "inputs": [ { "name": "code", "type": "uint32", "indexed": false, "internalType": "uint32" } ], "anonymous": false }, { "type": "event", "name": "maliciousVoteSlashed", "inputs": [ { "name": "voteAddrSlice", "type": "bytes32", "indexed": true, "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": "unKnownResponse", "inputs": [ { "name": "code", "type": "uint32", "indexed": false, "internalType": "uint32" } ], "anonymous": false }, { "type": "event", "name": "validatorSlashed", "inputs": [ { "name": "validator", "type": "address", "indexed": true, "internalType": "address" } ], "anonymous": false } ]