UNPKG

@nexusmutual/deployments

Version:

Nexus Mutual deployed contract addresses and abis

709 lines 13.6 kB
[ { "inputs": [ { "internalType": "address", "name": "_registry", "type": "address" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "CantMintToNonMemberAddress", "type": "error" }, { "inputs": [], "name": "DeadlinePassed", "type": "error" }, { "inputs": [], "name": "ManagerIsLockedForVoting", "type": "error" }, { "inputs": [], "name": "MemberBalanceNotZero", "type": "error" }, { "inputs": [], "name": "MemberHasStakingPools", "type": "error" }, { "inputs": [], "name": "NoWithdrawableGovernanceRewards", "type": "error" }, { "inputs": [], "name": "OnlyAdvisoryBoard", "type": "error" }, { "inputs": [], "name": "OnlyMember", "type": "error" }, { "inputs": [], "name": "OnlyProposedManager", "type": "error" }, { "inputs": [], "name": "OnlyStakingPool", "type": "error" }, { "inputs": [], "name": "OnlyStakingPoolManager", "type": "error" }, { "inputs": [], "name": "OwnershipOfferHasExpired", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "currentState", "type": "uint256" }, { "internalType": "uint256", "name": "checks", "type": "uint256" } ], "name": "Paused", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "caller", "type": "address" }, { "internalType": "uint256", "name": "callerIndex", "type": "uint256" }, { "internalType": "uint256", "name": "authorizedBitmap", "type": "uint256" } ], "name": "Unauthorized", "type": "error" }, { "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": [ { "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": "manager", "type": "address" } ], "name": "getManagerStakingPools", "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": "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": "_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": [], "name": "pool", "outputs": [ { "internalType": "contract IPool", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "registry", "outputs": [ { "internalType": "contract IRegistry", "name": "", "type": "address" } ], "stateMutability": "view", "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": [ { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "bool", "name": "includeNxmTokens", "type": "bool" } ], "name": "switchMembership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "token", "outputs": [ { "internalType": "contract INXMToken", "name": "", "type": "address" } ], "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": [ { "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[]" } ], "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" } ]