UNPKG

@skalenetwork/fair-manager-types

Version:

TypeScript typings for SKALE Fair Manager smart contracts

1,818 lines (1,816 loc) 34.5 kB
// Auto-generated file - do not edit manually import type { Abi } from 'viem'; export const StakingAbi = [ { "inputs": [ { "internalType": "address", "name": "authority", "type": "address" } ], "name": "AccessManagedInvalidAuthority", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "caller", "type": "address" }, { "internalType": "uint32", "name": "delay", "type": "uint32" } ], "name": "AccessManagedRequiredDelay", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "caller", "type": "address" } ], "name": "AccessManagedUnauthorized", "type": "error" }, { "inputs": [ { "internalType": "bytes32", "name": "key", "type": "bytes32" } ], "name": "EnumerableMapNonexistentKey", "type": "error" }, { "inputs": [], "name": "FailedCall", "type": "error" }, { "inputs": [ { "internalType": "uint16", "name": "feeRate", "type": "uint16" } ], "name": "FeeRateIsIncorrect", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "balance", "type": "uint256" }, { "internalType": "uint256", "name": "needed", "type": "uint256" } ], "name": "InsufficientBalance", "type": "error" }, { "inputs": [ { "internalType": "Fair", "name": "provided", "type": "uint256" }, { "internalType": "Fair", "name": "required", "type": "uint256" } ], "name": "InsufficientSelfStake", "type": "error" }, { "inputs": [], "name": "InvalidCommitteeAddress", "type": "error" }, { "inputs": [], "name": "InvalidInitialization", "type": "error" }, { "inputs": [], "name": "InvalidNodesAddress", "type": "error" }, { "inputs": [], "name": "InvalidRewardWalletAddress", "type": "error" }, { "inputs": [ { "internalType": "NodeId", "name": "nodeId", "type": "uint256" } ], "name": "NodeDoesNotExist", "type": "error" }, { "inputs": [ { "internalType": "NodeId", "name": "node", "type": "uint256" } ], "name": "NodeIsAlreadyDisabled", "type": "error" }, { "inputs": [ { "internalType": "NodeId", "name": "node", "type": "uint256" } ], "name": "NodeIsNotDisabled", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "nodeOwner", "type": "address" }, { "internalType": "NodeId", "name": "node", "type": "uint256" } ], "name": "NodeOwnerCannotRetrieveWhileNodeExists", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "sender", "type": "address" } ], "name": "NotAllowedToClaimRewards", "type": "error" }, { "inputs": [ { "internalType": "Fair", "name": "earnedFee", "type": "uint256" } ], "name": "NotEnoughFee", "type": "error" }, { "inputs": [ { "internalType": "Fair", "name": "staked", "type": "uint256" } ], "name": "NotEnoughStaked", "type": "error" }, { "inputs": [], "name": "NotInitializing", "type": "error" }, { "inputs": [ { "internalType": "uint16", "name": "currentRate", "type": "uint16" }, { "internalType": "uint16", "name": "newRate", "type": "uint16" } ], "name": "OnlyFeeReductionIsAllowed", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "receiver", "type": "address" } ], "name": "ReceiverIsAlreadyAllowed", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "receiver", "type": "address" } ], "name": "ReceiverWasNotAllowed", "type": "error" }, { "inputs": [], "name": "ReentrancyGuardReentrantCall", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "requestId", "type": "uint256" } ], "name": "RequestDoesNotExist", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "user", "type": "address" }, { "internalType": "uint256", "name": "requestId", "type": "uint256" } ], "name": "RequestDoesNotExistForUser", "type": "error" }, { "inputs": [ { "internalType": "Timestamp", "name": "currentTime", "type": "uint256" }, { "internalType": "Timestamp", "name": "releaseTime", "type": "uint256" } ], "name": "RequestIsStillLocked", "type": "error" }, { "inputs": [ { "internalType": "NodeId", "name": "node", "type": "uint256" } ], "name": "RewardWalletDoesNotExist", "type": "error" }, { "inputs": [ { "internalType": "Fair", "name": "roundingError", "type": "uint256" } ], "name": "RoundingErrorTooHigh", "type": "error" }, { "inputs": [ { "internalType": "Fair", "name": "currentStake", "type": "uint256" }, { "internalType": "Fair", "name": "attemptedStake", "type": "uint256" }, { "internalType": "Fair", "name": "limit", "type": "uint256" } ], "name": "StakeLimitExceeded", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "user", "type": "address" }, { "internalType": "uint256", "name": "index", "type": "uint256" } ], "name": "UserDoesNotHaveRequestAt", "type": "error" }, { "inputs": [], "name": "ZeroAmount", "type": "error" }, { "inputs": [ { "internalType": "NodeId", "name": "node", "type": "uint256" } ], "name": "ZeroStakeToNode", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "user", "type": "address" }, { "internalType": "uint256", "name": "startIndex", "type": "uint256" }, { "internalType": "uint256", "name": "endIndex", "type": "uint256" } ], "name": "ZeroUnlockedRequests", "type": "error" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "NodeId", "name": "node", "type": "uint256" }, { "indexed": true, "internalType": "address", "name": "receiver", "type": "address" } ], "name": "AllowedReceiverAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "NodeId", "name": "node", "type": "uint256" }, { "indexed": true, "internalType": "address", "name": "receiver", "type": "address" } ], "name": "AllowedReceiverRemoved", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "authority", "type": "address" } ], "name": "AuthorityUpdated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "NodeId", "name": "node", "type": "uint256" }, { "indexed": false, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": true, "internalType": "Fair", "name": "amount", "type": "uint256" } ], "name": "FeeClaimRequested", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint64", "name": "version", "type": "uint64" } ], "name": "Initialized", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "NodeId", "name": "node", "type": "uint256" } ], "name": "NodeDataRemoved", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "NodeId", "name": "node", "type": "uint256" } ], "name": "NodeDisabled", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "NodeId", "name": "node", "type": "uint256" } ], "name": "NodeEnabled", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "NodeId", "name": "node", "type": "uint256" }, { "indexed": false, "internalType": "uint16", "name": "oldFeeRate", "type": "uint16" }, { "indexed": false, "internalType": "uint16", "name": "newFeeRate", "type": "uint16" } ], "name": "NodeFeeRateUpdated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "NodeId", "name": "node", "type": "uint256" }, { "indexed": true, "internalType": "Fair", "name": "amount", "type": "uint256" } ], "name": "NodeRewardReceived", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "user", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "requestId", "type": "uint256" }, { "indexed": true, "internalType": "NodeId", "name": "nodeId", "type": "uint256" }, { "indexed": false, "internalType": "Fair", "name": "amount", "type": "uint256" }, { "indexed": false, "internalType": "Timestamp", "name": "claimDate", "type": "uint256" } ], "name": "RequestClaimed", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "user", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "requestId", "type": "uint256" }, { "indexed": true, "internalType": "NodeId", "name": "nodeId", "type": "uint256" }, { "indexed": false, "internalType": "Fair", "name": "amount", "type": "uint256" }, { "indexed": false, "internalType": "Timestamp", "name": "unlockDate", "type": "uint256" } ], "name": "RequestCreated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "sender", "type": "address" }, { "indexed": true, "internalType": "NodeId", "name": "node", "type": "uint256" }, { "indexed": true, "internalType": "Fair", "name": "amount", "type": "uint256" } ], "name": "RetrieveRequested", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "Timestamp", "name": "retrievingDelay", "type": "uint256" } ], "name": "RetrievingDelayUpdated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "sender", "type": "address" }, { "indexed": true, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "RewardReceived", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "NodeId", "name": "node", "type": "uint256" } ], "name": "RewardWalletCreated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "contract IRewardWallet", "name": "oldReference", "type": "address" }, { "indexed": true, "internalType": "contract IRewardWallet", "name": "newReference", "type": "address" } ], "name": "RewardWalletReferenceUpdated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "NodeId", "name": "nodeId", "type": "uint256" }, { "indexed": false, "internalType": "Fair", "name": "amount", "type": "uint256" } ], "name": "SelfStakeProvided", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "Fair", "name": "amount", "type": "uint256" } ], "name": "SelfStakeRequirementUpdated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "Fair", "name": "newLimit", "type": "uint256" } ], "name": "StakeLimitUpdated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "sender", "type": "address" }, { "indexed": true, "internalType": "NodeId", "name": "node", "type": "uint256" }, { "indexed": true, "internalType": "Fair", "name": "amount", "type": "uint256" } ], "name": "Staked", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "sender", "type": "address" }, { "indexed": true, "internalType": "NodeId", "name": "node", "type": "uint256" } ], "name": "StakedToNewNode", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "sender", "type": "address" }, { "indexed": true, "internalType": "NodeId", "name": "node", "type": "uint256" } ], "name": "StoppedStaking", "type": "event" }, { "inputs": [], "name": "DEFAULT_FEE_RATE", "outputs": [ { "internalType": "uint16", "name": "", "type": "uint16" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "receiver", "type": "address" } ], "name": "addAllowedReceiver", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "authority", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "requestId", "type": "uint256" } ], "name": "claimRequest", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "committee", "outputs": [ { "internalType": "contract ICommittee", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "NodeId", "name": "node", "type": "uint256" } ], "name": "disable", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "NodeId", "name": "node", "type": "uint256" } ], "name": "enable", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "NodeId", "name": "node", "type": "uint256" } ], "name": "getDelegatorsToNode", "outputs": [ { "internalType": "address[]", "name": "delegators", "type": "address[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "NodeId", "name": "node", "type": "uint256" } ], "name": "getDelegatorsToNodeCount", "outputs": [ { "internalType": "uint256", "name": "count", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "NodeId", "name": "node", "type": "uint256" } ], "name": "getEarnedFeeAmount", "outputs": [ { "internalType": "Fair", "name": "amount", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "requestId", "type": "uint256" } ], "name": "getExitRequest", "outputs": [ { "components": [ { "internalType": "uint256", "name": "requestId", "type": "uint256" }, { "internalType": "address", "name": "user", "type": "address" }, { "internalType": "NodeId", "name": "nodeId", "type": "uint256" }, { "internalType": "Fair", "name": "amount", "type": "uint256" }, { "internalType": "Timestamp", "name": "unlockDate", "type": "uint256" } ], "internalType": "struct IStaking.ExitRequest", "name": "request", "type": "tuple" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "user", "type": "address" }, { "internalType": "uint256", "name": "index", "type": "uint256" } ], "name": "getExitRequestAt", "outputs": [ { "components": [ { "internalType": "uint256", "name": "requestId", "type": "uint256" }, { "internalType": "address", "name": "user", "type": "address" }, { "internalType": "NodeId", "name": "nodeId", "type": "uint256" }, { "internalType": "Fair", "name": "amount", "type": "uint256" }, { "internalType": "Timestamp", "name": "unlockDate", "type": "uint256" } ], "internalType": "struct IStaking.ExitRequest", "name": "request", "type": "tuple" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "user", "type": "address" } ], "name": "getExitRequestsCountFor", "outputs": [ { "internalType": "uint256", "name": "count", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getMyExitRequestsCount", "outputs": [ { "internalType": "uint256", "name": "count", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getMyTotalInExitQueue", "outputs": [ { "internalType": "Fair", "name": "amount", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "NodeId", "name": "node", "type": "uint256" } ], "name": "getNodeFeeRate", "outputs": [ { "internalType": "uint16", "name": "feeRate", "type": "uint16" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "NodeId", "name": "node", "type": "uint256" } ], "name": "getNodeShare", "outputs": [ { "internalType": "uint256", "name": "share", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "NodeId", "name": "node", "type": "uint256" } ], "name": "getNodeTotalStake", "outputs": [ { "internalType": "Fair", "name": "amount", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getRetrievingDelay", "outputs": [ { "internalType": "Timestamp", "name": "delay", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "NodeId", "name": "node", "type": "uint256" } ], "name": "getRewardWallet", "outputs": [ { "internalType": "contract IRewardWallet", "name": "rewardWallet", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getStakedAmount", "outputs": [ { "internalType": "Fair", "name": "amount", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "holder", "type": "address" } ], "name": "getStakedAmountFor", "outputs": [ { "internalType": "Fair", "name": "amount", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getStakedNodes", "outputs": [ { "internalType": "NodeId[]", "name": "stakedNodes", "type": "uint256[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "holder", "type": "address" } ], "name": "getStakedNodesFor", "outputs": [ { "internalType": "NodeId[]", "name": "stakedNodes", "type": "uint256[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "NodeId", "name": "node", "type": "uint256" } ], "name": "getStakedToNodeAmount", "outputs": [ { "internalType": "Fair", "name": "amount", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "NodeId", "name": "node", "type": "uint256" }, { "internalType": "address", "name": "holder", "type": "address" } ], "name": "getStakedToNodeAmountFor", "outputs": [ { "internalType": "Fair", "name": "amount", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getTotalInExitQueue", "outputs": [ { "internalType": "Fair", "name": "amount", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "user", "type": "address" } ], "name": "getTotalInExitQueueFor", "outputs": [ { "internalType": "Fair", "name": "amount", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "user", "type": "address" }, { "internalType": "uint256", "name": "fromIndex", "type": "uint256" } ], "name": "getUnlockedExitRequestFor", "outputs": [ { "components": [ { "internalType": "uint256", "name": "requestId", "type": "uint256" }, { "internalType": "address", "name": "user", "type": "address" }, { "internalType": "NodeId", "name": "nodeId", "type": "uint256" }, { "internalType": "Fair", "name": "amount", "type": "uint256" }, { "internalType": "Timestamp", "name": "unlockDate", "type": "uint256" } ], "internalType": "struct IStaking.ExitRequest", "name": "request", "type": "tuple" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "initialAuthority", "type": "address" }, { "internalType": "contract ICommittee", "name": "committee_", "type": "address" }, { "internalType": "contract INodes", "name": "nodes_", "type": "address" }, { "internalType": "contract IRewardWallet", "name": "rewardWalletReference_", "type": "address" } ], "name": "initialize", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "isConsumingScheduledOp", "outputs": [ { "internalType": "bytes4", "name": "", "type": "bytes4" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "NodeId", "name": "node", "type": "uint256" } ], "name": "isNodeEnabled", "outputs": [ { "internalType": "bool", "name": "enabled", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "requestId", "type": "uint256" } ], "name": "isRequestUnlocked", "outputs": [ { "internalType": "bool", "name": "unlocked", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "NodeId", "name": "node", "type": "uint256" } ], "name": "isWithinStakeLimit", "outputs": [ { "internalType": "bool", "name": "result", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "NodeId", "name": "node", "type": "uint256" }, { "internalType": "address", "name": "nodeAddress", "type": "address" } ], "name": "nodeCreated", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "NodeId", "name": "node", "type": "uint256" } ], "name": "nodeRemoved", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "nodes", "outputs": [ { "internalType": "contract INodes", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "NodeId", "name": "node", "type": "uint256" } ], "name": "payReward", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "receiver", "type": "address" } ], "name": "removeAllowedReceiver", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "NodeId", "name": "node", "type": "uint256" } ], "name": "requestAllFees", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "NodeId", "name": "node", "type": "uint256" }, { "internalType": "Fair", "name": "amount", "type": "uint256" } ], "name": "requestFees", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "NodeId", "name": "node", "type": "uint256" }, { "internalType": "Fair", "name": "value", "type": "uint256" } ], "name": "requestRetrieve", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "NodeId", "name": "node", "type": "uint256" } ], "name": "requestRetrieveAll", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address payable", "name": "to", "type": "address" } ], "name": "requestSendAllFees", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address payable", "name": "to", "type": "address" }, { "internalType": "Fair", "name": "amount", "type": "uint256" } ], "name": "requestSendFees", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "rewardWalletReference", "outputs": [ { "internalType": "contract IRewardWallet", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "selfStakeRequirement", "outputs": [ { "internalType": "Fair", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "newAuthority", "type": "address" } ], "name": "setAuthority", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint16", "name": "feeRate", "type": "uint16" } ], "name": "setFeeRate", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "Timestamp", "name": "delay", "type": "uint256" } ], "name": "setRetrievingDelay", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "contract IRewardWallet", "name": "rewardWalletReference_", "type": "address" } ], "name": "setRewardWalletReference", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "Fair", "name": "amount", "type": "uint256" } ], "name": "setSelfStakeRequirement", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "Fair", "name": "limit", "type": "uint256" } ], "name": "setStakeLimit", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "NodeId", "name": "node", "type": "uint256" } ], "name": "stake", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [], "name": "stakeLimit", "outputs": [ { "internalType": "Fair", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalDisabled", "outputs": [ { "internalType": "Fair", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "stateMutability": "payable", "type": "receive" } ] as const satisfies Abi;