> .exit 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:48708) [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) │ ··········································|································|································· | Treasury · 6.060 (0.000) · 6.728 (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) │ ··········································|································|································· | Deployer · 0.062 (0.000) · 0.090 (0.000) │ ··········································|································|································· | FundRouter · 8.874 (0.000) · 9.542 (0.000) │ ··········································|································|································· | Directory · 11.056 (0.000) · 11.438 (0.000) │ ··········································|································|································· | ECDSA · 0.084 (0.000) · 0.138 (0.000) │ ··········································|································|································· | ERC1967Proxy · 0.683 (0.000) · 1.788 (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) │ ··········································|································|································· | 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.762 (0.000) · 1.793 (0.000) │ ··········································|································|································· | MockPriceFetcher · 3.317 (0.000) · 3.693 (0.000) │ ··········································|································|································· | MockRETHOracle · 0.168 (0.000) · 0.202 (0.000) │ ··········································|································|································· | MockRocketNodeManager · 0.726 (0.000) · 0.757 (0.000) │ ··········································|································|································· | MockRocketNodeStaking · 0.694 (0.000) · 0.726 (0.000) │ ··········································|································|································· | MockRocketStorage · 0.393 (0.000) · 0.424 (0.000) │ ··········································|································|································· | MockSanctions · 0.259 (0.000) · 0.290 (0.000) │ ··········································|································|································· | MockUniswapV3Pool · 0.251 (0.000) · 0.299 (0.000) │ ··········································|································|································· | OperatorDistributor · 13.182 (0.000) · 13.850 (0.000) │ ··········································|································|································· | PenaltyTest · 0.893 (0.000) · 1.013 (0.000) │ ··········································|································|································· | PriceFetcher · 4.051 (0.000) · 4.427 (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.712 (0.000) · 15.839 (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 · 11.981 (0.000) · 12.680 (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 · 22.281 (0.000) · 22.352 (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 · 8.325 (0.000) · 8.452 (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.037 (0.000) · 4.282 (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 · 9.896 (0.000) · 10.080 (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) │ ··········································|································|································· | RocketRewardsPool · 9.004 (0.000) · 9.182 (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 · 13.200 (0.000) · 13.868 (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) │ ··········································|································|································· | StorageSlot · 0.084 (0.000) · 0.138 (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) │ ··········································|································|································· | NodeAccount · 6.927 (0.000) · 7.314 (0.000) │ ··········································|································|································· | NodeAccountFactory · 7.595 (0.000) · 7.982 (0.000) │ ··········································|································|································· | WETH · 2.941 (0.000) · 3.440 (0.000) │ ··········································|································|································· | WETHVault · 15.305 (0.000) · 15.973 (0.000) │ ··········································|································|································· | Whitelist · 8.277 (0.000) · 8.665 (0.000) │ ··········································|································|································· | WhitelistV2 · 8.308 (0.000) · 8.695 (0.000) │ ··········································|································|································· | NodeSetOperatorRewardDistributor · 12.395 (0.000) · 12.782 (0.000) │ ·-----------------------------------------|--------------------------------|--------------------------------· Welcome to Node.js v21.4.0. Type ".help" for more information. > (node:48709) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead. (Use `node --trace-deprecation ...` to show where the warning was created) > const vaf = await ethers.getContractAt("NodeAccountFactory", "0x50ea5ba8241a3357275a7b0b61735d1b46F4499F") undefined > const [deployer, admin] = await ethers.getSigners() undefined > deployer.address '0x7621940f6068C024Fb3a3eeE2810D5Ad76CEa374' > admin.address '0x241E263b40c7Bf458b6b28D86338cf26f7Cc5a57' > const rplToken = ethers.getContractAt("RocketTokenRPLInterface", "0x1Cc9cF5586522c6F483E84A19c3C2B0B6d027bF0") undefined > Uncaught: HardhatError: HH701: There are multiple artifacts for contract "RocketTokenRPLInterface", please use a fully qualified name. Please replace RocketTokenRPLInterface for one of these options wherever you are trying to read its artifact: contracts/Interfaces/RocketTokenRPLInterface.sol:RocketTokenRPLInterface contracts/Testing/Rocketpool/interface/token/RocketTokenRPLInterface.sol:RocketTokenRPLInterface at Artifacts._getArtifactPathFromFiles (/constellation/node_modules/hardhat/src/internal/artifacts.ts:872:13) at Artifacts._getArtifactPath (/constellation/node_modules/hardhat/src/internal/artifacts.ts:522:21) at processTicksAndRejections (node:internal/process/task_queues:95:5) at async Artifacts.readArtifact (/constellation/node_modules/hardhat/src/internal/artifacts.ts:71:26) at async getContractAt (/constellation/node_modules/@nomiclabs/hardhat-ethers/src/internal/helpers.ts:303:22) > const rplToken = ethers.getContractAt("contracts/Interfaces/RocketTokenRPLInterface.sol:RocketTokenRPLInterface", "0x1Cc9cF5586522c6F483E84A19c3C2B0B6d027bF0") Uncaught SyntaxError: Identifier 'rplToken' has already been declared > rplToken = ethers.getContractAt("contracts/Interfaces/RocketTokenRPLInterface.sol:RocketTokenRPLInterface", "0x1Cc9cF5586522c6F483E84A19c3C2B0B6d027bF0") Uncaught TypeError: Assignment to constant variable. > let rpl = ethers.getContractAt("contracts/Interfaces/RocketTokenRPLInterface.sol:RocketTokenRPLInterface", "0x1Cc9cF5586522c6F483E84A19c3C2B0B6d027bF0") undefined > await rpl.balanceOf(admin.address) Uncaught TypeError: rpl.balanceOf is not a function at REPL69:1:43 > await rpl Contract { interface: Interface { fragments: [ [EventFragment], [EventFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment] ], _abiCoder: AbiCoder { coerceFunc: null }, functions: { 'allowance(address,address)': [FunctionFragment], 'approve(address,uint256)': [FunctionFragment], 'balanceOf(address)': [FunctionFragment], 'getInflationCalcTime()': [FunctionFragment], 'getInflationIntervalRate()': [FunctionFragment], 'getInflationIntervalStartTime()': [FunctionFragment], 'getInflationIntervalTime()': [FunctionFragment], 'getInflationIntervalsPassed()': [FunctionFragment], 'getInflationRewardsContractAddress()': [FunctionFragment], 'inflationCalculate()': [FunctionFragment], 'inflationMintTokens()': [FunctionFragment], 'swapTokens(uint256)': [FunctionFragment], 'totalSupply()': [FunctionFragment], 'transfer(address,uint256)': [FunctionFragment], 'transferFrom(address,address,uint256)': [FunctionFragment] }, errors: {}, events: { 'Approval(address,address,uint256)': [EventFragment], 'Transfer(address,address,uint256)': [EventFragment] }, structs: {}, deploy: ConstructorFragment { name: null, type: 'constructor', inputs: [], payable: false, stateMutability: 'nonpayable', gas: null, _isFragment: true }, _isInterface: true }, provider: EthersProviderWrapper { _isProvider: true, _events: [], _emitted: { block: -2 }, disableCcipRead: false, formatter: Formatter { formats: [Object] }, anyNetwork: false, _networkPromise: Promise { [Object], [Symbol(async_id_symbol)]: 222, [Symbol(trigger_async_id_symbol)]: 42 }, _maxInternalBlockNumber: -1024, _lastBlockNumber: -2, _maxFilterBlockRange: 10, _pollingInterval: 4000, _fastQueryDate: 0, connection: { url: 'http://localhost:8545' }, _nextId: 42, _hardhatProvider: LazyInitializationProviderAdapter { _providerFactory: [AsyncFunction (anonymous)], _emitter: [EventEmitter], _initializingPromise: [Promise], provider: [BackwardsCompatibilityProviderAdapter] }, _eventLoopCache: { detectNetwork: null }, _network: { chainId: 17000, name: 'unknown' } }, signer: SignerWithAddress { _isSigner: true, address: '0x7621940f6068C024Fb3a3eeE2810D5Ad76CEa374', _signer: JsonRpcSigner { _isSigner: true, provider: [EthersProviderWrapper], _address: '0x7621940f6068C024Fb3a3eeE2810D5Ad76CEa374', _index: null }, provider: EthersProviderWrapper { _isProvider: true, _events: [], _emitted: [Object], disableCcipRead: false, formatter: [Formatter], anyNetwork: false, _networkPromise: [Promise], _maxInternalBlockNumber: -1024, _lastBlockNumber: -2, _maxFilterBlockRange: 10, _pollingInterval: 4000, _fastQueryDate: 0, connection: [Object], _nextId: 42, _hardhatProvider: [LazyInitializationProviderAdapter], _eventLoopCache: [Object], _network: [Object] } }, callStatic: { 'allowance(address,address)': [Function (anonymous)], 'approve(address,uint256)': [Function (anonymous)], 'balanceOf(address)': [Function (anonymous)], 'getInflationCalcTime()': [Function (anonymous)], 'getInflationIntervalRate()': [Function (anonymous)], 'getInflationIntervalStartTime()': [Function (anonymous)], 'getInflationIntervalTime()': [Function (anonymous)], 'getInflationIntervalsPassed()': [Function (anonymous)], 'getInflationRewardsContractAddress()': [Function (anonymous)], 'inflationCalculate()': [Function (anonymous)], 'inflationMintTokens()': [Function (anonymous)], 'swapTokens(uint256)': [Function (anonymous)], 'totalSupply()': [Function (anonymous)], 'transfer(address,uint256)': [Function (anonymous)], 'transferFrom(address,address,uint256)': [Function (anonymous)], allowance: [Function (anonymous)], approve: [Function (anonymous)], balanceOf: [Function (anonymous)], getInflationCalcTime: [Function (anonymous)], getInflationIntervalRate: [Function (anonymous)], getInflationIntervalStartTime: [Function (anonymous)], getInflationIntervalTime: [Function (anonymous)], getInflationIntervalsPassed: [Function (anonymous)], getInflationRewardsContractAddress: [Function (anonymous)], inflationCalculate: [Function (anonymous)], inflationMintTokens: [Function (anonymous)], swapTokens: [Function (anonymous)], totalSupply: [Function (anonymous)], transfer: [Function (anonymous)], transferFrom: [Function (anonymous)] }, estimateGas: { 'allowance(address,address)': [Function (anonymous)], 'approve(address,uint256)': [Function (anonymous)], 'balanceOf(address)': [Function (anonymous)], 'getInflationCalcTime()': [Function (anonymous)], 'getInflationIntervalRate()': [Function (anonymous)], 'getInflationIntervalStartTime()': [Function (anonymous)], 'getInflationIntervalTime()': [Function (anonymous)], 'getInflationIntervalsPassed()': [Function (anonymous)], 'getInflationRewardsContractAddress()': [Function (anonymous)], 'inflationCalculate()': [Function (anonymous)], 'inflationMintTokens()': [Function (anonymous)], 'swapTokens(uint256)': [Function (anonymous)], 'totalSupply()': [Function (anonymous)], 'transfer(address,uint256)': [Function (anonymous)], 'transferFrom(address,address,uint256)': [Function (anonymous)], allowance: [Function (anonymous)], approve: [Function (anonymous)], balanceOf: [Function (anonymous)], getInflationCalcTime: [Function (anonymous)], getInflationIntervalRate: [Function (anonymous)], getInflationIntervalStartTime: [Function (anonymous)], getInflationIntervalTime: [Function (anonymous)], getInflationIntervalsPassed: [Function (anonymous)], getInflationRewardsContractAddress: [Function (anonymous)], inflationCalculate: [Function (anonymous)], inflationMintTokens: [Function (anonymous)], swapTokens: [Function (anonymous)], totalSupply: [Function (anonymous)], transfer: [Function (anonymous)], transferFrom: [Function (anonymous)] }, functions: { 'allowance(address,address)': [Function (anonymous)], 'approve(address,uint256)': [Function (anonymous)], 'balanceOf(address)': [Function (anonymous)], 'getInflationCalcTime()': [Function (anonymous)], 'getInflationIntervalRate()': [Function (anonymous)], 'getInflationIntervalStartTime()': [Function (anonymous)], 'getInflationIntervalTime()': [Function (anonymous)], 'getInflationIntervalsPassed()': [Function (anonymous)], 'getInflationRewardsContractAddress()': [Function (anonymous)], 'inflationCalculate()': [Function (anonymous)], 'inflationMintTokens()': [Function (anonymous)], 'swapTokens(uint256)': [Function (anonymous)], 'totalSupply()': [Function (anonymous)], 'transfer(address,uint256)': [Function (anonymous)], 'transferFrom(address,address,uint256)': [Function (anonymous)], allowance: [Function (anonymous)], approve: [Function (anonymous)], balanceOf: [Function (anonymous)], getInflationCalcTime: [Function (anonymous)], getInflationIntervalRate: [Function (anonymous)], getInflationIntervalStartTime: [Function (anonymous)], getInflationIntervalTime: [Function (anonymous)], getInflationIntervalsPassed: [Function (anonymous)], getInflationRewardsContractAddress: [Function (anonymous)], inflationCalculate: [Function (anonymous)], inflationMintTokens: [Function (anonymous)], swapTokens: [Function (anonymous)], totalSupply: [Function (anonymous)], transfer: [Function (anonymous)], transferFrom: [Function (anonymous)] }, populateTransaction: { 'allowance(address,address)': [Function (anonymous)], 'approve(address,uint256)': [Function (anonymous)], 'balanceOf(address)': [Function (anonymous)], 'getInflationCalcTime()': [Function (anonymous)], 'getInflationIntervalRate()': [Function (anonymous)], 'getInflationIntervalStartTime()': [Function (anonymous)], 'getInflationIntervalTime()': [Function (anonymous)], 'getInflationIntervalsPassed()': [Function (anonymous)], 'getInflationRewardsContractAddress()': [Function (anonymous)], 'inflationCalculate()': [Function (anonymous)], 'inflationMintTokens()': [Function (anonymous)], 'swapTokens(uint256)': [Function (anonymous)], 'totalSupply()': [Function (anonymous)], 'transfer(address,uint256)': [Function (anonymous)], 'transferFrom(address,address,uint256)': [Function (anonymous)], allowance: [Function (anonymous)], approve: [Function (anonymous)], balanceOf: [Function (anonymous)], getInflationCalcTime: [Function (anonymous)], getInflationIntervalRate: [Function (anonymous)], getInflationIntervalStartTime: [Function (anonymous)], getInflationIntervalTime: [Function (anonymous)], getInflationIntervalsPassed: [Function (anonymous)], getInflationRewardsContractAddress: [Function (anonymous)], inflationCalculate: [Function (anonymous)], inflationMintTokens: [Function (anonymous)], swapTokens: [Function (anonymous)], totalSupply: [Function (anonymous)], transfer: [Function (anonymous)], transferFrom: [Function (anonymous)] }, filters: { 'Approval(address,address,uint256)': [Function (anonymous)], 'Transfer(address,address,uint256)': [Function (anonymous)], Approval: [Function (anonymous)], Transfer: [Function (anonymous)] }, _runningEvents: {}, _wrappedEmits: {}, address: '0x1Cc9cF5586522c6F483E84A19c3C2B0B6d027bF0', resolvedAddress: Promise { '0x1Cc9cF5586522c6F483E84A19c3C2B0B6d027bF0', [Symbol(async_id_symbol)]: 13259, [Symbol(trigger_async_id_symbol)]: 13226 }, 'allowance(address,address)': [Function (anonymous)], 'approve(address,uint256)': [Function (anonymous)], 'balanceOf(address)': [Function (anonymous)], 'getInflationCalcTime()': [Function (anonymous)], 'getInflationIntervalRate()': [Function (anonymous)], 'getInflationIntervalStartTime()': [Function (anonymous)], 'getInflationIntervalTime()': [Function (anonymous)], 'getInflationIntervalsPassed()': [Function (anonymous)], 'getInflationRewardsContractAddress()': [Function (anonymous)], 'inflationCalculate()': [Function (anonymous)], 'inflationMintTokens()': [Function (anonymous)], 'swapTokens(uint256)': [Function (anonymous)], 'totalSupply()': [Function (anonymous)], 'transfer(address,uint256)': [Function (anonymous)], 'transferFrom(address,address,uint256)': [Function (anonymous)], allowance: [Function (anonymous)], approve: [Function (anonymous)], balanceOf: [Function (anonymous)], getInflationCalcTime: [Function (anonymous)], getInflationIntervalRate: [Function (anonymous)], getInflationIntervalStartTime: [Function (anonymous)], getInflationIntervalTime: [Function (anonymous)], getInflationIntervalsPassed: [Function (anonymous)], getInflationRewardsContractAddress: [Function (anonymous)], inflationCalculate: [Function (anonymous)], inflationMintTokens: [Function (anonymous)], swapTokens: [Function (anonymous)], totalSupply: [Function (anonymous)], transfer: [Function (anonymous)], transferFrom: [Function (anonymous)] } > await rpl.balanceOf(admin.address) Uncaught TypeError: rpl.balanceOf is not a function at REPL71:1:43 > let rpl = await ethers.getContractAt("contracts/Interfaces/RocketTokenRPLInterface.sol:RocketTokenRPLInterface", "0x1Cc9cF5586522c6F483E84A19c3C2B0B6d027bF0") Uncaught SyntaxError: Identifier 'rpl' has already been declared > rpl = await ethers.getContractAt("contracts/Interfaces/RocketTokenRPLInterface.sol:RocketTokenRPLInterface", "0x1Cc9cF5586522c6F483E84A19c3C2B0B6d027bF0") Contract { interface: Interface { fragments: [ [EventFragment], [EventFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment] ], _abiCoder: AbiCoder { coerceFunc: null }, functions: { 'allowance(address,address)': [FunctionFragment], 'approve(address,uint256)': [FunctionFragment], 'balanceOf(address)': [FunctionFragment], 'getInflationCalcTime()': [FunctionFragment], 'getInflationIntervalRate()': [FunctionFragment], 'getInflationIntervalStartTime()': [FunctionFragment], 'getInflationIntervalTime()': [FunctionFragment], 'getInflationIntervalsPassed()': [FunctionFragment], 'getInflationRewardsContractAddress()': [FunctionFragment], 'inflationCalculate()': [FunctionFragment], 'inflationMintTokens()': [FunctionFragment], 'swapTokens(uint256)': [FunctionFragment], 'totalSupply()': [FunctionFragment], 'transfer(address,uint256)': [FunctionFragment], 'transferFrom(address,address,uint256)': [FunctionFragment] }, errors: {}, events: { 'Approval(address,address,uint256)': [EventFragment], 'Transfer(address,address,uint256)': [EventFragment] }, structs: {}, deploy: ConstructorFragment { name: null, type: 'constructor', inputs: [], payable: false, stateMutability: 'nonpayable', gas: null, _isFragment: true }, _isInterface: true }, provider: EthersProviderWrapper { _isProvider: true, _events: [], _emitted: { block: -2 }, disableCcipRead: false, formatter: Formatter { formats: [Object] }, anyNetwork: false, _networkPromise: Promise { [Object], [Symbol(async_id_symbol)]: 222, [Symbol(trigger_async_id_symbol)]: 42 }, _maxInternalBlockNumber: -1024, _lastBlockNumber: -2, _maxFilterBlockRange: 10, _pollingInterval: 4000, _fastQueryDate: 0, connection: { url: 'http://localhost:8545' }, _nextId: 42, _hardhatProvider: LazyInitializationProviderAdapter { _providerFactory: [AsyncFunction (anonymous)], _emitter: [EventEmitter], _initializingPromise: [Promise], provider: [BackwardsCompatibilityProviderAdapter] }, _eventLoopCache: { detectNetwork: null }, _network: { chainId: 17000, name: 'unknown' } }, signer: SignerWithAddress { _isSigner: true, address: '0x7621940f6068C024Fb3a3eeE2810D5Ad76CEa374', _signer: JsonRpcSigner { _isSigner: true, provider: [EthersProviderWrapper], _address: '0x7621940f6068C024Fb3a3eeE2810D5Ad76CEa374', _index: null }, provider: EthersProviderWrapper { _isProvider: true, _events: [], _emitted: [Object], disableCcipRead: false, formatter: [Formatter], anyNetwork: false, _networkPromise: [Promise], _maxInternalBlockNumber: -1024, _lastBlockNumber: -2, _maxFilterBlockRange: 10, _pollingInterval: 4000, _fastQueryDate: 0, connection: [Object], _nextId: 42, _hardhatProvider: [LazyInitializationProviderAdapter], _eventLoopCache: [Object], _network: [Object] } }, callStatic: { 'allowance(address,address)': [Function (anonymous)], 'approve(address,uint256)': [Function (anonymous)], 'balanceOf(address)': [Function (anonymous)], 'getInflationCalcTime()': [Function (anonymous)], 'getInflationIntervalRate()': [Function (anonymous)], 'getInflationIntervalStartTime()': [Function (anonymous)], 'getInflationIntervalTime()': [Function (anonymous)], 'getInflationIntervalsPassed()': [Function (anonymous)], 'getInflationRewardsContractAddress()': [Function (anonymous)], 'inflationCalculate()': [Function (anonymous)], 'inflationMintTokens()': [Function (anonymous)], 'swapTokens(uint256)': [Function (anonymous)], 'totalSupply()': [Function (anonymous)], 'transfer(address,uint256)': [Function (anonymous)], 'transferFrom(address,address,uint256)': [Function (anonymous)], allowance: [Function (anonymous)], approve: [Function (anonymous)], balanceOf: [Function (anonymous)], getInflationCalcTime: [Function (anonymous)], getInflationIntervalRate: [Function (anonymous)], getInflationIntervalStartTime: [Function (anonymous)], getInflationIntervalTime: [Function (anonymous)], getInflationIntervalsPassed: [Function (anonymous)], getInflationRewardsContractAddress: [Function (anonymous)], inflationCalculate: [Function (anonymous)], inflationMintTokens: [Function (anonymous)], swapTokens: [Function (anonymous)], totalSupply: [Function (anonymous)], transfer: [Function (anonymous)], transferFrom: [Function (anonymous)] }, estimateGas: { 'allowance(address,address)': [Function (anonymous)], 'approve(address,uint256)': [Function (anonymous)], 'balanceOf(address)': [Function (anonymous)], 'getInflationCalcTime()': [Function (anonymous)], 'getInflationIntervalRate()': [Function (anonymous)], 'getInflationIntervalStartTime()': [Function (anonymous)], 'getInflationIntervalTime()': [Function (anonymous)], 'getInflationIntervalsPassed()': [Function (anonymous)], 'getInflationRewardsContractAddress()': [Function (anonymous)], 'inflationCalculate()': [Function (anonymous)], 'inflationMintTokens()': [Function (anonymous)], 'swapTokens(uint256)': [Function (anonymous)], 'totalSupply()': [Function (anonymous)], 'transfer(address,uint256)': [Function (anonymous)], 'transferFrom(address,address,uint256)': [Function (anonymous)], allowance: [Function (anonymous)], approve: [Function (anonymous)], balanceOf: [Function (anonymous)], getInflationCalcTime: [Function (anonymous)], getInflationIntervalRate: [Function (anonymous)], getInflationIntervalStartTime: [Function (anonymous)], getInflationIntervalTime: [Function (anonymous)], getInflationIntervalsPassed: [Function (anonymous)], getInflationRewardsContractAddress: [Function (anonymous)], inflationCalculate: [Function (anonymous)], inflationMintTokens: [Function (anonymous)], swapTokens: [Function (anonymous)], totalSupply: [Function (anonymous)], transfer: [Function (anonymous)], transferFrom: [Function (anonymous)] }, functions: { 'allowance(address,address)': [Function (anonymous)], 'approve(address,uint256)': [Function (anonymous)], 'balanceOf(address)': [Function (anonymous)], 'getInflationCalcTime()': [Function (anonymous)], 'getInflationIntervalRate()': [Function (anonymous)], 'getInflationIntervalStartTime()': [Function (anonymous)], 'getInflationIntervalTime()': [Function (anonymous)], 'getInflationIntervalsPassed()': [Function (anonymous)], 'getInflationRewardsContractAddress()': [Function (anonymous)], 'inflationCalculate()': [Function (anonymous)], 'inflationMintTokens()': [Function (anonymous)], 'swapTokens(uint256)': [Function (anonymous)], 'totalSupply()': [Function (anonymous)], 'transfer(address,uint256)': [Function (anonymous)], 'transferFrom(address,address,uint256)': [Function (anonymous)], allowance: [Function (anonymous)], approve: [Function (anonymous)], balanceOf: [Function (anonymous)], getInflationCalcTime: [Function (anonymous)], getInflationIntervalRate: [Function (anonymous)], getInflationIntervalStartTime: [Function (anonymous)], getInflationIntervalTime: [Function (anonymous)], getInflationIntervalsPassed: [Function (anonymous)], getInflationRewardsContractAddress: [Function (anonymous)], inflationCalculate: [Function (anonymous)], inflationMintTokens: [Function (anonymous)], swapTokens: [Function (anonymous)], totalSupply: [Function (anonymous)], transfer: [Function (anonymous)], transferFrom: [Function (anonymous)] }, populateTransaction: { 'allowance(address,address)': [Function (anonymous)], 'approve(address,uint256)': [Function (anonymous)], 'balanceOf(address)': [Function (anonymous)], 'getInflationCalcTime()': [Function (anonymous)], 'getInflationIntervalRate()': [Function (anonymous)], 'getInflationIntervalStartTime()': [Function (anonymous)], 'getInflationIntervalTime()': [Function (anonymous)], 'getInflationIntervalsPassed()': [Function (anonymous)], 'getInflationRewardsContractAddress()': [Function (anonymous)], 'inflationCalculate()': [Function (anonymous)], 'inflationMintTokens()': [Function (anonymous)], 'swapTokens(uint256)': [Function (anonymous)], 'totalSupply()': [Function (anonymous)], 'transfer(address,uint256)': [Function (anonymous)], 'transferFrom(address,address,uint256)': [Function (anonymous)], allowance: [Function (anonymous)], approve: [Function (anonymous)], balanceOf: [Function (anonymous)], getInflationCalcTime: [Function (anonymous)], getInflationIntervalRate: [Function (anonymous)], getInflationIntervalStartTime: [Function (anonymous)], getInflationIntervalTime: [Function (anonymous)], getInflationIntervalsPassed: [Function (anonymous)], getInflationRewardsContractAddress: [Function (anonymous)], inflationCalculate: [Function (anonymous)], inflationMintTokens: [Function (anonymous)], swapTokens: [Function (anonymous)], totalSupply: [Function (anonymous)], transfer: [Function (anonymous)], transferFrom: [Function (anonymous)] }, filters: { 'Approval(address,address,uint256)': [Function (anonymous)], 'Transfer(address,address,uint256)': [Function (anonymous)], Approval: [Function (anonymous)], Transfer: [Function (anonymous)] }, _runningEvents: {}, _wrappedEmits: {}, address: '0x1Cc9cF5586522c6F483E84A19c3C2B0B6d027bF0', resolvedAddress: Promise { '0x1Cc9cF5586522c6F483E84A19c3C2B0B6d027bF0', [Symbol(async_id_symbol)]: 13693, [Symbol(trigger_async_id_symbol)]: 13660 }, 'allowance(address,address)': [Function (anonymous)], 'approve(address,uint256)': [Function (anonymous)], 'balanceOf(address)': [Function (anonymous)], 'getInflationCalcTime()': [Function (anonymous)], 'getInflationIntervalRate()': [Function (anonymous)], 'getInflationIntervalStartTime()': [Function (anonymous)], 'getInflationIntervalTime()': [Function (anonymous)], 'getInflationIntervalsPassed()': [Function (anonymous)], 'getInflationRewardsContractAddress()': [Function (anonymous)], 'inflationCalculate()': [Function (anonymous)], 'inflationMintTokens()': [Function (anonymous)], 'swapTokens(uint256)': [Function (anonymous)], 'totalSupply()': [Function (anonymous)], 'transfer(address,uint256)': [Function (anonymous)], 'transferFrom(address,address,uint256)': [Function (anonymous)], allowance: [Function (anonymous)], approve: [Function (anonymous)], balanceOf: [Function (anonymous)], getInflationCalcTime: [Function (anonymous)], getInflationIntervalRate: [Function (anonymous)], getInflationIntervalStartTime: [Function (anonymous)], getInflationIntervalTime: [Function (anonymous)], getInflationIntervalsPassed: [Function (anonymous)], getInflationRewardsContractAddress: [Function (anonymous)], inflationCalculate: [Function (anonymous)], inflationMintTokens: [Function (anonymous)], swapTokens: [Function (anonymous)], totalSupply: [Function (anonymous)], transfer: [Function (anonymous)], transferFrom: [Function (anonymous)] } > await rpl.balanceOf(admin.address) BigNumber { value: "0" } > await rpl.balanceOf(deployer.address) BigNumber { value: "40000000000000000000000" } > let rplVault = await ethers.getContractAt("RPLVault","0x1c10Dda340917A18AC2ED8D3296e0BF8205F4FA3") undefined > await rplVault.deposit(ethers.utils.parseUnits("100", deployer.address); Uncaught SyntaxError: await rplVault.deposit(ethers.utils.parseUnits("100", deployer.address); ^ Unexpected token ';' > await rplVault.deposit(ethers.utils.parseUnits("100", deployer.address) ... ... ; Uncaught SyntaxError: ; ^ Unexpected token ';' > (await rplVault.deposit(ethers.utils.parseUnits("100", deployer.address)) ... ... / ... ; Uncaught SyntaxError: ; ^ Unexpected token ';' > (await rplVault.deposit(ethers.utils.parseUnits("100"), deployer.address)) Uncaught: Error: cannot estimate gas; transaction may fail or may require manual gas limit [ See: https://links.ethers.org/v5-errors-UNPREDICTABLE_GAS_LIMIT ] (reason="execution reverted: ERC20: transfer amount exceeds allowance", method="estimateGas", transaction={"from":"0x7621940f6068C024Fb3a3eeE2810D5Ad76CEa374","to":"0x1c10Dda340917A18AC2ED8D3296e0BF8205F4FA3","data":"0x6e553f650000000000000000000000000000000000000000000000056bc75e2d631000000000000000000000000000007621940f6068c024fb3a3eee2810d5ad76cea374","accessList":null}, error={"name":"ProviderError","_stack":"ProviderError: execution reverted: ERC20: transfer amount exceeds allowance\n at HttpProvider.request (/constellation/node_modules/hardhat/src/internal/core/providers/http.ts:88:21)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async EthersProviderWrapper.send (/constellation/node_modules/@nomiclabs/hardhat-ethers/src/internal/ethers-provider-wrapper.ts:13:20)","code":3,"_isProviderError":true,"data":"0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002845524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365000000000000000000000000000000000000000000000000"}, code=UNPREDICTABLE_GAS_LIMIT, version=providers/5.7.2) at step (/constellation/node_modules/@ethersproject/providers/lib/json-rpc-provider.js:48:23) at EthersProviderWrapper. (/constellation/node_modules/@ethersproject/providers/src.ts/json-rpc-provider.ts:642:20) at checkError (/constellation/node_modules/@ethersproject/providers/src.ts/json-rpc-provider.ts:78:20) at Logger.throwError (/constellation/node_modules/@ethersproject/logger/src.ts/index.ts:281:20) at Logger.makeError (/constellation/node_modules/@ethersproject/logger/src.ts/index.ts:269:28) { reason: 'execution reverted: ERC20: transfer amount exceeds allowance', code: 'UNPREDICTABLE_GAS_LIMIT', method: 'estimateGas', transaction: { from: '0x7621940f6068C024Fb3a3eeE2810D5Ad76CEa374', to: '0x1c10Dda340917A18AC2ED8D3296e0BF8205F4FA3', data: '0x6e553f650000000000000000000000000000000000000000000000056bc75e2d631000000000000000000000000000007621940f6068c024fb3a3eee2810d5ad76cea374', accessList: null }, error: ProviderError: execution reverted: ERC20: transfer amount exceeds allowance at HttpProvider.request (/constellation/node_modules/hardhat/src/internal/core/providers/http.ts:88:21) at processTicksAndRejections (node:internal/process/task_queues:95:5) at async EthersProviderWrapper.send (/constellation/node_modules/@nomiclabs/hardhat-ethers/src/internal/ethers-provider-wrapper.ts:13:20) } > await rpl.approve(rplVault.address, ethers.constants.MaxUint256) { hash: '0x4b82cc25c14ae341be1de192dd23a86162ca413fc2f4ca532b1e4143dde16781', type: 2, accessList: [], blockHash: null, blockNumber: null, transactionIndex: null, confirmations: 0, from: '0x7621940f6068C024Fb3a3eeE2810D5Ad76CEa374', gasPrice: BigNumber { value: "1269544922" }, maxPriorityFeePerGas: BigNumber { value: "108188031" }, maxFeePerGas: BigNumber { value: "1269544922" }, gasLimit: BigNumber { value: "46842" }, to: '0x1Cc9cF5586522c6F483E84A19c3C2B0B6d027bF0', value: BigNumber { value: "0" }, nonce: 125, data: '0x095ea7b30000000000000000000000001c10dda340917a18ac2ed8d3296e0bf8205f4fa3ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff', r: '0x518572bf6cfe734dba43fc023ebf2d7ca3722790430f77df16f380b4ab9e0125', s: '0x289a0bf7e76219885bc470e29d9bbcc0bc047f6b9da29116d8b8d9d8ae831d90', v: 0, creates: null, chainId: 17000, wait: [Function (anonymous)] } > > > await rplVault.deposit(ethers.utils.parseUnits("100"), deployer.address) { hash: '0x92964026283bfb38510faaeb1d2578d39075e70edb5e0c842a63723ee4a9e580', type: 2, accessList: [], blockHash: null, blockNumber: null, transactionIndex: null, confirmations: 0, from: '0x7621940f6068C024Fb3a3eeE2810D5Ad76CEa374', gasPrice: BigNumber { value: "1418658100" }, maxPriorityFeePerGas: BigNumber { value: "3440598" }, maxFeePerGas: BigNumber { value: "1418658100" }, gasLimit: BigNumber { value: "307495" }, to: '0x1c10Dda340917A18AC2ED8D3296e0BF8205F4FA3', value: BigNumber { value: "0" }, nonce: 126, data: '0x6e553f650000000000000000000000000000000000000000000000056bc75e2d631000000000000000000000000000007621940f6068c024fb3a3eee2810d5ad76cea374', r: '0xce3092097ff6a0a4cf85af2ed0ff64b9706b75abce0d6415a55c50f70b547cf3', s: '0x64ee2471daa7f4d070514a6ae17d3b0cdb2a6a2939deedf2d86b561c0d769581', v: 0, creates: null, chainId: 17000, wait: [Function (anonymous)] } > getInflationIntervalsPassed: [Function (anonymous)], getInflationRewardsContractAddress: [Function (anonymous)], inflationCalculate: [Function (anonymous)], inflationMintTokens: [Function (anonymous)], swapTokens: [Function (anonymous)], totalSupply: [Function (anonymous)], transfer: [Function (anonymous)], transferFrom: [Function (anonymous)] } > await rpl.balanceOf(admin.address) Uncaught TypeError: rpl.balanceOf is not a function at REPL71:1:43 > let rpl = await ethers.getContractAt("contracts/Interfaces/RocketTokenRPLInterface.sol:RocketTokenRPLInterface", "0x1Cc9cF5586522c6F483E84A19c3C2B0B6d027bF0") Uncaught SyntaxError: Identifier 'rpl' has already been declared > rpl = await ethers.getContractAt("contracts/Interfaces/RocketTokenRPLInterface.sol:RocketTokenRPLInterface", "0x1Cc9cF5586522c6F483E84A19c3C2B0B6d027bF0") Contract { interface: Interface { fragments: [ [EventFragment], [EventFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment] ], _abiCoder: AbiCoder { coerceFunc: null }, functions: { 'allowance(address,address)': [FunctionFragment], 'approve(address,uint256)': [FunctionFragment], 'balanceOf(address)': [FunctionFragment], 'getInflationCalcTime()': [FunctionFragment], 'getInflationIntervalRate()': [FunctionFragment], 'getInflationIntervalStartTime()': [FunctionFragment], 'getInflationIntervalTime()': [FunctionFragment], 'getInflationIntervalsPassed()': [FunctionFragment], 'getInflationRewardsContractAddress()': [FunctionFragment], 'inflationCalculate()': [FunctionFragment], 'inflationMintTokens()': [FunctionFragment], 'swapTokens(uint256)': [FunctionFragment], 'totalSupply()': [FunctionFragment], 'transfer(address,uint256)': [FunctionFragment], 'transferFrom(address,address,uint256)': [FunctionFragment] }, errors: {}, events: { 'Approval(address,address,uint256)': [EventFragment], 'Transfer(address,address,uint256)': [EventFragment] }, structs: {}, deploy: ConstructorFragment { name: null, type: 'constructor', inputs: [], payable: false, stateMutability: 'nonpayable', gas: null, _isFragment: true }, _isInterface: true }, provider: EthersProviderWrapper { _isProvider: true, _events: [], _emitted: { block: -2 }, disableCcipRead: false, formatter: Formatter { formats: [Object] }, anyNetwork: false, _networkPromise: Promise { [Object], [Symbol(async_id_symbol)]: 222, [Symbol(trigger_async_id_symbol)]: 42 }, _maxInternalBlockNumber: -1024, _lastBlockNumber: -2, _maxFilterBlockRange: 10, _pollingInterval: 4000, _fastQueryDate: 0, connection: { url: 'http://localhost:8545' }, _nextId: 42, _hardhatProvider: LazyInitializationProviderAdapter { _providerFactory: [AsyncFunction (anonymous)], _emitter: [EventEmitter], _initializingPromise: [Promise], provider: [BackwardsCompatibilityProviderAdapter] }, _eventLoopCache: { detectNetwork: null }, _network: { chainId: 17000, name: 'unknown' } }, signer: SignerWithAddress { _isSigner: true, address: '0x7621940f6068C024Fb3a3eeE2810D5Ad76CEa374', _signer: JsonRpcSigner { _isSigner: true, provider: [EthersProviderWrapper], _address: '0x7621940f6068C024Fb3a3eeE2810D5Ad76CEa374', _index: null }, provider: EthersProviderWrapper { _isProvider: true, _events: [], _emitted: [Object], disableCcipRead: false, formatter: [Formatter], anyNetwork: false, _networkPromise: [Promise], _maxInternalBlockNumber: -1024, _lastBlockNumber: -2, _maxFilterBlockRange: 10, _pollingInterval: 4000, _fastQueryDate: 0, connection: [Object], _nextId: 42, _hardhatProvider: [LazyInitializationProviderAdapter], _eventLoopCache: [Object], _network: [Object] } }, callStatic: { 'allowance(address,address)': [Function (anonymous)], 'approve(address,uint256)': [Function (anonymous)], 'balanceOf(address)': [Function (anonymous)], 'getInflationCalcTime()': [Function (anonymous)], 'getInflationIntervalRate()': [Function (anonymous)], 'getInflationIntervalStartTime()': [Function (anonymous)], 'getInflationIntervalTime()': [Function (anonymous)], 'getInflationIntervalsPassed()': [Function (anonymous)], 'getInflationRewardsContractAddress()': [Function (anonymous)], 'inflationCalculate()': [Function (anonymous)], 'inflationMintTokens()': [Function (anonymous)], 'swapTokens(uint256)': [Function (anonymous)], 'totalSupply()': [Function (anonymous)], 'transfer(address,uint256)': [Function (anonymous)], 'transferFrom(address,address,uint256)': [Function (anonymous)], allowance: [Function (anonymous)], approve: [Function (anonymous)], balanceOf: [Function (anonymous)], getInflationCalcTime: [Function (anonymous)], getInflationIntervalRate: [Function (anonymous)], getInflationIntervalStartTime: [Function (anonymous)], getInflationIntervalTime: [Function (anonymous)], getInflationIntervalsPassed: [Function (anonymous)], getInflationRewardsContractAddress: [Function (anonymous)], inflationCalculate: [Function (anonymous)], inflationMintTokens: [Function (anonymous)], swapTokens: [Function (anonymous)], totalSupply: [Function (anonymous)], transfer: [Function (anonymous)], transferFrom: [Function (anonymous)] }, estimateGas: { 'allowance(address,address)': [Function (anonymous)], 'approve(address,uint256)': [Function (anonymous)], 'balanceOf(address)': [Function (anonymous)], 'getInflationCalcTime()': [Function (anonymous)], 'getInflationIntervalRate()': [Function (anonymous)], 'getInflationIntervalStartTime()': [Function (anonymous)], 'getInflationIntervalTime()': [Function (anonymous)], 'getInflationIntervalsPassed()': [Function (anonymous)], 'getInflationRewardsContractAddress()': [Function (anonymous)], 'inflationCalculate()': [Function (anonymous)], 'inflationMintTokens()': [Function (anonymous)], 'swapTokens(uint256)': [Function (anonymous)], 'totalSupply()': [Function (anonymous)], 'transfer(address,uint256)': [Function (anonymous)], 'transferFrom(address,address,uint256)': [Function (anonymous)], allowance: [Function (anonymous)], approve: [Function (anonymous)], balanceOf: [Function (anonymous)], getInflationCalcTime: [Function (anonymous)], getInflationIntervalRate: [Function (anonymous)], getInflationIntervalStartTime: [Function (anonymous)], getInflationIntervalTime: [Function (anonymous)], getInflationIntervalsPassed: [Function (anonymous)], getInflationRewardsContractAddress: [Function (anonymous)], inflationCalculate: [Function (anonymous)], inflationMintTokens: [Function (anonymous)], swapTokens: [Function (anonymous)], totalSupply: [Function (anonymous)], transfer: [Function (anonymous)], transferFrom: [Function (anonymous)] }, functions: { 'allowance(address,address)': [Function (anonymous)], 'approve(address,uint256)': [Function (anonymous)], 'balanceOf(address)': [Function (anonymous)], 'getInflationCalcTime()': [Function (anonymous)], 'getInflationIntervalRate()': [Function (anonymous)], 'getInflationIntervalStartTime()': [Function (anonymous)], 'getInflationIntervalTime()': [Function (anonymous)], 'getInflationIntervalsPassed()': [Function (anonymous)], 'getInflationRewardsContractAddress()': [Function (anonymous)], 'inflationCalculate()': [Function (anonymous)], 'inflationMintTokens()': [Function (anonymous)], 'swapTokens(uint256)': [Function (anonymous)], 'totalSupply()': [Function (anonymous)], 'transfer(address,uint256)': [Function (anonymous)], 'transferFrom(address,address,uint256)': [Function (anonymous)], allowance: [Function (anonymous)], approve: [Function (anonymous)], balanceOf: [Function (anonymous)], getInflationCalcTime: [Function (anonymous)], getInflationIntervalRate: [Function (anonymous)], getInflationIntervalStartTime: [Function (anonymous)], getInflationIntervalTime: [Function (anonymous)], getInflationIntervalsPassed: [Function (anonymous)], getInflationRewardsContractAddress: [Function (anonymous)], inflationCalculate: [Function (anonymous)], inflationMintTokens: [Function (anonymous)], swapTokens: [Function (anonymous)], totalSupply: [Function (anonymous)], transfer: [Function (anonymous)], transferFrom: [Function (anonymous)] }, populateTransaction: { 'allowance(address,address)': [Function (anonymous)], 'approve(address,uint256)': [Function (anonymous)], 'balanceOf(address)': [Function (anonymous)], 'getInflationCalcTime()': [Function (anonymous)], 'getInflationIntervalRate()': [Function (anonymous)], 'getInflationIntervalStartTime()': [Function (anonymous)], 'getInflationIntervalTime()': [Function (anonymous)], 'getInflationIntervalsPassed()': [Function (anonymous)], 'getInflationRewardsContractAddress()': [Function (anonymous)], 'inflationCalculate()': [Function (anonymous)], 'inflationMintTokens()': [Function (anonymous)], 'swapTokens(uint256)': [Function (anonymous)], 'totalSupply()': [Function (anonymous)], 'transfer(address,uint256)': [Function (anonymous)], 'transferFrom(address,address,uint256)': [Function (anonymous)], allowance: [Function (anonymous)], approve: [Function (anonymous)], balanceOf: [Function (anonymous)], getInflationCalcTime: [Function (anonymous)], getInflationIntervalRate: [Function (anonymous)], getInflationIntervalStartTime: [Function (anonymous)], getInflationIntervalTime: [Function (anonymous)], getInflationIntervalsPassed: [Function (anonymous)], getInflationRewardsContractAddress: [Function (anonymous)], inflationCalculate: [Function (anonymous)], inflationMintTokens: [Function (anonymous)], swapTokens: [Function (anonymous)], totalSupply: [Function (anonymous)], transfer: [Function (anonymous)], transferFrom: [Function (anonymous)] }, filters: { 'Approval(address,address,uint256)': [Function (anonymous)], 'Transfer(address,address,uint256)': [Function (anonymous)], Approval: [Function (anonymous)], Transfer: [Function (anonymous)] }, _runningEvents: {}, _wrappedEmits: {}, address: '0x1Cc9cF5586522c6F483E84A19c3C2B0B6d027bF0', resolvedAddress: Promise { '0x1Cc9cF5586522c6F483E84A19c3C2B0B6d027bF0', [Symbol(async_id_symbol)]: 13693, [Symbol(trigger_async_id_symbol)]: 13660 }, 'allowance(address,address)': [Function (anonymous)], 'approve(address,uint256)': [Function (anonymous)], 'balanceOf(address)': [Function (anonymous)], 'getInflationCalcTime()': [Function (anonymous)], 'getInflationIntervalRate()': [Function (anonymous)], 'getInflationIntervalStartTime()': [Function (anonymous)], 'getInflationIntervalTime()': [Function (anonymous)], 'getInflationIntervalsPassed()': [Function (anonymous)], 'getInflationRewardsContractAddress()': [Function (anonymous)], 'inflationCalculate()': [Function (anonymous)], 'inflationMintTokens()': [Function (anonymous)], 'swapTokens(uint256)': [Function (anonymous)], 'totalSupply()': [Function (anonymous)], 'transfer(address,uint256)': [Function (anonymous)], 'transferFrom(address,address,uint256)': [Function (anonymous)], allowance: [Function (anonymous)], approve: [Function (anonymous)], balanceOf: [Function (anonymous)], getInflationCalcTime: [Function (anonymous)], getInflationIntervalRate: [Function (anonymous)], getInflationIntervalStartTime: [Function (anonymous)], getInflationIntervalTime: [Function (anonymous)], getInflationIntervalsPassed: [Function (anonymous)], getInflationRewardsContractAddress: [Function (anonymous)], inflationCalculate: [Function (anonymous)], inflationMintTokens: [Function (anonymous)], swapTokens: [Function (anonymous)], totalSupply: [Function (anonymous)], transfer: [Function (anonymous)], transferFrom: [Function (anonymous)] } > await rpl.balanceOf(admin.address) BigNumber { value: "0" } > await rpl.balanceOf(deployer.address) BigNumber { value: "40000000000000000000000" } > let rplVault = await ethers.getContractAt("RPLVault","0x1c10Dda340917A18AC2ED8D3296e0BF8205F4FA3") undefined > await rplVault.deposit(ethers.utils.parseUnits("100", deployer.address); Uncaught SyntaxError: await rplVault.deposit(ethers.utils.parseUnits("100", deployer.address); ^ Unexpected token ';' > await rplVault.deposit(ethers.utils.parseUnits("100", deployer.address) ... ... ; Uncaught SyntaxError: ; ^ Unexpected token ';' > (await rplVault.deposit(ethers.utils.parseUnits("100", deployer.address)) ... ... / ... ; Uncaught SyntaxError: ; ^ Unexpected token ';' > (await rplVault.deposit(ethers.utils.parseUnits("100"), deployer.address)) Uncaught: Error: cannot estimate gas; transaction may fail or may require manual gas limit [ See: https://links.ethers.org/v5-errors-UNPREDICTABLE_GAS_LIMIT ] (reason="execution reverted: ERC20: transfer amount exceeds allowance", method="estimateGas", transaction={"from":"0x7621940f6068C024Fb3a3eeE2810D5Ad76CEa374","to":"0x1c10Dda340917A18AC2ED8D3296e0BF8205F4FA3","data":"0x6e553f650000000000000000000000000000000000000000000000056bc75e2d631000000000000000000000000000007621940f6068c024fb3a3eee2810d5ad76cea374","accessList":null}, error={"name":"ProviderError","_stack":"ProviderError: execution reverted: ERC20: transfer amount exceeds allowance\n at HttpProvider.request (/constellation/node_modules/hardhat/src/internal/core/providers/http.ts:88:21)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async EthersProviderWrapper.send (/constellation/node_modules/@nomiclabs/hardhat-ethers/src/internal/ethers-provider-wrapper.ts:13:20)","code":3,"_isProviderError":true,"data":"0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002845524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365000000000000000000000000000000000000000000000000"}, code=UNPREDICTABLE_GAS_LIMIT, version=providers/5.7.2) at step (/constellation/node_modules/@ethersproject/providers/lib/json-rpc-provider.js:48:23) at EthersProviderWrapper. (/constellation/node_modules/@ethersproject/providers/src.ts/json-rpc-provider.ts:642:20) at checkError (/constellation/node_modules/@ethersproject/providers/src.ts/json-rpc-provider.ts:78:20) at Logger.throwError (/constellation/node_modules/@ethersproject/logger/src.ts/index.ts:281:20) at Logger.makeError (/constellation/node_modules/@ethersproject/logger/src.ts/index.ts:269:28) { reason: 'execution reverted: ERC20: transfer amount exceeds allowance', code: 'UNPREDICTABLE_GAS_LIMIT', method: 'estimateGas', transaction: { from: '0x7621940f6068C024Fb3a3eeE2810D5Ad76CEa374', to: '0x1c10Dda340917A18AC2ED8D3296e0BF8205F4FA3', data: '0x6e553f650000000000000000000000000000000000000000000000056bc75e2d631000000000000000000000000000007621940f6068c024fb3a3eee2810d5ad76cea374', accessList: null }, error: ProviderError: execution reverted: ERC20: transfer amount exceeds allowance at HttpProvider.request (/constellation/node_modules/hardhat/src/internal/core/providers/http.ts:88:21) at processTicksAndRejections (node:internal/process/task_queues:95:5) at async EthersProviderWrapper.send (/constellation/node_modules/@nomiclabs/hardhat-ethers/src/internal/ethers-provider-wrapper.ts:13:20) } > await rpl.approve(rplVault.address, ethers.constants.MaxUint256) { hash: '0x4b82cc25c14ae341be1de192dd23a86162ca413fc2f4ca532b1e4143dde16781', type: 2, accessList: [], blockHash: null, blockNumber: null, transactionIndex: null, confirmations: 0, from: '0x7621940f6068C024Fb3a3eeE2810D5Ad76CEa374', gasPrice: BigNumber { value: "1269544922" }, maxPriorityFeePerGas: BigNumber { value: "108188031" }, maxFeePerGas: BigNumber { value: "1269544922" }, gasLimit: BigNumber { value: "46842" }, to: '0x1Cc9cF5586522c6F483E84A19c3C2B0B6d027bF0', value: BigNumber { value: "0" }, nonce: 125, data: '0x095ea7b30000000000000000000000001c10dda340917a18ac2ed8d3296e0bf8205f4fa3ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff', r: '0x518572bf6cfe734dba43fc023ebf2d7ca3722790430f77df16f380b4ab9e0125', s: '0x289a0bf7e76219885bc470e29d9bbcc0bc047f6b9da29116d8b8d9d8ae831d90', v: 0, creates: null, chainId: 17000, wait: [Function (anonymous)] } > > > await rplVault.deposit(ethers.utils.parseUnits("100"), deployer.address) { hash: '0x92964026283bfb38510faaeb1d2578d39075e70edb5e0c842a63723ee4a9e580', type: 2, accessList: [], blockHash: null, blockNumber: null, transactionIndex: null, confirmations: 0, from: '0x7621940f6068C024Fb3a3eeE2810D5Ad76CEa374', gasPrice: BigNumber { value: "1418658100" }, maxPriorityFeePerGas: BigNumber { value: "3440598" }, maxFeePerGas: BigNumber { value: "1418658100" }, gasLimit: BigNumber { value: "307495" }, to: '0x1c10Dda340917A18AC2ED8D3296e0BF8205F4FA3', value: BigNumber { value: "0" }, nonce: 126, data: '0x6e553f650000000000000000000000000000000000000000000000056bc75e2d631000000000000000000000000000007621940f6068c024fb3a3eee2810d5ad76cea374', r: '0xce3092097ff6a0a4cf85af2ed0ff64b9706b75abce0d6415a55c50f70b547cf3', s: '0x64ee2471daa7f4d070514a6ae17d3b0cdb2a6a2939deedf2d86b561c0d769581', v: 0, creates: null, chainId: 17000, wait: [Function (anonymous)] } > let wethVault = await ethers.getContractAt("WETHVault", "0xF9a442FdA87c87273b4676bA0DDEf1a2Cf20F9f3") undefined > let weth = await ethers.getContract("IWETH", wethVault.address) Uncaught TypeError: ethers.getContract is not a function at REPL250:1:52 > weth = await ethers.getContractAt("IWETH", wethVault.address) Contract { interface: Interface { fragments: [ [EventFragment], [EventFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment] ], _abiCoder: AbiCoder { coerceFunc: null }, functions: { 'allowance(address,address)': [FunctionFragment], 'approve(address,uint256)': [FunctionFragment], 'balanceOf(address)': [FunctionFragment], 'deposit()': [FunctionFragment], 'totalSupply()': [FunctionFragment], 'transfer(address,uint256)': [FunctionFragment], 'transferFrom(address,address,uint256)': [FunctionFragment], 'withdraw(uint256)': [FunctionFragment] }, errors: {}, events: { 'Approval(address,address,uint256)': [EventFragment], 'Transfer(address,address,uint256)': [EventFragment] }, structs: {}, deploy: ConstructorFragment { name: null, type: 'constructor', inputs: [], payable: false, stateMutability: 'nonpayable', gas: null, _isFragment: true }, _isInterface: true }, provider: EthersProviderWrapper { _isProvider: true, _events: [], _emitted: { block: -2 }, disableCcipRead: false, formatter: Formatter { formats: [Object] }, anyNetwork: false, _networkPromise: Promise { [Object], [Symbol(async_id_symbol)]: 222, [Symbol(trigger_async_id_symbol)]: 42 }, _maxInternalBlockNumber: 818715, _lastBlockNumber: -2, _maxFilterBlockRange: 10, _pollingInterval: 4000, _fastQueryDate: 1706323778705, connection: { url: 'http://localhost:8545' }, _nextId: 42, _hardhatProvider: LazyInitializationProviderAdapter { _providerFactory: [AsyncFunction (anonymous)], _emitter: [EventEmitter], _initializingPromise: [Promise], provider: [BackwardsCompatibilityProviderAdapter] }, _eventLoopCache: { detectNetwork: null }, _network: { chainId: 17000, name: 'unknown' }, _internalBlockNumber: Promise { [Object], [Symbol(async_id_symbol)]: 16486, [Symbol(trigger_async_id_symbol)]: 16479 }, _fastBlockNumber: 818715, _fastBlockNumberPromise: Promise { 818715, [Symbol(async_id_symbol)]: 16608, [Symbol(trigger_async_id_symbol)]: 16486 } }, signer: SignerWithAddress { _isSigner: true, address: '0x7621940f6068C024Fb3a3eeE2810D5Ad76CEa374', _signer: JsonRpcSigner { _isSigner: true, provider: [EthersProviderWrapper], _address: '0x7621940f6068C024Fb3a3eeE2810D5Ad76CEa374', _index: null }, provider: EthersProviderWrapper { _isProvider: true, _events: [], _emitted: [Object], disableCcipRead: false, formatter: [Formatter], anyNetwork: false, _networkPromise: [Promise], _maxInternalBlockNumber: 818715, _lastBlockNumber: -2, _maxFilterBlockRange: 10, _pollingInterval: 4000, _fastQueryDate: 1706323778705, connection: [Object], _nextId: 42, _hardhatProvider: [LazyInitializationProviderAdapter], _eventLoopCache: [Object], _network: [Object], _internalBlockNumber: [Promise], _fastBlockNumber: 818715, _fastBlockNumberPromise: [Promise] } }, callStatic: { 'allowance(address,address)': [Function (anonymous)], 'approve(address,uint256)': [Function (anonymous)], 'balanceOf(address)': [Function (anonymous)], 'deposit()': [Function (anonymous)], 'totalSupply()': [Function (anonymous)], 'transfer(address,uint256)': [Function (anonymous)], 'transferFrom(address,address,uint256)': [Function (anonymous)], 'withdraw(uint256)': [Function (anonymous)], allowance: [Function (anonymous)], approve: [Function (anonymous)], balanceOf: [Function (anonymous)], deposit: [Function (anonymous)], totalSupply: [Function (anonymous)], transfer: [Function (anonymous)], transferFrom: [Function (anonymous)], withdraw: [Function (anonymous)] }, estimateGas: { 'allowance(address,address)': [Function (anonymous)], 'approve(address,uint256)': [Function (anonymous)], 'balanceOf(address)': [Function (anonymous)], 'deposit()': [Function (anonymous)], 'totalSupply()': [Function (anonymous)], 'transfer(address,uint256)': [Function (anonymous)], 'transferFrom(address,address,uint256)': [Function (anonymous)], 'withdraw(uint256)': [Function (anonymous)], allowance: [Function (anonymous)], approve: [Function (anonymous)], balanceOf: [Function (anonymous)], deposit: [Function (anonymous)], totalSupply: [Function (anonymous)], transfer: [Function (anonymous)], transferFrom: [Function (anonymous)], withdraw: [Function (anonymous)] }, functions: { 'allowance(address,address)': [Function (anonymous)], 'approve(address,uint256)': [Function (anonymous)], 'balanceOf(address)': [Function (anonymous)], 'deposit()': [Function (anonymous)], 'totalSupply()': [Function (anonymous)], 'transfer(address,uint256)': [Function (anonymous)], 'transferFrom(address,address,uint256)': [Function (anonymous)], 'withdraw(uint256)': [Function (anonymous)], allowance: [Function (anonymous)], approve: [Function (anonymous)], balanceOf: [Function (anonymous)], deposit: [Function (anonymous)], totalSupply: [Function (anonymous)], transfer: [Function (anonymous)], transferFrom: [Function (anonymous)], withdraw: [Function (anonymous)] }, populateTransaction: { 'allowance(address,address)': [Function (anonymous)], 'approve(address,uint256)': [Function (anonymous)], 'balanceOf(address)': [Function (anonymous)], 'deposit()': [Function (anonymous)], 'totalSupply()': [Function (anonymous)], 'transfer(address,uint256)': [Function (anonymous)], 'transferFrom(address,address,uint256)': [Function (anonymous)], 'withdraw(uint256)': [Function (anonymous)], allowance: [Function (anonymous)], approve: [Function (anonymous)], balanceOf: [Function (anonymous)], deposit: [Function (anonymous)], totalSupply: [Function (anonymous)], transfer: [Function (anonymous)], transferFrom: [Function (anonymous)], withdraw: [Function (anonymous)] }, filters: { 'Approval(address,address,uint256)': [Function (anonymous)], 'Transfer(address,address,uint256)': [Function (anonymous)], Approval: [Function (anonymous)], Transfer: [Function (anonymous)] }, _runningEvents: {}, _wrappedEmits: {}, address: '0xF9a442FdA87c87273b4676bA0DDEf1a2Cf20F9f3', resolvedAddress: Promise { '0xF9a442FdA87c87273b4676bA0DDEf1a2Cf20F9f3', [Symbol(async_id_symbol)]: 17670, [Symbol(trigger_async_id_symbol)]: 17637 }, 'allowance(address,address)': [Function (anonymous)], 'approve(address,uint256)': [Function (anonymous)], 'balanceOf(address)': [Function (anonymous)], 'deposit()': [Function (anonymous)], 'totalSupply()': [Function (anonymous)], 'transfer(address,uint256)': [Function (anonymous)], 'transferFrom(address,address,uint256)': [Function (anonymous)], 'withdraw(uint256)': [Function (anonymous)], allowance: [Function (anonymous)], approve: [Function (anonymous)], balanceOf: [Function (anonymous)], deposit: [Function (anonymous)], totalSupply: [Function (anonymous)], transfer: [Function (anonymous)], transferFrom: [Function (anonymous)], withdraw: [Function (anonymous)] } > await weth.deposit({value ethers.utils.parseEther("1")}) Uncaught SyntaxError: await weth.deposit({value ethers.utils.parseEther("1")}) ^ Unexpected token 'e' > await weth.deposit({value: ethers.utils.parseEther("1")}) Uncaught: Error: cannot estimate gas; transaction may fail or may require manual gas limit [ See: https://links.ethers.org/v5-errors-UNPREDICTABLE_GAS_LIMIT ] (reason="execution reverted", method="estimateGas", transaction={"from":"0x7621940f6068C024Fb3a3eeE2810D5Ad76CEa374","to":"0xF9a442FdA87c87273b4676bA0DDEf1a2Cf20F9f3","value":{"type":"BigNumber","hex":"0x0de0b6b3a7640000"},"data":"0xd0e30db0","accessList":null}, error={"name":"ProviderError","_stack":"ProviderError: execution reverted\n at HttpProvider.request (/constellation/node_modules/hardhat/src/internal/core/providers/http.ts:88:21)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async EthersProviderWrapper.send (/constellation/node_modules/@nomiclabs/hardhat-ethers/src/internal/ethers-provider-wrapper.ts:13:20)","code":-32000,"_isProviderError":true}, code=UNPREDICTABLE_GAS_LIMIT, version=providers/5.7.2) at step (/constellation/node_modules/@ethersproject/providers/lib/json-rpc-provider.js:48:23) at EthersProviderWrapper. (/constellation/node_modules/@ethersproject/providers/src.ts/json-rpc-provider.ts:642:20) at checkError (/constellation/node_modules/@ethersproject/providers/src.ts/json-rpc-provider.ts:78:20) at Logger.throwError (/constellation/node_modules/@ethersproject/logger/src.ts/index.ts:281:20) at Logger.makeError (/constellation/node_modules/@ethersproject/logger/src.ts/index.ts:269:28) { reason: 'execution reverted', code: 'UNPREDICTABLE_GAS_LIMIT', method: 'estimateGas', transaction: { from: '0x7621940f6068C024Fb3a3eeE2810D5Ad76CEa374', to: '0xF9a442FdA87c87273b4676bA0DDEf1a2Cf20F9f3', value: BigNumber { value: "1000000000000000000" }, data: '0xd0e30db0', accessList: null }, error: ProviderError: execution reverted at HttpProvider.request (/constellation/node_modules/hardhat/src/internal/core/providers/http.ts:88:21) at processTicksAndRejections (node:internal/process/task_queues:95:5) at async EthersProviderWrapper.send (/constellation/node_modules/@nomiclabs/hardhat-ethers/src/internal/ethers-provider-wrapper.ts:13:20) } > weth.address '0xF9a442FdA87c87273b4676bA0DDEf1a2Cf20F9f3' > weth = await ethers.getContractAt("IWETH", await wethVault.asset()) Contract { interface: Interface { fragments: [ [EventFragment], [EventFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment] ], _abiCoder: AbiCoder { coerceFunc: null }, functions: { 'allowance(address,address)': [FunctionFragment], 'approve(address,uint256)': [FunctionFragment], 'balanceOf(address)': [FunctionFragment], 'deposit()': [FunctionFragment], 'totalSupply()': [FunctionFragment], 'transfer(address,uint256)': [FunctionFragment], 'transferFrom(address,address,uint256)': [FunctionFragment], 'withdraw(uint256)': [FunctionFragment] }, errors: {}, events: { 'Approval(address,address,uint256)': [EventFragment], 'Transfer(address,address,uint256)': [EventFragment] }, structs: {}, deploy: ConstructorFragment { name: null, type: 'constructor', inputs: [], payable: false, stateMutability: 'nonpayable', gas: null, _isFragment: true }, _isInterface: true }, provider: EthersProviderWrapper { _isProvider: true, _events: [], _emitted: { block: -2 }, disableCcipRead: false, formatter: Formatter { formats: [Object] }, anyNetwork: false, _networkPromise: Promise { [Object], [Symbol(async_id_symbol)]: 222, [Symbol(trigger_async_id_symbol)]: 42 }, _maxInternalBlockNumber: 818749, _lastBlockNumber: -2, _maxFilterBlockRange: 10, _pollingInterval: 4000, _fastQueryDate: 1706324222961, connection: { url: 'http://localhost:8545' }, _nextId: 42, _hardhatProvider: LazyInitializationProviderAdapter { _providerFactory: [AsyncFunction (anonymous)], _emitter: [EventEmitter], _initializingPromise: [Promise], provider: [BackwardsCompatibilityProviderAdapter] }, _eventLoopCache: { detectNetwork: null }, _network: { chainId: 17000, name: 'unknown' }, _internalBlockNumber: Promise { [Object], [Symbol(async_id_symbol)]: 18090, [Symbol(trigger_async_id_symbol)]: 18083 }, _fastBlockNumber: 818749, _fastBlockNumberPromise: Promise { 818749, [Symbol(async_id_symbol)]: 18212, [Symbol(trigger_async_id_symbol)]: 18090 } }, signer: SignerWithAddress { _isSigner: true, address: '0x7621940f6068C024Fb3a3eeE2810D5Ad76CEa374', _signer: JsonRpcSigner { _isSigner: true, provider: [EthersProviderWrapper], _address: '0x7621940f6068C024Fb3a3eeE2810D5Ad76CEa374', _index: null }, provider: EthersProviderWrapper { _isProvider: true, _events: [], _emitted: [Object], disableCcipRead: false, formatter: [Formatter], anyNetwork: false, _networkPromise: [Promise], _maxInternalBlockNumber: 818749, _lastBlockNumber: -2, _maxFilterBlockRange: 10, _pollingInterval: 4000, _fastQueryDate: 1706324222961, connection: [Object], _nextId: 42, _hardhatProvider: [LazyInitializationProviderAdapter], _eventLoopCache: [Object], _network: [Object], _internalBlockNumber: [Promise], _fastBlockNumber: 818749, _fastBlockNumberPromise: [Promise] } }, callStatic: { 'allowance(address,address)': [Function (anonymous)], 'approve(address,uint256)': [Function (anonymous)], 'balanceOf(address)': [Function (anonymous)], 'deposit()': [Function (anonymous)], 'totalSupply()': [Function (anonymous)], 'transfer(address,uint256)': [Function (anonymous)], 'transferFrom(address,address,uint256)': [Function (anonymous)], 'withdraw(uint256)': [Function (anonymous)], allowance: [Function (anonymous)], approve: [Function (anonymous)], balanceOf: [Function (anonymous)], deposit: [Function (anonymous)], totalSupply: [Function (anonymous)], transfer: [Function (anonymous)], transferFrom: [Function (anonymous)], withdraw: [Function (anonymous)] }, estimateGas: { 'allowance(address,address)': [Function (anonymous)], 'approve(address,uint256)': [Function (anonymous)], 'balanceOf(address)': [Function (anonymous)], 'deposit()': [Function (anonymous)], 'totalSupply()': [Function (anonymous)], 'transfer(address,uint256)': [Function (anonymous)], 'transferFrom(address,address,uint256)': [Function (anonymous)], 'withdraw(uint256)': [Function (anonymous)], allowance: [Function (anonymous)], approve: [Function (anonymous)], balanceOf: [Function (anonymous)], deposit: [Function (anonymous)], totalSupply: [Function (anonymous)], transfer: [Function (anonymous)], transferFrom: [Function (anonymous)], withdraw: [Function (anonymous)] }, functions: { 'allowance(address,address)': [Function (anonymous)], 'approve(address,uint256)': [Function (anonymous)], 'balanceOf(address)': [Function (anonymous)], 'deposit()': [Function (anonymous)], 'totalSupply()': [Function (anonymous)], 'transfer(address,uint256)': [Function (anonymous)], 'transferFrom(address,address,uint256)': [Function (anonymous)], 'withdraw(uint256)': [Function (anonymous)], allowance: [Function (anonymous)], approve: [Function (anonymous)], balanceOf: [Function (anonymous)], deposit: [Function (anonymous)], totalSupply: [Function (anonymous)], transfer: [Function (anonymous)], transferFrom: [Function (anonymous)], withdraw: [Function (anonymous)] }, populateTransaction: { 'allowance(address,address)': [Function (anonymous)], 'approve(address,uint256)': [Function (anonymous)], 'balanceOf(address)': [Function (anonymous)], 'deposit()': [Function (anonymous)], 'totalSupply()': [Function (anonymous)], 'transfer(address,uint256)': [Function (anonymous)], 'transferFrom(address,address,uint256)': [Function (anonymous)], 'withdraw(uint256)': [Function (anonymous)], allowance: [Function (anonymous)], approve: [Function (anonymous)], balanceOf: [Function (anonymous)], deposit: [Function (anonymous)], totalSupply: [Function (anonymous)], transfer: [Function (anonymous)], transferFrom: [Function (anonymous)], withdraw: [Function (anonymous)] }, filters: { 'Approval(address,address,uint256)': [Function (anonymous)], 'Transfer(address,address,uint256)': [Function (anonymous)], Approval: [Function (anonymous)], Transfer: [Function (anonymous)] }, _runningEvents: {}, _wrappedEmits: {}, address: '0x2C2C6b6d31909270205640d19d5fc20daA0f8c57', resolvedAddress: Promise { '0x2C2C6b6d31909270205640d19d5fc20daA0f8c57', [Symbol(async_id_symbol)]: 18959, [Symbol(trigger_async_id_symbol)]: 18926 }, 'allowance(address,address)': [Function (anonymous)], 'approve(address,uint256)': [Function (anonymous)], 'balanceOf(address)': [Function (anonymous)], 'deposit()': [Function (anonymous)], 'totalSupply()': [Function (anonymous)], 'transfer(address,uint256)': [Function (anonymous)], 'transferFrom(address,address,uint256)': [Function (anonymous)], 'withdraw(uint256)': [Function (anonymous)], allowance: [Function (anonymous)], approve: [Function (anonymous)], balanceOf: [Function (anonymous)], deposit: [Function (anonymous)], totalSupply: [Function (anonymous)], transfer: [Function (anonymous)], transferFrom: [Function (anonymous)], withdraw: [Function (anonymous)] } > await weth.deposit({value: ethers.utils.parseEther("1")}) { hash: '0xfd2b77b39c6f87312c110f25ead8151a6d7413b883d9785d2faf448f2d94f92d', type: 2, accessList: [], blockHash: null, blockNumber: null, transactionIndex: null, confirmations: 0, from: '0x7621940f6068C024Fb3a3eeE2810D5Ad76CEa374', gasPrice: BigNumber { value: "1139330094" }, maxPriorityFeePerGas: BigNumber { value: "265332" }, maxFeePerGas: BigNumber { value: "1139330094" }, gasLimit: BigNumber { value: "67526" }, to: '0x2C2C6b6d31909270205640d19d5fc20daA0f8c57', value: BigNumber { value: "1000000000000000000" }, nonce: 127, data: '0xd0e30db0', r: '0xf3191712d58f3b1a7422a603ff5b0b39c9d55240e8ba7eb0b750973f586acc16', s: '0x06d77eb59c38f7dbc7c158cf1a3e9252fbb0410e574614ad70546491e7129b35', v: 1, creates: null, chainId: 17000, wait: [Function (anonymous)] } > await weth.approve(wethVault.address, ethers.constants.MaxUint256) { hash: '0x1a12cdb881969d1148164469a93c38f120878fad1a6c824f0b495e56d8871258', type: 2, accessList: [], blockHash: null, blockNumber: null, transactionIndex: null, confirmations: 0, from: '0x7621940f6068C024Fb3a3eeE2810D5Ad76CEa374', gasPrice: BigNumber { value: "1265986484" }, maxPriorityFeePerGas: BigNumber { value: "265332" }, maxFeePerGas: BigNumber { value: "1265986484" }, gasLimit: BigNumber { value: "46573" }, to: '0x2C2C6b6d31909270205640d19d5fc20daA0f8c57', value: BigNumber { value: "0" }, nonce: 128, data: '0x095ea7b3000000000000000000000000f9a442fda87c87273b4676ba0ddef1a2cf20f9f3ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff', r: '0x49a85e8372284a42376ee2ee71ece6b7db7e6bc7f66a1f92293a750da62e6ec5', s: '0x6b80fc7c328ee2b43fc034e87423503aec1886ee19ea737d405c65f8dd017e5c', v: 0, creates: null, chainId: 17000, wait: [Function (anonymous)] } > await wethVault.deposit(ethers.utils.parseUnits("1"), deployer.address) Uncaught HeadersTimeoutError: Headers Timeout Error at Timeout.onParserTimeout [as callback] (/constellation/node_modules/undici/lib/client.js:1059:28) at Timeout.onTimeout [as _onTimeout] (/constellation/node_modules/undici/lib/timers.js:20:13) at listOnTimeout (node:internal/timers:573:17) at processTimers (node:internal/timers:514:7) { code: 'UND_ERR_HEADERS_TIMEOUT' } > await wethVault.deposit(ethers.utils.parseUnits("1"), deployer.address) Uncaught: Error: cannot estimate gas; transaction may fail or may require manual gas limit [ See: https://links.ethers.org/v5-errors-UNPREDICTABLE_GAS_LIMIT ] (reason="execution reverted: insufficient RPL coverage", method="estimateGas", transaction={"from":"0x7621940f6068C024Fb3a3eeE2810D5Ad76CEa374","to":"0xF9a442FdA87c87273b4676bA0DDEf1a2Cf20F9f3","data":"0x6e553f650000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000007621940f6068c024fb3a3eee2810d5ad76cea374","accessList":null}, error={"name":"ProviderError","_stack":"ProviderError: execution reverted: insufficient RPL coverage\n at HttpProvider.request (/constellation/node_modules/hardhat/src/internal/core/providers/http.ts:88:21)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async EthersProviderWrapper.send (/constellation/node_modules/@nomiclabs/hardhat-ethers/src/internal/ethers-provider-wrapper.ts:13:20)","code":3,"_isProviderError":true,"data":"0x08c379a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000019696e73756666696369656e742052504c20636f76657261676500000000000000"}, code=UNPREDICTABLE_GAS_LIMIT, version=providers/5.7.2) at step (/constellation/node_modules/@ethersproject/providers/lib/json-rpc-provider.js:48:23) at EthersProviderWrapper. (/constellation/node_modules/@ethersproject/providers/src.ts/json-rpc-provider.ts:642:20) at checkError (/constellation/node_modules/@ethersproject/providers/src.ts/json-rpc-provider.ts:78:20) at Logger.throwError (/constellation/node_modules/@ethersproject/logger/src.ts/index.ts:281:20) at Logger.makeError (/constellation/node_modules/@ethersproject/logger/src.ts/index.ts:269:28) { reason: 'execution reverted: insufficient RPL coverage', code: 'UNPREDICTABLE_GAS_LIMIT', method: 'estimateGas', transaction: { from: '0x7621940f6068C024Fb3a3eeE2810D5Ad76CEa374', to: '0xF9a442FdA87c87273b4676bA0DDEf1a2Cf20F9f3', data: '0x6e553f650000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000007621940f6068c024fb3a3eee2810d5ad76cea374', accessList: null }, error: ProviderError: execution reverted: insufficient RPL coverage at HttpProvider.request (/constellation/node_modules/hardhat/src/internal/core/providers/http.ts:88:21) at processTicksAndRejections (node:internal/process/task_queues:95:5) at async EthersProviderWrapper.send (/constellation/node_modules/@nomiclabs/hardhat-ethers/src/internal/ethers-provider-wrapper.ts:13:20) } > await wethVault.deposit(ethers.utils.parseUnits(".1"), deployer.address) Uncaught: Error: cannot estimate gas; transaction may fail or may require manual gas limit [ See: https://links.ethers.org/v5-errors-UNPREDICTABLE_GAS_LIMIT ] (error={"name":"ProviderError","_stack":"ProviderError: Reverted 0x08c379a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000019696e73756666696369656e742052504c20636f76657261676500000000000000\n at HttpProvider.request (/constellation/node_modules/hardhat/src/internal/core/providers/http.ts:88:21)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async EthersProviderWrapper.send (/constellation/node_modules/@nomiclabs/hardhat-ethers/src/internal/ethers-provider-wrapper.ts:13:20)","code":-32015,"_isProviderError":true}, method="estimateGas", transaction={"from":"0x7621940f6068C024Fb3a3eeE2810D5Ad76CEa374","to":"0xF9a442FdA87c87273b4676bA0DDEf1a2Cf20F9f3","data":"0x6e553f65000000000000000000000000000000000000000000000000016345785d8a00000000000000000000000000007621940f6068c024fb3a3eee2810d5ad76cea374","accessList":null}, code=UNPREDICTABLE_GAS_LIMIT, version=providers/5.7.2) at step (/constellation/node_modules/@ethersproject/providers/lib/json-rpc-provider.js:48:23) at EthersProviderWrapper. (/constellation/node_modules/@ethersproject/providers/src.ts/json-rpc-provider.ts:642:20) at checkError (/constellation/node_modules/@ethersproject/providers/src.ts/json-rpc-provider.ts:125:16) at Logger.throwError (/constellation/node_modules/@ethersproject/logger/src.ts/index.ts:281:20) at Logger.makeError (/constellation/node_modules/@ethersproject/logger/src.ts/index.ts:269:28) { reason: 'cannot estimate gas; transaction may fail or may require manual gas limit', code: 'UNPREDICTABLE_GAS_LIMIT', error: ProviderError: Reverted 0x08c379a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000019696e73756666696369656e742052504c20636f76657261676500000000000000 at HttpProvider.request (/constellation/node_modules/hardhat/src/internal/core/providers/http.ts:88:21) at processTicksAndRejections (node:internal/process/task_queues:95:5) at async EthersProviderWrapper.send (/constellation/node_modules/@nomiclabs/hardhat-ethers/src/internal/ethers-provider-wrapper.ts:13:20), method: 'estimateGas', transaction: { from: '0x7621940f6068C024Fb3a3eeE2810D5Ad76CEa374', to: '0xF9a442FdA87c87273b4676bA0DDEf1a2Cf20F9f3', data: '0x6e553f65000000000000000000000000000000000000000000000000016345785d8a00000000000000000000000000007621940f6068c024fb3a3eee2810d5ad76cea374', accessList: null } } > let oracle = await ethers.getContractAt("MockPriceFetcher", "0xF855147Badd33Bf34C0600064d75044608A8E64A"); undefined > await oracle.functions.getPrice(); Uncaught: Error: missing revert data in call exception; Transaction reverted without a reason string [ See: https://links.ethers.org/v5-errors-CALL_EXCEPTION ] (data="0x", transaction={"from":"0x7621940f6068C024Fb3a3eeE2810D5Ad76CEa374","to":"0xF855147Badd33Bf34C0600064d75044608A8E64A","data":"0x98d5fdca","accessList":null}, error={"name":"ProviderError","_stack":"ProviderError: execution reverted\n at HttpProvider.request (/constellation/node_modules/hardhat/src/internal/core/providers/http.ts:88:21)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async EthersProviderWrapper.send (/constellation/node_modules/@nomiclabs/hardhat-ethers/src/internal/ethers-provider-wrapper.ts:13:20)","code":-32000,"_isProviderError":true}, code=CALL_EXCEPTION, version=providers/5.7.2) at step (/constellation/node_modules/@ethersproject/providers/lib/json-rpc-provider.js:48:23) at EthersProviderWrapper. (/constellation/node_modules/@ethersproject/providers/src.ts/json-rpc-provider.ts:642:20) at checkError (/constellation/node_modules/@ethersproject/providers/src.ts/json-rpc-provider.ts:66:16) at Logger.throwError (/constellation/node_modules/@ethersproject/logger/src.ts/index.ts:281:20) at Logger.makeError (/constellation/node_modules/@ethersproject/logger/src.ts/index.ts:269:28) { reason: 'missing revert data in call exception; Transaction reverted without a reason string', code: 'CALL_EXCEPTION', data: '0x', transaction: { from: '0x7621940f6068C024Fb3a3eeE2810D5Ad76CEa374', to: '0xF855147Badd33Bf34C0600064d75044608A8E64A', data: '0x98d5fdca', accessList: null }, error: ProviderError: execution reverted at HttpProvider.request (/constellation/node_modules/hardhat/src/internal/core/providers/http.ts:88:21) at processTicksAndRejections (node:internal/process/task_queues:95:5) at async EthersProviderWrapper.send (/constellation/node_modules/@nomiclabs/hardhat-ethers/src/internal/ethers-provider-wrapper.ts:13:20) } > let oracle = await ethers.getContractAt("MockPriceFetcher", "0x2e3B2883C246e8962462E8424d27554f2cb24b4B"); Uncaught SyntaxError: Identifier 'oracle' has already been declared > oracle = await ethers.getContractAt("MockPriceFetcher", "0x2e3B2883C246e8962462E8424d27554f2cb24b4B"); Contract { interface: Interface { fragments: [ [EventFragment], [EventFragment], [EventFragment], [EventFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment], [FunctionFragment] ], _abiCoder: AbiCoder { coerceFunc: null }, functions: { 'getDirectory()': [FunctionFragment], 'getImplementation()': [FunctionFragment], 'getPrice()': [FunctionFragment], 'initialize(address)': [FunctionFragment], 'price()': [FunctionFragment], 'proxiableUUID()': [FunctionFragment], 'setPrice(uint256)': [FunctionFragment], 'upgradeTo(address)': [FunctionFragment], 'upgradeToAndCall(address,bytes)': [FunctionFragment] }, errors: {}, events: { 'AdminChanged(address,address)': [EventFragment], 'BeaconUpgraded(address)': [EventFragment], 'Initialized(uint8)': [EventFragment], 'Upgraded(address)': [EventFragment] }, structs: {}, deploy: ConstructorFragment { name: null, type: 'constructor', inputs: [], payable: false, stateMutability: 'nonpayable', gas: null, _isFragment: true }, _isInterface: true }, provider: EthersProviderWrapper { _isProvider: true, _events: [], _emitted: { block: -2 }, disableCcipRead: false, formatter: Formatter { formats: [Object] }, anyNetwork: false, _networkPromise: Promise { [Object], [Symbol(async_id_symbol)]: 222, [Symbol(trigger_async_id_symbol)]: 42 }, _maxInternalBlockNumber: 818778, _lastBlockNumber: -2, _maxFilterBlockRange: 10, _pollingInterval: 4000, _fastQueryDate: 1706324587480, connection: { url: 'http://localhost:8545' }, _nextId: 42, _hardhatProvider: LazyInitializationProviderAdapter { _providerFactory: [AsyncFunction (anonymous)], _emitter: [EventEmitter], _initializingPromise: [Promise], provider: [BackwardsCompatibilityProviderAdapter] }, _eventLoopCache: { detectNetwork: null }, _network: { chainId: 17000, name: 'unknown' }, _internalBlockNumber: Promise { [Object], [Symbol(async_id_symbol)]: 21512, [Symbol(trigger_async_id_symbol)]: 21505 }, _fastBlockNumber: 818778, _fastBlockNumberPromise: Promise { 818778, [Symbol(async_id_symbol)]: 21634, [Symbol(trigger_async_id_symbol)]: 21512 } }, signer: SignerWithAddress { _isSigner: true, address: '0x7621940f6068C024Fb3a3eeE2810D5Ad76CEa374', _signer: JsonRpcSigner { _isSigner: true, provider: [EthersProviderWrapper], _address: '0x7621940f6068C024Fb3a3eeE2810D5Ad76CEa374', _index: null }, provider: EthersProviderWrapper { _isProvider: true, _events: [], _emitted: [Object], disableCcipRead: false, formatter: [Formatter], anyNetwork: false, _networkPromise: [Promise], _maxInternalBlockNumber: 818778, _lastBlockNumber: -2, _maxFilterBlockRange: 10, _pollingInterval: 4000, _fastQueryDate: 1706324587480, connection: [Object], _nextId: 42, _hardhatProvider: [LazyInitializationProviderAdapter], _eventLoopCache: [Object], _network: [Object], _internalBlockNumber: [Promise], _fastBlockNumber: 818778, _fastBlockNumberPromise: [Promise] } }, callStatic: { 'getDirectory()': [Function (anonymous)], 'getImplementation()': [Function (anonymous)], 'getPrice()': [Function (anonymous)], 'initialize(address)': [Function (anonymous)], 'price()': [Function (anonymous)], 'proxiableUUID()': [Function (anonymous)], 'setPrice(uint256)': [Function (anonymous)], 'upgradeTo(address)': [Function (anonymous)], 'upgradeToAndCall(address,bytes)': [Function (anonymous)], getDirectory: [Function (anonymous)], getImplementation: [Function (anonymous)], getPrice: [Function (anonymous)], initialize: [Function (anonymous)], price: [Function (anonymous)], proxiableUUID: [Function (anonymous)], setPrice: [Function (anonymous)], upgradeTo: [Function (anonymous)], upgradeToAndCall: [Function (anonymous)] }, estimateGas: { 'getDirectory()': [Function (anonymous)], 'getImplementation()': [Function (anonymous)], 'getPrice()': [Function (anonymous)], 'initialize(address)': [Function (anonymous)], 'price()': [Function (anonymous)], 'proxiableUUID()': [Function (anonymous)], 'setPrice(uint256)': [Function (anonymous)], 'upgradeTo(address)': [Function (anonymous)], 'upgradeToAndCall(address,bytes)': [Function (anonymous)], getDirectory: [Function (anonymous)], getImplementation: [Function (anonymous)], getPrice: [Function (anonymous)], initialize: [Function (anonymous)], price: [Function (anonymous)], proxiableUUID: [Function (anonymous)], setPrice: [Function (anonymous)], upgradeTo: [Function (anonymous)], upgradeToAndCall: [Function (anonymous)] }, functions: { 'getDirectory()': [Function (anonymous)], 'getImplementation()': [Function (anonymous)], 'getPrice()': [Function (anonymous)], 'initialize(address)': [Function (anonymous)], 'price()': [Function (anonymous)], 'proxiableUUID()': [Function (anonymous)], 'setPrice(uint256)': [Function (anonymous)], 'upgradeTo(address)': [Function (anonymous)], 'upgradeToAndCall(address,bytes)': [Function (anonymous)], getDirectory: [Function (anonymous)], getImplementation: [Function (anonymous)], getPrice: [Function (anonymous)], initialize: [Function (anonymous)], price: [Function (anonymous)], proxiableUUID: [Function (anonymous)], setPrice: [Function (anonymous)], upgradeTo: [Function (anonymous)], upgradeToAndCall: [Function (anonymous)] }, populateTransaction: { 'getDirectory()': [Function (anonymous)], 'getImplementation()': [Function (anonymous)], 'getPrice()': [Function (anonymous)], 'initialize(address)': [Function (anonymous)], 'price()': [Function (anonymous)], 'proxiableUUID()': [Function (anonymous)], 'setPrice(uint256)': [Function (anonymous)], 'upgradeTo(address)': [Function (anonymous)], 'upgradeToAndCall(address,bytes)': [Function (anonymous)], getDirectory: [Function (anonymous)], getImplementation: [Function (anonymous)], getPrice: [Function (anonymous)], initialize: [Function (anonymous)], price: [Function (anonymous)], proxiableUUID: [Function (anonymous)], setPrice: [Function (anonymous)], upgradeTo: [Function (anonymous)], upgradeToAndCall: [Function (anonymous)] }, filters: { 'AdminChanged(address,address)': [Function (anonymous)], 'BeaconUpgraded(address)': [Function (anonymous)], 'Initialized(uint8)': [Function (anonymous)], 'Upgraded(address)': [Function (anonymous)], AdminChanged: [Function (anonymous)], BeaconUpgraded: [Function (anonymous)], Initialized: [Function (anonymous)], Upgraded: [Function (anonymous)] }, _runningEvents: {}, _wrappedEmits: {}, address: '0x2e3B2883C246e8962462E8424d27554f2cb24b4B', resolvedAddress: Promise { '0x2e3B2883C246e8962462E8424d27554f2cb24b4B', [Symbol(async_id_symbol)]: 22799, [Symbol(trigger_async_id_symbol)]: 22766 }, 'getDirectory()': [Function (anonymous)], 'getImplementation()': [Function (anonymous)], 'getPrice()': [Function (anonymous)], 'initialize(address)': [Function (anonymous)], 'price()': [Function (anonymous)], 'proxiableUUID()': [Function (anonymous)], 'setPrice(uint256)': [Function (anonymous)], 'upgradeTo(address)': [Function (anonymous)], 'upgradeToAndCall(address,bytes)': [Function (anonymous)], getDirectory: [Function (anonymous)], getImplementation: [Function (anonymous)], getPrice: [Function (anonymous)], initialize: [Function (anonymous)], price: [Function (anonymous)], proxiableUUID: [Function (anonymous)], setPrice: [Function (anonymous)], upgradeTo: [Function (anonymous)], upgradeToAndCall: [Function (anonymous)] } > await oracle.functions.getPrice(); [ BigNumber { value: "51127333500000000000" } ] > await wethVault.tvlRatioEthRpl() BigNumber { value: "0" } > await > await wethVault.connect(admin).setEnforceRplCoverageRatio(false) { hash: '0xb5f46ac4e7f067096745a05c2f11fccbd5349cfdfa21a65943d97d50e2351f51', type: 2, accessList: [], blockHash: null, blockNumber: null, transactionIndex: null, confirmations: 0, from: '0x241E263b40c7Bf458b6b28D86338cf26f7Cc5a57', gasPrice: BigNumber { value: "1374105599" }, maxPriorityFeePerGas: BigNumber { value: "1000000" }, maxFeePerGas: BigNumber { value: "1374105599" }, gasLimit: BigNumber { value: "44853" }, to: '0xF9a442FdA87c87273b4676bA0DDEf1a2Cf20F9f3', value: BigNumber { value: "0" }, nonce: 37, data: '0xf7398a4c0000000000000000000000000000000000000000000000000000000000000000', r: '0x0b534052c7f24be046929ca6e50cd4ecc960b2080927c57256fe691c8eaa0702', s: '0x4056e6eaacf81a06cc67b67bba6e28e44962e64e84b4ed3452e1e8bdd518d727', v: 1, creates: null, chainId: 17000, wait: [Function (anonymous)] } > await rplVault.connect(admin).setEnforceWethCoverageRatio(false) { hash: '0x1c3a0dc0f19803cf7dc18a59d47ff14e64cb8da3cc6ae9935f82ceb8b5a35fbd', type: 2, accessList: [], blockHash: null, blockNumber: null, transactionIndex: null, confirmations: 0, from: '0x241E263b40c7Bf458b6b28D86338cf26f7Cc5a57', gasPrice: BigNumber { value: "1110964478" }, maxPriorityFeePerGas: BigNumber { value: "0" }, maxFeePerGas: BigNumber { value: "1110964478" }, gasLimit: BigNumber { value: "44898" }, to: '0x1c10Dda340917A18AC2ED8D3296e0BF8205F4FA3', value: BigNumber { value: "0" }, nonce: 38, data: '0x671b09c40000000000000000000000000000000000000000000000000000000000000000', r: '0xbf13b9153bb43a0ded60f90db043ed6f3dd14fe35802b71e5c367f8123c0c543', s: '0x28d94627b8aa9e67023c5a25e7cf30cd5c503082ef82d4d1148cc16a85275d34', v: 1, creates: null, chainId: 17000, wait: [Function (anonymous)] } > await wethVault.deposit(ethers.utils.parseUnits("1"), deployer.address) Uncaught: Error: cannot estimate gas; transaction may fail or may require manual gas limit [ See: https://links.ethers.org/v5-errors-UNPREDICTABLE_GAS_LIMIT ] (error={"name":"ProviderError","_stack":"ProviderError: Reverted 0x08c379a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000019696e73756666696369656e742052504c20636f76657261676500000000000000\n at HttpProvider.request (/constellation/node_modules/hardhat/src/internal/core/providers/http.ts:88:21)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async EthersProviderWrapper.send (/constellation/node_modules/@nomiclabs/hardhat-ethers/src/internal/ethers-provider-wrapper.ts:13:20)","code":-32015,"_isProviderError":true}, method="estimateGas", transaction={"from":"0x7621940f6068C024Fb3a3eeE2810D5Ad76CEa374","to":"0xF9a442FdA87c87273b4676bA0DDEf1a2Cf20F9f3","data":"0x6e553f650000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000007621940f6068c024fb3a3eee2810d5ad76cea374","accessList":null}, code=UNPREDICTABLE_GAS_LIMIT, version=providers/5.7.2) at step (/constellation/node_modules/@ethersproject/providers/lib/json-rpc-provider.js:48:23) at EthersProviderWrapper. (/constellation/node_modules/@ethersproject/providers/src.ts/json-rpc-provider.ts:642:20) at checkError (/constellation/node_modules/@ethersproject/providers/src.ts/json-rpc-provider.ts:125:16) at Logger.throwError (/constellation/node_modules/@ethersproject/logger/src.ts/index.ts:281:20) at Logger.makeError (/constellation/node_modules/@ethersproject/logger/src.ts/index.ts:269:28) { reason: 'cannot estimate gas; transaction may fail or may require manual gas limit', code: 'UNPREDICTABLE_GAS_LIMIT', error: ProviderError: Reverted 0x08c379a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000019696e73756666696369656e742052504c20636f76657261676500000000000000 at HttpProvider.request (/constellation/node_modules/hardhat/src/internal/core/providers/http.ts:88:21) at processTicksAndRejections (node:internal/process/task_queues:95:5) at async EthersProviderWrapper.send (/constellation/node_modules/@nomiclabs/hardhat-ethers/src/internal/ethers-provider-wrapper.ts:13:20), method: 'estimateGas', transaction: { from: '0x7621940f6068C024Fb3a3eeE2810D5Ad76CEa374', to: '0xF9a442FdA87c87273b4676bA0DDEf1a2Cf20F9f3', data: '0x6e553f650000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000007621940f6068c024fb3a3eee2810d5ad76cea374', accessList: null } } > > await wethVault.deposit(ethers.utils.parseUnits(".1"), deployer.address) Uncaught: Error: cannot estimate gas; transaction may fail or may require manual gas limit [ See: https://links.ethers.org/v5-errors-UNPREDICTABLE_GAS_LIMIT ] (reason="execution reverted: insufficient RPL coverage", method="estimateGas", transaction={"from":"0x7621940f6068C024Fb3a3eeE2810D5Ad76CEa374","to":"0xF9a442FdA87c87273b4676bA0DDEf1a2Cf20F9f3","data":"0x6e553f65000000000000000000000000000000000000000000000000016345785d8a00000000000000000000000000007621940f6068c024fb3a3eee2810d5ad76cea374","accessList":null}, error={"name":"ProviderError","_stack":"ProviderError: execution reverted: insufficient RPL coverage\n at HttpProvider.request (/constellation/node_modules/hardhat/src/internal/core/providers/http.ts:88:21)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async EthersProviderWrapper.send (/constellation/node_modules/@nomiclabs/hardhat-ethers/src/internal/ethers-provider-wrapper.ts:13:20)","code":3,"_isProviderError":true,"data":"0x08c379a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000019696e73756666696369656e742052504c20636f76657261676500000000000000"}, code=UNPREDICTABLE_GAS_LIMIT, version=providers/5.7.2) at step (/constellation/node_modules/@ethersproject/providers/lib/json-rpc-provider.js:48:23) at EthersProviderWrapper. (/constellation/node_modules/@ethersproject/providers/src.ts/json-rpc-provider.ts:642:20) at checkError (/constellation/node_modules/@ethersproject/providers/src.ts/json-rpc-provider.ts:78:20) at Logger.throwError (/constellation/node_modules/@ethersproject/logger/src.ts/index.ts:281:20) at Logger.makeError (/constellation/node_modules/@ethersproject/logger/src.ts/index.ts:269:28) { reason: 'execution reverted: insufficient RPL coverage', code: 'UNPREDICTABLE_GAS_LIMIT', method: 'estimateGas', transaction: { from: '0x7621940f6068C024Fb3a3eeE2810D5Ad76CEa374', to: '0xF9a442FdA87c87273b4676bA0DDEf1a2Cf20F9f3', data: '0x6e553f65000000000000000000000000000000000000000000000000016345785d8a00000000000000000000000000007621940f6068c024fb3a3eee2810d5ad76cea374', accessList: null }, error: ProviderError: execution reverted: insufficient RPL coverage at HttpProvider.request (/constellation/node_modules/hardhat/src/internal/core/providers/http.ts:88:21) at processTicksAndRejections (node:internal/process/task_queues:95:5) at async EthersProviderWrapper.send (/constellation/node_modules/@nomiclabs/hardhat-ethers/src/internal/ethers-provider-wrapper.ts:13:20) } > await wethVault.connect(admin).setEnforceRplCoverageRatio(false) { hash: '0x269789c6b68e06b182ad37105604f233887912419c9a36ea241c220e75963879', type: 2, accessList: [], blockHash: null, blockNumber: null, transactionIndex: null, confirmations: 0, from: '0x241E263b40c7Bf458b6b28D86338cf26f7Cc5a57', gasPrice: BigNumber { value: "1445420010" }, maxPriorityFeePerGas: BigNumber { value: "1000000" }, maxFeePerGas: BigNumber { value: "1445420010" }, gasLimit: BigNumber { value: "43896" }, to: '0xF9a442FdA87c87273b4676bA0DDEf1a2Cf20F9f3', value: BigNumber { value: "0" }, nonce: 39, data: '0xf7398a4c0000000000000000000000000000000000000000000000000000000000000000', r: '0x9d344bb55c022b95529902abe791c94051b083aa0c3cc529efee8e4b8e03ab05', s: '0x0ddf5c29c15c8c09f2e8c51164fff36b951416bad5477fb5aadb27dc1a64b5d8', v: 1, creates: null, chainId: 17000, wait: [Function (anonymous)] } > await wethVault.deposit(ethers.utils.parseUnits(".1"), deployer.address) Uncaught: Error: cannot estimate gas; transaction may fail or may require manual gas limit [ See: https://links.ethers.org/v5-errors-UNPREDICTABLE_GAS_LIMIT ] (error={"name":"ProviderError","_stack":"ProviderError: Reverted 0x08c379a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000019696e73756666696369656e742052504c20636f76657261676500000000000000\n at HttpProvider.request (/constellation/node_modules/hardhat/src/internal/core/providers/http.ts:88:21)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async EthersProviderWrapper.send (/constellation/node_modules/@nomiclabs/hardhat-ethers/src/internal/ethers-provider-wrapper.ts:13:20)","code":-32015,"_isProviderError":true}, method="estimateGas", transaction={"from":"0x7621940f6068C024Fb3a3eeE2810D5Ad76CEa374","to":"0xF9a442FdA87c87273b4676bA0DDEf1a2Cf20F9f3","data":"0x6e553f65000000000000000000000000000000000000000000000000016345785d8a00000000000000000000000000007621940f6068c024fb3a3eee2810d5ad76cea374","accessList":null}, code=UNPREDICTABLE_GAS_LIMIT, version=providers/5.7.2) at step (/constellation/node_modules/@ethersproject/providers/lib/json-rpc-provider.js:48:23) at EthersProviderWrapper. (/constellation/node_modules/@ethersproject/providers/src.ts/json-rpc-provider.ts:642:20) at checkError (/constellation/node_modules/@ethersproject/providers/src.ts/json-rpc-provider.ts:125:16) at Logger.throwError (/constellation/node_modules/@ethersproject/logger/src.ts/index.ts:281:20) at Logger.makeError (/constellation/node_modules/@ethersproject/logger/src.ts/index.ts:269:28) { reason: 'cannot estimate gas; transaction may fail or may require manual gas limit', code: 'UNPREDICTABLE_GAS_LIMIT', error: ProviderError: Reverted 0x08c379a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000019696e73756666696369656e742052504c20636f76657261676500000000000000 at HttpProvider.request (/constellation/node_modules/hardhat/src/internal/core/providers/http.ts:88:21) at processTicksAndRejections (node:internal/process/task_queues:95:5) at async EthersProviderWrapper.send (/constellation/node_modules/@nomiclabs/hardhat-ethers/src/internal/ethers-provider-wrapper.ts:13:20), method: 'estimateGas', transaction: { from: '0x7621940f6068C024Fb3a3eeE2810D5Ad76CEa374', to: '0xF9a442FdA87c87273b4676bA0DDEf1a2Cf20F9f3', data: '0x6e553f65000000000000000000000000000000000000000000000000016345785d8a00000000000000000000000000007621940f6068c024fb3a3eee2810d5ad76cea374', accessList: null } } > > await weth.connect(deployer).approve(wethVault.address, ethers.constants.MaxUint256) { hash: '0x86a10e03522924f219fb14b6330e86433be00f2dddb11da79f5f04037f26d5b6', type: 2, accessList: [], blockHash: null, blockNumber: null, transactionIndex: null, confirmations: 0, from: '0x7621940f6068C024Fb3a3eeE2810D5Ad76CEa374', gasPrice: BigNumber { value: "1235310158" }, maxPriorityFeePerGas: BigNumber { value: "265332" }, maxFeePerGas: BigNumber { value: "1235310158" }, gasLimit: BigNumber { value: "26673" }, to: '0x2C2C6b6d31909270205640d19d5fc20daA0f8c57', value: BigNumber { value: "0" }, nonce: 129, data: '0x095ea7b3000000000000000000000000f9a442fda87c87273b4676ba0ddef1a2cf20f9f3ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff', r: '0xd2fed3293b156e7afc063563f60bedfe3efe8e5eac8c56b35f94717917583c2a', s: '0x78e26e1f5b42b1a557ffb88edc991fbc0b79ec2bc06e3b03ac6039339ec0b298', v: 0, creates: null, chainId: 17000, wait: [Function (anonymous)] } > await wethVault.deposit(ethers.utils.parseUnits(".1"), deployer.address) Uncaught: Error: cannot estimate gas; transaction may fail or may require manual gas limit [ See: https://links.ethers.org/v5-errors-UNPREDICTABLE_GAS_LIMIT ] (reason="execution reverted: insufficient RPL coverage", method="estimateGas", transaction={"from":"0x7621940f6068C024Fb3a3eeE2810D5Ad76CEa374","to":"0xF9a442FdA87c87273b4676bA0DDEf1a2Cf20F9f3","data":"0x6e553f65000000000000000000000000000000000000000000000000016345785d8a00000000000000000000000000007621940f6068c024fb3a3eee2810d5ad76cea374","accessList":null}, error={"name":"ProviderError","_stack":"ProviderError: execution reverted: insufficient RPL coverage\n at HttpProvider.request (//GitHub/constellation/node_modules/hardhat/src/internal/core/providers/http.ts:88:21)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async EthersProviderWrapper.send (//GitHub/constellation/node_modules/@nomiclabs/hardhat-ethers/src/internal/ethers-provider-wrapper.ts:13:20)","code":3,"_isProviderError":true,"data":"0x08c379a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000019696e73756666696369656e742052504c20636f76657261676500000000000000"}, code=UNPREDICTABLE_GAS_LIMIT, version=providers/5.7.2) at step (//GitHub/constellation/node_modules/@ethersproject/providers/lib/json-rpc-provider.js:48:23) at EthersProviderWrapper. (//GitHub/constellation/node_modules/@ethersproject/providers/src.ts/json-rpc-provider.ts:642:20) at checkError (//GitHub/constellation/node_modules/@ethersproject/providers/src.ts/json-rpc-provider.ts:78:20) at Logger.throwError (//GitHub/constellation/node_modules/@ethersproject/logger/src.ts/index.ts:281:20) at Logger.makeError (//GitHub/constellation/node_modules/@ethersproject/logger/src.ts/index.ts:269:28) { reason: 'execution reverted: insufficient RPL coverage', code: 'UNPREDICTABLE_GAS_LIMIT', method: 'estimateGas', transaction: { from: '0x7621940f6068C024Fb3a3eeE2810D5Ad76CEa374', to: '0xF9a442FdA87c87273b4676bA0DDEf1a2Cf20F9f3', data: '0x6e553f65000000000000000000000000000000000000000000000000016345785d8a00000000000000000000000000007621940f6068c024fb3a3eee2810d5ad76cea374', accessList: null }, error: ProviderError: execution reverted: insufficient RPL coverage at HttpProvider.request (//GitHub/constellation/node_modules/hardhat/src/internal/core/providers/http.ts:88:21) at processTicksAndRejections (node:internal/process/task_queues:95:5) at async EthersProviderWrapper.send (//GitHub/constellation/node_modules/@nomiclabs/hardhat-ethers/src/internal/ethers-provider-wrapper.ts:13:20) } > await wethVault.enforceRplCoverageRatio() false > await wethVault.connect(admin).setEnforceRplCoverageRatio(true) { hash: '0xaccd8017567f2e50fbd67fc279ac85b1a68505c4cb6307e31ce97b09643db80a', type: 2, accessList: [], blockHash: null, blockNumber: null, transactionIndex: null, confirmations: 0, from: '0x241E263b40c7Bf458b6b28D86338cf26f7Cc5a57', gasPrice: BigNumber { value: "1405834831" }, maxPriorityFeePerGas: BigNumber { value: "9102012" }, maxFeePerGas: BigNumber { value: "1405834831" }, gasLimit: BigNumber { value: "61897" }, to: '0xF9a442FdA87c87273b4676bA0DDEf1a2Cf20F9f3', value: BigNumber { value: "0" }, nonce: 40, data: '0xf7398a4c0000000000000000000000000000000000000000000000000000000000000001', r: '0x9e758a6ef7513af51adcf7baa39eabccc137fe31d7a50a8633ab4f92bfebd680', s: '0x529d1f475b9397b88080e572424834a84c06516d923ce45745fd5222a01a1411', v: 0, creates: null, chainId: 17000, wait: [Function (anonymous)] } > await rplVault.connect(admin).setEnforceWethCoverageRatio(true) { hash: '0x0a219ce1e77bbe7d08867ebf3768a3d535b41c7ff9e39a3a9bfce7990f3ece65', type: 2, accessList: [], blockHash: null, blockNumber: null, transactionIndex: null, confirmations: 0, from: '0x241E263b40c7Bf458b6b28D86338cf26f7Cc5a57', gasPrice: BigNumber { value: "1420731525" }, maxPriorityFeePerGas: BigNumber { value: "1000000" }, maxFeePerGas: BigNumber { value: "1420731525" }, gasLimit: BigNumber { value: "61943" }, to: '0x1c10Dda340917A18AC2ED8D3296e0BF8205F4FA3', value: BigNumber { value: "0" }, nonce: 41, data: '0x671b09c40000000000000000000000000000000000000000000000000000000000000001', r: '0xd7a73440a9a633bdf67ede951cffb8625a577a460addb1337394f08071699419', s: '0x1028a3a5297b3209bb13f310339459ea54fba09fb2fe9e03783c28413ea9f189', v: 0, creates: null, chainId: 17000, wait: [Function (anonymous)] } > > await rplVault.connect(admin).rplCoverageRatio() Uncaught TypeError: rplVault.connect(...).rplCoverageRatio is not a function at REPL563:1:63 > await rplVault.connect(admin).wethCoverageRatio() BigNumber { value: "175000" } > await rplVault.connect(admin).setWETHCoverageRatio(0) { hash: '0xeb7d7961c3b118ad3cb6bc0d0932fbdb77129ac0b0536c80feddf78b378d0e44', type: 2, accessList: [], blockHash: null, blockNumber: null, transactionIndex: null, confirmations: 0, from: '0x241E263b40c7Bf458b6b28D86338cf26f7Cc5a57', gasPrice: BigNumber { value: "1187350947" }, maxPriorityFeePerGas: BigNumber { value: "265332" }, maxFeePerGas: BigNumber { value: "1187350947" }, gasLimit: BigNumber { value: "44460" }, to: '0x1c10Dda340917A18AC2ED8D3296e0BF8205F4FA3', value: BigNumber { value: "0" }, nonce: 42, data: '0x2f47adf00000000000000000000000000000000000000000000000000000000000000000', r: '0x550fbd93c91f8df3cf907b5abca5ce63ca066eb9dacf3cfe5902dc007dd3ef2e', s: '0x2eea4befaaba963dd7e1a75612a522678bbb2f622d3c37907b33dcd7c7302a92', v: 1, creates: null, chainId: 17000, wait: [Function (anonymous)] } > await wethVault.connect(admin).rplCoverageRatio() BigNumber { value: "150000000000000000" } > await wethVault.connect(admin).setRplCoverageRatio(0) { hash: '0xbf874375ea2ec90bd9e8b68269f34631fbdcd8868f53812681045948a4420ed2', type: 2, accessList: [], blockHash: null, blockNumber: null, transactionIndex: null, confirmations: 0, from: '0x241E263b40c7Bf458b6b28D86338cf26f7Cc5a57', gasPrice: BigNumber { value: "1337012152" }, maxPriorityFeePerGas: BigNumber { value: "60933815" }, maxFeePerGas: BigNumber { value: "1337012152" }, gasLimit: BigNumber { value: "44776" }, to: '0xF9a442FdA87c87273b4676bA0DDEf1a2Cf20F9f3', value: BigNumber { value: "0" }, nonce: 43, data: '0x456dc30c0000000000000000000000000000000000000000000000000000000000000000', r: '0x88d2a97870f31ad2e34f9b55fe4a790c9c7d6624f521370a93a9aa7ed5e5beef', s: '0x51d8d4ba653b4f686c890d692ebde0dae57f486a6a54bf4a38b5be9d9fd5423d', v: 0, creates: null, chainId: 17000, wait: [Function (anonymous)] } > await rplVault.connect(admin).wethCoverageRatio() BigNumber { value: "0" } > await wethVault.connect(admin).rplCoverageRatio() BigNumber { value: "150000000000000000" } > await wethVault.connect(admin).rplCoverageRatio() BigNumber { value: "150000000000000000" } > await wethVault.connect(admin).rplCoverageRatio() BigNumber { value: "0" } > > await wethVault.deposit(ethers.utils.parseUnits(".1"), deployer.address) { hash: '0x1b9ecc668e40b2a3baad78516b27fc576e040a7438e2a23ddc2603ed595df8ce', type: 2, accessList: [], blockHash: null, blockNumber: null, transactionIndex: null, confirmations: 0, from: '0x7621940f6068C024Fb3a3eeE2810D5Ad76CEa374', gasPrice: BigNumber { value: "1389040552" }, maxPriorityFeePerGas: BigNumber { value: "1000000" }, maxFeePerGas: BigNumber { value: "1389040552" }, gasLimit: BigNumber { value: "489664" }, to: '0xF9a442FdA87c87273b4676bA0DDEf1a2Cf20F9f3', value: BigNumber { value: "0" }, nonce: 130, data: '0x6e553f65000000000000000000000000000000000000000000000000016345785d8a00000000000000000000000000007621940f6068c024fb3a3eee2810d5ad76cea374', r: '0xc162284f52582b4119eff4071f8b45bbb1f2800dd28573e943e3e8923b54943f', s: '0x1ef7e2a677463d861b130f3263c92f7413b5905034ef35310577ae79ce19fed3', v: 0, creates: null, chainId: 17000, wait: [Function (anonymous)] } > > await ethers.provider.getBalance(deployer.address) BigNumber { value: "1000900275677400770750" } > await weth.deposit({value: ethers.utils.parseEther("8")}) { hash: '0x2b837ce979ae367a3d99b3c0fcad73662c00700bf361dd71f2329cc7165d0f28', type: 2, accessList: [], blockHash: null, blockNumber: null, transactionIndex: null, confirmations: 0, from: '0x7621940f6068C024Fb3a3eeE2810D5Ad76CEa374', gasPrice: BigNumber { value: "1311843343" }, maxPriorityFeePerGas: BigNumber { value: "1000000" }, maxFeePerGas: BigNumber { value: "1311843343" }, gasLimit: BigNumber { value: "33326" }, to: '0x2C2C6b6d31909270205640d19d5fc20daA0f8c57', value: BigNumber { value: "8000000000000000000" }, nonce: 131, data: '0xd0e30db0', r: '0x8cef922b74f896af6db67abd464a2a6476de41ac75471d0309c6876b1146be80', s: '0x073f4d2773440d7806e7ecc65ad37bcb7820e17f0060fd332c88283942de0535', v: 0, creates: null, chainId: 17000, wait: [Function (anonymous)] } > await wethVault.deposit(ethers.utils.parseUnits("8"), deployer.address) { hash: '0x1d76a31d59d00a675245cf82837205ad2f213ae9ed7e19dbe237e6a9550041b2', type: 2, accessList: [], blockHash: null, blockNumber: null, transactionIndex: null, confirmations: 0, from: '0x7621940f6068C024Fb3a3eeE2810D5Ad76CEa374', gasPrice: BigNumber { value: "1338382079" }, maxPriorityFeePerGas: BigNumber { value: "1000000" }, maxFeePerGas: BigNumber { value: "1338382079" }, gasLimit: BigNumber { value: "404920" }, to: '0xF9a442FdA87c87273b4676bA0DDEf1a2Cf20F9f3', value: BigNumber { value: "0" }, nonce: 132, data: '0x6e553f650000000000000000000000000000000000000000000000006f05b59d3b2000000000000000000000000000007621940f6068c024fb3a3eee2810d5ad76cea374', r: '0x064683c73fc8a2c78a674d730752b2981ff253a8cefe7366402727ff68b97205', s: '0x51c77bd54632bdb8231ae16b7699dc172307a803f7079eb752336d87860b9983', v: 1, creates: null, chainId: 17000, wait: [Function (anonymous)] } > await vaf.hasSufficientLiquidity(ethers.utils.parseEth("8")) Uncaught TypeError: ethers.utils.parseEth is not a function at REPL751:1:78 > await vaf.hasSufficientLiquidity(ethers.utils.parseEther("8")) false > let depositPool = await ethers.getContractAt("FundRouter", "0xdeFD1eCceC757Ec205509d72C50946699e4d1Bec") undefined > await depositPool.connect(admin).sendRplToDistributors() { hash: '0x501624d76a9bd511a18777a579ee6f2fb97b6066cb01b79895ac34ada5278665', type: 2, accessList: [], blockHash: null, blockNumber: null, transactionIndex: null, confirmations: 0, from: '0x241E263b40c7Bf458b6b28D86338cf26f7Cc5a57', gasPrice: BigNumber { value: "2628695708" }, maxPriorityFeePerGas: BigNumber { value: "1500000000" }, maxFeePerGas: BigNumber { value: "2628695708" }, gasLimit: BigNumber { value: "133058" }, to: '0xdeFD1eCceC757Ec205509d72C50946699e4d1Bec', value: BigNumber { value: "0" }, nonce: 44, data: '0x5ca2a916', r: '0x04f917ae4c005b98c295cace701cb56b694b28794b06fcaf426e277b5c999d25', s: '0x4502b0033885a74281030db74d8e726e94fdfa0c4b053446e8e4e2ae65dcb311', v: 1, creates: null, chainId: 17000, wait: [Function (anonymous)] } > await depositPool.connect(admin).sendEthToDistributors() { hash: '0x6a2a8c8ad6b85e5edd576048acd70166401e4420631dcc1bc69df72ba0cd42a6', type: 2, accessList: [], blockHash: null, blockNumber: null, transactionIndex: null, confirmations: 0, from: '0x241E263b40c7Bf458b6b28D86338cf26f7Cc5a57', gasPrice: BigNumber { value: "1280385407" }, maxPriorityFeePerGas: BigNumber { value: "1000000" }, maxFeePerGas: BigNumber { value: "1280385407" }, gasLimit: BigNumber { value: "151620" }, to: '0xdeFD1eCceC757Ec205509d72C50946699e4d1Bec', value: BigNumber { value: "0" }, nonce: 45, data: '0x89ac921e', r: '0x79e6fd88753ae15a3d05ff81dba9b6a98dd6f16ac697e331fd0a6ddc01433cd9', s: '0x15384c840795793cb447922d9bd5e809fe6f6434fcc7f41380adeb371aee2128', v: 0, creates: null, chainId: 17000, wait: [Function (anonymous)] } > > let operatorDistributor = await ethers.getContractAt("OperatorDistributor", "0x024D5A8BC81b5dBD8C437BD42432b37A08459BA2") undefined > await rpl.balanceOf(operatorDistributor.address) BigNumber { value: "28571428571428571428" } > await rpl.balanceOf(depositPool.address) BigNumber { value: "0" } > await ethers.provider.getBalance(operatorDistributor.address) BigNumber { value: "2358293535235876527" } > await ethers.provider.getBalance(depositPool.address) BigNumber { value: "0" } > > let operatorDistributor = await ethers.getContractAt("OperatorDistributor", "0x024D5A8BC81b5dBD8C437BD42432b37A08459BA2") undefined > await rpl.balanceOf(operatorDistributor.address) BigNumber { value: "28571428571428571428" } > await rpl.balanceOf(depositPool.address) BigNumber { value: "0" } > await ethers.provider.getBalance(operatorDistributor.address) BigNumber { value: "2358293535235876527" } > await ethers.provider.getBalance(depositPool.address) BigNumber { value: "0" } > await ethers.provider.getBalance(rplVault.address) BigNumber { value: "0" } > await ethers.provider.getBalance(weth.address) BigNumber { value: "6641706464764123473" } > await operatorDistributor.calculateRplStakeShortfall(0, 8) BigNumber { value: "272" } > await deployer.sendTransaction({to: ethers.utils.parseEther("6")}); Uncaught: Error: invalid ENS name (argument="name", value={"type":"BigNumber","hex":"0x53444835ec580000"}, code=INVALID_ARGUMENT, version=providers/5.7.2) at step (/constellation/node_modules/@ethersproject/providers/lib/base-provider.js:48:23) at EthersProviderWrapper. (/constellation/node_modules/@ethersproject/providers/src.ts/base-provider.ts:2022:20) at Logger.throwArgumentError (/constellation/node_modules/@ethersproject/logger/src.ts/index.ts:285:21) at Logger.throwError (/constellation/node_modules/@ethersproject/logger/src.ts/index.ts:281:20) at Logger.makeError (/constellation/node_modules/@ethersproject/logger/src.ts/index.ts:269:28) { reason: 'invalid ENS name', code: 'INVALID_ARGUMENT', argument: 'name', value: BigNumber { value: "6000000000000000000" } } > await deployer.sendTransaction({to: operatorDistributor.address, value: ethers.utils.parseEther("6")}); { hash: '0xb0f3d8ab9ead91a0b7d0267cf614b704aa68b1d17dac357f05b5cdc31ca0ad5e', type: 2, accessList: [], blockHash: null, blockNumber: null, transactionIndex: null, confirmations: 0, from: '0x7621940f6068C024Fb3a3eeE2810D5Ad76CEa374', gasPrice: BigNumber { value: "1193286243" }, maxPriorityFeePerGas: BigNumber { value: "265332" }, maxFeePerGas: BigNumber { value: "1193286243" }, gasLimit: BigNumber { value: "31408" }, to: '0x024D5A8BC81b5dBD8C437BD42432b37A08459BA2', value: BigNumber { value: "6000000000000000000" }, nonce: 133, data: '0x', r: '0x57e6bcf8382248108c7317909d921629ed3a58957839cf5e58d07c82ed62d62e', s: '0x780a124b75d284639b3c99f4dd7400b4431461ae9b01a84a34ffc2b5b8600e12', v: 1, creates: null, chainId: 17000, wait: [Function (anonymous)] } > > await ethers.provider.getBalance(operatorDistributor.address) BigNumber { value: "8358293535235876527" } > await vaf.hasSufficientLiquidity(ethers.utils.parseEther("8")) false > await operatorDistributor.calculateRplStakeShortfall(0, ethers.utils.parseEther("8")) BigNumber { value: "272679112000000000000" } > await rpl.balanceOf(operatorDistributor.address) BigNumber { value: "28571428571428571428" } > await rpl.balanceOf(rplVault.address) BigNumber { value: "66666666666666666667" } > await rpl.transfer(operatorDistributor.address, ethers.utils.parseUnits("274")) { hash: '0x13b6fc10adaf2e53e88fa5d2c125a989202757d794d5d93e380cfc17d8387848', type: 2, accessList: [], blockHash: null, blockNumber: null, transactionIndex: null, confirmations: 0, from: '0x7621940f6068C024Fb3a3eeE2810D5Ad76CEa374', gasPrice: BigNumber { value: "1231699499" }, maxPriorityFeePerGas: BigNumber { value: "265332" }, maxFeePerGas: BigNumber { value: "1231699499" }, gasLimit: BigNumber { value: "34875" }, to: '0x1Cc9cF5586522c6F483E84A19c3C2B0B6d027bF0', value: BigNumber { value: "0" }, nonce: 134, data: '0xa9059cbb000000000000000000000000024d5a8bc81b5dbd8c437bd42432b37a08459ba200000000000000000000000000000000000000000000000eda838c4929080000', r: '0x8a82ae76dbb8d315f91a82b75bb9ac5a5b7aa8ba96ee08cdd423cf4b7fc10627', s: '0x212b75c192d65dd90ac82ace29ff4a619ec78104664edc85d0346dde87b5f1da', v: 0, creates: null, chainId: 17000, wait: [Function (anonymous)] } > > await vaf.hasSufficientLiquidity(ethers.utils.parseEther("8")) true > whitelist Uncaught ReferenceError: whitelist is not defined > let whitelist = await ethers.getContractAt("Whitelist", "0x7F2152341768b2c4F47C9DBA556130Fa46e9B5Be") undefined > await whitelist.connect(admin).addOperator("0x4838b106fce9647bdf1e7877bf73ce8b0bad5f97") Uncaught: Error: cannot estimate gas; transaction may fail or may require manual gas limit [ See: https://links.ethers.org/v5-errors-UNPREDICTABLE_GAS_LIMIT ] (reason="execution reverted: Can only be called by 24 hour timelock!", method="estimateGas", transaction={"from":"0x241E263b40c7Bf458b6b28D86338cf26f7Cc5a57","to":"0x7F2152341768b2c4F47C9DBA556130Fa46e9B5Be","data":"0x9870d7fe0000000000000000000000004838b106fce9647bdf1e7877bf73ce8b0bad5f97","accessList":null}, error={"name":"ProviderError","_stack":"ProviderError: execution reverted: Can only be called by 24 hour timelock!\n at HttpProvider.request (/constellation/node_modules/hardhat/src/internal/core/providers/http.ts:88:21)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async EthersProviderWrapper.send (/constellation/node_modules/@nomiclabs/hardhat-ethers/src/internal/ethers-provider-wrapper.ts:13:20)","code":3,"_isProviderError":true,"data":"0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002743616e206f6e6c792062652063616c6c656420627920323420686f75722074696d656c6f636b2100000000000000000000000000000000000000000000000000"}, code=UNPREDICTABLE_GAS_LIMIT, version=providers/5.7.2) at step (/constellation/node_modules/@ethersproject/providers/lib/json-rpc-provider.js:48:23) at EthersProviderWrapper. (/constellation/node_modules/@ethersproject/providers/src.ts/json-rpc-provider.ts:642:20) at checkError (/constellation/node_modules/@ethersproject/providers/src.ts/json-rpc-provider.ts:78:20) at Logger.throwError (/constellation/node_modules/@ethersproject/logger/src.ts/index.ts:281:20) at Logger.makeError (/constellation/node_modules/@ethersproject/logger/src.ts/index.ts:269:28) { reason: 'execution reverted: Can only be called by 24 hour timelock!', code: 'UNPREDICTABLE_GAS_LIMIT', method: 'estimateGas', transaction: { from: '0x241E263b40c7Bf458b6b28D86338cf26f7Cc5a57', to: '0x7F2152341768b2c4F47C9DBA556130Fa46e9B5Be', data: '0x9870d7fe0000000000000000000000004838b106fce9647bdf1e7877bf73ce8b0bad5f97', accessList: null }, error: ProviderError: execution reverted: Can only be called by 24 hour timelock! at HttpProvider.request (/constellation/node_modules/hardhat/src/internal/core/providers/http.ts:88:21) at processTicksAndRejections (node:internal/process/task_queues:95:5) at async EthersProviderWrapper.send (/constellation/node_modules/@nomiclabs/hardhat-ethers/src/internal/ethers-provider-wrapper.ts:13:20) } > await whitelist.connect(deployer).addOperator("0x4838b106fce9647bdf1e7877bf73ce8b0bad5f97") { hash: '0xd0f3f26f2cd8e761cc028019dfd74dab52179c501e9dda5a8da0648a8e9ac1d3', type: 2, accessList: [], blockHash: null, blockNumber: null, transactionIndex: null, confirmations: 0, from: '0x7621940f6068C024Fb3a3eeE2810D5Ad76CEa374', gasPrice: BigNumber { value: "1364000301" }, maxPriorityFeePerGas: BigNumber { value: "1000000" }, maxFeePerGas: BigNumber { value: "1364000301" }, gasLimit: BigNumber { value: "326603" }, to: '0x7F2152341768b2c4F47C9DBA556130Fa46e9B5Be', value: BigNumber { value: "0" }, nonce: 135, data: '0x9870d7fe0000000000000000000000004838b106fce9647bdf1e7877bf73ce8b0bad5f97', r: '0x8b2f121fe4cf5b1a924903d530e11d7301dd08c97ed33d3863d7ccccaa83d311', s: '0x4a90f3141abdb8e38b501becbbeda13978e807f315d1184aa63733f1ec95d4fc', v: 0, creates: null, chainId: 17000, wait: [Function (anonymous)] } > > await vaf.hasSufficientLiquidity(ethers.utils.parseEther("8")) true > whitelist Uncaught ReferenceError: whitelist is not defined > let whitelist = await ethers.getContractAt("Whitelist", "0x7F2152341768b2c4F47C9DBA556130Fa46e9B5Be") undefined > await whitelist.connect(admin).addOperator("0x4838b106fce9647bdf1e7877bf73ce8b0bad5f97") Uncaught: Error: cannot estimate gas; transaction may fail or may require manual gas limit [ See: https://links.ethers.org/v5-errors-UNPREDICTABLE_GAS_LIMIT ] (reason="execution reverted: Can only be called by 24 hour timelock!", method="estimateGas", transaction={"from":"0x241E263b40c7Bf458b6b28D86338cf26f7Cc5a57","to":"0x7F2152341768b2c4F47C9DBA556130Fa46e9B5Be","data":"0x9870d7fe0000000000000000000000004838b106fce9647bdf1e7877bf73ce8b0bad5f97","accessList":null}, error={"name":"ProviderError","_stack":"ProviderError: execution reverted: Can only be called by 24 hour timelock!\n at HttpProvider.request (/constellation/node_modules/hardhat/src/internal/core/providers/http.ts:88:21)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async EthersProviderWrapper.send (/constellation/node_modules/@nomiclabs/hardhat-ethers/src/internal/ethers-provider-wrapper.ts:13:20)","code":3,"_isProviderError":true,"data":"0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002743616e206f6e6c792062652063616c6c656420627920323420686f75722074696d656c6f636b2100000000000000000000000000000000000000000000000000"}, code=UNPREDICTABLE_GAS_LIMIT, version=providers/5.7.2) at step (/constellation/node_modules/@ethersproject/providers/lib/json-rpc-provider.js:48:23) at EthersProviderWrapper. (/constellation/node_modules/@ethersproject/providers/src.ts/json-rpc-provider.ts:642:20) at checkError (/constellation/node_modules/@ethersproject/providers/src.ts/json-rpc-provider.ts:78:20) at Logger.throwError (/constellation/node_modules/@ethersproject/logger/src.ts/index.ts:281:20) at Logger.makeError (/constellation/node_modules/@ethersproject/logger/src.ts/index.ts:269:28) { reason: 'execution reverted: Can only be called by 24 hour timelock!', code: 'UNPREDICTABLE_GAS_LIMIT', method: 'estimateGas', transaction: { from: '0x241E263b40c7Bf458b6b28D86338cf26f7Cc5a57', to: '0x7F2152341768b2c4F47C9DBA556130Fa46e9B5Be', data: '0x9870d7fe0000000000000000000000004838b106fce9647bdf1e7877bf73ce8b0bad5f97', accessList: null }, error: ProviderError: execution reverted: Can only be called by 24 hour timelock! at HttpProvider.request (/constellation/node_modules/hardhat/src/internal/core/providers/http.ts:88:21) at processTicksAndRejections (node:internal/process/task_queues:95:5) at async EthersProviderWrapper.send (/constellation/node_modules/@nomiclabs/hardhat-ethers/src/internal/ethers-provider-wrapper.ts:13:20) } > await whitelist.connect(deployer).addOperator("0x4838b106fce9647bdf1e7877bf73ce8b0bad5f97") { hash: '0xd0f3f26f2cd8e761cc028019dfd74dab52179c501e9dda5a8da0648a8e9ac1d3', type: 2, accessList: [], blockHash: null, blockNumber: null, transactionIndex: null, confirmations: 0, from: '0x7621940f6068C024Fb3a3eeE2810D5Ad76CEa374', gasPrice: BigNumber { value: "1364000301" }, maxPriorityFeePerGas: BigNumber { value: "1000000" }, maxFeePerGas: BigNumber { value: "1364000301" }, gasLimit: BigNumber { value: "326603" }, to: '0x7F2152341768b2c4F47C9DBA556130Fa46e9B5Be', value: BigNumber { value: "0" }, nonce: 135, data: '0x9870d7fe0000000000000000000000004838b106fce9647bdf1e7877bf73ce8b0bad5f97', r: '0x8b2f121fe4cf5b1a924903d530e11d7301dd08c97ed33d3863d7ccccaa83d311', s: '0x4a90f3141abdb8e38b501becbbeda13978e807f315d1184aa63733f1ec95d4fc', v: 0, creates: null, chainId: 17000, wait: [Function (anonymous)] } > await whitelist.connect(deployer).addOperator("0x12F24E8bC874B4471f0501127abb1Ea0d9F68ac1") { hash: '0xe73f6e60a223e960f66a46de9d2b11ef6e214b9c6930adce3904eaa9918dbf52', type: 2, accessList: [], blockHash: null, blockNumber: null, transactionIndex: null, confirmations: 0, from: '0x7621940f6068C024Fb3a3eeE2810D5Ad76CEa374', gasPrice: BigNumber { value: "1392339166" }, maxPriorityFeePerGas: BigNumber { value: "1000000" }, maxFeePerGas: BigNumber { value: "1392339166" }, gasLimit: BigNumber { value: "207914" }, to: '0x7F2152341768b2c4F47C9DBA556130Fa46e9B5Be', value: BigNumber { value: "0" }, nonce: 136, data: '0x9870d7fe00000000000000000000000012f24e8bc874b4471f0501127abb1ea0d9f68ac1', r: '0x71e50439b184b0c76a8b706c1ce7b60f04a88e660222528af9a871c9d0ccb183', s: '0x1030629aa68102b63f876b74a58f500dddb7d4420a57fb9e31c57fc942568dd8', v: 1, creates: null, chainId: 17000, wait: [Function (anonymous)] } > > vaf.address '0x50ea5ba8241a3357275a7b0b61735d1b46F4499F' > whitelist.address '0x7F2152341768b2c4F47C9DBA556130Fa46e9B5Be' > await whitelist.getIsAddressInWhitelist("0x12F24E8bC874B4471f0501127abb1Ea0d9F68ac1") true > await whitelist.getIsAddressInWhitelist("0xe0Dec58Db9C72bF9305efe93856EA70E0ABd91E4") false > await whitelist.addOperator("0xe0Dec58Db9C72bF9305efe93856EA70E0ABd91E4") { hash: '0x8282c56185a19433bad91d5dbafc46ef4410217aca2256c9ec49f31692604c83', type: 2, accessList: [], blockHash: null, blockNumber: null, transactionIndex: null, confirmations: 0, from: '0x7621940f6068C024Fb3a3eeE2810D5Ad76CEa374', gasPrice: BigNumber { value: "1366146329" }, maxPriorityFeePerGas: BigNumber { value: "40474006" }, maxFeePerGas: BigNumber { value: "1366146329" }, gasLimit: BigNumber { value: "210707" }, to: '0x7F2152341768b2c4F47C9DBA556130Fa46e9B5Be', value: BigNumber { value: "0" }, nonce: 137, data: '0x9870d7fe000000000000000000000000e0dec58db9c72bf9305efe93856ea70e0abd91e4', r: '0x12a6bb9c80dfcb48a7794454a1737a1ad292322fdb493907452cdc1bc10d7dea', s: '0x069bd4751bb9cd5705d93e49f031ba12d458aa1092e0c049d44f7e80c6c7bacd', v: 1, creates: null, chainId: 17000, wait: [Function (anonymous)] } >