abi
abi: readonly [{
inputs: readonly [{
internalType: "contract IERC20";
name: "_hopToken";
type: "address";
}, {
internalType: "uint256";
name: "_challengePeriod";
type: "uint256";
}, {
internalType: "uint256";
name: "_appealPeriod";
type: "uint256";
}, {
internalType: "uint256";
name: "_minChallengeIncrease";
type: "uint256";
}, {
internalType: "uint256";
name: "_fullAppeal";
type: "uint256";
}, {
internalType: "uint256";
name: "_minHopStake";
type: "uint256";
}, {
internalType: "uint256";
name: "_windowSize";
type: "uint256";
}];
stateMutability: "nonpayable";
type: "constructor";
}, {
inputs: readonly [{
internalType: "address";
name: "challenger";
type: "address";
}, {
internalType: "uint256";
name: "penalty";
type: "uint256";
}, {
internalType: "bytes";
name: "slashingData";
type: "bytes";
}];
name: "acceptSlash";
outputs: readonly [];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "staker";
type: "address";
}, {
internalType: "address";
name: "challenger";
type: "address";
}, {
internalType: "uint256";
name: "penalty";
type: "uint256";
}, {
internalType: "bytes";
name: "slashingData";
type: "bytes";
}];
name: "addToAppeal";
outputs: readonly [];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "staker";
type: "address";
}, {
internalType: "address";
name: "challenger";
type: "address";
}, {
internalType: "uint256";
name: "penalty";
type: "uint256";
}, {
internalType: "bytes";
name: "slashingData";
type: "bytes";
}];
name: "addToChallenge";
outputs: readonly [];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [];
name: "appealPeriod";
outputs: readonly [{
internalType: "uint256";
name: "";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "challengePeriod";
outputs: readonly [{
internalType: "uint256";
name: "";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "staker";
type: "address";
}, {
internalType: "uint256";
name: "penalty";
type: "uint256";
}, {
internalType: "bytes";
name: "slashingData";
type: "bytes";
}];
name: "createChallenge";
outputs: readonly [{
internalType: "bytes32";
name: "";
type: "bytes32";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "challengeId";
type: "bytes32";
}, {
internalType: "bool";
name: "challengeWon";
type: "bool";
}];
name: "forceSettleChallenge";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [];
name: "fullAppeal";
outputs: readonly [{
internalType: "uint256";
name: "";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "staker";
type: "address";
}, {
internalType: "uint256";
name: "penalty";
type: "uint256";
}, {
internalType: "address";
name: "challenger";
type: "address";
}, {
internalType: "bytes";
name: "slashingData";
type: "bytes";
}];
name: "getChallengeId";
outputs: readonly [{
internalType: "bytes32";
name: "";
type: "bytes32";
}];
stateMutability: "pure";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "staker";
type: "address";
}];
name: "getStakedBalance";
outputs: readonly [{
internalType: "uint256";
name: "";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "staker";
type: "address";
}];
name: "getWithdrawableBalance";
outputs: readonly [{
internalType: "uint256";
name: "";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "hopToken";
outputs: readonly [{
internalType: "contract IERC20";
name: "";
type: "address";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "staker";
type: "address";
}];
name: "isStaked";
outputs: readonly [{
internalType: "bool";
name: "";
type: "bool";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "minChallengeIncrease";
outputs: readonly [{
internalType: "uint256";
name: "";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "minHopStake";
outputs: readonly [{
internalType: "uint256";
name: "";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "staker";
type: "address";
}, {
internalType: "address";
name: "challenger";
type: "address";
}, {
internalType: "uint256";
name: "penalty";
type: "uint256";
}, {
internalType: "bytes";
name: "slashingData";
type: "bytes";
}];
name: "optimisticallySettleChallenge";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [];
name: "owner";
outputs: readonly [{
internalType: "address";
name: "";
type: "address";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "renounceOwnership";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "pathId";
type: "bytes32";
}, {
internalType: "uint256";
name: "feeTier";
type: "uint256";
}, {
internalType: "uint256";
name: "liquidity";
type: "uint256";
}];
name: "signalPreference";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "staker";
type: "address";
}, {
internalType: "uint256";
name: "amount";
type: "uint256";
}];
name: "stakeHop";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "newOwner";
type: "address";
}];
name: "transferOwnership";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "uint256";
name: "amount";
type: "uint256";
}];
name: "unstakeHop";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [];
name: "windowSize";
outputs: readonly [{
internalType: "uint256";
name: "";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "staker";
type: "address";
}];
name: "withdrawStake";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "";
type: "address";
}];
name: "withdrawableEth";
outputs: readonly [{
internalType: "uint256";
name: "";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
anonymous: false;
inputs: readonly [{
indexed: true;
internalType: "address";
name: "bonder";
type: "address";
}, {
indexed: true;
internalType: "bytes32";
name: "pathId";
type: "bytes32";
}, {
indexed: true;
internalType: "uint256";
name: "feeTier";
type: "uint256";
}, {
indexed: false;
internalType: "uint256";
name: "liquidity";
type: "uint256";
}];
name: "BonderPreference";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: true;
internalType: "address";
name: "previousOwner";
type: "address";
}, {
indexed: true;
internalType: "address";
name: "newOwner";
type: "address";
}];
name: "OwnershipTransferred";
type: "event";
}] = StakingRegistry__factory.abi