@nexusmutual/deployments
Version:
Nexus Mutual deployed contract addresses and abis
935 lines • 18.2 kB
JSON
[
{
"inputs": [
{
"internalType": "address",
"name": "stakingPoolFactoryAddress",
"type": "address"
},
{
"internalType": "address",
"name": "tokenAddress",
"type": "address"
},
{
"internalType": "address",
"name": "stakingNFTAddress",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [],
"name": "CantMintToNonMemberAddress",
"type": "error"
},
{
"inputs": [],
"name": "DeadlinePassed",
"type": "error"
},
{
"inputs": [],
"name": "ManagerIsLockedForVoting",
"type": "error"
},
{
"inputs": [],
"name": "NoWithdrawableGovernanceRewards",
"type": "error"
},
{
"inputs": [],
"name": "OnlyProposedManager",
"type": "error"
},
{
"inputs": [],
"name": "OnlyStakingPool",
"type": "error"
},
{
"inputs": [],
"name": "OnlyStakingPoolManager",
"type": "error"
},
{
"inputs": [],
"name": "OwnershipOfferHasExpired",
"type": "error"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "_of",
"type": "address"
},
{
"indexed": true,
"internalType": "bytes32",
"name": "_reason",
"type": "bytes32"
},
{
"indexed": false,
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "_validity",
"type": "uint256"
}
],
"name": "Locked",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "_of",
"type": "address"
},
{
"indexed": true,
"internalType": "bytes32",
"name": "_reason",
"type": "bytes32"
},
{
"indexed": false,
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
}
],
"name": "Unlocked",
"type": "event"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "poolId",
"type": "uint256"
}
],
"name": "acceptStakingPoolOwnershipOffer",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_member",
"type": "address"
}
],
"name": "addToWhitelist",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "poolId",
"type": "uint256"
},
{
"internalType": "address",
"name": "manager",
"type": "address"
}
],
"name": "assignStakingPoolManager",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_of",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "burnFrom",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "poolId",
"type": "uint256"
}
],
"name": "burnStakedNXM",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "poolId",
"type": "uint256"
}
],
"name": "burnStakingPoolNXMRewards",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "poolId",
"type": "uint256"
}
],
"name": "cancelStakingPoolOwnershipOffer",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "changeDependentContractAddress",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "masterAddress",
"type": "address"
}
],
"name": "changeMasterAddress",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_newOperator",
"type": "address"
}
],
"name": "changeOperator",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "poolId",
"type": "uint256"
},
{
"internalType": "address",
"name": "proposedManager",
"type": "address"
},
{
"internalType": "uint256",
"name": "deadline",
"type": "uint256"
}
],
"name": "createStakingPoolOwnershipOffer",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "from",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "poolId",
"type": "uint256"
}
],
"name": "depositStakedNXM",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_of",
"type": "address"
}
],
"name": "getLockReasons",
"outputs": [
{
"internalType": "bytes32[]",
"name": "reasons",
"type": "bytes32[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "manager",
"type": "address"
}
],
"name": "getManagerStakingPools",
"outputs": [
{
"internalType": "uint256[]",
"name": "",
"type": "uint256[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "member",
"type": "address"
}
],
"name": "getPendingRewards",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "poolId",
"type": "uint256"
}
],
"name": "getStakingPoolManager",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "poolId",
"type": "uint256"
}
],
"name": "getStakingPoolOwnershipOffer",
"outputs": [
{
"internalType": "address",
"name": "proposedManager",
"type": "address"
},
{
"internalType": "uint256",
"name": "deadline",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getTokenPrice",
"outputs": [
{
"internalType": "uint256",
"name": "tokenPrice",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "internalContracts",
"outputs": [
{
"internalType": "address payable",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "member",
"type": "address"
}
],
"name": "isStakingPoolManager",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_of",
"type": "address"
},
{
"internalType": "uint256",
"name": "_days",
"type": "uint256"
}
],
"name": "lockForMemberVote",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
},
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "lockReason",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
},
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"name": "locked",
"outputs": [
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "validity",
"type": "uint256"
},
{
"internalType": "bool",
"name": "claimed",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "master",
"outputs": [
{
"internalType": "contract INXMMaster",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_member",
"type": "address"
},
{
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
}
],
"name": "mint",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "poolId",
"type": "uint256"
}
],
"name": "mintStakingPoolNXMRewards",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_from",
"type": "address"
},
{
"internalType": "address",
"name": "_to",
"type": "address"
},
{
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "operatorTransfer",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_member",
"type": "address"
}
],
"name": "removeFromWhitelist",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "stakingNFT",
"outputs": [
{
"internalType": "contract IStakingNFT",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "stakingPoolFactory",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "stakingPoolNXMBalances",
"outputs": [
{
"internalType": "uint128",
"name": "rewards",
"type": "uint128"
},
{
"internalType": "uint128",
"name": "deposits",
"type": "uint128"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "token",
"outputs": [
{
"internalType": "contract INXMToken",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_of",
"type": "address"
},
{
"internalType": "bytes32",
"name": "_reason",
"type": "bytes32"
}
],
"name": "tokensLocked",
"outputs": [
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_of",
"type": "address"
}
],
"name": "totalBalanceOf",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_of",
"type": "address"
}
],
"name": "totalBalanceOfWithoutDelegations",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "totalSupply",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "from",
"type": "address"
},
{
"internalType": "address",
"name": "to",
"type": "address"
}
],
"name": "transferStakingPoolsOwnership",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address[]",
"name": "users",
"type": "address[]"
}
],
"name": "withdrawClaimAssessmentTokens",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "memberAddress",
"type": "address"
},
{
"internalType": "uint256",
"name": "batchSize",
"type": "uint256"
}
],
"name": "withdrawGovernanceRewards",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "destination",
"type": "address"
},
{
"internalType": "uint256",
"name": "batchSize",
"type": "uint256"
}
],
"name": "withdrawGovernanceRewardsTo",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"components": [
{
"internalType": "bool",
"name": "stake",
"type": "bool"
},
{
"internalType": "bool",
"name": "rewards",
"type": "bool"
}
],
"internalType": "struct ITokenController.WithdrawAssessment",
"name": "withdrawAssessment",
"type": "tuple"
},
{
"components": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"internalType": "uint256[]",
"name": "trancheIds",
"type": "uint256[]"
}
],
"internalType": "struct ITokenController.StakingPoolDeposit[]",
"name": "stakingPoolDeposits",
"type": "tuple[]"
},
{
"components": [
{
"internalType": "uint256",
"name": "poolId",
"type": "uint256"
},
{
"internalType": "uint256[]",
"name": "trancheIds",
"type": "uint256[]"
}
],
"internalType": "struct ITokenController.StakingPoolManagerReward[]",
"name": "stakingPoolManagerRewards",
"type": "tuple[]"
},
{
"internalType": "uint256",
"name": "assessmentRewardsBatchSize",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "govRewardsBatchSize",
"type": "uint256"
}
],
"name": "withdrawNXM",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "to",
"type": "address"
},
{
"internalType": "uint256",
"name": "stakeToWithdraw",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "rewardsToWithdraw",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "poolId",
"type": "uint256"
}
],
"name": "withdrawNXMStakeAndRewards",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
]