@raac/rpc 1.2.0-beta.9 → 2.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/RPCLibrary.js +62 -10
- package/dist/artifacts/core/governance/gauges/BaseGauge.sol/BaseGauge.json +113 -20
- package/dist/artifacts/core/governance/gauges/GaugeController.sol/GaugeController.json +259 -31
- package/dist/artifacts/core/governance/gauges/GaugeRewardsDistributor.sol/GaugeRewardsDistributor.json +159 -31
- package/dist/artifacts/core/governance/gauges/RAACGauge.sol/RAACGauge.json +115 -22
- package/dist/artifacts/core/governance/gauges/RWAGauge.sol/RWAGauge.json +115 -22
- package/dist/artifacts/core/governance/proposals/Governance.sol/Governance.json +367 -98
- package/dist/artifacts/core/governance/proposals/TimelockController.sol/TimelockController.json +11 -16
- package/dist/artifacts/core/lockers/RAACLiquidLocker.sol/RAACLiquidLocker.json +113 -19
- package/dist/assets/_helpers.js +31 -0
- package/dist/assets/getAsset.js +13 -3
- package/dist/assets/getAssets.js +15 -15
- package/dist/assets/getSupply.js +16 -5
- package/dist/configs/chains/1.json +31 -35
- package/dist/configs/chains/11155111.json +101 -120
- package/dist/configs/chains/17000.json +31 -35
- package/dist/configs/chains/18453.json +31 -35
- package/dist/configs/chains/8453.json +88 -41
- package/dist/configs/registry/1.json +1 -0
- package/dist/configs/registry/11155111.json +1 -0
- package/dist/configs/registry/17000.json +1 -0
- package/dist/configs/registry/18453.json +1 -0
- package/dist/configs/registry/8453.json +1 -0
- package/dist/configs/registry/index.js +24 -0
- package/dist/contracts/decodeCall.js +61 -0
- package/dist/contracts/findContract.js +82 -0
- package/dist/contracts/getContractAddress.js +5 -1
- package/dist/contracts/governance/_helpers.js +39 -0
- package/dist/contracts/governance/distributor/claimAll.js +18 -11
- package/dist/contracts/governance/distributor/claimForGauge.js +18 -12
- package/dist/contracts/governance/distributor/deposit.js +17 -12
- package/dist/contracts/governance/distributor/getClaimableForGauge.js +12 -9
- package/dist/contracts/governance/distributor/getClaimedAtEpoch.js +13 -10
- package/dist/contracts/governance/distributor/getDepositedAtEpoch.js +10 -9
- package/dist/contracts/governance/distributor/getDustLastProcessedEpoch.js +28 -0
- package/dist/contracts/governance/distributor/getGaugeController.js +7 -7
- package/dist/contracts/governance/distributor/getLastClaimedEpoch.js +10 -9
- package/dist/contracts/governance/distributor/getMaxClaimBound.js +29 -0
- package/dist/contracts/governance/distributor/getPeriodDuration.js +7 -7
- package/dist/contracts/governance/distributor/getRewardToken.js +7 -7
- package/dist/contracts/governance/distributor/getRewardTokenInfo.js +18 -9
- package/dist/contracts/governance/distributor/getRewardTokenStats.js +13 -8
- package/dist/contracts/governance/distributor/index.js +5 -2
- package/dist/contracts/governance/distributor/setController.js +17 -12
- package/dist/contracts/governance/distributor/setLastClaimedEpoch.js +32 -0
- package/dist/contracts/governance/distributor/setMaxClaimBound.js +31 -0
- package/dist/contracts/governance/distributor/withdrawDust.js +31 -0
- package/dist/contracts/governance/distributor/withdrawRemovedGaugeRewards.js +19 -13
- package/dist/contracts/governance/gauge/_apy.js +126 -0
- package/dist/contracts/governance/gauge/_tokens.js +54 -0
- package/dist/contracts/governance/gauge/addRewardToken.js +2 -12
- package/dist/contracts/governance/gauge/approveGaugeToken.js +31 -0
- package/dist/contracts/governance/gauge/claimExtraReward.js +2 -12
- package/dist/contracts/governance/gauge/claimExtraRewards.js +2 -12
- package/dist/contracts/governance/gauge/claimOnBehalfOf.js +3 -13
- package/dist/contracts/governance/gauge/claimRewardToken.js +3 -13
- package/dist/contracts/governance/gauge/claimRewardsFor.js +2 -12
- package/dist/contracts/governance/gauge/depositRewardToken.js +3 -13
- package/dist/contracts/governance/gauge/getAllPendingExtraRewards.js +8 -10
- package/dist/contracts/governance/gauge/getApy.js +45 -0
- package/dist/contracts/governance/gauge/getBalanceOf.js +10 -18
- package/dist/contracts/governance/gauge/getControllerAddress.js +2 -9
- package/dist/contracts/governance/gauge/getDecimalAdjustment.js +5 -10
- package/dist/contracts/governance/gauge/getDepositRAACOnClaim.js +2 -9
- package/dist/contracts/governance/gauge/getDistributorData.js +2 -9
- package/dist/contracts/governance/gauge/getDistributors.js +2 -9
- package/dist/contracts/governance/gauge/getEarnedExtraReward.js +31 -0
- package/dist/contracts/governance/gauge/getEarnedReward.js +10 -15
- package/dist/contracts/governance/gauge/getExtraRewardTokens.js +2 -9
- package/dist/contracts/governance/gauge/getGaugeData.js +40 -0
- package/dist/contracts/governance/gauge/getGaugeRewardTokenData.js +14 -14
- package/dist/contracts/governance/gauge/getPauseStatus.js +31 -0
- package/dist/contracts/governance/gauge/getPendingExtraRewards.js +5 -10
- package/dist/contracts/governance/gauge/getPendingRewards.js +10 -15
- package/dist/contracts/governance/gauge/getPeriodBoundaries.js +2 -15
- package/dist/contracts/governance/gauge/getPeriodDuration.js +2 -15
- package/dist/contracts/governance/gauge/getRaacAutolockMin.js +5 -10
- package/dist/contracts/governance/gauge/getRawBalanceOf.js +10 -18
- package/dist/contracts/governance/gauge/getRawTotalSupply.js +10 -18
- package/dist/contracts/governance/gauge/getRewardTokens.js +28 -0
- package/dist/contracts/governance/gauge/getTotalSupply.js +10 -18
- package/dist/contracts/governance/gauge/getUserApy.js +73 -0
- package/dist/contracts/governance/gauge/getUserClaimableRewards.js +26 -86
- package/dist/contracts/governance/gauge/getUserGaugeState.js +52 -0
- package/dist/contracts/governance/gauge/getUserRewardTokenData.js +12 -11
- package/dist/contracts/governance/gauge/getUserWeight.js +11 -11
- package/dist/contracts/governance/gauge/index.js +11 -1
- package/dist/contracts/governance/gauge/isPaused.js +4 -11
- package/dist/contracts/governance/gauge/manageDistributor.js +2 -12
- package/dist/contracts/governance/gauge/pullRewardsFromDistributor.js +30 -0
- package/dist/contracts/governance/gauge/setController.js +2 -12
- package/dist/contracts/governance/gauge/setDepositRAACOnClaim.js +2 -12
- package/dist/contracts/governance/gauge/setEmergencyPaused.js +2 -12
- package/dist/contracts/governance/gauge/setGaugeRewardDistributor.js +2 -12
- package/dist/contracts/governance/gauge/setRaacAutolockMin.js +3 -13
- package/dist/contracts/governance/gauge/stake.js +3 -19
- package/dist/contracts/governance/gauge/unwrapStakingToken.js +28 -0
- package/dist/contracts/governance/gauge/updateUserRewards.js +2 -18
- package/dist/contracts/governance/gauge/withdraw.js +3 -19
- package/dist/contracts/governance/gauge/wrapStakingToken.js +28 -0
- package/dist/contracts/governance/gaugeController/addGauge.js +19 -11
- package/dist/contracts/governance/gaugeController/batchVote.js +20 -12
- package/dist/contracts/governance/gaugeController/calculateBoost.js +25 -23
- package/dist/contracts/governance/gaugeController/forceCompleteCheckpoint.js +19 -11
- package/dist/contracts/governance/gaugeController/getActiveGaugeCount.js +28 -0
- package/dist/contracts/governance/gaugeController/getActiveGauges.js +13 -15
- package/dist/contracts/governance/gaugeController/getConstants.js +10 -18
- package/dist/contracts/governance/gaugeController/getCurrentEpoch.js +8 -7
- package/dist/contracts/governance/gaugeController/getExpiredGaugeVotePower.js +30 -0
- package/dist/contracts/governance/gaugeController/getGauge.js +13 -10
- package/dist/contracts/governance/gaugeController/getGaugeDistributor.js +28 -0
- package/dist/contracts/governance/gaugeController/getGaugeEmissions.js +52 -64
- package/dist/contracts/governance/gaugeController/getGaugeRelativeWeight.js +19 -15
- package/dist/contracts/governance/gaugeController/getGaugeRelativeWeightView.js +14 -11
- package/dist/contracts/governance/gaugeController/getGaugeWeight.js +12 -9
- package/dist/contracts/governance/gaugeController/getLastVoteTime.js +11 -9
- package/dist/contracts/governance/gaugeController/getMaxVoteBuckets.js +28 -0
- package/dist/contracts/governance/gaugeController/getNextEpoch.js +8 -7
- package/dist/contracts/governance/gaugeController/getRegisteredGaugeList.js +28 -0
- package/dist/contracts/governance/gaugeController/getTotalWeight.js +10 -8
- package/dist/contracts/governance/gaugeController/getUserGaugeVotePower.js +11 -9
- package/dist/contracts/governance/gaugeController/getUserVotePowerRemaining.js +10 -10
- package/dist/contracts/governance/gaugeController/getVeToken.js +8 -7
- package/dist/contracts/governance/gaugeController/getVoteUserLocks.js +33 -0
- package/dist/contracts/governance/gaugeController/getVoteUserPower.js +8 -7
- package/dist/contracts/governance/gaugeController/getVoteUserSlope.js +13 -10
- package/dist/contracts/governance/gaugeController/index.js +10 -1
- package/dist/contracts/governance/gaugeController/isGaugeActive.js +11 -9
- package/dist/contracts/governance/gaugeController/isPaused.js +9 -8
- package/dist/contracts/governance/gaugeController/kick.js +17 -10
- package/dist/contracts/governance/gaugeController/removeGauge.js +20 -11
- package/dist/contracts/governance/gaugeController/removePowerFromGauge.js +19 -11
- package/dist/contracts/governance/gaugeController/setBoostAmplificationEnabled.js +20 -12
- package/dist/contracts/governance/gaugeController/setDistributor.js +31 -0
- package/dist/contracts/governance/gaugeController/setEmergencyGaugePause.js +20 -12
- package/dist/contracts/governance/gaugeController/setEmergencyGaugePauseBatch.js +33 -0
- package/dist/contracts/governance/gaugeController/setEmergencyPause.js +18 -11
- package/dist/contracts/governance/gaugeController/setMaxVoteBuckets.js +31 -0
- package/dist/contracts/governance/gaugeController/vote.js +15 -16
- package/dist/contracts/governance/gaugeSystems/_helpers.js +123 -0
- package/dist/contracts/governance/gaugeSystems/findGauge.js +14 -0
- package/dist/contracts/governance/gaugeSystems/getGaugeSystem.js +14 -0
- package/dist/contracts/governance/gaugeSystems/getGaugeSystems.js +13 -0
- package/dist/contracts/governance/gaugeSystems/getGauges.js +15 -0
- package/dist/contracts/governance/gaugeSystems/index.js +21 -0
- package/dist/contracts/governance/proposals/cancel.js +8 -7
- package/dist/contracts/governance/proposals/castVote.js +8 -6
- package/dist/contracts/governance/proposals/execute.js +6 -5
- package/dist/contracts/governance/proposals/getGovernances.js +22 -0
- package/dist/contracts/{tokens/veRAAC/getEffectiveLockEnd.js → governance/proposals/getLabel.js} +10 -11
- package/dist/contracts/governance/proposals/getProposal.js +14 -18
- package/dist/contracts/governance/proposals/getProposalCount.js +4 -3
- package/dist/contracts/governance/proposals/{getProposalData.js → getProposalEta.js} +12 -16
- package/dist/contracts/governance/proposals/getProposalInfo.js +10 -8
- package/dist/contracts/governance/proposals/getProposalThreshold.js +7 -5
- package/dist/contracts/governance/proposals/getQuorum.js +11 -8
- package/dist/contracts/governance/proposals/getQuorumNumerator.js +7 -8
- package/dist/contracts/governance/proposals/getRoles.js +34 -0
- package/dist/contracts/governance/proposals/getState.js +4 -3
- package/dist/contracts/governance/proposals/getVoteReceipt.js +54 -0
- package/dist/contracts/governance/proposals/getVotes.js +8 -6
- package/dist/contracts/governance/proposals/getVotingDelay.js +4 -3
- package/dist/contracts/governance/proposals/getVotingPeriod.js +4 -3
- package/dist/contracts/governance/proposals/hasRole.js +31 -0
- package/dist/contracts/governance/proposals/hasVoted.js +32 -0
- package/dist/contracts/governance/proposals/index.js +22 -4
- package/dist/contracts/governance/proposals/propose.js +9 -20
- package/dist/contracts/governance/proposals/setParameter.js +46 -0
- package/dist/contracts/governance/proposals/setTimelock.js +36 -0
- package/dist/contracts/governance/timelock/getConstants.js +4 -3
- package/dist/contracts/governance/timelock/getMinDelay.js +4 -3
- package/dist/contracts/governance/timelock/getRoles.js +37 -0
- package/dist/contracts/governance/timelock/getTimestamp.js +4 -3
- package/dist/contracts/governance/timelock/hasRole.js +31 -0
- package/dist/contracts/governance/timelock/hashOperationBatch.js +7 -6
- package/dist/contracts/governance/timelock/index.js +5 -1
- package/dist/contracts/governance/timelock/isOperationDone.js +4 -3
- package/dist/contracts/governance/timelock/isOperationPending.js +4 -3
- package/dist/contracts/governance/timelock/isOperationReady.js +4 -3
- package/dist/contracts/housePrices/getLatestPrice.js +12 -4
- package/dist/contracts/lockers/botLocker/getClaimable.js +8 -1
- package/dist/contracts/lockers/botLocker/getClaimables.js +10 -4
- package/dist/contracts/lockers/botLocker/getClaimedRewards.js +13 -4
- package/dist/contracts/lockers/liquidLocker/borrow.js +5 -0
- package/dist/contracts/lockers/liquidLocker/checkAccountHealth.js +15 -0
- package/dist/contracts/lockers/liquidLocker/deposit.js +4 -0
- package/dist/contracts/lockers/liquidLocker/donate.js +4 -0
- package/dist/contracts/lockers/liquidLocker/getConfig.js +14 -7
- package/dist/contracts/lockers/liquidLocker/getGlobalInfo.js +12 -17
- package/dist/contracts/lockers/liquidLocker/getUserInfo.js +12 -15
- package/dist/contracts/lockers/liquidLocker/getUserLocks.js +20 -8
- package/dist/contracts/lockers/liquidLocker/harvest.js +5 -0
- package/dist/contracts/lockers/liquidLocker/previewWithdraw.js +26 -0
- package/dist/contracts/lockers/liquidLocker/repay.js +5 -1
- package/dist/contracts/lockers/liquidLocker/requestUnlock.js +16 -4
- package/dist/contracts/lockers/liquidLocker/voteGauge.js +7 -1
- package/dist/contracts/lockers/maturityVault/deposit.js +4 -0
- package/dist/contracts/lockers/maturityVault/depositFor.js +5 -0
- package/dist/contracts/lockers/maturityVault/distribute.js +5 -0
- package/dist/contracts/lockers/maturityVault/getConfig.js +12 -2
- package/dist/contracts/lockers/maturityVault/getGlobalInfo.js +9 -11
- package/dist/contracts/lockers/maturityVault/getUserInfo.js +8 -4
- package/dist/contracts/lockers/maturityVault/withdraw.js +5 -0
- package/dist/contracts/pmBlender/_helpers.js +19 -0
- package/dist/contracts/pmBlender/getReserveBalance.js +13 -12
- package/dist/contracts/pmBlender/previewDeposit.js +15 -12
- package/dist/contracts/pmBlender/previewSwap.js +16 -12
- package/dist/contracts/pmBlender/previewWithdraw.js +15 -12
- package/dist/contracts/pmMarket/getMarketConfig.js +15 -13
- package/dist/contracts/pmTreasury/_helpers.js +51 -0
- package/dist/contracts/pmTreasury/getCollateralRatio.js +13 -16
- package/dist/contracts/pmTreasury/getCurrentNav.js +15 -22
- package/dist/contracts/pmTreasury/getLeverageRatio.js +13 -16
- package/dist/contracts/pmTreasury/getMaxMintablePMUSD.js +17 -21
- package/dist/contracts/pmTreasury/getMaxMintablePMUSDWithoutBaseToken.js +16 -19
- package/dist/contracts/pmTreasury/getMaxMintableXPM.js +18 -22
- package/dist/contracts/pmTreasury/getMaxRedeemablePMUSD.js +17 -21
- package/dist/contracts/pmTreasury/getMaxRedeemableXPM.js +17 -21
- package/dist/contracts/pmTreasury/getTotalBaseToken.js +13 -16
- package/dist/contracts/resolveName.js +128 -0
- package/dist/contracts/tokens/RAAC/getBalance.js +16 -5
- package/dist/contracts/tokens/RAAC/getTotalSupply.js +12 -7
- package/dist/contracts/tokens/crvUSD/getBalance.js +16 -5
- package/dist/contracts/tokens/crvUSD/getTotalSupply.js +12 -7
- package/dist/contracts/tokens/leRAAC/approve.js +9 -0
- package/dist/contracts/tokens/leRAAC/burn.js +5 -0
- package/dist/contracts/tokens/leRAAC/burnFrom.js +6 -0
- package/dist/contracts/tokens/leRAAC/getAllowance.js +11 -2
- package/dist/contracts/tokens/leRAAC/getBalance.js +10 -2
- package/dist/contracts/tokens/leRAAC/getMinterInfo.js +10 -1
- package/dist/contracts/tokens/leRAAC/getTotalSupply.js +9 -2
- package/dist/contracts/tokens/leRAAC/transfer.js +9 -0
- package/dist/contracts/tokens/leRAAC/transferFrom.js +10 -0
- package/dist/contracts/tokens/pmUSD/getBalance.js +16 -5
- package/dist/contracts/tokens/pmUSD/getTotalSupply.js +11 -6
- package/dist/contracts/tokens/rcrvUSD/getBalance.js +17 -6
- package/dist/contracts/tokens/rcrvUSD/getTotalSupply.js +13 -7
- package/dist/contracts/tokens/veRAAC/_helpers.js +38 -0
- package/dist/contracts/tokens/veRAAC/distributeRewards.js +1 -1
- package/dist/contracts/tokens/veRAAC/getBalance.js +10 -1
- package/dist/contracts/tokens/veRAAC/getBalanceAt.js +3 -2
- package/dist/contracts/tokens/veRAAC/getBalanceAtTime.js +3 -2
- package/dist/contracts/tokens/veRAAC/getCheckpoint.js +3 -2
- package/dist/contracts/tokens/veRAAC/getClaimable.js +3 -2
- package/dist/contracts/tokens/veRAAC/getClaimed.js +3 -2
- package/dist/contracts/tokens/veRAAC/getEarned.js +3 -2
- package/dist/contracts/tokens/veRAAC/getGlobalLockInfo.js +3 -2
- package/dist/contracts/tokens/veRAAC/getLockedBalance.js +3 -2
- package/dist/contracts/tokens/veRAAC/getLocks.js +5 -7
- package/dist/contracts/tokens/veRAAC/getMinLockAmount.js +36 -0
- package/dist/contracts/tokens/veRAAC/getRagequitRequest.js +6 -5
- package/dist/contracts/tokens/veRAAC/getRawBalanceOf.js +3 -2
- package/dist/contracts/tokens/veRAAC/getRawTotalSupply.js +3 -2
- package/dist/contracts/tokens/veRAAC/getTotalSupply.js +7 -5
- package/dist/contracts/tokens/veRAAC/getTotalSupplyAt.js +3 -2
- package/dist/contracts/tokens/veRAAC/getTotalSupplyAtTime.js +3 -2
- package/dist/contracts/tokens/veRAAC/getUserPointHistory.js +5 -4
- package/dist/contracts/tokens/veRAAC/increase.js +1 -1
- package/dist/contracts/tokens/veRAAC/increaseWithApproval.js +4 -17
- package/dist/contracts/tokens/veRAAC/index.js +3 -3
- package/dist/contracts/tokens/veRAAC/lock.js +1 -1
- package/dist/contracts/tokens/veRAAC/lockWithApproval.js +4 -19
- package/dist/contracts/tokens/xPM/getBalance.js +16 -5
- package/dist/contracts/tokens/xPM/getTotalSupply.js +11 -6
- package/dist/contracts/zap/aladdin/zap.js +9 -1
- package/dist/contracts/zap/aladdin/zapFrom.js +9 -1
- package/dist/contracts/zap/aladdin/zapWithRoutes.js +11 -2
- package/dist/contracts/zeno/createAuction.js +13 -0
- package/dist/contracts/zeno/getAuctions.js +25 -2
- package/dist/generated/errorMap.json +3945 -0
- package/dist/index.js +15 -0
- package/dist/methods/approveToken.js +10 -2
- package/dist/methods/commons/checkAllowance.js +11 -1
- package/dist/methods/getAssetBalance.js +16 -6
- package/dist/minter/_helpers.js +11 -0
- package/dist/minter/calculateScheduledMintableAmount.js +3 -1
- package/dist/minter/get.js +5 -10
- package/dist/minter/getApy.js +12 -9
- package/dist/minter/getDistributionPools.js +4 -3
- package/dist/minter/getEmissionPerSecond.js +4 -2
- package/dist/minter/getPoolInfo.js +5 -3
- package/dist/nfts/_helpers.js +17 -0
- package/dist/nfts/getHousePrice.js +10 -1
- package/dist/nfts/getMintFeePercentage.js +7 -3
- package/dist/nfts/getMintPrice.js +10 -7
- package/dist/nfts/mint.js +12 -4
- package/dist/pools/lendingPool/_helpers.js +37 -2
- package/dist/pools/lendingPool/adapters/erc20/getERC20AdapterBalance.js +15 -3
- package/dist/pools/lendingPool/borrowFromLendingPool.js +13 -3
- package/dist/pools/lendingPool/borrowFromLendingPoolWithInsurance.js +19 -9
- package/dist/pools/lendingPool/calculateInsuranceFee.js +12 -5
- package/dist/pools/lendingPool/depositToLendingPool.js +9 -6
- package/dist/pools/lendingPool/getEligibleUserDeposits.js +5 -7
- package/dist/pools/lendingPool/getHealthFactor.js +8 -7
- package/dist/pools/lendingPool/getHousePrice.js +10 -6
- package/dist/pools/lendingPool/getLendingPoolInfo.js +92 -82
- package/dist/pools/lendingPool/getLendingPoolTotalLiquidity.js +8 -4
- package/dist/pools/lendingPool/getParameters.js +22 -14
- package/dist/pools/lendingPool/getPositionDebt.js +7 -5
- package/dist/pools/lendingPool/getPositionScaledDebt.js +7 -7
- package/dist/pools/lendingPool/getPositionView.js +24 -19
- package/dist/pools/lendingPool/getPositionsScaledDebt.js +6 -8
- package/dist/pools/lendingPool/getRawUserDepositsInLendingPool.js +8 -4
- package/dist/pools/lendingPool/getUserCollateralValue.js +7 -8
- package/dist/pools/lendingPool/openVaultPosition.js +3 -4
- package/dist/pools/lendingPool/repayToLendingPool.js +9 -0
- package/dist/pools/lendingPool/withdrawFromLendingPool.js +15 -16
- package/dist/pools/liquidityPool/getLiquidityPoolInfo.js +23 -30
- package/dist/pools/rwaVault/_helpers.js +26 -2
- package/dist/pools/rwaVault/adapters/erc20/getERC20VaultAdapterAssetValue.js +9 -1
- package/dist/pools/rwaVault/adapters/erc20/getERC20VaultAdapterTotalValue.js +8 -1
- package/dist/pools/rwaVault/adapters/erc721/getERC721VaultAdapterAssetValue.js +9 -1
- package/dist/pools/rwaVault/adapters/erc721/getERC721VaultAdapterTotalValue.js +8 -1
- package/dist/pools/rwaVault/depositToRWAVault.js +15 -3
- package/dist/pools/rwaVault/getRWAVaultInfo.js +10 -3
- package/dist/pools/rwaVault/previewDeposit.js +11 -5
- package/dist/pools/rwaVault/previewWithdraw.js +11 -5
- package/dist/pools/rwaVault/redeemNFTFromRWAVault.js +11 -3
- package/dist/pools/stabilityPool/depositToStabilityPool.js +11 -9
- package/dist/pools/stabilityPool/getRawUserDepositsInStabilityPool.js +11 -9
- package/dist/pools/stabilityPool/getStabilityPoolInfo.js +16 -30
- package/dist/pools/stabilityPool/getStabilityPoolTotalDeposits.js +10 -7
- package/dist/pools/stabilityPool/getWithdrawRequestInfo.js +17 -7
- package/dist/pools/stabilityPool/requestWithdraw.js +9 -4
- package/dist/pools/stabilityPool/withdrawFromStabilityPool.js +11 -9
- package/dist/prices/getPrices.js +10 -4
- package/dist/scripts/index.js +2 -1
- package/dist/scripts/liquidation.js +11 -10
- package/dist/types/RPCLibrary.d.ts +49 -4
- package/dist/types/assets/_helpers.d.ts +16 -0
- package/dist/types/assets/getAsset.d.ts +12 -1
- package/dist/types/assets/getAssets.d.ts +10 -1
- package/dist/types/assets/getSupply.d.ts +10 -1
- package/dist/types/configs/chains/index.d.ts +54 -66
- package/dist/types/configs/index.d.ts +27 -33
- package/dist/types/configs/registry/index.d.ts +13 -0
- package/dist/types/contracts/decodeCall.d.ts +33 -0
- package/dist/types/contracts/findContract.d.ts +24 -0
- package/dist/types/contracts/governance/_helpers.d.ts +28 -0
- package/dist/types/contracts/governance/distributor/claimAll.d.ts +7 -5
- package/dist/types/contracts/governance/distributor/claimForGauge.d.ts +7 -6
- package/dist/types/contracts/governance/distributor/deposit.d.ts +7 -6
- package/dist/types/contracts/governance/distributor/getClaimableForGauge.d.ts +7 -4
- package/dist/types/contracts/governance/distributor/getClaimedAtEpoch.d.ts +8 -5
- package/dist/types/contracts/governance/distributor/getDepositedAtEpoch.d.ts +7 -4
- package/dist/types/contracts/governance/distributor/getDustLastProcessedEpoch.d.ts +12 -0
- package/dist/types/contracts/governance/distributor/getGaugeController.d.ts +5 -3
- package/dist/types/contracts/governance/distributor/getLastClaimedEpoch.d.ts +6 -4
- package/dist/types/contracts/governance/distributor/getMaxClaimBound.d.ts +15 -0
- package/dist/types/contracts/governance/distributor/getPeriodDuration.d.ts +5 -3
- package/dist/types/contracts/governance/distributor/getRewardToken.d.ts +5 -3
- package/dist/types/contracts/governance/distributor/getRewardTokenInfo.d.ts +10 -7
- package/dist/types/contracts/governance/distributor/getRewardTokenStats.d.ts +9 -6
- package/dist/types/contracts/governance/distributor/index.d.ts +5 -2
- package/dist/types/contracts/governance/distributor/setController.d.ts +7 -6
- package/dist/types/contracts/governance/distributor/setLastClaimedEpoch.d.ts +13 -0
- package/dist/types/contracts/governance/distributor/setMaxClaimBound.d.ts +13 -0
- package/dist/types/contracts/governance/distributor/withdrawDust.d.ts +13 -0
- package/dist/types/contracts/governance/distributor/withdrawRemovedGaugeRewards.d.ts +8 -7
- package/dist/types/contracts/governance/gauge/_apy.d.ts +72 -0
- package/dist/types/contracts/governance/gauge/_tokens.d.ts +25 -0
- package/dist/types/contracts/governance/gauge/approveGaugeToken.d.ts +14 -0
- package/dist/types/contracts/governance/gauge/claimOnBehalfOf.d.ts +2 -2
- package/dist/types/contracts/governance/gauge/claimRewardToken.d.ts +1 -1
- package/dist/types/contracts/governance/gauge/depositRewardToken.d.ts +2 -2
- package/dist/types/contracts/governance/gauge/getAllPendingExtraRewards.d.ts +3 -1
- package/dist/types/contracts/governance/gauge/getApy.d.ts +48 -0
- package/dist/types/contracts/governance/gauge/getBalanceOf.d.ts +3 -2
- package/dist/types/contracts/governance/gauge/getDecimalAdjustment.d.ts +3 -1
- package/dist/types/contracts/governance/gauge/getEarnedExtraReward.d.ts +14 -0
- package/dist/types/contracts/governance/gauge/getEarnedReward.d.ts +5 -3
- package/dist/types/contracts/governance/gauge/getGaugeData.d.ts +24 -0
- package/dist/types/contracts/governance/gauge/getGaugeRewardTokenData.d.ts +18 -10
- package/dist/types/contracts/governance/gauge/getPauseStatus.d.ts +19 -0
- package/dist/types/contracts/governance/gauge/getPendingExtraRewards.d.ts +3 -1
- package/dist/types/contracts/governance/gauge/getPendingRewards.d.ts +5 -3
- package/dist/types/contracts/governance/gauge/getRaacAutolockMin.d.ts +3 -1
- package/dist/types/contracts/governance/gauge/getRawBalanceOf.d.ts +3 -2
- package/dist/types/contracts/governance/gauge/getRawTotalSupply.d.ts +3 -2
- package/dist/types/contracts/governance/gauge/getRewardTokens.d.ts +11 -0
- package/dist/types/contracts/governance/gauge/getTotalSupply.d.ts +3 -2
- package/dist/types/contracts/governance/gauge/getUserApy.d.ts +46 -0
- package/dist/types/contracts/governance/gauge/getUserClaimableRewards.d.ts +22 -20
- package/dist/types/contracts/governance/gauge/getUserGaugeState.d.ts +35 -0
- package/dist/types/contracts/governance/gauge/getUserRewardTokenData.d.ts +15 -8
- package/dist/types/contracts/governance/gauge/getUserWeight.d.ts +4 -2
- package/dist/types/contracts/governance/gauge/index.d.ts +11 -1
- package/dist/types/contracts/governance/gauge/isPaused.d.ts +1 -1
- package/dist/types/contracts/governance/gauge/pullRewardsFromDistributor.d.ts +11 -0
- package/dist/types/contracts/governance/gauge/setRaacAutolockMin.d.ts +2 -2
- package/dist/types/contracts/governance/gauge/stake.d.ts +2 -2
- package/dist/types/contracts/governance/gauge/unwrapStakingToken.d.ts +12 -0
- package/dist/types/contracts/governance/gauge/withdraw.d.ts +2 -2
- package/dist/types/contracts/governance/gauge/wrapStakingToken.d.ts +13 -0
- package/dist/types/contracts/governance/gaugeController/addGauge.d.ts +8 -5
- package/dist/types/contracts/governance/gaugeController/batchVote.d.ts +9 -6
- package/dist/types/contracts/governance/gaugeController/calculateBoost.d.ts +12 -9
- package/dist/types/contracts/governance/gaugeController/forceCompleteCheckpoint.d.ts +8 -5
- package/dist/types/contracts/governance/gaugeController/getActiveGaugeCount.d.ts +12 -0
- package/dist/types/contracts/governance/gaugeController/getActiveGauges.d.ts +10 -5
- package/dist/types/contracts/governance/gaugeController/getConstants.d.ts +6 -4
- package/dist/types/contracts/governance/gaugeController/getCurrentEpoch.d.ts +6 -3
- package/dist/types/contracts/governance/gaugeController/getExpiredGaugeVotePower.d.ts +16 -0
- package/dist/types/contracts/governance/gaugeController/getGauge.d.ts +9 -5
- package/dist/types/contracts/governance/gaugeController/getGaugeDistributor.d.ts +12 -0
- package/dist/types/contracts/governance/gaugeController/getGaugeEmissions.d.ts +23 -20
- package/dist/types/contracts/governance/gaugeController/getGaugeRelativeWeight.d.ts +8 -9
- package/dist/types/contracts/governance/gaugeController/getGaugeRelativeWeightView.d.ts +11 -7
- package/dist/types/contracts/governance/gaugeController/getGaugeWeight.d.ts +7 -4
- package/dist/types/contracts/governance/gaugeController/getLastVoteTime.d.ts +7 -4
- package/dist/types/contracts/governance/gaugeController/getMaxVoteBuckets.d.ts +12 -0
- package/dist/types/contracts/governance/gaugeController/getNextEpoch.d.ts +6 -3
- package/dist/types/contracts/governance/gaugeController/getRegisteredGaugeList.d.ts +12 -0
- package/dist/types/contracts/governance/gaugeController/getTotalWeight.d.ts +6 -3
- package/dist/types/contracts/governance/gaugeController/getUserGaugeVotePower.d.ts +7 -4
- package/dist/types/contracts/governance/gaugeController/getUserVotePowerRemaining.d.ts +6 -4
- package/dist/types/contracts/governance/gaugeController/getVeToken.d.ts +6 -3
- package/dist/types/contracts/governance/gaugeController/getVoteUserLocks.d.ts +18 -0
- package/dist/types/contracts/governance/gaugeController/getVoteUserPower.d.ts +6 -3
- package/dist/types/contracts/governance/gaugeController/getVoteUserSlope.d.ts +10 -6
- package/dist/types/contracts/governance/gaugeController/index.d.ts +10 -1
- package/dist/types/contracts/governance/gaugeController/isGaugeActive.d.ts +6 -4
- package/dist/types/contracts/governance/gaugeController/isPaused.d.ts +6 -3
- package/dist/types/contracts/governance/gaugeController/kick.d.ts +7 -4
- package/dist/types/contracts/governance/gaugeController/removeGauge.d.ts +9 -5
- package/dist/types/contracts/governance/gaugeController/removePowerFromGauge.d.ts +8 -5
- package/dist/types/contracts/governance/gaugeController/setBoostAmplificationEnabled.d.ts +9 -6
- package/dist/types/contracts/governance/gaugeController/setDistributor.d.ts +13 -0
- package/dist/types/contracts/governance/gaugeController/setEmergencyGaugePause.d.ts +9 -6
- package/dist/types/contracts/governance/gaugeController/setEmergencyGaugePauseBatch.d.ts +14 -0
- package/dist/types/contracts/governance/gaugeController/setEmergencyPause.d.ts +8 -5
- package/dist/types/contracts/governance/gaugeController/setMaxVoteBuckets.d.ts +13 -0
- package/dist/types/contracts/governance/gaugeController/vote.d.ts +9 -7
- package/dist/types/contracts/governance/gaugeSystems/_helpers.d.ts +71 -0
- package/dist/types/contracts/governance/gaugeSystems/findGauge.d.ts +11 -0
- package/dist/types/contracts/governance/gaugeSystems/getGaugeSystem.d.ts +11 -0
- package/dist/types/contracts/governance/gaugeSystems/getGaugeSystems.d.ts +10 -0
- package/dist/types/contracts/governance/gaugeSystems/getGauges.d.ts +13 -0
- package/dist/types/contracts/governance/gaugeSystems/index.d.ts +5 -0
- package/dist/types/contracts/governance/proposals/cancel.d.ts +5 -4
- package/dist/types/contracts/governance/proposals/castVote.d.ts +5 -3
- package/dist/types/contracts/governance/proposals/execute.d.ts +3 -2
- package/dist/types/contracts/governance/proposals/getGovernances.d.ts +11 -0
- package/dist/types/contracts/governance/proposals/getLabel.d.ts +11 -0
- package/dist/types/contracts/governance/proposals/getProposal.d.ts +13 -13
- package/dist/types/contracts/governance/proposals/getProposalCount.d.ts +2 -1
- package/dist/types/contracts/governance/proposals/getProposalEta.d.ts +13 -0
- package/dist/types/contracts/governance/proposals/getProposalInfo.d.ts +12 -6
- package/dist/types/contracts/governance/proposals/getProposalThreshold.d.ts +4 -2
- package/dist/types/contracts/governance/proposals/getQuorum.d.ts +7 -4
- package/dist/types/contracts/governance/proposals/getQuorumNumerator.d.ts +7 -3
- package/dist/types/contracts/governance/proposals/getRoles.d.ts +16 -0
- package/dist/types/contracts/governance/proposals/getState.d.ts +2 -1
- package/dist/types/contracts/governance/proposals/getVoteReceipt.d.ts +27 -0
- package/dist/types/contracts/governance/proposals/getVotes.d.ts +8 -4
- package/dist/types/contracts/governance/proposals/getVotingDelay.d.ts +2 -1
- package/dist/types/contracts/governance/proposals/getVotingPeriod.d.ts +2 -1
- package/dist/types/contracts/governance/proposals/hasRole.d.ts +13 -0
- package/dist/types/contracts/governance/proposals/hasVoted.d.ts +14 -0
- package/dist/types/contracts/governance/proposals/index.d.ts +11 -2
- package/dist/types/contracts/governance/proposals/propose.d.ts +4 -14
- package/dist/types/contracts/governance/proposals/setParameter.d.ts +23 -0
- package/dist/types/contracts/governance/proposals/setTimelock.d.ts +14 -0
- package/dist/types/contracts/governance/timelock/getConstants.d.ts +2 -1
- package/dist/types/contracts/governance/timelock/getMinDelay.d.ts +2 -1
- package/dist/types/contracts/governance/timelock/getRoles.d.ts +19 -0
- package/dist/types/contracts/governance/timelock/getTimestamp.d.ts +2 -1
- package/dist/types/contracts/governance/timelock/hasRole.d.ts +13 -0
- package/dist/types/contracts/governance/timelock/hashOperationBatch.d.ts +4 -3
- package/dist/types/contracts/governance/timelock/index.d.ts +2 -0
- package/dist/types/contracts/governance/timelock/isOperationDone.d.ts +2 -1
- package/dist/types/contracts/governance/timelock/isOperationPending.d.ts +2 -1
- package/dist/types/contracts/governance/timelock/isOperationReady.d.ts +2 -1
- package/dist/types/contracts/housePrices/getLatestPrice.d.ts +16 -6
- package/dist/types/contracts/lockers/botLocker/getClaimable.d.ts +8 -1
- package/dist/types/contracts/lockers/botLocker/getClaimables.d.ts +8 -1
- package/dist/types/contracts/lockers/botLocker/getClaimedRewards.d.ts +11 -1
- package/dist/types/contracts/lockers/liquidLocker/borrow.d.ts +6 -1
- package/dist/types/contracts/lockers/liquidLocker/checkAccountHealth.d.ts +9 -0
- package/dist/types/contracts/lockers/liquidLocker/deposit.d.ts +5 -1
- package/dist/types/contracts/lockers/liquidLocker/donate.d.ts +5 -1
- package/dist/types/contracts/lockers/liquidLocker/getConfig.d.ts +19 -7
- package/dist/types/contracts/lockers/liquidLocker/getGlobalInfo.d.ts +19 -16
- package/dist/types/contracts/lockers/liquidLocker/getUserInfo.d.ts +17 -14
- package/dist/types/contracts/lockers/liquidLocker/getUserLocks.d.ts +20 -7
- package/dist/types/contracts/lockers/liquidLocker/harvest.d.ts +6 -1
- package/dist/types/contracts/lockers/liquidLocker/previewWithdraw.d.ts +22 -0
- package/dist/types/contracts/lockers/liquidLocker/repay.d.ts +6 -2
- package/dist/types/contracts/lockers/liquidLocker/requestUnlock.d.ts +15 -3
- package/dist/types/contracts/lockers/liquidLocker/voteGauge.d.ts +8 -2
- package/dist/types/contracts/lockers/maturityVault/deposit.d.ts +5 -1
- package/dist/types/contracts/lockers/maturityVault/depositFor.d.ts +6 -1
- package/dist/types/contracts/lockers/maturityVault/distribute.d.ts +6 -1
- package/dist/types/contracts/lockers/maturityVault/getConfig.d.ts +12 -2
- package/dist/types/contracts/lockers/maturityVault/getGlobalInfo.d.ts +15 -15
- package/dist/types/contracts/lockers/maturityVault/getUserInfo.d.ts +10 -6
- package/dist/types/contracts/lockers/maturityVault/withdraw.d.ts +6 -1
- package/dist/types/contracts/pmBlender/_helpers.d.ts +12 -0
- package/dist/types/contracts/pmBlender/getReserveBalance.d.ts +9 -1
- package/dist/types/contracts/pmBlender/previewDeposit.d.ts +11 -1
- package/dist/types/contracts/pmBlender/previewSwap.d.ts +12 -1
- package/dist/types/contracts/pmBlender/previewWithdraw.d.ts +11 -1
- package/dist/types/contracts/pmMarket/getMarketConfig.d.ts +20 -11
- package/dist/types/contracts/pmTreasury/_helpers.d.ts +27 -0
- package/dist/types/contracts/pmTreasury/getCollateralRatio.d.ts +9 -1
- package/dist/types/contracts/pmTreasury/getCurrentNav.d.ts +18 -9
- package/dist/types/contracts/pmTreasury/getLeverageRatio.d.ts +9 -1
- package/dist/types/contracts/pmTreasury/getMaxMintablePMUSD.d.ts +17 -9
- package/dist/types/contracts/pmTreasury/getMaxMintablePMUSDWithoutBaseToken.d.ts +15 -5
- package/dist/types/contracts/pmTreasury/getMaxMintableXPM.d.ts +18 -8
- package/dist/types/contracts/pmTreasury/getMaxRedeemablePMUSD.d.ts +17 -7
- package/dist/types/contracts/pmTreasury/getMaxRedeemableXPM.d.ts +17 -7
- package/dist/types/contracts/pmTreasury/getTotalBaseToken.d.ts +9 -1
- package/dist/types/contracts/resolveName.d.ts +42 -0
- package/dist/types/contracts/tokens/RAAC/getBalance.d.ts +11 -1
- package/dist/types/contracts/tokens/RAAC/getTotalSupply.d.ts +7 -3
- package/dist/types/contracts/tokens/crvUSD/getBalance.d.ts +11 -1
- package/dist/types/contracts/tokens/crvUSD/getTotalSupply.d.ts +7 -3
- package/dist/types/contracts/tokens/leRAAC/approve.d.ts +10 -1
- package/dist/types/contracts/tokens/leRAAC/burn.d.ts +6 -1
- package/dist/types/contracts/tokens/leRAAC/burnFrom.d.ts +7 -1
- package/dist/types/contracts/tokens/leRAAC/getAllowance.d.ts +11 -1
- package/dist/types/contracts/tokens/leRAAC/getBalance.d.ts +10 -1
- package/dist/types/contracts/tokens/leRAAC/getMinterInfo.d.ts +14 -2
- package/dist/types/contracts/tokens/leRAAC/getTotalSupply.d.ts +9 -1
- package/dist/types/contracts/tokens/leRAAC/transfer.d.ts +10 -1
- package/dist/types/contracts/tokens/leRAAC/transferFrom.d.ts +11 -1
- package/dist/types/contracts/tokens/pmUSD/getBalance.d.ts +11 -1
- package/dist/types/contracts/tokens/pmUSD/getTotalSupply.d.ts +7 -3
- package/dist/types/contracts/tokens/rcrvUSD/getBalance.d.ts +11 -1
- package/dist/types/contracts/tokens/rcrvUSD/getTotalSupply.d.ts +8 -3
- package/dist/types/contracts/tokens/veRAAC/_helpers.d.ts +15 -0
- package/dist/types/contracts/tokens/veRAAC/distributeRewards.d.ts +2 -2
- package/dist/types/contracts/tokens/veRAAC/getBalance.d.ts +10 -1
- package/dist/types/contracts/tokens/veRAAC/getBalanceAt.d.ts +3 -2
- package/dist/types/contracts/tokens/veRAAC/getBalanceAtTime.d.ts +3 -2
- package/dist/types/contracts/tokens/veRAAC/getCheckpoint.d.ts +4 -2
- package/dist/types/contracts/tokens/veRAAC/getClaimable.d.ts +3 -2
- package/dist/types/contracts/tokens/veRAAC/getClaimed.d.ts +3 -2
- package/dist/types/contracts/tokens/veRAAC/getEarned.d.ts +3 -2
- package/dist/types/contracts/tokens/veRAAC/getGlobalLockInfo.d.ts +4 -2
- package/dist/types/contracts/tokens/veRAAC/getLockedBalance.d.ts +3 -2
- package/dist/types/contracts/tokens/veRAAC/getLocks.d.ts +5 -2
- package/dist/types/contracts/tokens/veRAAC/getMinLockAmount.d.ts +15 -0
- package/dist/types/contracts/tokens/veRAAC/getRagequitRequest.d.ts +10 -5
- package/dist/types/contracts/tokens/veRAAC/getRawBalanceOf.d.ts +3 -2
- package/dist/types/contracts/tokens/veRAAC/getRawTotalSupply.d.ts +3 -2
- package/dist/types/contracts/tokens/veRAAC/getTotalSupply.d.ts +7 -5
- package/dist/types/contracts/tokens/veRAAC/getTotalSupplyAt.d.ts +3 -2
- package/dist/types/contracts/tokens/veRAAC/getTotalSupplyAtTime.d.ts +3 -2
- package/dist/types/contracts/tokens/veRAAC/getUserPointHistory.d.ts +8 -4
- package/dist/types/contracts/tokens/veRAAC/increase.d.ts +2 -2
- package/dist/types/contracts/tokens/veRAAC/increaseWithApproval.d.ts +3 -3
- package/dist/types/contracts/tokens/veRAAC/index.d.ts +1 -1
- package/dist/types/contracts/tokens/veRAAC/lock.d.ts +2 -2
- package/dist/types/contracts/tokens/veRAAC/lockWithApproval.d.ts +3 -3
- package/dist/types/contracts/tokens/xPM/getBalance.d.ts +11 -1
- package/dist/types/contracts/tokens/xPM/getTotalSupply.d.ts +7 -3
- package/dist/types/contracts/zap/aladdin/zap.d.ts +9 -1
- package/dist/types/contracts/zap/aladdin/zapFrom.d.ts +9 -1
- package/dist/types/contracts/zap/aladdin/zapWithRoutes.d.ts +11 -2
- package/dist/types/contracts/zeno/createAuction.d.ts +13 -0
- package/dist/types/contracts/zeno/getAuctions.d.ts +38 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/methods/approveToken.d.ts +10 -1
- package/dist/types/methods/commons/checkAllowance.d.ts +11 -1
- package/dist/types/methods/getAssetBalance.d.ts +10 -1
- package/dist/types/minter/_helpers.d.ts +8 -0
- package/dist/types/minter/calculateScheduledMintableAmount.d.ts +3 -1
- package/dist/types/minter/get.d.ts +15 -9
- package/dist/types/minter/getApy.d.ts +12 -3
- package/dist/types/minter/getDistributionPools.d.ts +10 -2
- package/dist/types/minter/getEmissionPerSecond.d.ts +3 -1
- package/dist/types/minter/getPoolInfo.d.ts +10 -2
- package/dist/types/nfts/_helpers.d.ts +10 -0
- package/dist/types/nfts/getHousePrice.d.ts +9 -1
- package/dist/types/nfts/getMintFeePercentage.d.ts +6 -0
- package/dist/types/nfts/getMintPrice.d.ts +9 -4
- package/dist/types/nfts/mint.d.ts +10 -1
- package/dist/types/pools/lendingPool/_helpers.d.ts +28 -1
- package/dist/types/pools/lendingPool/adapters/erc20/getERC20AdapterBalance.d.ts +11 -1
- package/dist/types/pools/lendingPool/borrowFromLendingPool.d.ts +10 -1
- package/dist/types/pools/lendingPool/borrowFromLendingPoolWithInsurance.d.ts +10 -1
- package/dist/types/pools/lendingPool/calculateInsuranceFee.d.ts +12 -1
- package/dist/types/pools/lendingPool/depositToLendingPool.d.ts +9 -2
- package/dist/types/pools/lendingPool/getEligibleUserDeposits.d.ts +6 -5
- package/dist/types/pools/lendingPool/getHealthFactor.d.ts +8 -7
- package/dist/types/pools/lendingPool/getHousePrice.d.ts +9 -1
- package/dist/types/pools/lendingPool/getLendingPoolInfo.d.ts +48 -21
- package/dist/types/pools/lendingPool/getLendingPoolTotalLiquidity.d.ts +9 -1
- package/dist/types/pools/lendingPool/getParameters.d.ts +24 -5
- package/dist/types/pools/lendingPool/getPositionDebt.d.ts +8 -5
- package/dist/types/pools/lendingPool/getPositionScaledDebt.d.ts +8 -7
- package/dist/types/pools/lendingPool/getPositionView.d.ts +33 -18
- package/dist/types/pools/lendingPool/getPositionsScaledDebt.d.ts +6 -5
- package/dist/types/pools/lendingPool/getRawUserDepositsInLendingPool.d.ts +9 -1
- package/dist/types/pools/lendingPool/getUserCollateralValue.d.ts +6 -5
- package/dist/types/pools/lendingPool/openVaultPosition.d.ts +2 -2
- package/dist/types/pools/lendingPool/repayToLendingPool.d.ts +9 -0
- package/dist/types/pools/lendingPool/withdrawFromLendingPool.d.ts +9 -1
- package/dist/types/pools/liquidityPool/getLiquidityPoolInfo.d.ts +27 -2
- package/dist/types/pools/rwaVault/_helpers.d.ts +21 -1
- package/dist/types/pools/rwaVault/adapters/erc20/getERC20VaultAdapterAssetValue.d.ts +9 -1
- package/dist/types/pools/rwaVault/adapters/erc20/getERC20VaultAdapterTotalValue.d.ts +8 -1
- package/dist/types/pools/rwaVault/adapters/erc721/getERC721VaultAdapterAssetValue.d.ts +9 -1
- package/dist/types/pools/rwaVault/adapters/erc721/getERC721VaultAdapterTotalValue.d.ts +8 -1
- package/dist/types/pools/rwaVault/depositToRWAVault.d.ts +12 -2
- package/dist/types/pools/rwaVault/getRWAVaultInfo.d.ts +16 -4
- package/dist/types/pools/rwaVault/previewDeposit.d.ts +9 -1
- package/dist/types/pools/rwaVault/previewWithdraw.d.ts +9 -1
- package/dist/types/pools/rwaVault/redeemNFTFromRWAVault.d.ts +11 -2
- package/dist/types/pools/stabilityPool/depositToStabilityPool.d.ts +9 -2
- package/dist/types/pools/stabilityPool/getRawUserDepositsInStabilityPool.d.ts +9 -1
- package/dist/types/pools/stabilityPool/getStabilityPoolInfo.d.ts +15 -4
- package/dist/types/pools/stabilityPool/getStabilityPoolTotalDeposits.d.ts +8 -1
- package/dist/types/pools/stabilityPool/getWithdrawRequestInfo.d.ts +19 -6
- package/dist/types/pools/stabilityPool/requestWithdraw.d.ts +9 -2
- package/dist/types/pools/stabilityPool/withdrawFromStabilityPool.d.ts +9 -2
- package/dist/types/prices/getPrices.d.ts +12 -5
- package/dist/types/typechain-types/contracts/core/governance/gauges/BaseGauge.d.ts +176 -105
- package/dist/types/typechain-types/contracts/core/governance/gauges/GaugeController.d.ts +260 -213
- package/dist/types/typechain-types/contracts/core/governance/gauges/GaugeRewardsDistributor.d.ts +173 -212
- package/dist/types/typechain-types/contracts/core/governance/gauges/RAACGauge.d.ts +176 -105
- package/dist/types/typechain-types/contracts/core/governance/gauges/RWAGauge.d.ts +176 -105
- package/dist/types/typechain-types/contracts/core/governance/proposals/Governance.d.ts +202 -82
- package/dist/types/typechain-types/contracts/core/governance/proposals/TimelockController.d.ts +8 -8
- package/dist/types/typechain-types/contracts/core/lockers/RAACLiquidLocker.d.ts +89 -37
- package/dist/types/typechain-types/contracts/interfaces/core/governance/gauges/IBaseGauge.d.ts +111 -108
- package/dist/types/typechain-types/contracts/interfaces/core/governance/gauges/IGaugeController.d.ts +210 -34
- package/dist/types/typechain-types/contracts/interfaces/core/governance/gauges/IGaugeRewardsDistributor.d.ts +112 -151
- package/dist/types/typechain-types/contracts/interfaces/core/governance/proposals/IGovernance.d.ts +36 -51
- package/dist/types/typechain-types/contracts/interfaces/core/governance/proposals/ITimelockController.d.ts +8 -8
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/BaseGauge__factory.d.ts +174 -95
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/GaugeController__factory.d.ts +243 -227
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/GaugeRewardsDistributor__factory.d.ts +164 -232
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/RAACGauge__factory.d.ts +185 -98
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/RWAGauge__factory.d.ts +185 -98
- package/dist/types/typechain-types/factories/contracts/core/governance/proposals/Governance__factory.d.ts +288 -81
- package/dist/types/typechain-types/factories/contracts/core/governance/proposals/TimelockController__factory.d.ts +11 -15
- package/dist/types/typechain-types/factories/contracts/core/lockers/RAACLiquidLocker__factory.d.ts +101 -30
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/gauges/IBaseGauge__factory.d.ts +104 -95
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/gauges/IGaugeController__factory.d.ts +241 -22
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/gauges/IGaugeRewardsDistributor__factory.d.ts +72 -158
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/proposals/IGovernance__factory.d.ts +70 -40
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/proposals/ITimelockController__factory.d.ts +8 -4
- package/dist/types/utils/amount.d.ts +101 -0
- package/dist/types/utils/artifacts.d.ts +40 -0
- package/dist/types/utils/contracts.d.ts +52 -64
- package/dist/types/wallet/assets/approveAsset.d.ts +10 -1
- package/dist/types/wallet/assets/burnAsset.d.ts +8 -0
- package/dist/types/wallet/assets/getAllowance.d.ts +12 -1
- package/dist/types/wallet/assets/getAsset.d.ts +13 -1
- package/dist/types/wallet/assets/getAssets.d.ts +11 -1
- package/dist/types/wallet/assets/getBalance.d.ts +11 -5
- package/dist/types/wallet/assets/mintAsset.d.ts +9 -0
- package/dist/types/wallet/assets/transferAsset.d.ts +10 -0
- package/dist/utils/amount.js +131 -0
- package/dist/utils/contracts.js +6 -1
- package/dist/wallet/assets/approveAsset.js +10 -4
- package/dist/wallet/assets/burnAsset.js +9 -2
- package/dist/wallet/assets/getAllowance.js +14 -5
- package/dist/wallet/assets/getAsset.js +16 -9
- package/dist/wallet/assets/getAssets.js +17 -16
- package/dist/wallet/assets/getBalance.js +16 -20
- package/dist/wallet/assets/mintAsset.js +10 -1
- package/dist/wallet/assets/transferAsset.js +12 -3
- package/package.json +2 -2
- package/dist/contracts/governance/distributor/getStartEpoch.js +0 -28
- package/dist/contracts/governance/distributor/withdrawUnallocatedRewards.js +0 -26
- package/dist/contracts/governance/gauge/setDistributorApproval.js +0 -35
- package/dist/types/contracts/governance/distributor/getStartEpoch.d.ts +0 -10
- package/dist/types/contracts/governance/distributor/withdrawUnallocatedRewards.d.ts +0 -12
- package/dist/types/contracts/governance/gauge/setDistributorApproval.d.ts +0 -11
- package/dist/types/contracts/governance/proposals/getProposalData.d.ts +0 -18
- package/dist/types/contracts/tokens/veRAAC/getEffectiveLockEnd.d.ts +0 -11
|
@@ -4,100 +4,113 @@ export declare namespace IGovernance {
|
|
|
4
4
|
type ProposalCoreStruct = {
|
|
5
5
|
id: BigNumberish;
|
|
6
6
|
proposer: AddressLike;
|
|
7
|
-
proposalType: BigNumberish;
|
|
8
7
|
startTime: BigNumberish;
|
|
9
8
|
endTime: BigNumberish;
|
|
10
9
|
executed: boolean;
|
|
11
10
|
canceled: boolean;
|
|
11
|
+
timelock: AddressLike;
|
|
12
12
|
descriptionHash: BytesLike;
|
|
13
13
|
targets: AddressLike[];
|
|
14
14
|
values: BigNumberish[];
|
|
15
15
|
calldatas: BytesLike[];
|
|
16
|
+
snapshotBlock: BigNumberish;
|
|
17
|
+
quorumNumerator: BigNumberish;
|
|
18
|
+
totalVotingPowerAtSnapshot: BigNumberish;
|
|
16
19
|
};
|
|
17
20
|
type ProposalCoreStructOutput = [
|
|
18
21
|
id: bigint,
|
|
19
22
|
proposer: string,
|
|
20
|
-
proposalType: bigint,
|
|
21
23
|
startTime: bigint,
|
|
22
24
|
endTime: bigint,
|
|
23
25
|
executed: boolean,
|
|
24
26
|
canceled: boolean,
|
|
27
|
+
timelock: string,
|
|
25
28
|
descriptionHash: string,
|
|
26
29
|
targets: string[],
|
|
27
30
|
values: bigint[],
|
|
28
|
-
calldatas: string[]
|
|
31
|
+
calldatas: string[],
|
|
32
|
+
snapshotBlock: bigint,
|
|
33
|
+
quorumNumerator: bigint,
|
|
34
|
+
totalVotingPowerAtSnapshot: bigint
|
|
29
35
|
] & {
|
|
30
36
|
id: bigint;
|
|
31
37
|
proposer: string;
|
|
32
|
-
proposalType: bigint;
|
|
33
38
|
startTime: bigint;
|
|
34
39
|
endTime: bigint;
|
|
35
40
|
executed: boolean;
|
|
36
41
|
canceled: boolean;
|
|
42
|
+
timelock: string;
|
|
37
43
|
descriptionHash: string;
|
|
38
44
|
targets: string[];
|
|
39
45
|
values: bigint[];
|
|
40
46
|
calldatas: string[];
|
|
47
|
+
snapshotBlock: bigint;
|
|
48
|
+
quorumNumerator: bigint;
|
|
49
|
+
totalVotingPowerAtSnapshot: bigint;
|
|
41
50
|
};
|
|
42
51
|
}
|
|
43
52
|
export interface GovernanceInterface extends Interface {
|
|
44
|
-
getFunction(nameOrSignature: "QUORUM_DENOMINATOR" | "cancel" | "castVote" | "execute" | "getProposal" | "getProposalCount" | "
|
|
45
|
-
getEvent(nameOrSignatureOrTopic: "
|
|
53
|
+
getFunction(nameOrSignature: "CANCELLATION_ROLE" | "DEFAULT_ADMIN_ROLE" | "PARAMETER_UPDATE_ROLE" | "QUORUM_DENOMINATOR" | "cancel" | "castVote" | "execute" | "getProposal" | "getProposalCount" | "getProposalInfo" | "getRoleAdmin" | "getVotes" | "grantRole" | "hasRole" | "hasVoted" | "label" | "proposalEta" | "proposalThreshold" | "propose" | "quorum" | "quorumNumerator" | "renounceRole" | "revokeRole" | "setParameter" | "setTimelock" | "state" | "supportsInterface" | "votingDelay" | "votingPeriod"): FunctionFragment;
|
|
54
|
+
getEvent(nameOrSignatureOrTopic: "ProposalCanceled" | "ProposalCreated" | "ProposalExecuted" | "ProposalQueued" | "ProposalThresholdSet" | "QuorumNumeratorSet" | "QuorumReached" | "RoleAdminChanged" | "RoleGranted" | "RoleRevoked" | "TimelockSet" | "VoteCast" | "VotingDelaySet" | "VotingPeriodSet"): EventFragment;
|
|
55
|
+
encodeFunctionData(functionFragment: "CANCELLATION_ROLE", values?: undefined): string;
|
|
56
|
+
encodeFunctionData(functionFragment: "DEFAULT_ADMIN_ROLE", values?: undefined): string;
|
|
57
|
+
encodeFunctionData(functionFragment: "PARAMETER_UPDATE_ROLE", values?: undefined): string;
|
|
46
58
|
encodeFunctionData(functionFragment: "QUORUM_DENOMINATOR", values?: undefined): string;
|
|
47
59
|
encodeFunctionData(functionFragment: "cancel", values: [BigNumberish]): string;
|
|
48
60
|
encodeFunctionData(functionFragment: "castVote", values: [BigNumberish, boolean]): string;
|
|
49
61
|
encodeFunctionData(functionFragment: "execute", values: [BigNumberish]): string;
|
|
50
62
|
encodeFunctionData(functionFragment: "getProposal", values: [BigNumberish]): string;
|
|
51
63
|
encodeFunctionData(functionFragment: "getProposalCount", values?: undefined): string;
|
|
52
|
-
encodeFunctionData(functionFragment: "getProposalData", values: [BigNumberish]): string;
|
|
53
64
|
encodeFunctionData(functionFragment: "getProposalInfo", values: [BigNumberish]): string;
|
|
65
|
+
encodeFunctionData(functionFragment: "getRoleAdmin", values: [BytesLike]): string;
|
|
54
66
|
encodeFunctionData(functionFragment: "getVotes", values: [BigNumberish]): string;
|
|
55
|
-
encodeFunctionData(functionFragment: "
|
|
67
|
+
encodeFunctionData(functionFragment: "grantRole", values: [BytesLike, AddressLike]): string;
|
|
68
|
+
encodeFunctionData(functionFragment: "hasRole", values: [BytesLike, AddressLike]): string;
|
|
69
|
+
encodeFunctionData(functionFragment: "hasVoted", values: [BigNumberish, AddressLike]): string;
|
|
70
|
+
encodeFunctionData(functionFragment: "label", values?: undefined): string;
|
|
71
|
+
encodeFunctionData(functionFragment: "proposalEta", values: [BigNumberish]): string;
|
|
56
72
|
encodeFunctionData(functionFragment: "proposalThreshold", values?: undefined): string;
|
|
57
|
-
encodeFunctionData(functionFragment: "propose", values: [AddressLike[], BigNumberish[], BytesLike[], string
|
|
58
|
-
encodeFunctionData(functionFragment: "quorum", values
|
|
73
|
+
encodeFunctionData(functionFragment: "propose", values: [AddressLike[], BigNumberish[], BytesLike[], string]): string;
|
|
74
|
+
encodeFunctionData(functionFragment: "quorum", values: [BigNumberish]): string;
|
|
59
75
|
encodeFunctionData(functionFragment: "quorumNumerator", values?: undefined): string;
|
|
60
|
-
encodeFunctionData(functionFragment: "
|
|
76
|
+
encodeFunctionData(functionFragment: "renounceRole", values: [BytesLike, AddressLike]): string;
|
|
77
|
+
encodeFunctionData(functionFragment: "revokeRole", values: [BytesLike, AddressLike]): string;
|
|
61
78
|
encodeFunctionData(functionFragment: "setParameter", values: [BigNumberish, BigNumberish]): string;
|
|
62
79
|
encodeFunctionData(functionFragment: "setTimelock", values: [AddressLike]): string;
|
|
63
80
|
encodeFunctionData(functionFragment: "state", values: [BigNumberish]): string;
|
|
64
|
-
encodeFunctionData(functionFragment: "
|
|
81
|
+
encodeFunctionData(functionFragment: "supportsInterface", values: [BytesLike]): string;
|
|
65
82
|
encodeFunctionData(functionFragment: "votingDelay", values?: undefined): string;
|
|
66
83
|
encodeFunctionData(functionFragment: "votingPeriod", values?: undefined): string;
|
|
84
|
+
decodeFunctionResult(functionFragment: "CANCELLATION_ROLE", data: BytesLike): Result;
|
|
85
|
+
decodeFunctionResult(functionFragment: "DEFAULT_ADMIN_ROLE", data: BytesLike): Result;
|
|
86
|
+
decodeFunctionResult(functionFragment: "PARAMETER_UPDATE_ROLE", data: BytesLike): Result;
|
|
67
87
|
decodeFunctionResult(functionFragment: "QUORUM_DENOMINATOR", data: BytesLike): Result;
|
|
68
88
|
decodeFunctionResult(functionFragment: "cancel", data: BytesLike): Result;
|
|
69
89
|
decodeFunctionResult(functionFragment: "castVote", data: BytesLike): Result;
|
|
70
90
|
decodeFunctionResult(functionFragment: "execute", data: BytesLike): Result;
|
|
71
91
|
decodeFunctionResult(functionFragment: "getProposal", data: BytesLike): Result;
|
|
72
92
|
decodeFunctionResult(functionFragment: "getProposalCount", data: BytesLike): Result;
|
|
73
|
-
decodeFunctionResult(functionFragment: "getProposalData", data: BytesLike): Result;
|
|
74
93
|
decodeFunctionResult(functionFragment: "getProposalInfo", data: BytesLike): Result;
|
|
94
|
+
decodeFunctionResult(functionFragment: "getRoleAdmin", data: BytesLike): Result;
|
|
75
95
|
decodeFunctionResult(functionFragment: "getVotes", data: BytesLike): Result;
|
|
76
|
-
decodeFunctionResult(functionFragment: "
|
|
96
|
+
decodeFunctionResult(functionFragment: "grantRole", data: BytesLike): Result;
|
|
97
|
+
decodeFunctionResult(functionFragment: "hasRole", data: BytesLike): Result;
|
|
98
|
+
decodeFunctionResult(functionFragment: "hasVoted", data: BytesLike): Result;
|
|
99
|
+
decodeFunctionResult(functionFragment: "label", data: BytesLike): Result;
|
|
100
|
+
decodeFunctionResult(functionFragment: "proposalEta", data: BytesLike): Result;
|
|
77
101
|
decodeFunctionResult(functionFragment: "proposalThreshold", data: BytesLike): Result;
|
|
78
102
|
decodeFunctionResult(functionFragment: "propose", data: BytesLike): Result;
|
|
79
103
|
decodeFunctionResult(functionFragment: "quorum", data: BytesLike): Result;
|
|
80
104
|
decodeFunctionResult(functionFragment: "quorumNumerator", data: BytesLike): Result;
|
|
81
|
-
decodeFunctionResult(functionFragment: "
|
|
105
|
+
decodeFunctionResult(functionFragment: "renounceRole", data: BytesLike): Result;
|
|
106
|
+
decodeFunctionResult(functionFragment: "revokeRole", data: BytesLike): Result;
|
|
82
107
|
decodeFunctionResult(functionFragment: "setParameter", data: BytesLike): Result;
|
|
83
108
|
decodeFunctionResult(functionFragment: "setTimelock", data: BytesLike): Result;
|
|
84
109
|
decodeFunctionResult(functionFragment: "state", data: BytesLike): Result;
|
|
85
|
-
decodeFunctionResult(functionFragment: "
|
|
110
|
+
decodeFunctionResult(functionFragment: "supportsInterface", data: BytesLike): Result;
|
|
86
111
|
decodeFunctionResult(functionFragment: "votingDelay", data: BytesLike): Result;
|
|
87
112
|
decodeFunctionResult(functionFragment: "votingPeriod", data: BytesLike): Result;
|
|
88
113
|
}
|
|
89
|
-
export declare namespace OwnershipTransferredEvent {
|
|
90
|
-
type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike];
|
|
91
|
-
type OutputTuple = [previousOwner: string, newOwner: string];
|
|
92
|
-
interface OutputObject {
|
|
93
|
-
previousOwner: string;
|
|
94
|
-
newOwner: string;
|
|
95
|
-
}
|
|
96
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
97
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
98
|
-
type Log = TypedEventLog<Event>;
|
|
99
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
100
|
-
}
|
|
101
114
|
export declare namespace ProposalCanceledEvent {
|
|
102
115
|
type InputTuple = [
|
|
103
116
|
proposalId: BigNumberish,
|
|
@@ -127,10 +140,12 @@ export declare namespace ProposalCreatedEvent {
|
|
|
127
140
|
values: BigNumberish[],
|
|
128
141
|
calldatas: BytesLike[],
|
|
129
142
|
description: string,
|
|
130
|
-
proposalType: BigNumberish,
|
|
131
143
|
startTime: BigNumberish,
|
|
132
144
|
endTime: BigNumberish,
|
|
133
|
-
proposerVotingPower: BigNumberish
|
|
145
|
+
proposerVotingPower: BigNumberish,
|
|
146
|
+
snapshotBlock: BigNumberish,
|
|
147
|
+
totalVotingPowerAtSnapshot: BigNumberish,
|
|
148
|
+
quorumNumerator: BigNumberish
|
|
134
149
|
];
|
|
135
150
|
type OutputTuple = [
|
|
136
151
|
proposalId: bigint,
|
|
@@ -139,10 +154,12 @@ export declare namespace ProposalCreatedEvent {
|
|
|
139
154
|
values: bigint[],
|
|
140
155
|
calldatas: string[],
|
|
141
156
|
description: string,
|
|
142
|
-
proposalType: bigint,
|
|
143
157
|
startTime: bigint,
|
|
144
158
|
endTime: bigint,
|
|
145
|
-
proposerVotingPower: bigint
|
|
159
|
+
proposerVotingPower: bigint,
|
|
160
|
+
snapshotBlock: bigint,
|
|
161
|
+
totalVotingPowerAtSnapshot: bigint,
|
|
162
|
+
quorumNumerator: bigint
|
|
146
163
|
];
|
|
147
164
|
interface OutputObject {
|
|
148
165
|
proposalId: bigint;
|
|
@@ -151,10 +168,12 @@ export declare namespace ProposalCreatedEvent {
|
|
|
151
168
|
values: bigint[];
|
|
152
169
|
calldatas: string[];
|
|
153
170
|
description: string;
|
|
154
|
-
proposalType: bigint;
|
|
155
171
|
startTime: bigint;
|
|
156
172
|
endTime: bigint;
|
|
157
173
|
proposerVotingPower: bigint;
|
|
174
|
+
snapshotBlock: bigint;
|
|
175
|
+
totalVotingPowerAtSnapshot: bigint;
|
|
176
|
+
quorumNumerator: bigint;
|
|
158
177
|
}
|
|
159
178
|
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
160
179
|
type Filter = TypedDeferredTopicFilter<Event>;
|
|
@@ -257,6 +276,61 @@ export declare namespace QuorumReachedEvent {
|
|
|
257
276
|
type Log = TypedEventLog<Event>;
|
|
258
277
|
type LogDescription = TypedLogDescription<Event>;
|
|
259
278
|
}
|
|
279
|
+
export declare namespace RoleAdminChangedEvent {
|
|
280
|
+
type InputTuple = [
|
|
281
|
+
role: BytesLike,
|
|
282
|
+
previousAdminRole: BytesLike,
|
|
283
|
+
newAdminRole: BytesLike
|
|
284
|
+
];
|
|
285
|
+
type OutputTuple = [
|
|
286
|
+
role: string,
|
|
287
|
+
previousAdminRole: string,
|
|
288
|
+
newAdminRole: string
|
|
289
|
+
];
|
|
290
|
+
interface OutputObject {
|
|
291
|
+
role: string;
|
|
292
|
+
previousAdminRole: string;
|
|
293
|
+
newAdminRole: string;
|
|
294
|
+
}
|
|
295
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
296
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
297
|
+
type Log = TypedEventLog<Event>;
|
|
298
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
299
|
+
}
|
|
300
|
+
export declare namespace RoleGrantedEvent {
|
|
301
|
+
type InputTuple = [
|
|
302
|
+
role: BytesLike,
|
|
303
|
+
account: AddressLike,
|
|
304
|
+
sender: AddressLike
|
|
305
|
+
];
|
|
306
|
+
type OutputTuple = [role: string, account: string, sender: string];
|
|
307
|
+
interface OutputObject {
|
|
308
|
+
role: string;
|
|
309
|
+
account: string;
|
|
310
|
+
sender: string;
|
|
311
|
+
}
|
|
312
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
313
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
314
|
+
type Log = TypedEventLog<Event>;
|
|
315
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
316
|
+
}
|
|
317
|
+
export declare namespace RoleRevokedEvent {
|
|
318
|
+
type InputTuple = [
|
|
319
|
+
role: BytesLike,
|
|
320
|
+
account: AddressLike,
|
|
321
|
+
sender: AddressLike
|
|
322
|
+
];
|
|
323
|
+
type OutputTuple = [role: string, account: string, sender: string];
|
|
324
|
+
interface OutputObject {
|
|
325
|
+
role: string;
|
|
326
|
+
account: string;
|
|
327
|
+
sender: string;
|
|
328
|
+
}
|
|
329
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
330
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
331
|
+
type Log = TypedEventLog<Event>;
|
|
332
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
333
|
+
}
|
|
260
334
|
export declare namespace TimelockSetEvent {
|
|
261
335
|
type InputTuple = [
|
|
262
336
|
oldTimelock: AddressLike,
|
|
@@ -360,6 +434,9 @@ export interface Governance extends BaseContract {
|
|
|
360
434
|
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
361
435
|
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
362
436
|
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
437
|
+
CANCELLATION_ROLE: TypedContractMethod<[], [string], "view">;
|
|
438
|
+
DEFAULT_ADMIN_ROLE: TypedContractMethod<[], [string], "view">;
|
|
439
|
+
PARAMETER_UPDATE_ROLE: TypedContractMethod<[], [string], "view">;
|
|
363
440
|
QUORUM_DENOMINATOR: TypedContractMethod<[], [bigint], "view">;
|
|
364
441
|
cancel: TypedContractMethod<[proposalId: BigNumberish], [void], "nonpayable">;
|
|
365
442
|
castVote: TypedContractMethod<[
|
|
@@ -375,21 +452,6 @@ export interface Governance extends BaseContract {
|
|
|
375
452
|
IGovernance.ProposalCoreStructOutput
|
|
376
453
|
], "view">;
|
|
377
454
|
getProposalCount: TypedContractMethod<[], [bigint], "view">;
|
|
378
|
-
getProposalData: TypedContractMethod<[
|
|
379
|
-
proposalId: BigNumberish
|
|
380
|
-
], [
|
|
381
|
-
[
|
|
382
|
-
string[],
|
|
383
|
-
bigint[],
|
|
384
|
-
string[],
|
|
385
|
-
string
|
|
386
|
-
] & {
|
|
387
|
-
targets: string[];
|
|
388
|
-
values: bigint[];
|
|
389
|
-
calldatas: string[];
|
|
390
|
-
description: string;
|
|
391
|
-
}
|
|
392
|
-
], "view">;
|
|
393
455
|
getProposalInfo: TypedContractMethod<[
|
|
394
456
|
proposalId: BigNumberish
|
|
395
457
|
], [
|
|
@@ -417,6 +479,7 @@ export interface Governance extends BaseContract {
|
|
|
417
479
|
isCanceled: boolean;
|
|
418
480
|
}
|
|
419
481
|
], "view">;
|
|
482
|
+
getRoleAdmin: TypedContractMethod<[role: BytesLike], [string], "view">;
|
|
420
483
|
getVotes: TypedContractMethod<[
|
|
421
484
|
proposalId: BigNumberish
|
|
422
485
|
], [
|
|
@@ -425,20 +488,53 @@ export interface Governance extends BaseContract {
|
|
|
425
488
|
againstVotes: bigint;
|
|
426
489
|
}
|
|
427
490
|
], "view">;
|
|
428
|
-
|
|
491
|
+
grantRole: TypedContractMethod<[
|
|
492
|
+
role: BytesLike,
|
|
493
|
+
account: AddressLike
|
|
494
|
+
], [
|
|
495
|
+
void
|
|
496
|
+
], "nonpayable">;
|
|
497
|
+
hasRole: TypedContractMethod<[
|
|
498
|
+
role: BytesLike,
|
|
499
|
+
account: AddressLike
|
|
500
|
+
], [
|
|
501
|
+
boolean
|
|
502
|
+
], "view">;
|
|
503
|
+
hasVoted: TypedContractMethod<[
|
|
504
|
+
proposalId: BigNumberish,
|
|
505
|
+
account: AddressLike
|
|
506
|
+
], [
|
|
507
|
+
boolean
|
|
508
|
+
], "view">;
|
|
509
|
+
label: TypedContractMethod<[], [string], "view">;
|
|
510
|
+
proposalEta: TypedContractMethod<[
|
|
511
|
+
proposalId: BigNumberish
|
|
512
|
+
], [
|
|
513
|
+
bigint
|
|
514
|
+
], "view">;
|
|
429
515
|
proposalThreshold: TypedContractMethod<[], [bigint], "view">;
|
|
430
516
|
propose: TypedContractMethod<[
|
|
431
517
|
targets: AddressLike[],
|
|
432
518
|
values: BigNumberish[],
|
|
433
519
|
calldatas: BytesLike[],
|
|
434
|
-
description: string
|
|
435
|
-
proposalType: BigNumberish
|
|
520
|
+
description: string
|
|
436
521
|
], [
|
|
437
522
|
bigint
|
|
438
523
|
], "nonpayable">;
|
|
439
|
-
quorum: TypedContractMethod<[], [bigint], "view">;
|
|
524
|
+
quorum: TypedContractMethod<[proposalId: BigNumberish], [bigint], "view">;
|
|
440
525
|
quorumNumerator: TypedContractMethod<[], [bigint], "view">;
|
|
441
|
-
|
|
526
|
+
renounceRole: TypedContractMethod<[
|
|
527
|
+
role: BytesLike,
|
|
528
|
+
callerConfirmation: AddressLike
|
|
529
|
+
], [
|
|
530
|
+
void
|
|
531
|
+
], "nonpayable">;
|
|
532
|
+
revokeRole: TypedContractMethod<[
|
|
533
|
+
role: BytesLike,
|
|
534
|
+
account: AddressLike
|
|
535
|
+
], [
|
|
536
|
+
void
|
|
537
|
+
], "nonpayable">;
|
|
442
538
|
setParameter: TypedContractMethod<[
|
|
443
539
|
param: BigNumberish,
|
|
444
540
|
newValue: BigNumberish
|
|
@@ -451,14 +547,17 @@ export interface Governance extends BaseContract {
|
|
|
451
547
|
void
|
|
452
548
|
], "nonpayable">;
|
|
453
549
|
state: TypedContractMethod<[proposalId: BigNumberish], [bigint], "view">;
|
|
454
|
-
|
|
455
|
-
|
|
550
|
+
supportsInterface: TypedContractMethod<[
|
|
551
|
+
interfaceId: BytesLike
|
|
456
552
|
], [
|
|
457
|
-
|
|
458
|
-
], "
|
|
553
|
+
boolean
|
|
554
|
+
], "view">;
|
|
459
555
|
votingDelay: TypedContractMethod<[], [bigint], "view">;
|
|
460
556
|
votingPeriod: TypedContractMethod<[], [bigint], "view">;
|
|
461
557
|
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
558
|
+
getFunction(nameOrSignature: "CANCELLATION_ROLE"): TypedContractMethod<[], [string], "view">;
|
|
559
|
+
getFunction(nameOrSignature: "DEFAULT_ADMIN_ROLE"): TypedContractMethod<[], [string], "view">;
|
|
560
|
+
getFunction(nameOrSignature: "PARAMETER_UPDATE_ROLE"): TypedContractMethod<[], [string], "view">;
|
|
462
561
|
getFunction(nameOrSignature: "QUORUM_DENOMINATOR"): TypedContractMethod<[], [bigint], "view">;
|
|
463
562
|
getFunction(nameOrSignature: "cancel"): TypedContractMethod<[proposalId: BigNumberish], [void], "nonpayable">;
|
|
464
563
|
getFunction(nameOrSignature: "castVote"): TypedContractMethod<[
|
|
@@ -474,21 +573,6 @@ export interface Governance extends BaseContract {
|
|
|
474
573
|
IGovernance.ProposalCoreStructOutput
|
|
475
574
|
], "view">;
|
|
476
575
|
getFunction(nameOrSignature: "getProposalCount"): TypedContractMethod<[], [bigint], "view">;
|
|
477
|
-
getFunction(nameOrSignature: "getProposalData"): TypedContractMethod<[
|
|
478
|
-
proposalId: BigNumberish
|
|
479
|
-
], [
|
|
480
|
-
[
|
|
481
|
-
string[],
|
|
482
|
-
bigint[],
|
|
483
|
-
string[],
|
|
484
|
-
string
|
|
485
|
-
] & {
|
|
486
|
-
targets: string[];
|
|
487
|
-
values: bigint[];
|
|
488
|
-
calldatas: string[];
|
|
489
|
-
description: string;
|
|
490
|
-
}
|
|
491
|
-
], "view">;
|
|
492
576
|
getFunction(nameOrSignature: "getProposalInfo"): TypedContractMethod<[
|
|
493
577
|
proposalId: BigNumberish
|
|
494
578
|
], [
|
|
@@ -516,6 +600,7 @@ export interface Governance extends BaseContract {
|
|
|
516
600
|
isCanceled: boolean;
|
|
517
601
|
}
|
|
518
602
|
], "view">;
|
|
603
|
+
getFunction(nameOrSignature: "getRoleAdmin"): TypedContractMethod<[role: BytesLike], [string], "view">;
|
|
519
604
|
getFunction(nameOrSignature: "getVotes"): TypedContractMethod<[
|
|
520
605
|
proposalId: BigNumberish
|
|
521
606
|
], [
|
|
@@ -524,20 +609,49 @@ export interface Governance extends BaseContract {
|
|
|
524
609
|
againstVotes: bigint;
|
|
525
610
|
}
|
|
526
611
|
], "view">;
|
|
527
|
-
getFunction(nameOrSignature: "
|
|
612
|
+
getFunction(nameOrSignature: "grantRole"): TypedContractMethod<[
|
|
613
|
+
role: BytesLike,
|
|
614
|
+
account: AddressLike
|
|
615
|
+
], [
|
|
616
|
+
void
|
|
617
|
+
], "nonpayable">;
|
|
618
|
+
getFunction(nameOrSignature: "hasRole"): TypedContractMethod<[
|
|
619
|
+
role: BytesLike,
|
|
620
|
+
account: AddressLike
|
|
621
|
+
], [
|
|
622
|
+
boolean
|
|
623
|
+
], "view">;
|
|
624
|
+
getFunction(nameOrSignature: "hasVoted"): TypedContractMethod<[
|
|
625
|
+
proposalId: BigNumberish,
|
|
626
|
+
account: AddressLike
|
|
627
|
+
], [
|
|
628
|
+
boolean
|
|
629
|
+
], "view">;
|
|
630
|
+
getFunction(nameOrSignature: "label"): TypedContractMethod<[], [string], "view">;
|
|
631
|
+
getFunction(nameOrSignature: "proposalEta"): TypedContractMethod<[proposalId: BigNumberish], [bigint], "view">;
|
|
528
632
|
getFunction(nameOrSignature: "proposalThreshold"): TypedContractMethod<[], [bigint], "view">;
|
|
529
633
|
getFunction(nameOrSignature: "propose"): TypedContractMethod<[
|
|
530
634
|
targets: AddressLike[],
|
|
531
635
|
values: BigNumberish[],
|
|
532
636
|
calldatas: BytesLike[],
|
|
533
|
-
description: string
|
|
534
|
-
proposalType: BigNumberish
|
|
637
|
+
description: string
|
|
535
638
|
], [
|
|
536
639
|
bigint
|
|
537
640
|
], "nonpayable">;
|
|
538
|
-
getFunction(nameOrSignature: "quorum"): TypedContractMethod<[], [bigint], "view">;
|
|
641
|
+
getFunction(nameOrSignature: "quorum"): TypedContractMethod<[proposalId: BigNumberish], [bigint], "view">;
|
|
539
642
|
getFunction(nameOrSignature: "quorumNumerator"): TypedContractMethod<[], [bigint], "view">;
|
|
540
|
-
getFunction(nameOrSignature: "
|
|
643
|
+
getFunction(nameOrSignature: "renounceRole"): TypedContractMethod<[
|
|
644
|
+
role: BytesLike,
|
|
645
|
+
callerConfirmation: AddressLike
|
|
646
|
+
], [
|
|
647
|
+
void
|
|
648
|
+
], "nonpayable">;
|
|
649
|
+
getFunction(nameOrSignature: "revokeRole"): TypedContractMethod<[
|
|
650
|
+
role: BytesLike,
|
|
651
|
+
account: AddressLike
|
|
652
|
+
], [
|
|
653
|
+
void
|
|
654
|
+
], "nonpayable">;
|
|
541
655
|
getFunction(nameOrSignature: "setParameter"): TypedContractMethod<[
|
|
542
656
|
param: BigNumberish,
|
|
543
657
|
newValue: BigNumberish
|
|
@@ -546,10 +660,9 @@ export interface Governance extends BaseContract {
|
|
|
546
660
|
], "nonpayable">;
|
|
547
661
|
getFunction(nameOrSignature: "setTimelock"): TypedContractMethod<[newTimelock: AddressLike], [void], "nonpayable">;
|
|
548
662
|
getFunction(nameOrSignature: "state"): TypedContractMethod<[proposalId: BigNumberish], [bigint], "view">;
|
|
549
|
-
getFunction(nameOrSignature: "
|
|
663
|
+
getFunction(nameOrSignature: "supportsInterface"): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">;
|
|
550
664
|
getFunction(nameOrSignature: "votingDelay"): TypedContractMethod<[], [bigint], "view">;
|
|
551
665
|
getFunction(nameOrSignature: "votingPeriod"): TypedContractMethod<[], [bigint], "view">;
|
|
552
|
-
getEvent(key: "OwnershipTransferred"): TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
|
|
553
666
|
getEvent(key: "ProposalCanceled"): TypedContractEvent<ProposalCanceledEvent.InputTuple, ProposalCanceledEvent.OutputTuple, ProposalCanceledEvent.OutputObject>;
|
|
554
667
|
getEvent(key: "ProposalCreated"): TypedContractEvent<ProposalCreatedEvent.InputTuple, ProposalCreatedEvent.OutputTuple, ProposalCreatedEvent.OutputObject>;
|
|
555
668
|
getEvent(key: "ProposalExecuted"): TypedContractEvent<ProposalExecutedEvent.InputTuple, ProposalExecutedEvent.OutputTuple, ProposalExecutedEvent.OutputObject>;
|
|
@@ -557,16 +670,17 @@ export interface Governance extends BaseContract {
|
|
|
557
670
|
getEvent(key: "ProposalThresholdSet"): TypedContractEvent<ProposalThresholdSetEvent.InputTuple, ProposalThresholdSetEvent.OutputTuple, ProposalThresholdSetEvent.OutputObject>;
|
|
558
671
|
getEvent(key: "QuorumNumeratorSet"): TypedContractEvent<QuorumNumeratorSetEvent.InputTuple, QuorumNumeratorSetEvent.OutputTuple, QuorumNumeratorSetEvent.OutputObject>;
|
|
559
672
|
getEvent(key: "QuorumReached"): TypedContractEvent<QuorumReachedEvent.InputTuple, QuorumReachedEvent.OutputTuple, QuorumReachedEvent.OutputObject>;
|
|
673
|
+
getEvent(key: "RoleAdminChanged"): TypedContractEvent<RoleAdminChangedEvent.InputTuple, RoleAdminChangedEvent.OutputTuple, RoleAdminChangedEvent.OutputObject>;
|
|
674
|
+
getEvent(key: "RoleGranted"): TypedContractEvent<RoleGrantedEvent.InputTuple, RoleGrantedEvent.OutputTuple, RoleGrantedEvent.OutputObject>;
|
|
675
|
+
getEvent(key: "RoleRevoked"): TypedContractEvent<RoleRevokedEvent.InputTuple, RoleRevokedEvent.OutputTuple, RoleRevokedEvent.OutputObject>;
|
|
560
676
|
getEvent(key: "TimelockSet"): TypedContractEvent<TimelockSetEvent.InputTuple, TimelockSetEvent.OutputTuple, TimelockSetEvent.OutputObject>;
|
|
561
677
|
getEvent(key: "VoteCast"): TypedContractEvent<VoteCastEvent.InputTuple, VoteCastEvent.OutputTuple, VoteCastEvent.OutputObject>;
|
|
562
678
|
getEvent(key: "VotingDelaySet"): TypedContractEvent<VotingDelaySetEvent.InputTuple, VotingDelaySetEvent.OutputTuple, VotingDelaySetEvent.OutputObject>;
|
|
563
679
|
getEvent(key: "VotingPeriodSet"): TypedContractEvent<VotingPeriodSetEvent.InputTuple, VotingPeriodSetEvent.OutputTuple, VotingPeriodSetEvent.OutputObject>;
|
|
564
680
|
filters: {
|
|
565
|
-
"OwnershipTransferred(address,address)": TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
|
|
566
|
-
OwnershipTransferred: TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
|
|
567
681
|
"ProposalCanceled(uint256,address,string)": TypedContractEvent<ProposalCanceledEvent.InputTuple, ProposalCanceledEvent.OutputTuple, ProposalCanceledEvent.OutputObject>;
|
|
568
682
|
ProposalCanceled: TypedContractEvent<ProposalCanceledEvent.InputTuple, ProposalCanceledEvent.OutputTuple, ProposalCanceledEvent.OutputObject>;
|
|
569
|
-
"ProposalCreated(uint256,address,address[],uint256[],bytes[],string,
|
|
683
|
+
"ProposalCreated(uint256,address,address[],uint256[],bytes[],string,uint256,uint256,uint256,uint256,uint256,uint256)": TypedContractEvent<ProposalCreatedEvent.InputTuple, ProposalCreatedEvent.OutputTuple, ProposalCreatedEvent.OutputObject>;
|
|
570
684
|
ProposalCreated: TypedContractEvent<ProposalCreatedEvent.InputTuple, ProposalCreatedEvent.OutputTuple, ProposalCreatedEvent.OutputObject>;
|
|
571
685
|
"ProposalExecuted(uint256,address,uint256)": TypedContractEvent<ProposalExecutedEvent.InputTuple, ProposalExecutedEvent.OutputTuple, ProposalExecutedEvent.OutputObject>;
|
|
572
686
|
ProposalExecuted: TypedContractEvent<ProposalExecutedEvent.InputTuple, ProposalExecutedEvent.OutputTuple, ProposalExecutedEvent.OutputObject>;
|
|
@@ -578,6 +692,12 @@ export interface Governance extends BaseContract {
|
|
|
578
692
|
QuorumNumeratorSet: TypedContractEvent<QuorumNumeratorSetEvent.InputTuple, QuorumNumeratorSetEvent.OutputTuple, QuorumNumeratorSetEvent.OutputObject>;
|
|
579
693
|
"QuorumReached(uint256,uint256)": TypedContractEvent<QuorumReachedEvent.InputTuple, QuorumReachedEvent.OutputTuple, QuorumReachedEvent.OutputObject>;
|
|
580
694
|
QuorumReached: TypedContractEvent<QuorumReachedEvent.InputTuple, QuorumReachedEvent.OutputTuple, QuorumReachedEvent.OutputObject>;
|
|
695
|
+
"RoleAdminChanged(bytes32,bytes32,bytes32)": TypedContractEvent<RoleAdminChangedEvent.InputTuple, RoleAdminChangedEvent.OutputTuple, RoleAdminChangedEvent.OutputObject>;
|
|
696
|
+
RoleAdminChanged: TypedContractEvent<RoleAdminChangedEvent.InputTuple, RoleAdminChangedEvent.OutputTuple, RoleAdminChangedEvent.OutputObject>;
|
|
697
|
+
"RoleGranted(bytes32,address,address)": TypedContractEvent<RoleGrantedEvent.InputTuple, RoleGrantedEvent.OutputTuple, RoleGrantedEvent.OutputObject>;
|
|
698
|
+
RoleGranted: TypedContractEvent<RoleGrantedEvent.InputTuple, RoleGrantedEvent.OutputTuple, RoleGrantedEvent.OutputObject>;
|
|
699
|
+
"RoleRevoked(bytes32,address,address)": TypedContractEvent<RoleRevokedEvent.InputTuple, RoleRevokedEvent.OutputTuple, RoleRevokedEvent.OutputObject>;
|
|
700
|
+
RoleRevoked: TypedContractEvent<RoleRevokedEvent.InputTuple, RoleRevokedEvent.OutputTuple, RoleRevokedEvent.OutputObject>;
|
|
581
701
|
"TimelockSet(address,address,address)": TypedContractEvent<TimelockSetEvent.InputTuple, TimelockSetEvent.OutputTuple, TimelockSetEvent.OutputObject>;
|
|
582
702
|
TimelockSet: TypedContractEvent<TimelockSetEvent.InputTuple, TimelockSetEvent.OutputTuple, TimelockSetEvent.OutputObject>;
|
|
583
703
|
"VoteCast(address,uint256,bool,uint256,string)": TypedContractEvent<VoteCastEvent.InputTuple, VoteCastEvent.OutputTuple, VoteCastEvent.OutputObject>;
|
package/dist/types/typechain-types/contracts/core/governance/proposals/TimelockController.d.ts
CHANGED
|
@@ -275,7 +275,7 @@ export interface TimelockController extends BaseContract {
|
|
|
275
275
|
PROPOSER_ROLE: TypedContractMethod<[], [string], "view">;
|
|
276
276
|
cancel: TypedContractMethod<[id: BytesLike], [void], "nonpayable">;
|
|
277
277
|
executeBatch: TypedContractMethod<[
|
|
278
|
-
|
|
278
|
+
nonce: BigNumberish,
|
|
279
279
|
targets: AddressLike[],
|
|
280
280
|
values: BigNumberish[],
|
|
281
281
|
calldatas: BytesLike[],
|
|
@@ -285,7 +285,7 @@ export interface TimelockController extends BaseContract {
|
|
|
285
285
|
void
|
|
286
286
|
], "payable">;
|
|
287
287
|
executeEmergencyAction: TypedContractMethod<[
|
|
288
|
-
|
|
288
|
+
nonce: BigNumberish,
|
|
289
289
|
targets: AddressLike[],
|
|
290
290
|
values: BigNumberish[],
|
|
291
291
|
calldatas: BytesLike[],
|
|
@@ -310,7 +310,7 @@ export interface TimelockController extends BaseContract {
|
|
|
310
310
|
boolean
|
|
311
311
|
], "view">;
|
|
312
312
|
hashOperationBatch: TypedContractMethod<[
|
|
313
|
-
|
|
313
|
+
nonce: BigNumberish,
|
|
314
314
|
targets: AddressLike[],
|
|
315
315
|
values: BigNumberish[],
|
|
316
316
|
calldatas: BytesLike[],
|
|
@@ -335,7 +335,7 @@ export interface TimelockController extends BaseContract {
|
|
|
335
335
|
void
|
|
336
336
|
], "nonpayable">;
|
|
337
337
|
scheduleBatch: TypedContractMethod<[
|
|
338
|
-
|
|
338
|
+
nonce: BigNumberish,
|
|
339
339
|
targets: AddressLike[],
|
|
340
340
|
values: BigNumberish[],
|
|
341
341
|
calldatas: BytesLike[],
|
|
@@ -372,7 +372,7 @@ export interface TimelockController extends BaseContract {
|
|
|
372
372
|
getFunction(nameOrSignature: "PROPOSER_ROLE"): TypedContractMethod<[], [string], "view">;
|
|
373
373
|
getFunction(nameOrSignature: "cancel"): TypedContractMethod<[id: BytesLike], [void], "nonpayable">;
|
|
374
374
|
getFunction(nameOrSignature: "executeBatch"): TypedContractMethod<[
|
|
375
|
-
|
|
375
|
+
nonce: BigNumberish,
|
|
376
376
|
targets: AddressLike[],
|
|
377
377
|
values: BigNumberish[],
|
|
378
378
|
calldatas: BytesLike[],
|
|
@@ -382,7 +382,7 @@ export interface TimelockController extends BaseContract {
|
|
|
382
382
|
void
|
|
383
383
|
], "payable">;
|
|
384
384
|
getFunction(nameOrSignature: "executeEmergencyAction"): TypedContractMethod<[
|
|
385
|
-
|
|
385
|
+
nonce: BigNumberish,
|
|
386
386
|
targets: AddressLike[],
|
|
387
387
|
values: BigNumberish[],
|
|
388
388
|
calldatas: BytesLike[],
|
|
@@ -407,7 +407,7 @@ export interface TimelockController extends BaseContract {
|
|
|
407
407
|
boolean
|
|
408
408
|
], "view">;
|
|
409
409
|
getFunction(nameOrSignature: "hashOperationBatch"): TypedContractMethod<[
|
|
410
|
-
|
|
410
|
+
nonce: BigNumberish,
|
|
411
411
|
targets: AddressLike[],
|
|
412
412
|
values: BigNumberish[],
|
|
413
413
|
calldatas: BytesLike[],
|
|
@@ -432,7 +432,7 @@ export interface TimelockController extends BaseContract {
|
|
|
432
432
|
void
|
|
433
433
|
], "nonpayable">;
|
|
434
434
|
getFunction(nameOrSignature: "scheduleBatch"): TypedContractMethod<[
|
|
435
|
-
|
|
435
|
+
nonce: BigNumberish,
|
|
436
436
|
targets: AddressLike[],
|
|
437
437
|
values: BigNumberish[],
|
|
438
438
|
calldatas: BytesLike[],
|