UNPKG

@nodeset/contracts

Version:

Protocol for accessing NodeSet's Constellation Ethereum staking network

345 lines (339 loc) 50.9 kB
teddy2@teddy0s-MacBook-Pro constellation % npx hardhat run ./scripts/dev_setup.ts --network holesky npm warn invalid config access="private" set in /Users/teddy2/.npmrc npm warn invalid config Must be one of: null, restricted, public > @nodeset/contracts@0.0.4 npx > hardhat run ./scripts/dev_setup.ts --network holesky WARNING: You are currently using Node.js v21.4.0, which is not supported by Hardhat. This can lead to unexpected behavior. See https://hardhat.org/nodejs-versions (node:20122) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead. (Use `node --trace-deprecation ...` to show where the warning was created) ·-----------------------------------------|--------------------------------|--------------------------------· | Solc version: 0.8.18 · Optimizer enabled: true · Runs: 200 │ ··········································|································|································· | Contract Name · Deployed size (KiB) (change) · Initcode size (KiB) (change) │ ··········································|································|································· | ABDKMath64x64 · 0.084 (0.000) · 0.138 (0.000) │ ··········································|································|································· | Address · 0.084 (0.000) · 0.138 (0.000) │ ··········································|································|································· | Address · 0.084 (0.000) · 0.118 (0.000) │ ··········································|································|································· | AddressQueueStorage · 5.473 (0.000) · 5.600 (0.000) │ ··········································|································|································· | AddressSetStorage · 3.764 (0.000) · 3.891 (0.000) │ ··········································|································|································· | AddressUpgradeable · 0.084 (0.000) · 0.138 (0.000) │ ··········································|································|································· | Clones · 0.084 (0.000) · 0.118 (0.000) │ ··········································|································|································· | console · 0.084 (0.000) · 0.138 (0.000) │ ··········································|································|································· | Constants · 1.587 (0.000) · 1.644 (0.000) │ ··········································|································|································· | Directory · 14.117 (0.000) · 14.500 (0.000) │ ··········································|································|································· | ECDSA · 0.084 (0.000) · 0.138 (0.000) │ ··········································|································|································· | ERC20 · 2.256 (0.000) · 3.007 (0.000) │ ··········································|································|································· | ERC20 · 2.080 (0.000) · 2.818 (0.000) │ ··········································|································|································· | ERC20Upgradeable · 2.087 (0.000) · 2.118 (0.000) │ ··········································|································|································· | Errors · 0.062 (0.000) · 0.090 (0.000) │ ··········································|································|································· | FundRouter · 10.114 (0.000) · 10.782 (0.000) │ ··········································|································|································· | Math · 0.084 (0.000) · 0.138 (0.000) │ ··········································|································|································· | MathUpgradeable · 0.084 (0.000) · 0.138 (0.000) │ ··········································|································|································· | MerkleProof · 0.084 (0.000) · 0.138 (0.000) │ ··········································|································|································· | MerkleProof · 0.084 (0.000) · 0.118 (0.000) │ ··········································|································|································· | MockERC20 · 3.080 (0.000) · 4.189 (0.000) │ ··········································|································|································· | MockMinipool · 1.794 (0.000) · 1.825 (0.000) │ ··········································|································|································· | MockNodeAccountV2 · 18.438 (0.000) · 18.826 (0.000) │ ··········································|································|································· | MockPriceFetcher · 3.317 (0.000) · 3.693 (0.000) │ ··········································|································|································· | MockRETHOracle · 3.281 (0.000) · 3.662 (0.000) │ ··········································|································|································· | MockRocketNodeManager · 0.847 (0.000) · 0.878 (0.000) │ ··········································|································|································· | MockRocketNodeStaking · 0.886 (0.000) · 0.917 (0.000) │ ··········································|································|································· | MockRocketStorage · 0.447 (0.000) · 0.479 (0.000) │ ··········································|································|································· | MockSanctions · 0.259 (0.000) · 0.290 (0.000) │ ··········································|································|································· | MockSuperNodeV2 · 18.438 (0.000) · 18.826 (0.000) │ ··········································|································|································· | MockTargetAlpha · 0.173 (0.000) · 0.203 (0.000) │ ··········································|································|································· | MockTreasuryV2 · 6.487 (0.000) · 7.155 (0.000) │ ··········································|································|································· | MockUniswapV3Pool · 0.251 (0.000) · 0.299 (0.000) │ ··········································|································|································· | OperatorDistributor · 16.192 (0.000) · 16.860 (0.000) │ ··········································|································|································· | PenaltyTest · 0.893 (0.000) · 1.013 (0.000) │ ··········································|································|································· | PriceFetcher · 3.981 (0.000) · 4.357 (0.000) │ ··········································|································|································· | ProtocolMath · 0.145 (0.000) · 0.199 (0.000) │ ··········································|································|································· | ProtocolMathTest · 3.812 (0.000) · 3.843 (0.000) │ ··········································|································|································· | RevertOnTransfer · 0.062 (0.000) · 0.090 (0.000) │ ··········································|································|································· | RocketAuctionManager · 9.606 (0.000) · 9.733 (0.000) │ ··········································|································|································· | RocketClaimDAO · 5.758 (0.000) · 5.933 (0.000) │ ··········································|································|································· | RocketClaimDAOOld · 1.747 (0.000) · 1.874 (0.000) │ ··········································|································|································· | RocketDAONodeTrusted · 14.063 (0.000) · 14.189 (0.000) │ ··········································|································|································· | RocketDAONodeTrustedActions · 15.608 (0.000) · 15.735 (0.000) │ ··········································|································|································· | RocketDAONodeTrustedProposals · 13.729 (0.000) · 13.856 (0.000) │ ··········································|································|································· | RocketDAONodeTrustedSettingsMembers · 4.065 (0.000) · 6.323 (0.000) │ ··········································|································|································· | RocketDAONodeTrustedSettingsMinipool · 4.693 (0.000) · 7.697 (0.000) │ ··········································|································|································· | RocketDAONodeTrustedSettingsProposals · 3.547 (0.000) · 5.380 (0.000) │ ··········································|································|································· | RocketDAONodeTrustedSettingsRewards · 3.658 (0.000) · 5.496 (0.000) │ ··········································|································|································· | RocketDAONodeTrustedUpgrade · 8.198 (0.000) · 8.325 (0.000) │ ··········································|································|································· | RocketDAOProposal · 15.165 (0.000) · 15.292 (0.000) │ ··········································|································|································· | RocketDAOProtocol · 9.442 (0.000) · 9.626 (0.000) │ ··········································|································|································· | RocketDAOProtocolActions · 0.133 (0.000) · 0.259 (0.000) │ ··········································|································|································· | RocketDAOProtocolOld · 7.081 (0.000) · 7.252 (0.000) │ ··········································|································|································· | RocketDAOProtocolProposal · 13.939 (0.000) · 14.123 (0.000) │ ··········································|································|································· | RocketDAOProtocolProposals · 8.564 (0.000) · 8.742 (0.000) │ ··········································|································|································· | RocketDAOProtocolProposalsOld · 5.455 (0.000) · 5.626 (0.000) │ ··········································|································|································· | RocketDAOProtocolSettingsAuction · 3.899 (0.000) · 7.021 (0.000) │ ··········································|································|································· | RocketDAOProtocolSettingsAuctionOld · 4.826 (0.000) · 7.148 (0.000) │ ··········································|································|································· | RocketDAOProtocolSettingsDeposit · 3.289 (0.000) · 5.711 (0.000) │ ··········································|································|································· | RocketDAOProtocolSettingsDepositOld · 4.835 (0.000) · 7.111 (0.000) │ ··········································|································|································· | RocketDAOProtocolSettingsInflation · 3.617 (0.000) · 6.447 (0.000) │ ··········································|································|································· | RocketDAOProtocolSettingsInflationOld · 4.987 (0.000) · 7.620 (0.000) │ ··········································|································|································· | RocketDAOProtocolSettingsMinipool · 4.090 (0.000) · 6.826 (0.000) │ ··········································|································|································· | RocketDAOProtocolSettingsMinipoolOld · 3.808 (0.000) · 6.195 (0.000) │ ··········································|································|································· | RocketDAOProtocolSettingsNetwork · 4.729 (0.000) · 8.436 (0.000) │ ··········································|································|································· | RocketDAOProtocolSettingsNetworkOld · 5.688 (0.000) · 8.634 (0.000) │ ··········································|································|································· | RocketDAOProtocolSettingsNode · 4.761 (0.000) · 7.017 (0.000) │ ··········································|································|································· | RocketDAOProtocolSettingsProposals · 5.081 (0.000) · 9.012 (0.000) │ ··········································|································|································· | RocketDAOProtocolSettingsRewards · 4.130 (0.000) · 5.581 (0.000) │ ··········································|································|································· | RocketDAOProtocolSettingsRewardsOld · 6.308 (0.000) · 9.497 (0.000) │ ··········································|································|································· | RocketDAOProtocolSettingsSecurity · 3.632 (0.000) · 6.269 (0.000) │ ··········································|································|································· | RocketDAOProtocolVerifier · 14.703 (0.000) · 14.887 (0.000) │ ··········································|································|································· | RocketDAOSecurity · 3.036 (0.000) · 3.211 (0.000) │ ··········································|································|································· | RocketDAOSecurityActions · 5.402 (0.000) · 5.577 (0.000) │ ··········································|································|································· | RocketDAOSecurityProposals · 7.802 (0.000) · 7.977 (0.000) │ ··········································|································|································· | RocketDepositPool · 12.839 (0.000) · 13.537 (0.000) │ ··········································|································|································· | RocketMerkleDistributorMainnet · 5.598 (0.000) · 6.150 (0.000) │ ··········································|································|································· | RocketMerkleDistributorMainnetOld · 6.665 (0.000) · 7.266 (0.000) │ ··········································|································|································· | RocketMinipoolBase · 5.166 (0.000) · 5.275 (0.000) │ ··········································|································|································· | RocketMinipoolBondReducer · 8.620 (0.000) · 8.794 (0.000) │ ··········································|································|································· | RocketMinipoolDelegate · 23.820 (0.000) · 23.891 (0.000) │ ··········································|································|································· | RocketMinipoolFactory · 1.701 (0.000) · 1.828 (0.000) │ ··········································|································|································· | RocketMinipoolManager · 17.215 (0.000) · 17.398 (0.000) │ ··········································|································|································· | RocketMinipoolManagerOld · 18.969 (0.000) · 19.148 (0.000) │ ··········································|································|································· | RocketMinipoolPenalty · 1.612 (0.000) · 1.735 (0.000) │ ··········································|································|································· | RocketMinipoolQueue · 9.131 (0.000) · 9.258 (0.000) │ ··········································|································|································· | RocketNetworkBalances · 4.307 (0.000) · 4.481 (0.000) │ ··········································|································|································· | RocketNetworkBalancesOld · 4.487 (0.000) · 4.662 (0.000) │ ··········································|································|································· | RocketNetworkFees · 2.666 (0.000) · 2.793 (0.000) │ ··········································|································|································· | RocketNetworkPenalties · 5.103 (0.000) · 5.229 (0.000) │ ··········································|································|································· | RocketNetworkPrices · 4.352 (0.000) · 4.597 (0.000) │ ··········································|································|································· | RocketNetworkPricesOld · 4.894 (0.000) · 5.403 (0.000) │ ··········································|································|································· | RocketNetworkSnapshots · 3.251 (0.000) · 3.426 (0.000) │ ··········································|································|································· | RocketNetworkVoting · 5.673 (0.000) · 5.895 (0.000) │ ··········································|································|································· | RocketNodeDeposit · 10.388 (0.000) · 10.571 (0.000) │ ··········································|································|································· | RocketNodeDepositLEB4 · 10.012 (0.000) · 10.195 (0.000) │ ··········································|································|································· | RocketNodeDepositOld · 10.092 (0.000) · 10.219 (0.000) │ ··········································|································|································· | RocketNodeDistributor · 0.281 (0.000) · 0.497 (0.000) │ ··········································|································|································· | RocketNodeDistributorDelegate · 2.280 (0.000) · 2.563 (0.000) │ ··········································|································|································· | RocketNodeDistributorFactory · 1.813 (0.000) · 1.940 (0.000) │ ··········································|································|································· | RocketNodeManager · 16.276 (0.000) · 16.460 (0.000) │ ··········································|································|································· | RocketNodeManagerOld · 16.766 (0.000) · 16.945 (0.000) │ ··········································|································|································· | RocketNodeStaking · 12.812 (0.000) · 13.084 (0.000) │ ··········································|································|································· | RocketNodeStakingOld · 10.746 (0.000) · 10.873 (0.000) │ ··········································|································|································· | RocketpoolEncoder · 0.084 (0.000) · 0.138 (0.000) │ ··········································|································|································· | RocketRewardsPool · 9.149 (0.000) · 9.327 (0.000) │ ··········································|································|································· | RocketRewardsPoolOld · 9.004 (0.000) · 9.182 (0.000) │ ··········································|································|································· | RocketSmoothingPool · 1.809 (0.000) · 1.979 (0.000) │ ··········································|································|································· | RocketStorage · 8.549 (0.000) · 8.610 (0.000) │ ··········································|································|································· | RocketTokenDummyRPL · 3.498 (0.000) · 4.205 (0.000) │ ··········································|································|································· | RocketTokenRETH · 8.134 (0.000) · 8.563 (0.000) │ ··········································|································|································· | RocketTokenRPL · 7.549 (0.000) · 8.465 (0.000) │ ··········································|································|································· | RocketUpgradeOneDotThree · 14.247 (0.000) · 14.453 (0.000) │ ··········································|································|································· | RocketVault · 7.322 (0.000) · 7.449 (0.000) │ ··········································|································|································· | RPLVault · 15.130 (0.000) · 15.798 (0.000) │ ··········································|································|································· | SafeCast · 0.084 (0.000) · 0.138 (0.000) │ ··········································|································|································· | SafeCast · 0.084 (0.000) · 0.118 (0.000) │ ··········································|································|································· | SafeERC20 · 0.084 (0.000) · 0.118 (0.000) │ ··········································|································|································· | SafeERC20 · 0.084 (0.000) · 0.138 (0.000) │ ··········································|································|································· | SafeERC20Upgradeable · 0.084 (0.000) · 0.138 (0.000) │ ··········································|································|································· | SafeMath · 0.084 (0.000) · 0.138 (0.000) │ ··········································|································|································· | SafeMath · 0.084 (0.000) · 0.118 (0.000) │ ··········································|································|································· | SignedMath · 0.084 (0.000) · 0.138 (0.000) │ ··········································|································|································· | SignedMathUpgradeable · 0.084 (0.000) · 0.138 (0.000) │ ··········································|································|································· | SignedSafeMath · 0.084 (0.000) · 0.118 (0.000) │ ··········································|································|································· | SnapshotTest · 1.693 (0.000) · 2.281 (0.000) │ ··········································|································|································· | StorageSlotUpgradeable · 0.084 (0.000) · 0.138 (0.000) │ ··········································|································|································· | Strings · 0.084 (0.000) · 0.138 (0.000) │ ··········································|································|································· | StringsUpgradeable · 0.084 (0.000) · 0.138 (0.000) │ ··········································|································|································· | SuperNodeAccount · 18.408 (0.000) · 18.796 (0.000) │ ··········································|································|································· | Treasury · 6.441 (0.000) · 7.109 (0.000) │ ··········································|································|································· | WETH · 2.941 (0.000) · 3.440 (0.000) │ ··········································|································|································· | WETHVault · 20.309 (0.000) · 20.977 (0.000) │ ··········································|································|································· | Whitelist · 10.674 (0.000) · 11.062 (0.000) │ ··········································|································|································· | WhitelistV2 · 10.720 (0.000) · 11.107 (0.000) │ ··········································|································|································· | XRETHAdminOracle · 5.834 (0.000) · 6.502 (0.000) │ ··········································|································|································· | XRETHOracle · 3.576 (0.000) · 4.244 (0.000) │ ··········································|································|································· | NodeSetOperatorRewardDistributor · 13.760 (0.000) · 14.147 (0.000) │ ·-----------------------------------------|--------------------------------|--------------------------------· (node:20130) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead. (Use `node --trace-deprecation ...` to show where the warning was created) Warning: All subsequent Upgrades warnings will be silenced. Make sure you have manually checked all uses of unsafe flags. weth address 0xB370f2Ca1Efe1383CFB9BEDAAb3F42BdBEF8Da43 sanctions address 0xe2d4059345F9687abC3e0a04D06823090703c0Dc whitelist deployed to 0xA6a6bF10b666340964aAb49e41A36E2011e7Fff2 vaulted constellation eth deployed to 0x02B9d4C1f928175e5928E304f7107cB85Ac7cBeB admin oracle deployed to 0x2Ff268D04CFefae4AeEbb468CFc5483877B651E2 vaulted constellation rpl deployed to 0xF0F98294914b7350691612C139Fd5Ce89b4db9c6 Fund Router (Deposit Pool) deployed to 0xDdc64D933B2C6981C43825Aa6d5bB33172F12Ecd operator distributor deployed to 0x51403c13275D24CC21369F5F8d4fE2B0d8788249 yield distributor deployed to 0x10b793C0d507d3624a5D26320c5fC757205518B2 price fetcher deployed to 0xA91f6f268738c5Bcd060AA58B70BfB6E6EE2105c admin treasury deployed to 0x9Bca3A57226ac466884D1dFd18875D1704A25196 super node deployed to 0x6a126E2aF4F9adE9176339BB59FC77d1192b5101 verify directory input whitelistProxy.address 0xA6a6bF10b666340964aAb49e41A36E2011e7Fff2 vCWETHProxy.address 0x02B9d4C1f928175e5928E304f7107cB85Ac7cBeB vCRPLProxy.address 0xF0F98294914b7350691612C139Fd5Ce89b4db9c6 depositPoolProxy.address 0xDdc64D933B2C6981C43825Aa6d5bB33172F12Ecd operatorDistributorProxy.address 0x51403c13275D24CC21369F5F8d4fE2B0d8788249 yieldDistributorProxy.address 0x10b793C0d507d3624a5D26320c5fC757205518B2 oracle 0x2Ff268D04CFefae4AeEbb468CFc5483877B651E2 priceFetcherProxy.address 0xA91f6f268738c5Bcd060AA58B70BfB6E6EE2105c snap.address 0x6a126E2aF4F9adE9176339BB59FC77d1192b5101 rocketStorage 0x594Fb75D3dc2DFa0150Ad03F99F97817747dd4E1 weth 0xB370f2Ca1Efe1383CFB9BEDAAb3F42BdBEF8Da43 sanctions 0xe2d4059345F9687abC3e0a04D06823090703c0Dc Duplicate definition of SanctionViolation (SanctionViolation(address,address), SanctionViolation(address)) Duplicate definition of SanctionViolation (SanctionViolation(address,address), SanctionViolation(address)) directory deployed to 0x36E299cbdE0D63290DD3Be3C5364683284C4e38D directory matches predicted address 0x36e299cbde0d63290dd3be3c5364683284c4e38d trying to lazyInitialize superNodeProxy... Operation failed. Do you want to retry? (y/n): y Extended retry, attempts remaining: 3... trying to lazyInitialize superNodeProxy... Duplicate definition of SanctionViolation (SanctionViolation(address,address), SanctionViolation(address)) Duplicate definition of SanctionViolation (SanctionViolation(address,address), SanctionViolation(address)) Duplicate definition of SanctionViolation (SanctionViolation(address,address), SanctionViolation(address)) timelock short role set Duplicate definition of SanctionViolation (SanctionViolation(address,address), SanctionViolation(address)) timelock med role set Duplicate definition of SanctionViolation (SanctionViolation(address,address), SanctionViolation(address)) timelock long role set Duplicate definition of SanctionViolation (SanctionViolation(address,address), SanctionViolation(address)) protocol role set teddy2@teddy0s-MacBook-Pro constellation %