@nexusmutual/deployments
Advanced tools
Comparing version 2.6.2 to 2.7.0
@@ -15,3 +15,3 @@ [ | ||
{ | ||
"internalType": "contract IStakingPoolFactory", | ||
"internalType": "contract ICompleteStakingPoolFactory", | ||
"name": "_stakingPoolFactory", | ||
@@ -31,12 +31,2 @@ "type": "address" | ||
"inputs": [], | ||
"name": "AlreadyInitialized", | ||
"type": "error" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "CapacityReductionRatioAbove100Percent", | ||
"type": "error" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "CommissionRateTooHigh", | ||
@@ -46,13 +36,2 @@ "type": "error" | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "coverId", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "CoverAlreadyExpired", | ||
"type": "error" | ||
}, | ||
{ | ||
"inputs": [], | ||
@@ -105,12 +84,2 @@ "name": "CoverAmountIsZero", | ||
"inputs": [], | ||
"name": "InitialPriceRatioAbove100Percent", | ||
"type": "error" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "InitialPriceRatioBelowGlobalMinPriceRatio", | ||
"type": "error" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "InsufficientCoverAmountAllocated", | ||
@@ -131,12 +100,2 @@ "type": "error" | ||
"inputs": [], | ||
"name": "InvalidProductType", | ||
"type": "error" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "OnlyMemberRolesCanOperateTransfer", | ||
"type": "error" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "OnlyOwnerOrApproved", | ||
@@ -146,13 +105,2 @@ "type": "error" | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "productId", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "PoolNotAllowedForThisProduct", | ||
"type": "error" | ||
}, | ||
{ | ||
"inputs": [], | ||
@@ -164,3 +112,3 @@ "name": "PriceExceedsMaxPremiumInAsset", | ||
"inputs": [], | ||
"name": "ProductDoesntExist", | ||
"name": "ProductDeprecated", | ||
"type": "error" | ||
@@ -170,3 +118,3 @@ }, | ||
"inputs": [], | ||
"name": "ProductDoesntExistOrIsDeprecated", | ||
"name": "ProductNotFound", | ||
"type": "error" | ||
@@ -176,7 +124,2 @@ }, | ||
"inputs": [], | ||
"name": "ProductTypeNotFound", | ||
"type": "error" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "ReturningEthRemainderToSenderFailed", | ||
@@ -208,7 +151,2 @@ "type": "error" | ||
"inputs": [], | ||
"name": "TargetPriceBelowGlobalMinPriceRatio", | ||
"type": "error" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "UnexpectedCoverAsset", | ||
@@ -233,7 +171,2 @@ "type": "error" | ||
{ | ||
"inputs": [], | ||
"name": "UnsupportedCoverAssets", | ||
"type": "error" | ||
}, | ||
{ | ||
"anonymous": false, | ||
@@ -276,40 +209,2 @@ "inputs": [ | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": false, | ||
"internalType": "uint256", | ||
"name": "id", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "string", | ||
"name": "ipfsMetadata", | ||
"type": "string" | ||
} | ||
], | ||
"name": "ProductSet", | ||
"type": "event" | ||
}, | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": false, | ||
"internalType": "uint256", | ||
"name": "id", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "string", | ||
"name": "ipfsMetadata", | ||
"type": "string" | ||
} | ||
], | ||
"name": "ProductTypeSet", | ||
"type": "event" | ||
}, | ||
{ | ||
"inputs": [], | ||
@@ -381,75 +276,7 @@ "name": "GLOBAL_MIN_PRICE_RATIO", | ||
"internalType": "uint256", | ||
"name": "productId", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "coverAsset", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "amount", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "start", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "period", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "address", | ||
"name": "newOwner", | ||
"type": "address" | ||
} | ||
], | ||
"name": "addLegacyCover", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "coverId", | ||
"type": "uint256" | ||
} | ||
], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "allowedPools", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "", | ||
"type": "uint256" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "coverId", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "segmentId", | ||
@@ -574,2 +401,15 @@ "type": "uint256" | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "_coverNFTDescriptor", | ||
"type": "address" | ||
} | ||
], | ||
"name": "changeCoverNFTDescriptor", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
@@ -597,2 +437,22 @@ "name": "changeDependentContractAddress", | ||
{ | ||
"internalType": "address", | ||
"name": "_stakingNFTDescriptor", | ||
"type": "address" | ||
} | ||
], | ||
"name": "changeStakingNFTDescriptor", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "changeStakingPoolFactoryOperator", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "uint256", | ||
@@ -830,69 +690,3 @@ "name": "coverId", | ||
{ | ||
"internalType": "bool", | ||
"name": "isPrivatePool", | ||
"type": "bool" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "initialPoolFee", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "maxPoolFee", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"components": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "productId", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "uint8", | ||
"name": "weight", | ||
"type": "uint8" | ||
}, | ||
{ | ||
"internalType": "uint96", | ||
"name": "initialPrice", | ||
"type": "uint96" | ||
}, | ||
{ | ||
"internalType": "uint96", | ||
"name": "targetPrice", | ||
"type": "uint96" | ||
} | ||
], | ||
"internalType": "struct ProductInitializationParams[]", | ||
"name": "productInitParams", | ||
"type": "tuple[]" | ||
}, | ||
{ | ||
"internalType": "string", | ||
"name": "ipfsDescriptionHash", | ||
"type": "string" | ||
} | ||
], | ||
"name": "createStakingPool", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "address", | ||
"name": "", | ||
"type": "address" | ||
} | ||
], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "coverId", | ||
@@ -908,10 +702,4 @@ "type": "uint256" | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "uint256[]", | ||
"name": "productIds", | ||
"type": "uint256[]" | ||
} | ||
], | ||
"name": "getPriceAndCapacityRatios", | ||
"inputs": [], | ||
"name": "getGlobalCapacityAndPriceRatios", | ||
"outputs": [ | ||
@@ -927,15 +715,5 @@ { | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "uint256[]", | ||
"name": "_initialPrices", | ||
"type": "uint256[]" | ||
}, | ||
{ | ||
"internalType": "uint256[]", | ||
"name": "_capacityReductionRatios", | ||
"type": "uint256[]" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"stateMutability": "pure", | ||
"type": "function" | ||
@@ -945,48 +723,11 @@ }, | ||
"inputs": [], | ||
"name": "getProducts", | ||
"name": "getGlobalCapacityRatio", | ||
"outputs": [ | ||
{ | ||
"components": [ | ||
{ | ||
"internalType": "uint16", | ||
"name": "productType", | ||
"type": "uint16" | ||
}, | ||
{ | ||
"internalType": "address", | ||
"name": "yieldTokenAddress", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "uint32", | ||
"name": "coverAssets", | ||
"type": "uint32" | ||
}, | ||
{ | ||
"internalType": "uint16", | ||
"name": "initialPriceRatio", | ||
"type": "uint16" | ||
}, | ||
{ | ||
"internalType": "uint16", | ||
"name": "capacityReductionRatio", | ||
"type": "uint16" | ||
}, | ||
{ | ||
"internalType": "bool", | ||
"name": "isDeprecated", | ||
"type": "bool" | ||
}, | ||
{ | ||
"internalType": "bool", | ||
"name": "useFixedPrice", | ||
"type": "bool" | ||
} | ||
], | ||
"internalType": "struct Product[]", | ||
"internalType": "uint256", | ||
"name": "", | ||
"type": "tuple[]" | ||
"type": "uint256" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"stateMutability": "pure", | ||
"type": "function" | ||
@@ -996,3 +737,3 @@ }, | ||
"inputs": [], | ||
"name": "globalCapacityRatio", | ||
"name": "getGlobalMinPriceRatio", | ||
"outputs": [ | ||
@@ -1010,3 +751,3 @@ { | ||
"inputs": [], | ||
"name": "globalRewardsRatio", | ||
"name": "getGlobalRewardsRatio", | ||
"outputs": [ | ||
@@ -1042,26 +783,2 @@ { | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "productId", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "poolId", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "isPoolAllowed", | ||
"outputs": [ | ||
{ | ||
"internalType": "bool", | ||
"name": "", | ||
"type": "bool" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
@@ -1102,211 +819,8 @@ "name": "master", | ||
"internalType": "uint256", | ||
"name": "", | ||
"name": "coverAsset", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "productNames", | ||
"outputs": [ | ||
{ | ||
"internalType": "string", | ||
"name": "", | ||
"type": "string" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "productTypeNames", | ||
"outputs": [ | ||
{ | ||
"internalType": "string", | ||
"name": "", | ||
"type": "string" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "id", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "productTypes", | ||
"outputs": [ | ||
{ | ||
"components": [ | ||
{ | ||
"internalType": "uint8", | ||
"name": "claimMethod", | ||
"type": "uint8" | ||
}, | ||
{ | ||
"internalType": "uint32", | ||
"name": "gracePeriod", | ||
"type": "uint32" | ||
} | ||
], | ||
"internalType": "struct ProductType", | ||
"name": "", | ||
"type": "tuple" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "productTypesCount", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "", | ||
"type": "uint256" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "id", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "products", | ||
"outputs": [ | ||
{ | ||
"components": [ | ||
{ | ||
"internalType": "uint16", | ||
"name": "productType", | ||
"type": "uint16" | ||
}, | ||
{ | ||
"internalType": "address", | ||
"name": "yieldTokenAddress", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "uint32", | ||
"name": "coverAssets", | ||
"type": "uint32" | ||
}, | ||
{ | ||
"internalType": "uint16", | ||
"name": "initialPriceRatio", | ||
"type": "uint16" | ||
}, | ||
{ | ||
"internalType": "uint16", | ||
"name": "capacityReductionRatio", | ||
"type": "uint16" | ||
}, | ||
{ | ||
"internalType": "bool", | ||
"name": "isDeprecated", | ||
"type": "bool" | ||
}, | ||
{ | ||
"internalType": "bool", | ||
"name": "useFixedPrice", | ||
"type": "bool" | ||
} | ||
], | ||
"internalType": "struct Product", | ||
"name": "", | ||
"type": "tuple" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "productsCount", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "", | ||
"type": "uint256" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "uint256[]", | ||
"name": "productIds", | ||
"type": "uint256[]" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "poolId", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "requirePoolIsAllowed", | ||
"name": "recalculateActiveCoverInAsset", | ||
"outputs": [], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"components": [ | ||
{ | ||
"internalType": "string", | ||
"name": "productTypeName", | ||
"type": "string" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "productTypeId", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "string", | ||
"name": "ipfsMetadata", | ||
"type": "string" | ||
}, | ||
{ | ||
"components": [ | ||
{ | ||
"internalType": "uint8", | ||
"name": "claimMethod", | ||
"type": "uint8" | ||
}, | ||
{ | ||
"internalType": "uint32", | ||
"name": "gracePeriod", | ||
"type": "uint32" | ||
} | ||
], | ||
"internalType": "struct ProductType", | ||
"name": "productType", | ||
"type": "tuple" | ||
} | ||
], | ||
"internalType": "struct ProductTypeParam[]", | ||
"name": "productTypeParams", | ||
"type": "tuple[]" | ||
} | ||
], | ||
"name": "setProductTypes", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
@@ -1316,79 +830,2 @@ "type": "function" | ||
{ | ||
"inputs": [ | ||
{ | ||
"components": [ | ||
{ | ||
"internalType": "string", | ||
"name": "productName", | ||
"type": "string" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "productId", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "string", | ||
"name": "ipfsMetadata", | ||
"type": "string" | ||
}, | ||
{ | ||
"components": [ | ||
{ | ||
"internalType": "uint16", | ||
"name": "productType", | ||
"type": "uint16" | ||
}, | ||
{ | ||
"internalType": "address", | ||
"name": "yieldTokenAddress", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "uint32", | ||
"name": "coverAssets", | ||
"type": "uint32" | ||
}, | ||
{ | ||
"internalType": "uint16", | ||
"name": "initialPriceRatio", | ||
"type": "uint16" | ||
}, | ||
{ | ||
"internalType": "uint16", | ||
"name": "capacityReductionRatio", | ||
"type": "uint16" | ||
}, | ||
{ | ||
"internalType": "bool", | ||
"name": "isDeprecated", | ||
"type": "bool" | ||
}, | ||
{ | ||
"internalType": "bool", | ||
"name": "useFixedPrice", | ||
"type": "bool" | ||
} | ||
], | ||
"internalType": "struct Product", | ||
"name": "product", | ||
"type": "tuple" | ||
}, | ||
{ | ||
"internalType": "uint256[]", | ||
"name": "allowedPools", | ||
"type": "uint256[]" | ||
} | ||
], | ||
"internalType": "struct ProductParam[]", | ||
"name": "productParams", | ||
"type": "tuple[]" | ||
} | ||
], | ||
"name": "setProducts", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
@@ -1430,3 +867,3 @@ "name": "stakingNFT", | ||
{ | ||
"internalType": "contract IStakingPoolFactory", | ||
"internalType": "contract ICompleteStakingPoolFactory", | ||
"name": "", | ||
@@ -1433,0 +870,0 @@ "type": "address" |
@@ -329,3 +329,3 @@ [ | ||
], | ||
"internalType": "struct ClaimDisplay[]", | ||
"internalType": "struct IIndividualClaims.ClaimDisplay[]", | ||
"name": "", | ||
@@ -478,3 +478,3 @@ "type": "tuple[]" | ||
], | ||
"internalType": "struct Claim", | ||
"internalType": "struct IIndividualClaims.Claim", | ||
"name": "claim", | ||
@@ -550,3 +550,3 @@ "type": "tuple" | ||
], | ||
"internalType": "struct Claim", | ||
"internalType": "struct IIndividualClaims.Claim", | ||
"name": "claim", | ||
@@ -562,3 +562,3 @@ "type": "tuple" | ||
{ | ||
"internalType": "enum UintParams[]", | ||
"internalType": "enum IIndividualClaims.UintParams[]", | ||
"name": "paramNames", | ||
@@ -565,0 +565,0 @@ "type": "uint8[]" |
@@ -11,7 +11,2 @@ [ | ||
"internalType": "address", | ||
"name": "productsV1Address", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "address", | ||
"name": "stakingNFTAddress", | ||
@@ -109,15 +104,2 @@ "type": "address" | ||
{ | ||
"indexed": false, | ||
"internalType": "address", | ||
"name": "oldProductId", | ||
"type": "address" | ||
} | ||
], | ||
"name": "ProductNotFound", | ||
"type": "event" | ||
}, | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
@@ -695,21 +677,2 @@ "internalType": "address", | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "id", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "getV1PriceForProduct", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint96", | ||
"name": "", | ||
"type": "uint96" | ||
} | ||
], | ||
"stateMutability": "pure", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
@@ -841,33 +804,2 @@ "name": "hasPendingActions", | ||
"internalType": "uint256", | ||
"name": "stakingPoolId", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "trancheId", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "migrateToExistingV2Pool", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "stakerAddress", | ||
"type": "address" | ||
} | ||
], | ||
"name": "migrateToNewV2Pool", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "maxIterations", | ||
@@ -926,15 +858,2 @@ "type": "uint256" | ||
{ | ||
"inputs": [], | ||
"name": "productsV1", | ||
"outputs": [ | ||
{ | ||
"internalType": "contract IProductsV1", | ||
"name": "", | ||
"type": "address" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
@@ -941,0 +860,0 @@ { |
@@ -409,3 +409,3 @@ [ | ||
], | ||
"internalType": "struct State", | ||
"internalType": "struct IRamm.State", | ||
"name": "state", | ||
@@ -432,3 +432,3 @@ "type": "tuple" | ||
], | ||
"internalType": "struct Observation[3]", | ||
"internalType": "struct IRamm.Observation[3]", | ||
"name": "_observations", | ||
@@ -499,3 +499,3 @@ "type": "tuple[3]" | ||
], | ||
"internalType": "struct State", | ||
"internalType": "struct IRamm.State", | ||
"name": "state", | ||
@@ -522,3 +522,3 @@ "type": "tuple" | ||
], | ||
"internalType": "struct Context", | ||
"internalType": "struct IRamm.Context", | ||
"name": "context", | ||
@@ -568,3 +568,3 @@ "type": "tuple" | ||
], | ||
"internalType": "struct State", | ||
"internalType": "struct IRamm.State", | ||
"name": "", | ||
@@ -622,3 +622,3 @@ "type": "tuple" | ||
], | ||
"internalType": "struct State", | ||
"internalType": "struct IRamm.State", | ||
"name": "initialState", | ||
@@ -645,3 +645,3 @@ "type": "tuple" | ||
], | ||
"internalType": "struct Observation[3]", | ||
"internalType": "struct IRamm.Observation[3]", | ||
"name": "_observations", | ||
@@ -668,3 +668,3 @@ "type": "tuple[3]" | ||
], | ||
"internalType": "struct Context", | ||
"internalType": "struct IRamm.Context", | ||
"name": "context", | ||
@@ -699,3 +699,3 @@ "type": "tuple" | ||
], | ||
"internalType": "struct Observation[3]", | ||
"internalType": "struct IRamm.Observation[3]", | ||
"name": "", | ||
@@ -805,3 +805,3 @@ "type": "tuple[3]" | ||
], | ||
"internalType": "struct Observation[3]", | ||
"internalType": "struct IRamm.Observation[3]", | ||
"name": "initialObservations", | ||
@@ -875,3 +875,3 @@ "type": "tuple[3]" | ||
], | ||
"internalType": "struct State", | ||
"internalType": "struct IRamm.State", | ||
"name": "previousState", | ||
@@ -913,3 +913,3 @@ "type": "tuple" | ||
], | ||
"internalType": "struct State", | ||
"internalType": "struct IRamm.State", | ||
"name": "state", | ||
@@ -936,3 +936,3 @@ "type": "tuple" | ||
], | ||
"internalType": "struct Observation", | ||
"internalType": "struct IRamm.Observation", | ||
"name": "previousObservation", | ||
@@ -972,3 +972,3 @@ "type": "tuple" | ||
], | ||
"internalType": "struct Observation", | ||
"internalType": "struct IRamm.Observation", | ||
"name": "", | ||
@@ -1083,3 +1083,3 @@ "type": "tuple" | ||
], | ||
"internalType": "struct State", | ||
"internalType": "struct IRamm.State", | ||
"name": "", | ||
@@ -1086,0 +1086,0 @@ "type": "tuple" |
@@ -106,3 +106,3 @@ [ | ||
], | ||
"internalType": "struct StakeData", | ||
"internalType": "struct IStakingNFTDescriptor.StakeData", | ||
"name": "stakeData", | ||
@@ -135,3 +135,3 @@ "type": "tuple" | ||
], | ||
"internalType": "struct StakeData", | ||
"internalType": "struct IStakingNFTDescriptor.StakeData", | ||
"name": "stakeDescription", | ||
@@ -138,0 +138,0 @@ "type": "tuple" |
@@ -106,2 +106,7 @@ [ | ||
"inputs": [], | ||
"name": "OnlyStakingProductsContract", | ||
"type": "error" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "PoolFeeExceedsMax", | ||
@@ -465,15 +470,2 @@ "type": "error" | ||
"inputs": [], | ||
"name": "ONE_NXM", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "", | ||
"type": "uint256" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "POOL_FEE_DENOMINATOR", | ||
@@ -480,0 +472,0 @@ "outputs": [ |
@@ -20,2 +20,7 @@ [ | ||
"inputs": [], | ||
"name": "InvalidProductType", | ||
"type": "error" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "MustRecalculateEffectiveWeight", | ||
@@ -50,2 +55,7 @@ "type": "error" | ||
{ | ||
"inputs": [], | ||
"name": "ProductDoesntExistOrIsDeprecated", | ||
"type": "error" | ||
}, | ||
{ | ||
"inputs": [ | ||
@@ -63,2 +73,7 @@ { | ||
"inputs": [], | ||
"name": "TargetPriceBelowGlobalMinPriceRatio", | ||
"type": "error" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "TargetPriceBelowMin", | ||
@@ -581,2 +596,15 @@ "type": "error" | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "address", | ||
"name": "_operator", | ||
"type": "address" | ||
} | ||
], | ||
"name": "changeStakingPoolFactoryOperator", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
@@ -597,3 +625,69 @@ "name": "coverContract", | ||
{ | ||
"internalType": "bool", | ||
"name": "isPrivatePool", | ||
"type": "bool" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "initialPoolFee", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "maxPoolFee", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"components": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "productId", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "uint8", | ||
"name": "weight", | ||
"type": "uint8" | ||
}, | ||
{ | ||
"internalType": "uint96", | ||
"name": "initialPrice", | ||
"type": "uint96" | ||
}, | ||
{ | ||
"internalType": "uint96", | ||
"name": "targetPrice", | ||
"type": "uint96" | ||
} | ||
], | ||
"internalType": "struct ProductInitializationParams[]", | ||
"name": "productInitParams", | ||
"type": "tuple[]" | ||
}, | ||
{ | ||
"internalType": "string", | ||
"name": "ipfsDescriptionHash", | ||
"type": "string" | ||
} | ||
], | ||
"name": "createStakingPool", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "address", | ||
"name": "", | ||
"type": "address" | ||
} | ||
], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "productBumpedPrice", | ||
@@ -801,2 +895,15 @@ "type": "uint256" | ||
{ | ||
"inputs": [], | ||
"name": "getStakingPoolCount", | ||
"outputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "", | ||
"type": "uint256" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
@@ -936,42 +1043,2 @@ { | ||
{ | ||
"internalType": "uint8", | ||
"name": "weight", | ||
"type": "uint8" | ||
}, | ||
{ | ||
"internalType": "uint96", | ||
"name": "initialPrice", | ||
"type": "uint96" | ||
}, | ||
{ | ||
"internalType": "uint96", | ||
"name": "targetPrice", | ||
"type": "uint96" | ||
} | ||
], | ||
"internalType": "struct ProductInitializationParams[]", | ||
"name": "params", | ||
"type": "tuple[]" | ||
} | ||
], | ||
"name": "setInitialProducts", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "poolId", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"components": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "productId", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "bool", | ||
@@ -1002,3 +1069,3 @@ "name": "recalculateEffectiveWeight", | ||
], | ||
"internalType": "struct StakedProductParam[]", | ||
"internalType": "struct IStakingProducts.StakedProductParam[]", | ||
"name": "params", | ||
@@ -1014,2 +1081,21 @@ "type": "tuple[]" | ||
{ | ||
"inputs": [ | ||
{ | ||
"internalType": "uint256", | ||
"name": "poolId", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "stakingPool", | ||
"outputs": [ | ||
{ | ||
"internalType": "contract IStakingPool", | ||
"name": "", | ||
"type": "address" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
@@ -1016,0 +1102,0 @@ "name": "stakingPoolFactory", |
@@ -257,3 +257,3 @@ [ | ||
], | ||
"internalType": "struct IncidentDisplay[]", | ||
"internalType": "struct IYieldTokenIncidents.IncidentDisplay[]", | ||
"name": "", | ||
@@ -430,3 +430,3 @@ "type": "tuple[]" | ||
{ | ||
"internalType": "enum UintParams[]", | ||
"internalType": "enum IYieldTokenIncidents.UintParams[]", | ||
"name": "paramNames", | ||
@@ -433,0 +433,0 @@ "type": "uint8[]" |
@@ -9,2 +9,3 @@ { | ||
"Cover": "0xcafeac0fF5dA0A2777d915531bfA6B29d282Ee62", | ||
"CoverProducts": "0xcafead81a2c2508e7344155eB0DA67a3a487AA8d", | ||
"CoverMigrator": "0xcafeac41b010299A9bec5308CCe6aFC2c4DF8D39", | ||
@@ -11,0 +12,0 @@ "CoverNFT": "0xcafeaCa76be547F14D0220482667B42D8E7Bc3eb", |
{ | ||
"name": "@nexusmutual/deployments", | ||
"version": "2.6.2", | ||
"version": "2.7.0", | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5235056
43
102519
1