Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nexusmutual/deployments

Package Overview
Dependencies
Maintainers
0
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nexusmutual/deployments - npm Package Compare versions

Comparing version 2.7.1 to 2.8.0-rc-1

102

dist/data/abis/Assessment.json

@@ -14,2 +14,91 @@ [

{
"inputs": [],
"name": "AcceptVoteRequired",
"type": "error"
},
{
"inputs": [],
"name": "AlreadyVoted",
"type": "error"
},
{
"inputs": [],
"name": "AssessmentIdsIpfsLengthMismatch",
"type": "error"
},
{
"inputs": [],
"name": "AssessmentIdsVotesLengthMismatch",
"type": "error"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "maxUnstakeAmount",
"type": "uint256"
}
],
"name": "InvalidAmount",
"type": "error"
},
{
"inputs": [],
"name": "InvalidMerkleProof",
"type": "error"
},
{
"inputs": [],
"name": "NoWithdrawableRewards",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "nonMember",
"type": "address"
}
],
"name": "NotMember",
"type": "error"
},
{
"inputs": [],
"name": "OnlyTokenController",
"type": "error"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "lockupExpiry",
"type": "uint256"
}
],
"name": "StakeLockedForAssessment",
"type": "error"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "lockupExpiry",
"type": "uint256"
}
],
"name": "StakeLockedForGovernance",
"type": "error"
},
{
"inputs": [],
"name": "StakeRequired",
"type": "error"
},
{
"inputs": [],
"name": "VotingClosed",
"type": "error"
},
{
"anonymous": false,

@@ -640,2 +729,15 @@ "inputs": [

{
"internalType": "address",
"name": "staker",
"type": "address"
}
],
"name": "unstakeAllFor",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "enum IAssessment.UintParams[]",

@@ -642,0 +744,0 @@ "name": "paramNames",

@@ -101,2 +101,7 @@ [

"inputs": [],
"name": "OnlySwapOperator",
"type": "error"
},
{
"inputs": [],
"name": "PriceExceedsMaxPremiumInAsset",

@@ -887,2 +892,15 @@ "type": "error"

{
"internalType": "uint256[][][]",
"name": "tokenIds",
"type": "uint256[][][]"
}
],
"name": "updateStakingPoolsRewardShares",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",

@@ -889,0 +907,0 @@ "name": "coverAsset",

190

dist/data/abis/StakingPool.json

@@ -222,15 +222,2 @@ [

{
"indexed": false,
"internalType": "string",
"name": "ipfsDescriptionHash",
"type": "string"
}
],
"name": "PoolDescriptionSet",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,

@@ -496,28 +483,2 @@ "internalType": "address",

"inputs": [],
"name": "REWARD_BONUS_PER_TRANCHE_DENOMINATOR",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "REWARD_BONUS_PER_TRANCHE_RATIO",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "TRANCHE_DURATION",

@@ -596,30 +557,2 @@ "outputs": [

"internalType": "uint256",
"name": "initialStakeShares",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "stakeSharesIncrease",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "initialTrancheId",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "newTrancheId",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "blockTimestamp",
"type": "uint256"
}
],
"name": "calculateNewRewardShares",
"outputs": [
{
"internalType": "uint256",
"name": "",

@@ -629,26 +562,2 @@ "type": "uint256"

],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [],
"name": "coverContract",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "coverTrancheAllocations",

@@ -781,3 +690,3 @@ "outputs": [

"internalType": "uint256",
"name": "newTrancheId",
"name": "targetTrancheId",
"type": "uint256"

@@ -1157,7 +1066,2 @@ },

"type": "uint256"
},
{
"internalType": "string",
"name": "ipfsDescriptionHash",
"type": "string"
}

@@ -1210,15 +1114,2 @@ ],

{
"inputs": [],
"name": "masterContract",
"outputs": [
{
"internalType": "contract INXMMaster",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [

@@ -1243,15 +1134,2 @@ {

{
"inputs": [],
"name": "nxm",
"outputs": [
{
"internalType": "contract INXMToken",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [

@@ -1392,15 +1270,2 @@ {

{
"internalType": "string",
"name": "ipfsDescriptionHash",
"type": "string"
}
],
"name": "setPoolDescription",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",

@@ -1430,35 +1295,20 @@ "name": "newFee",

{
"inputs": [],
"name": "stakingNFT",
"outputs": [
"inputs": [
{
"internalType": "contract IStakingNFT",
"internalType": "uint256",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "stakingProducts",
"outputs": [
"type": "uint256"
},
{
"internalType": "contract IStakingProducts",
"internalType": "uint256",
"name": "",
"type": "address"
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "tokenController",
"name": "trancheAllocationGroups",
"outputs": [
{
"internalType": "contract ITokenController",
"internalType": "TrancheAllocationGroup",
"name": "",
"type": "address"
"type": "uint256"
}

@@ -1473,20 +1323,14 @@ ],

"internalType": "uint256",
"name": "",
"name": "trancheId",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "",
"type": "uint256"
"internalType": "uint256[]",
"name": "tokenIds",
"type": "uint256[]"
}
],
"name": "trancheAllocationGroups",
"outputs": [
{
"internalType": "TrancheAllocationGroup",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"name": "updateRewardsShares",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"

@@ -1493,0 +1337,0 @@ },

@@ -25,2 +25,7 @@ [

"inputs": [],
"name": "IpfsHashRequired",
"type": "error"
},
{
"inputs": [],
"name": "MustRecalculateEffectiveWeight",

@@ -665,3 +670,3 @@ "type": "error"

"internalType": "string",
"name": "ipfsDescriptionHash",
"name": "ipfsHash",
"type": "string"

@@ -765,2 +770,40 @@ }

"type": "uint256"
}
],
"name": "getPoolManager",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "poolId",
"type": "uint256"
}
],
"name": "getPoolMetadata",
"outputs": [
{
"internalType": "string",
"name": "ipfsHash",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "poolId",
"type": "uint256"
},

@@ -1028,2 +1071,15 @@ {

{
"internalType": "string[]",
"name": "ipfsHashes",
"type": "string[]"
}
],
"name": "setInitialMetadata",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",

@@ -1034,2 +1090,20 @@ "name": "poolId",

{
"internalType": "string",
"name": "ipfsHash",
"type": "string"
}
],
"name": "setPoolMetadata",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "poolId",
"type": "uint256"
},
{
"components": [

@@ -1036,0 +1110,0 @@ {

@@ -175,2 +175,7 @@ [

"type": "uint256"
},
{
"internalType": "string",
"name": "metadataIpfsHash",
"type": "string"
}

@@ -232,2 +237,7 @@ ],

"type": "uint256"
},
{
"internalType": "string",
"name": "metadataIpfsHash",
"type": "string"
}

@@ -291,2 +301,7 @@ ],

"type": "uint256"
},
{
"internalType": "string",
"name": "metadataIpfsHash",
"type": "string"
}

@@ -597,2 +612,7 @@ ],

"type": "uint256"
},
{
"internalType": "string",
"name": "metadataIpfsHash",
"type": "string"
}

@@ -705,2 +725,7 @@ ],

"type": "uint256"
},
{
"internalType": "string",
"name": "metadataIpfsHash",
"type": "string"
}

@@ -762,2 +787,7 @@ ],

"type": "uint256"
},
{
"internalType": "string",
"name": "metadataIpfsHash",
"type": "string"
}

@@ -764,0 +794,0 @@ ],

@@ -23,2 +23,7 @@ [

"type": "address"
},
{
"internalType": "address",
"name": "stakingNFTAddress",
"type": "address"
}

@@ -742,2 +747,15 @@ ],

"inputs": [],
"name": "stakingNFT",
"outputs": [
{
"internalType": "contract IStakingNFT",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "stakingPoolFactory",

@@ -977,14 +995,55 @@ "outputs": [

{
"internalType": "address",
"name": "to",
"type": "address"
"components": [
{
"internalType": "bool",
"name": "stake",
"type": "bool"
},
{
"internalType": "bool",
"name": "rewards",
"type": "bool"
}
],
"internalType": "struct ITokenController.WithdrawAssessment",
"name": "withdrawAssessment",
"type": "tuple"
},
{
"internalType": "uint256",
"name": "stakeToWithdraw",
"type": "uint256"
"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": "rewardsToWithdraw",
"name": "assessmentRewardsBatchSize",
"type": "uint256"

@@ -994,7 +1053,7 @@ },

"internalType": "uint256",
"name": "poolId",
"name": "govRewardsBatchSize",
"type": "uint256"
}
],
"name": "withdrawNXMStakeAndRewards",
"name": "withdrawNXM",
"outputs": [],

@@ -1008,22 +1067,22 @@ "stateMutability": "nonpayable",

"internalType": "address",
"name": "forUser",
"name": "to",
"type": "address"
},
{
"internalType": "bool",
"name": "fromGovernance",
"type": "bool"
"internalType": "uint256",
"name": "stakeToWithdraw",
"type": "uint256"
},
{
"internalType": "bool",
"name": "fromAssessment",
"type": "bool"
"internalType": "uint256",
"name": "rewardsToWithdraw",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "batchSize",
"name": "poolId",
"type": "uint256"
}
],
"name": "withdrawPendingRewards",
"name": "withdrawNXMStakeAndRewards",
"outputs": [],

@@ -1030,0 +1089,0 @@ "stateMutability": "nonpayable",

@@ -35,3 +35,3 @@ {

"StakingProducts": "0xcafea573fBd815B5f59e8049E71E554bde3477E4",
"StakingViewer": "0xcafea570fA5DFfAdc471528C102114bC233b683A",
"StakingViewer": "0xcafea5E8a7a54dd14Bb225b66C7a016dfd7F236b",
"SwapOperator": "0xcafea3cA5366964A102388EAd5f3eBb0769C46Cb",

@@ -38,0 +38,0 @@ "TokenController": "0x5407381b6c251cFd498ccD4A1d877739CB7960B8",

{
"name": "@nexusmutual/deployments",
"version": "2.7.1",
"version": "2.8.0-rc-1",
"description": "Nexus Mutual deployed contract addresses and abis",

@@ -5,0 +5,0 @@ "typings": "./dist/index.d.ts",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc