@raac/rpc 2.0.0-beta.2 → 2.0.0-beta.4
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 +57 -23
- package/dist/artifacts/core/collectors/FeeCollector.sol/FeeCollector.json +2 -2
- package/dist/artifacts/core/governance/gauges/GaugeController.sol/GaugeController.json +8 -2
- package/dist/artifacts/core/governance/gauges/GaugeRewardsDistributor.sol/GaugeRewardsDistributor.json +2 -2
- package/dist/artifacts/core/governance/gauges/RAACGauge.sol/RAACGauge.json +2 -2
- package/dist/artifacts/core/governance/gauges/RWAGauge.sol/RWAGauge.json +2 -2
- package/dist/artifacts/core/lockers/RAACMaturityVault.sol/RAACMaturityVault.json +2 -2
- package/dist/artifacts/core/oracles/RAACPrimeRateOracle.sol/RAACPrimeRateOracle.json +2 -2
- package/dist/artifacts/core/pools/LendingPool/LendingPool.sol/LendingPool.json +62 -86
- package/dist/artifacts/core/pools/StabilityPool/StabilityPool.sol/StabilityPool.json +2 -2
- package/dist/artifacts/core/psm/PSMVault.sol/PSMVault.json +2303 -0
- package/dist/artifacts/core/psm/RateProvider.sol/RateProvider.json +444 -0
- package/dist/artifacts/core/tokens/RToken.sol/RToken.json +2 -2
- package/dist/artifacts/core/tokens/veRAACToken.sol/veRAACToken.json +69 -66
- package/dist/artifacts/zeno/Auction.sol/Auction.json +278 -120
- package/dist/artifacts/zeno/AuctionFactory.sol/AuctionFactory.json +31 -148
- package/dist/artifacts/zeno/Zeno.sol/Zeno.json +80 -45
- package/dist/artifacts/zeno/ZenoFactory.sol/ZenoFactory.json +11 -88
- package/dist/assets/getAsset.js +2 -2
- package/dist/assets/getSupply.js +7 -7
- package/dist/configs/chains/1.json +15 -0
- package/dist/contracts/feeCollector/claimRewardFromPool.js +2 -2
- package/dist/contracts/findContract.js +1 -1
- package/dist/contracts/getContractAddress.js +1 -2
- package/dist/contracts/getTokenMetadata.js +31 -0
- package/dist/contracts/governance/_helpers.js +1 -22
- package/dist/contracts/governance/distributor/claimAll.js +2 -2
- package/dist/contracts/governance/distributor/claimForGauge.js +2 -2
- package/dist/contracts/governance/distributor/deposit.js +2 -2
- package/dist/contracts/governance/distributor/setController.js +2 -2
- package/dist/contracts/governance/distributor/setLastClaimedEpoch.js +2 -2
- package/dist/contracts/governance/distributor/setMaxClaimBound.js +2 -2
- package/dist/contracts/governance/distributor/withdrawDust.js +2 -2
- package/dist/contracts/governance/distributor/withdrawRemovedGaugeRewards.js +2 -2
- package/dist/contracts/governance/gauge/claimRewardToken.js +2 -3
- package/dist/contracts/governance/gauge/pullRewardsFromDistributor.js +2 -2
- package/dist/contracts/governance/gauge/stake.js +2 -3
- package/dist/contracts/governance/gauge/updateUserRewards.js +2 -3
- package/dist/contracts/governance/gauge/withdraw.js +2 -3
- package/dist/contracts/governance/gaugeController/addGauge.js +2 -2
- package/dist/contracts/governance/gaugeController/batchVote.js +2 -2
- package/dist/contracts/governance/gaugeController/forceCompleteCheckpoint.js +2 -2
- package/dist/contracts/governance/gaugeController/getGaugeRelativeWeight.js +2 -2
- package/dist/contracts/governance/gaugeController/kick.js +2 -2
- package/dist/contracts/governance/gaugeController/removeGauge.js +2 -2
- package/dist/contracts/governance/gaugeController/removePowerFromGauge.js +2 -2
- package/dist/contracts/governance/gaugeController/setBoostAmplificationEnabled.js +2 -2
- package/dist/contracts/governance/gaugeController/setDistributor.js +2 -2
- package/dist/contracts/governance/gaugeController/setEmergencyGaugePause.js +2 -2
- package/dist/contracts/governance/gaugeController/setEmergencyGaugePauseBatch.js +2 -2
- package/dist/contracts/governance/gaugeController/setEmergencyPause.js +2 -2
- package/dist/contracts/governance/gaugeController/setMaxVoteBuckets.js +2 -2
- package/dist/contracts/governance/gaugeController/vote.js +2 -2
- package/dist/contracts/governance/proposals/cancel.js +3 -4
- package/dist/contracts/governance/proposals/castVote.js +4 -4
- package/dist/contracts/governance/proposals/execute.js +3 -4
- package/dist/contracts/governance/proposals/getVoteReceipt.js +0 -1
- package/dist/contracts/governance/proposals/propose.js +3 -4
- package/dist/contracts/governance/proposals/setParameter.js +3 -4
- package/dist/contracts/governance/proposals/setTimelock.js +3 -4
- package/dist/contracts/housePrices/getLatestPrice.js +3 -3
- package/dist/contracts/housePrices/setOracle.js +3 -4
- package/dist/contracts/lockers/liquidLocker/deposit.js +12 -4
- package/dist/contracts/lockers/liquidLocker/hasHarvestRole.js +15 -0
- package/dist/contracts/pmBlender/getReserveBalance.js +3 -3
- package/dist/contracts/pmBlender/getSupportedTokens.js +0 -1
- package/dist/contracts/pmBlender/previewDeposit.js +3 -3
- package/dist/contracts/pmBlender/previewSwap.js +3 -3
- package/dist/contracts/pmBlender/previewWithdraw.js +3 -3
- package/dist/contracts/pmMarket/getMarketConfig.js +3 -3
- package/dist/contracts/pmTreasury/getCollateralRatio.js +4 -2
- package/dist/contracts/pmTreasury/getCurrentNav.js +4 -2
- package/dist/contracts/pmTreasury/getLeverageRatio.js +4 -2
- package/dist/contracts/pmTreasury/getMaxMintablePMUSD.js +4 -2
- package/dist/contracts/pmTreasury/getMaxMintablePMUSDWithoutBaseToken.js +4 -2
- package/dist/contracts/pmTreasury/getMaxMintableXPM.js +4 -2
- package/dist/contracts/pmTreasury/getMaxRedeemablePMUSD.js +4 -2
- package/dist/contracts/pmTreasury/getMaxRedeemableXPM.js +4 -2
- package/dist/contracts/pmTreasury/getTotalBaseToken.js +4 -2
- package/dist/contracts/psm/_helpers.js +68 -0
- package/dist/contracts/psm/cancelExit.js +20 -0
- package/dist/contracts/psm/deposit.js +25 -0
- package/dist/contracts/psm/getVaultInfo.js +126 -0
- package/dist/contracts/psm/previewDeposit.js +21 -0
- package/dist/contracts/psm/previewProportionalSplit.js +19 -0
- package/dist/contracts/psm/previewRedeem.js +21 -0
- package/dist/contracts/psm/previewSwap.js +21 -0
- package/dist/contracts/psm/redeem.js +25 -0
- package/dist/contracts/psm/requestExit.js +20 -0
- package/dist/contracts/psm/swap.js +24 -0
- package/dist/contracts/tokens/veRAAC/_helpers.js +0 -2
- package/dist/contracts/tokens/veRAAC/claimReward.js +3 -4
- package/dist/contracts/tokens/veRAAC/distributeRewards.js +3 -4
- package/dist/contracts/tokens/veRAAC/extend.js +3 -4
- package/dist/contracts/tokens/veRAAC/finalizeRagequit.js +3 -4
- package/dist/contracts/tokens/veRAAC/getRewardTokens.js +34 -0
- package/dist/contracts/tokens/veRAAC/getTotalSupply.js +0 -1
- package/dist/contracts/tokens/veRAAC/getTotalSupplyAt.js +1 -1
- package/dist/contracts/tokens/veRAAC/increase.js +3 -4
- package/dist/contracts/tokens/veRAAC/lock.js +3 -4
- package/dist/contracts/tokens/veRAAC/ragequitAll.js +3 -4
- package/dist/contracts/tokens/veRAAC/ragequitLock.js +3 -4
- package/dist/contracts/tokens/veRAAC/withdraw.js +3 -4
- package/dist/contracts/zeno/createAuction.js +30 -15
- package/dist/contracts/zeno/createZeno.js +23 -12
- package/dist/contracts/zeno/getAuctions.js +35 -33
- package/dist/contracts/zeno/getZenos.js +32 -16
- package/dist/generated/errors.json +3537 -0
- package/dist/index.js +1 -0
- package/dist/methods/approveToken.js +2 -4
- package/dist/methods/commons/checkAllowance.js +2 -3
- package/dist/methods/commons/estimateGasPrice.js +0 -1
- package/dist/methods/getAssetBalance.js +4 -4
- package/dist/nfts/approveNFT.js +3 -5
- package/dist/nfts/getAllTokens.js +3 -4
- package/dist/nfts/getApprovalForAll.js +3 -4
- package/dist/nfts/getBaseUri.js +3 -4
- package/dist/nfts/getHousePrice.js +3 -3
- package/dist/nfts/getMintFeePercentage.js +3 -3
- package/dist/nfts/getMintPrice.js +3 -3
- package/dist/nfts/getNFTApproval.js +3 -4
- package/dist/nfts/getOwnerOfNFT.js +3 -5
- package/dist/nfts/getTokenURI.js +3 -4
- package/dist/nfts/getTokensByOwner.js +3 -4
- package/dist/nfts/getTotalPropertiesCount.js +3 -4
- package/dist/nfts/mint.js +3 -5
- package/dist/nfts/setApprovalForAll.js +3 -5
- package/dist/nfts/setBaseUri.js +3 -4
- package/dist/nfts/totalNFTSupply.js +3 -3
- package/dist/oracles/houses/request.js +2 -15
- package/dist/oracles/houses/simulate.js +0 -3
- package/dist/oracles/prime-rate/request.js +2 -16
- package/dist/oracles/prime-rate/simulate.js +0 -4
- package/dist/pools/lendingPool/adapters/erc20/getERC20AdapterBalance.js +2 -2
- package/dist/pools/lendingPool/adapters/erc20/getERC20AdapterInfo.js +4 -2
- package/dist/pools/lendingPool/adapters/erc721/getERC721AdapterDeposits.js +4 -3
- package/dist/pools/lendingPool/adapters/erc721/getERC721AdapterInfo.js +4 -3
- package/dist/pools/lendingPool/borrowFromLendingPool.js +4 -2
- package/dist/pools/lendingPool/borrowFromLendingPoolWithInsurance.js +3 -8
- package/dist/pools/lendingPool/calculateInsuranceFee.js +4 -2
- package/dist/pools/lendingPool/closeLiquidation.js +4 -2
- package/dist/pools/lendingPool/depositAssetToLendingPool.js +4 -2
- package/dist/pools/lendingPool/depositToLendingPool.js +4 -6
- package/dist/pools/lendingPool/getAdapters.js +4 -2
- package/dist/pools/lendingPool/getEligibleUserDeposits.js +4 -2
- package/dist/pools/lendingPool/getHealthFactor.js +4 -2
- package/dist/pools/lendingPool/getHousePrice.js +3 -3
- package/dist/pools/lendingPool/getLendingPoolInfo.js +3 -2
- package/dist/pools/lendingPool/getLendingPoolTotalLiquidity.js +4 -2
- package/dist/pools/lendingPool/getParameters.js +4 -2
- package/dist/pools/lendingPool/getPositionDebt.js +4 -2
- package/dist/pools/lendingPool/getPositionScaledDebt.js +4 -2
- package/dist/pools/lendingPool/getPositionView.js +4 -2
- package/dist/pools/lendingPool/getPositionsScaledDebt.js +4 -2
- package/dist/pools/lendingPool/getRawUserDepositsInLendingPool.js +4 -2
- package/dist/pools/lendingPool/getUserCollateralValue.js +4 -2
- package/dist/pools/lendingPool/initializeLiquidation.js +4 -2
- package/dist/pools/lendingPool/openVaultPosition.js +4 -6
- package/dist/pools/lendingPool/repayToLendingPool.js +4 -2
- package/dist/pools/lendingPool/vaultOpened.js +4 -2
- package/dist/pools/lendingPool/withdrawAssetFromLendingPool.js +4 -2
- package/dist/pools/lendingPool/withdrawFromLendingPool.js +3 -4
- package/dist/pools/liquidityPool/getLiquidityPoolInfo.js +3 -3
- package/dist/pools/rwaVault/adapters/erc20/getERC20VaultAdapterAssetValue.js +2 -2
- package/dist/pools/rwaVault/adapters/erc20/getERC20VaultAdapterInfo.js +2 -2
- package/dist/pools/rwaVault/adapters/erc20/getERC20VaultAdapterTotalValue.js +2 -2
- package/dist/pools/rwaVault/adapters/erc721/getERC721VaultAdapterAssetValue.js +2 -2
- package/dist/pools/rwaVault/adapters/erc721/getERC721VaultAdapterDeposits.js +2 -2
- package/dist/pools/rwaVault/adapters/erc721/getERC721VaultAdapterInfo.js +2 -2
- package/dist/pools/rwaVault/adapters/erc721/getERC721VaultAdapterTotalValue.js +2 -2
- package/dist/pools/rwaVault/checkRedeemEligibility.js +46 -0
- package/dist/pools/rwaVault/depositToRWAVault.js +4 -4
- package/dist/pools/rwaVault/getAdapters.js +2 -2
- package/dist/pools/rwaVault/getNextRandomNFT.js +4 -2
- package/dist/pools/rwaVault/getRWAVaultInfo.js +4 -2
- package/dist/pools/rwaVault/previewDeposit.js +4 -2
- package/dist/pools/rwaVault/previewWithdraw.js +4 -2
- package/dist/pools/rwaVault/redeemNFTFromRWAVault.js +4 -4
- package/dist/pools/rwaVault/requestRandomSeed.js +4 -4
- package/dist/pools/stabilityPool/depositToStabilityPool.js +4 -4
- package/dist/pools/stabilityPool/getRawUserDepositsInStabilityPool.js +4 -2
- package/dist/pools/stabilityPool/getStabilityPoolInfo.js +4 -2
- package/dist/pools/stabilityPool/getStabilityPoolTotalDeposits.js +4 -2
- package/dist/pools/stabilityPool/getWithdrawRequestInfo.js +4 -2
- package/dist/pools/stabilityPool/getWithdrawTimelockConfig.js +25 -0
- package/dist/pools/stabilityPool/requestWithdraw.js +4 -4
- package/dist/pools/stabilityPool/withdrawFromStabilityPool.js +4 -4
- package/dist/prices/computeStakingAPY.js +12 -0
- package/dist/prices/getCurveLPPriceUSD.js +46 -0
- package/dist/prices/getPrices.js +10 -8
- package/dist/prices/getStakingTokenPriceUSD.js +25 -0
- package/dist/prices/getWrapperPriceUSD.js +33 -0
- package/dist/prices/tokenPricesUSD.js +20 -0
- package/dist/scripts/generateErrorCatalogue.js +237 -0
- package/dist/types/RPCLibrary.d.ts +42 -8
- package/dist/types/configs/chains/index.d.ts +30 -0
- package/dist/types/configs/index.d.ts +15 -0
- package/dist/types/contracts/getTokenMetadata.d.ts +13 -0
- package/dist/types/contracts/governance/_helpers.d.ts +0 -20
- package/dist/types/contracts/governance/proposals/castVote.d.ts +1 -2
- package/dist/types/contracts/lockers/liquidLocker/hasHarvestRole.d.ts +8 -0
- package/dist/types/contracts/psm/_helpers.d.ts +18 -0
- package/dist/types/contracts/psm/cancelExit.d.ts +4 -0
- package/dist/types/contracts/psm/deposit.d.ts +9 -0
- package/dist/types/contracts/psm/getVaultInfo.d.ts +77 -0
- package/dist/types/contracts/psm/previewDeposit.d.ts +7 -0
- package/dist/types/contracts/psm/previewProportionalSplit.d.ts +9 -0
- package/dist/types/contracts/psm/previewRedeem.d.ts +7 -0
- package/dist/types/contracts/psm/previewSwap.d.ts +7 -0
- package/dist/types/contracts/psm/redeem.d.ts +9 -0
- package/dist/types/contracts/psm/requestExit.d.ts +4 -0
- package/dist/types/contracts/psm/swap.d.ts +8 -0
- package/dist/types/contracts/tokens/veRAAC/getRewardTokens.d.ts +10 -0
- package/dist/types/contracts/zeno/createAuction.d.ts +15 -5
- package/dist/types/contracts/zeno/createZeno.d.ts +10 -1
- package/dist/types/contracts/zeno/getAuctions.d.ts +10 -11
- package/dist/types/contracts/zeno/getZenos.d.ts +25 -2
- package/dist/types/index.d.ts +1 -0
- package/dist/types/pools/rwaVault/checkRedeemEligibility.d.ts +15 -0
- package/dist/types/pools/stabilityPool/getWithdrawTimelockConfig.d.ts +14 -0
- package/dist/types/prices/computeStakingAPY.d.ts +2 -0
- package/dist/types/prices/getCurveLPPriceUSD.d.ts +3 -0
- package/dist/types/prices/getPrices.d.ts +4 -8
- package/dist/types/prices/getStakingTokenPriceUSD.d.ts +16 -0
- package/dist/types/prices/getWrapperPriceUSD.d.ts +7 -0
- package/dist/types/prices/tokenPricesUSD.d.ts +7 -0
- package/dist/types/scripts/generateErrorCatalogue.d.ts +45 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/index.d.ts +2 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/IERC1967.d.ts +65 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/index.d.ts +1 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.d.ts +36 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.d.ts +20 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/proxy/ERC1967/index.d.ts +2 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/proxy/Proxy.d.ts +20 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/proxy/beacon/IBeacon.d.ts +25 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/proxy/beacon/index.d.ts +1 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/proxy/index.d.ts +7 -0
- package/dist/types/typechain-types/{contracts/core/governance/gauges/VeBoostProxy.d.ts → @openzeppelin/contracts/proxy/transparent/ProxyAdmin.d.ts} +24 -47
- package/dist/types/typechain-types/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/ITransparentUpgradeableProxy.d.ts +80 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy.d.ts +51 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/proxy/transparent/index.d.ts +3 -0
- package/dist/types/typechain-types/contracts/core/governance/gauges/GaugeController.d.ts +29 -2
- package/dist/types/typechain-types/contracts/core/governance/gauges/index.d.ts +0 -2
- package/dist/types/typechain-types/contracts/core/lockers/RAACBotLocker.d.ts +1 -9
- package/dist/types/typechain-types/contracts/core/lockers/RAACLiquidLocker.d.ts +47 -2
- package/dist/types/typechain-types/contracts/core/lockers/RAACMaturityVault.d.ts +24 -10
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/LendingPool.d.ts +42 -43
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/LendingPoolStorage.d.ts +7 -3
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/LiquidationProxy.d.ts +7 -3
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/VaultProxy.d.ts +7 -3
- package/dist/types/typechain-types/contracts/core/tokens/VeRAACToken.d.ts +59 -12
- package/dist/types/typechain-types/contracts/core/tokens/VeRAACTokenStorage.d.ts +47 -12
- package/dist/types/typechain-types/contracts/interfaces/core/governance/gauges/IGaugeController.d.ts +29 -2
- package/dist/types/typechain-types/contracts/interfaces/core/governance/gauges/index.d.ts +0 -2
- package/dist/types/typechain-types/contracts/interfaces/core/lockers/IRAACBotLocker.d.ts +1 -9
- package/dist/types/typechain-types/contracts/interfaces/core/lockers/IRaacLiquidLocker.d.ts +82 -15
- package/dist/types/typechain-types/contracts/interfaces/core/pools/LendingPool/ILendingPool.d.ts +32 -6
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/IDebtToken.d.ts +5 -1
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/IveRAACToken.d.ts +47 -12
- package/dist/types/typechain-types/contracts/interfaces/zeno/IAuction.d.ts +43 -39
- package/dist/types/typechain-types/contracts/interfaces/zeno/IZENO.d.ts +28 -22
- package/dist/types/typechain-types/contracts/libraries/math/TimeWeightedAverage.d.ts +2 -36
- package/dist/types/typechain-types/contracts/mocks/core/governance/gauges/MockGaugeStub.d.ts +33 -0
- package/dist/types/typechain-types/contracts/mocks/core/governance/gauges/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/mocks/core/lockers/LockerSimMocks.sol/SimToken.d.ts +173 -0
- package/dist/types/typechain-types/contracts/mocks/core/lockers/LockerSimMocks.sol/SimVault.d.ts +53 -0
- package/dist/types/typechain-types/contracts/mocks/core/lockers/LockerSimMocks.sol/SimVe.d.ts +91 -0
- package/dist/types/typechain-types/contracts/mocks/core/lockers/LockerSimMocks.sol/index.d.ts +3 -0
- package/dist/types/typechain-types/contracts/mocks/core/lockers/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/mocks/core/pools/MockLendingPoolDebtToken.d.ts +32 -6
- package/dist/types/typechain-types/contracts/mocks/libraries/governance/PowerCheckpointMock.d.ts +6 -2
- package/dist/types/typechain-types/contracts/zeno/Auction.d.ts +200 -108
- package/dist/types/typechain-types/contracts/zeno/AuctionFactory.d.ts +21 -105
- package/dist/types/typechain-types/contracts/zeno/ZENO.d.ts +46 -40
- package/dist/types/typechain-types/contracts/zeno/ZENOFactory.d.ts +10 -57
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/IERC1967__factory.d.ts +42 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy__factory.d.ts +71 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils__factory.d.ts +50 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/ERC1967/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/Proxy__factory.d.ts +10 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/beacon/IBeacon__factory.d.ts +17 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/beacon/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/index.d.ts +4 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/transparent/ProxyAdmin__factory.d.ts +115 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/ITransparentUpgradeableProxy__factory.d.ts +56 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy__factory.d.ts +102 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/transparent/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/core/collectors/FeeCollector__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/GaugeController__factory.d.ts +26 -1
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/GaugeRewardsDistributor__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/RAACGauge__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/RWAGauge__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/index.d.ts +0 -2
- package/dist/types/typechain-types/factories/contracts/core/lockers/RAACBotLocker__factory.d.ts +1 -11
- package/dist/types/typechain-types/factories/contracts/core/lockers/RAACLiquidLocker__factory.d.ts +66 -1
- package/dist/types/typechain-types/factories/contracts/core/lockers/RAACMaturityVault__factory.d.ts +25 -9
- package/dist/types/typechain-types/factories/contracts/core/oracles/RAACPrimeRateOracle__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/LendingPoolStorage__factory.d.ts +12 -2
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/LendingPool__factory.d.ts +43 -60
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/LiquidationProxy__factory.d.ts +12 -2
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/VaultProxy__factory.d.ts +12 -2
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/LiquidationStrategyProxy__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/StabilityPoolStorage__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/StabilityPool__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/tokens/DebtToken__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/tokens/RToken__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/tokens/VeRAACTokenStorage__factory.d.ts +47 -18
- package/dist/types/typechain-types/factories/contracts/core/tokens/VeRAACToken__factory.d.ts +58 -19
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/gauges/IGaugeController__factory.d.ts +25 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/gauges/index.d.ts +0 -2
- package/dist/types/typechain-types/factories/contracts/interfaces/core/lockers/IRAACBotLocker__factory.d.ts +0 -10
- package/dist/types/typechain-types/factories/contracts/interfaces/core/lockers/IRaacLiquidLocker__factory.d.ts +91 -6
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/LendingPool/ILendingPool__factory.d.ts +30 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IDebtToken__factory.d.ts +10 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IveRAACToken__factory.d.ts +47 -18
- package/dist/types/typechain-types/factories/contracts/interfaces/zeno/IAuction__factory.d.ts +52 -30
- package/dist/types/typechain-types/factories/contracts/interfaces/zeno/IZENO__factory.d.ts +36 -8
- package/dist/types/typechain-types/factories/contracts/libraries/governance/BoostCalculator__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/libraries/governance/LockManager__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/libraries/governance/PowerCheckpoint__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/libraries/governance/RagequitLib__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/libraries/governance/RewardLib__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/libraries/math/TimeWeightedAverage__factory.d.ts +1 -36
- package/dist/types/typechain-types/factories/contracts/libraries/pools/LendingPoolFeeLibrary__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/libraries/pools/ReserveLibrary__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/governance/gauges/MockGaugeStub__factory.d.ts +42 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/governance/gauges/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/governance/libraries/LockManagerMock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/lockers/LockerSimMocks.sol/SimToken__factory.d.ts +306 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/lockers/LockerSimMocks.sol/SimVault__factory.d.ts +68 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/lockers/LockerSimMocks.sol/SimVe__factory.d.ts +149 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/lockers/LockerSimMocks.sol/index.d.ts +3 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/lockers/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockOracle__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/TestRAACPrimeRateOracle__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLendingPoolDebtToken__factory.d.ts +31 -1
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/MockTimeUtils__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/BoostCalculatorMock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/PowerCheckpointMock__factory.d.ts +5 -1
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/RagequitHarness__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/RewardIntegralCalculatorMock.sol/MockRewardIntegralCalculator__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/math/TimeWeightedAverageMock__factory.d.ts +2 -9
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/pools/ReserveLibraryMockCalculation__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/pools/ReserveLibraryMock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/tests/VeRAACFuzzHelper__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/zeno/AuctionFactory__factory.d.ts +26 -118
- package/dist/types/typechain-types/factories/contracts/zeno/Auction__factory.d.ts +230 -106
- package/dist/types/typechain-types/factories/contracts/zeno/ZENOFactory__factory.d.ts +9 -68
- package/dist/types/typechain-types/factories/contracts/zeno/ZENO__factory.d.ts +66 -38
- package/dist/types/typechain-types/index.d.ts +24 -8
- package/dist/types/typechain-types/psm/PSMVault.d.ts +1503 -0
- package/dist/types/typechain-types/psm/RateProvider.d.ts +228 -0
- package/dist/types/typechain-types/psm/common.d.ts +46 -0
- package/dist/types/typechain-types/psm/factories/PSMVault__factory.d.ts +1795 -0
- package/dist/types/typechain-types/psm/factories/RateProvider__factory.d.ts +299 -0
- package/dist/types/typechain-types/psm/factories/imports.sol/PSMProxyAdmin__factory.d.ts +117 -0
- package/dist/types/typechain-types/psm/factories/imports.sol/PSMTransparentProxy__factory.d.ts +108 -0
- package/dist/types/typechain-types/psm/factories/imports.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/psm/factories/index.d.ts +8 -0
- package/dist/types/typechain-types/psm/factories/interfaces/IBaseAssetNav__factory.d.ts +21 -0
- package/dist/types/typechain-types/psm/factories/interfaces/IRateProvider__factory.d.ts +65 -0
- package/dist/types/typechain-types/psm/factories/interfaces/IRebalancer__factory.d.ts +25 -0
- package/dist/types/typechain-types/{factories/contracts/interfaces/core/governance/gauges/IVeBoost__factory.d.ts → psm/factories/interfaces/ISavingsToken__factory.d.ts} +215 -192
- package/dist/types/typechain-types/psm/factories/interfaces/index.d.ts +6 -0
- package/dist/types/typechain-types/psm/factories/interfaces/v2/IRebalancerV2__factory.d.ts +21 -0
- package/dist/types/typechain-types/psm/factories/interfaces/v2/index.d.ts +1 -0
- package/dist/types/typechain-types/psm/factories/interfaces/v3/IRateProviderV3__factory.d.ts +65 -0
- package/dist/types/typechain-types/psm/factories/interfaces/v3/index.d.ts +1 -0
- package/dist/types/typechain-types/psm/factories/mocks/MockBaseAssetModule__factory.d.ts +450 -0
- package/dist/types/typechain-types/psm/factories/mocks/MockChainlinkFeed__factory.d.ts +106 -0
- package/dist/types/typechain-types/psm/factories/mocks/MockERC20__factory.d.ts +288 -0
- package/dist/types/typechain-types/psm/factories/mocks/MockFeeOnTransferERC20__factory.d.ts +356 -0
- package/dist/types/typechain-types/psm/factories/mocks/MockPmUSD__factory.d.ts +326 -0
- package/dist/types/typechain-types/psm/factories/mocks/MockProxy__factory.d.ts +108 -0
- package/dist/types/typechain-types/psm/factories/mocks/MockRebalancer.sol/IMockMintable__factory.d.ts +21 -0
- package/dist/types/typechain-types/psm/factories/mocks/MockRebalancer.sol/MockRebalancer__factory.d.ts +138 -0
- package/dist/types/typechain-types/psm/factories/mocks/MockRebalancer.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/psm/factories/mocks/MockRebalancerV2.sol/IMockMintable__factory.d.ts +21 -0
- package/dist/types/typechain-types/psm/factories/mocks/MockRebalancerV2.sol/MockRebalancerV2__factory.d.ts +134 -0
- package/dist/types/typechain-types/psm/factories/mocks/MockRebalancerV2.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/psm/factories/mocks/MockSavingsToken__factory.d.ts +330 -0
- package/dist/types/typechain-types/psm/factories/mocks/index.d.ts +9 -0
- package/dist/types/typechain-types/psm/factories/utils/index.d.ts +1 -0
- package/dist/types/typechain-types/psm/factories/utils/zap/AladdinZap__factory.d.ts +322 -0
- package/dist/types/typechain-types/psm/factories/utils/zap/TokenZapLogic__factory.d.ts +73 -0
- package/dist/types/typechain-types/psm/factories/utils/zap/index.d.ts +3 -0
- package/dist/types/typechain-types/psm/factories/utils/zap/interfaces/IBalancerPool__factory.d.ts +91 -0
- package/dist/types/typechain-types/psm/factories/utils/zap/interfaces/IBalancerVault__factory.d.ts +261 -0
- package/dist/types/typechain-types/psm/factories/utils/zap/interfaces/IConvexCRVDepositor__factory.d.ts +49 -0
- package/dist/types/typechain-types/psm/factories/utils/zap/interfaces/ICurveAPool.sol/ICurveA2Pool__factory.d.ts +305 -0
- package/dist/types/typechain-types/psm/factories/utils/zap/interfaces/ICurveAPool.sol/ICurveA3Pool__factory.d.ts +305 -0
- package/dist/types/typechain-types/psm/factories/utils/zap/interfaces/ICurveAPool.sol/ICurveA4Pool__factory.d.ts +305 -0
- package/dist/types/typechain-types/psm/factories/utils/zap/interfaces/ICurveAPool.sol/ICurveAPool__factory.d.ts +305 -0
- package/dist/types/typechain-types/psm/factories/utils/zap/interfaces/ICurveAPool.sol/index.d.ts +4 -0
- package/dist/types/typechain-types/psm/factories/utils/zap/interfaces/ICurveBasePool.sol/ICurveBase2Pool__factory.d.ts +39 -0
- package/dist/types/typechain-types/psm/factories/utils/zap/interfaces/ICurveBasePool.sol/ICurveBase3Pool__factory.d.ts +39 -0
- package/dist/types/typechain-types/psm/factories/utils/zap/interfaces/ICurveBasePool.sol/ICurveBase4Pool__factory.d.ts +39 -0
- package/dist/types/typechain-types/psm/factories/utils/zap/interfaces/ICurveBasePool.sol/ICurveBasePool__factory.d.ts +175 -0
- package/dist/types/typechain-types/psm/factories/utils/zap/interfaces/ICurveBasePool.sol/index.d.ts +4 -0
- package/dist/types/typechain-types/psm/factories/utils/zap/interfaces/ICurveCryptoPool.sol/ICurveCryptoPool__factory.d.ts +301 -0
- package/dist/types/typechain-types/psm/factories/utils/zap/interfaces/ICurveCryptoPool.sol/ICurveTriCryptoPool__factory.d.ts +165 -0
- package/dist/types/typechain-types/psm/factories/utils/zap/interfaces/ICurveCryptoPool.sol/IZapCurveMetaCryptoPool__factory.d.ts +181 -0
- package/dist/types/typechain-types/psm/factories/utils/zap/interfaces/ICurveCryptoPool.sol/index.d.ts +3 -0
- package/dist/types/typechain-types/psm/factories/utils/zap/interfaces/ICurveETHPool__factory.d.ts +155 -0
- package/dist/types/typechain-types/psm/factories/utils/zap/interfaces/ICurveFactoryMetaPool.sol/ICurveDepositZap3Pool__factory.d.ts +99 -0
- package/dist/types/typechain-types/psm/factories/utils/zap/interfaces/ICurveFactoryMetaPool.sol/ICurveDepositZap4Pool__factory.d.ts +99 -0
- package/dist/types/typechain-types/psm/factories/utils/zap/interfaces/ICurveFactoryMetaPool.sol/ICurveDepositZap__factory.d.ts +55 -0
- package/dist/types/typechain-types/psm/factories/utils/zap/interfaces/ICurveFactoryMetaPool.sol/ICurveFactoryMetaPool__factory.d.ts +193 -0
- package/dist/types/typechain-types/psm/factories/utils/zap/interfaces/ICurveFactoryMetaPool.sol/index.d.ts +4 -0
- package/dist/types/typechain-types/psm/factories/utils/zap/interfaces/ICurveFactoryPlainPool.sol/ICurveFactoryPlain2Pool__factory.d.ts +183 -0
- package/dist/types/typechain-types/psm/factories/utils/zap/interfaces/ICurveFactoryPlainPool.sol/ICurveFactoryPlain3Pool__factory.d.ts +183 -0
- package/dist/types/typechain-types/psm/factories/utils/zap/interfaces/ICurveFactoryPlainPool.sol/ICurveFactoryPlain4Pool__factory.d.ts +183 -0
- package/dist/types/typechain-types/psm/factories/utils/zap/interfaces/ICurveFactoryPlainPool.sol/ICurveFactoryPlainPool__factory.d.ts +147 -0
- package/dist/types/typechain-types/psm/factories/utils/zap/interfaces/ICurveFactoryPlainPool.sol/index.d.ts +4 -0
- package/dist/types/typechain-types/psm/factories/utils/zap/interfaces/ICurveMetaPool.sol/ICurveMetaPoolDeposit__factory.d.ts +141 -0
- package/dist/types/typechain-types/psm/factories/utils/zap/interfaces/ICurveMetaPool.sol/ICurveMetaPoolSwap__factory.d.ts +227 -0
- package/dist/types/typechain-types/psm/factories/utils/zap/interfaces/ICurveMetaPool.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/{factories/contracts/interfaces/core/governance/gauges/IVeBoostProxy__factory.d.ts → psm/factories/utils/zap/interfaces/ICurvePoolRegistry__factory.d.ts} +13 -24
- package/dist/types/typechain-types/psm/factories/utils/zap/interfaces/ICurveYPool.sol/ICurveY2PoolDeposit__factory.d.ts +165 -0
- package/dist/types/typechain-types/psm/factories/utils/zap/interfaces/ICurveYPool.sol/ICurveY2PoolSwap__factory.d.ts +193 -0
- package/dist/types/typechain-types/psm/factories/utils/zap/interfaces/ICurveYPool.sol/ICurveY3PoolDeposit__factory.d.ts +165 -0
- package/dist/types/typechain-types/psm/factories/utils/zap/interfaces/ICurveYPool.sol/ICurveY3PoolSwap__factory.d.ts +193 -0
- package/dist/types/typechain-types/psm/factories/utils/zap/interfaces/ICurveYPool.sol/ICurveY4PoolDeposit__factory.d.ts +165 -0
- package/dist/types/typechain-types/psm/factories/utils/zap/interfaces/ICurveYPool.sol/ICurveY4PoolSwap__factory.d.ts +193 -0
- package/dist/types/typechain-types/psm/factories/utils/zap/interfaces/ICurveYPool.sol/ICurveYPoolDeposit__factory.d.ts +165 -0
- package/dist/types/typechain-types/psm/factories/utils/zap/interfaces/ICurveYPool.sol/ICurveYPoolSwap__factory.d.ts +193 -0
- package/dist/types/typechain-types/psm/factories/utils/zap/interfaces/ICurveYPool.sol/index.d.ts +8 -0
- package/dist/types/typechain-types/psm/factories/utils/zap/interfaces/ILidoStETH__factory.d.ts +35 -0
- package/dist/types/typechain-types/psm/factories/utils/zap/interfaces/ILidoWstETH__factory.d.ts +83 -0
- package/dist/types/typechain-types/psm/factories/utils/zap/interfaces/IUniswapV2Pair__factory.d.ts +95 -0
- package/dist/types/typechain-types/psm/factories/utils/zap/interfaces/IUniswapV3Pool__factory.d.ts +115 -0
- package/dist/types/typechain-types/psm/factories/utils/zap/interfaces/IUniswapV3Router__factory.d.ts +54 -0
- package/dist/types/typechain-types/psm/factories/utils/zap/interfaces/IWETH__factory.d.ts +23 -0
- package/dist/types/typechain-types/psm/factories/utils/zap/interfaces/IZap__factory.d.ts +107 -0
- package/dist/types/typechain-types/psm/factories/utils/zap/interfaces/concentrator/IAladdinCRV__factory.d.ts +401 -0
- package/dist/types/typechain-types/psm/factories/utils/zap/interfaces/concentrator/IAladdinCompounder__factory.d.ts +350 -0
- package/dist/types/typechain-types/psm/factories/utils/zap/interfaces/concentrator/index.d.ts +2 -0
- package/dist/types/typechain-types/psm/factories/utils/zap/interfaces/index.d.ts +20 -0
- package/dist/types/typechain-types/psm/factories/v2/PSMVaultV2__factory.d.ts +1846 -0
- package/dist/types/typechain-types/psm/factories/v2/RebalancerV2.sol/IPSMVaultView__factory.d.ts +17 -0
- package/dist/types/typechain-types/psm/factories/v2/RebalancerV2.sol/IRateOracle__factory.d.ts +31 -0
- package/dist/types/typechain-types/psm/factories/v2/RebalancerV2.sol/IZap__factory.d.ts +33 -0
- package/dist/types/typechain-types/psm/factories/v2/RebalancerV2.sol/RebalancerV2__factory.d.ts +506 -0
- package/dist/types/typechain-types/psm/factories/v2/RebalancerV2.sol/index.d.ts +4 -0
- package/dist/types/typechain-types/psm/factories/v2/index.d.ts +2 -0
- package/dist/types/typechain-types/psm/factories/v3/PSMVaultV3__factory.d.ts +1955 -0
- package/dist/types/typechain-types/psm/factories/v3/RateProviderComposed__factory.d.ts +303 -0
- package/dist/types/typechain-types/psm/factories/v3/RateProviderDirect__factory.d.ts +293 -0
- package/dist/types/typechain-types/psm/factories/v3/index.d.ts +3 -0
- package/dist/types/typechain-types/psm/imports.sol/PSMProxyAdmin.d.ts +96 -0
- package/dist/types/typechain-types/psm/imports.sol/PSMTransparentProxy.d.ts +51 -0
- package/dist/types/typechain-types/psm/imports.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/psm/index.d.ts +157 -0
- package/dist/types/typechain-types/psm/interfaces/IBaseAssetNav.d.ts +33 -0
- package/dist/types/typechain-types/psm/interfaces/IRateProvider.d.ts +75 -0
- package/dist/types/typechain-types/psm/interfaces/IRebalancer.d.ts +39 -0
- package/dist/types/typechain-types/psm/interfaces/ISavingsToken.d.ts +400 -0
- package/dist/types/typechain-types/psm/interfaces/index.d.ts +8 -0
- package/dist/types/typechain-types/psm/interfaces/v2/IRebalancerV2.d.ts +35 -0
- package/dist/types/typechain-types/psm/interfaces/v2/index.d.ts +1 -0
- package/dist/types/typechain-types/psm/interfaces/v3/IRateProviderV3.d.ts +75 -0
- package/dist/types/typechain-types/psm/interfaces/v3/index.d.ts +1 -0
- package/dist/types/typechain-types/psm/mocks/MockBaseAssetModule.d.ts +311 -0
- package/dist/types/typechain-types/psm/mocks/MockChainlinkFeed.d.ts +91 -0
- package/dist/types/typechain-types/psm/mocks/MockERC20.d.ts +179 -0
- package/dist/types/typechain-types/psm/mocks/MockFeeOnTransferERC20.d.ts +247 -0
- package/dist/types/typechain-types/psm/mocks/MockPmUSD.d.ts +213 -0
- package/dist/types/typechain-types/psm/mocks/MockProxy.d.ts +51 -0
- package/dist/types/typechain-types/psm/mocks/MockRebalancer.sol/IMockMintable.d.ts +35 -0
- package/dist/types/typechain-types/psm/mocks/MockRebalancer.sol/MockRebalancer.d.ts +125 -0
- package/dist/types/typechain-types/psm/mocks/MockRebalancer.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/psm/mocks/MockRebalancerV2.sol/IMockMintable.d.ts +35 -0
- package/dist/types/typechain-types/psm/mocks/MockRebalancerV2.sol/MockRebalancerV2.d.ts +121 -0
- package/dist/types/typechain-types/psm/mocks/MockRebalancerV2.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/psm/mocks/MockSavingsToken.d.ts +213 -0
- package/dist/types/typechain-types/psm/mocks/index.d.ts +11 -0
- package/dist/types/typechain-types/psm/utils/index.d.ts +2 -0
- package/dist/types/typechain-types/psm/utils/zap/AladdinZap.d.ts +276 -0
- package/dist/types/typechain-types/psm/utils/zap/TokenZapLogic.d.ts +59 -0
- package/dist/types/typechain-types/psm/utils/zap/index.d.ts +4 -0
- package/dist/types/typechain-types/psm/utils/zap/interfaces/IBalancerPool.d.ts +101 -0
- package/dist/types/typechain-types/psm/utils/zap/interfaces/IBalancerVault.d.ts +199 -0
- package/dist/types/typechain-types/psm/utils/zap/interfaces/IConvexCRVDepositor.d.ts +61 -0
- package/dist/types/typechain-types/psm/utils/zap/interfaces/ICurveAPool.sol/ICurveA2Pool.d.ts +245 -0
- package/dist/types/typechain-types/psm/utils/zap/interfaces/ICurveAPool.sol/ICurveA3Pool.d.ts +245 -0
- package/dist/types/typechain-types/psm/utils/zap/interfaces/ICurveAPool.sol/ICurveA4Pool.d.ts +245 -0
- package/dist/types/typechain-types/psm/utils/zap/interfaces/ICurveAPool.sol/ICurveAPool.d.ts +245 -0
- package/dist/types/typechain-types/psm/utils/zap/interfaces/ICurveAPool.sol/index.d.ts +4 -0
- package/dist/types/typechain-types/psm/utils/zap/interfaces/ICurveBasePool.sol/ICurveBase2Pool.d.ts +49 -0
- package/dist/types/typechain-types/psm/utils/zap/interfaces/ICurveBasePool.sol/ICurveBase3Pool.d.ts +49 -0
- package/dist/types/typechain-types/psm/utils/zap/interfaces/ICurveBasePool.sol/ICurveBase4Pool.d.ts +49 -0
- package/dist/types/typechain-types/psm/utils/zap/interfaces/ICurveBasePool.sol/ICurveBasePool.d.ts +159 -0
- package/dist/types/typechain-types/psm/utils/zap/interfaces/ICurveBasePool.sol/index.d.ts +4 -0
- package/dist/types/typechain-types/psm/utils/zap/interfaces/ICurveCryptoPool.sol/ICurveCryptoPool.d.ts +249 -0
- package/dist/types/typechain-types/psm/utils/zap/interfaces/ICurveCryptoPool.sol/ICurveTriCryptoPool.d.ts +153 -0
- package/dist/types/typechain-types/psm/utils/zap/interfaces/ICurveCryptoPool.sol/IZapCurveMetaCryptoPool.d.ts +165 -0
- package/dist/types/typechain-types/psm/utils/zap/interfaces/ICurveCryptoPool.sol/index.d.ts +3 -0
- package/dist/types/typechain-types/psm/utils/zap/interfaces/ICurveETHPool.d.ts +135 -0
- package/dist/types/typechain-types/psm/utils/zap/interfaces/ICurveFactoryMetaPool.sol/ICurveDepositZap.d.ts +55 -0
- package/dist/types/typechain-types/psm/utils/zap/interfaces/ICurveFactoryMetaPool.sol/ICurveDepositZap3Pool.d.ts +87 -0
- package/dist/types/typechain-types/psm/utils/zap/interfaces/ICurveFactoryMetaPool.sol/ICurveDepositZap4Pool.d.ts +87 -0
- package/dist/types/typechain-types/psm/utils/zap/interfaces/ICurveFactoryMetaPool.sol/ICurveFactoryMetaPool.d.ts +159 -0
- package/dist/types/typechain-types/psm/utils/zap/interfaces/ICurveFactoryMetaPool.sol/index.d.ts +4 -0
- package/dist/types/typechain-types/psm/utils/zap/interfaces/ICurveFactoryPlainPool.sol/ICurveFactoryPlain2Pool.d.ts +159 -0
- package/dist/types/typechain-types/psm/utils/zap/interfaces/ICurveFactoryPlainPool.sol/ICurveFactoryPlain3Pool.d.ts +159 -0
- package/dist/types/typechain-types/psm/utils/zap/interfaces/ICurveFactoryPlainPool.sol/ICurveFactoryPlain4Pool.d.ts +159 -0
- package/dist/types/typechain-types/psm/utils/zap/interfaces/ICurveFactoryPlainPool.sol/ICurveFactoryPlainPool.d.ts +131 -0
- package/dist/types/typechain-types/psm/utils/zap/interfaces/ICurveFactoryPlainPool.sol/index.d.ts +4 -0
- package/dist/types/typechain-types/psm/utils/zap/interfaces/ICurveMetaPool.sol/ICurveMetaPoolDeposit.d.ts +133 -0
- package/dist/types/typechain-types/psm/utils/zap/interfaces/ICurveMetaPool.sol/ICurveMetaPoolSwap.d.ts +191 -0
- package/dist/types/typechain-types/psm/utils/zap/interfaces/ICurveMetaPool.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/psm/utils/zap/interfaces/ICurvePoolRegistry.d.ts +45 -0
- package/dist/types/typechain-types/psm/utils/zap/interfaces/ICurveYPool.sol/ICurveY2PoolDeposit.d.ts +163 -0
- package/dist/types/typechain-types/psm/utils/zap/interfaces/ICurveYPool.sol/ICurveY2PoolSwap.d.ts +179 -0
- package/dist/types/typechain-types/psm/utils/zap/interfaces/ICurveYPool.sol/ICurveY3PoolDeposit.d.ts +163 -0
- package/dist/types/typechain-types/psm/utils/zap/interfaces/ICurveYPool.sol/ICurveY3PoolSwap.d.ts +179 -0
- package/dist/types/typechain-types/psm/utils/zap/interfaces/ICurveYPool.sol/ICurveY4PoolDeposit.d.ts +163 -0
- package/dist/types/typechain-types/psm/utils/zap/interfaces/ICurveYPool.sol/ICurveY4PoolSwap.d.ts +179 -0
- package/dist/types/typechain-types/psm/utils/zap/interfaces/ICurveYPool.sol/ICurveYPoolDeposit.d.ts +163 -0
- package/dist/types/typechain-types/psm/utils/zap/interfaces/ICurveYPool.sol/ICurveYPoolSwap.d.ts +179 -0
- package/dist/types/typechain-types/psm/utils/zap/interfaces/ICurveYPool.sol/index.d.ts +8 -0
- package/dist/types/typechain-types/psm/utils/zap/interfaces/ILidoStETH.d.ts +45 -0
- package/dist/types/typechain-types/psm/utils/zap/interfaces/ILidoWstETH.d.ts +89 -0
- package/dist/types/typechain-types/psm/utils/zap/interfaces/IUniswapV2Pair.d.ts +103 -0
- package/dist/types/typechain-types/psm/utils/zap/interfaces/IUniswapV3Pool.d.ts +113 -0
- package/dist/types/typechain-types/psm/utils/zap/interfaces/IUniswapV3Router.d.ts +55 -0
- package/dist/types/typechain-types/psm/utils/zap/interfaces/IWETH.d.ts +43 -0
- package/dist/types/typechain-types/psm/utils/zap/interfaces/IZap.d.ts +91 -0
- package/dist/types/typechain-types/psm/utils/zap/interfaces/concentrator/IAladdinCRV.d.ts +361 -0
- package/dist/types/typechain-types/psm/utils/zap/interfaces/concentrator/IAladdinCompounder.d.ts +290 -0
- package/dist/types/typechain-types/psm/utils/zap/interfaces/concentrator/index.d.ts +2 -0
- package/dist/types/typechain-types/psm/utils/zap/interfaces/index.d.ts +28 -0
- package/dist/types/typechain-types/psm/v2/PSMVaultV2.d.ts +1528 -0
- package/dist/types/typechain-types/psm/v2/RebalancerV2.sol/IPSMVaultView.d.ts +31 -0
- package/dist/types/typechain-types/psm/v2/RebalancerV2.sol/IRateOracle.d.ts +43 -0
- package/dist/types/typechain-types/psm/v2/RebalancerV2.sol/IZap.d.ts +39 -0
- package/dist/types/typechain-types/psm/v2/RebalancerV2.sol/RebalancerV2.d.ts +387 -0
- package/dist/types/typechain-types/psm/v2/RebalancerV2.sol/index.d.ts +4 -0
- package/dist/types/typechain-types/psm/v2/index.d.ts +3 -0
- package/dist/types/typechain-types/psm/v3/PSMVaultV3.d.ts +1631 -0
- package/dist/types/typechain-types/psm/v3/RateProviderComposed.d.ts +228 -0
- package/dist/types/typechain-types/psm/v3/RateProviderDirect.d.ts +218 -0
- package/dist/types/typechain-types/psm/v3/index.d.ts +3 -0
- package/dist/types/utils/artifacts.d.ts +244 -102
- package/dist/types/utils/contracts.d.ts +30 -0
- package/dist/types/utils/errorDecoder.d.ts +29 -28
- package/dist/types/utils/rpcError.d.ts +52 -0
- package/dist/utils/artifacts.js +6 -0
- package/dist/utils/chain.js +2 -1
- package/dist/utils/config.js +0 -1
- package/dist/utils/contracts.js +1 -1
- package/dist/utils/errorDecoder.js +69 -117
- package/dist/utils/rpcError.js +159 -0
- package/dist/wallet/assets/approveAsset.js +10 -12
- package/dist/wallet/assets/burnAsset.js +14 -16
- package/dist/wallet/assets/getAllowance.js +4 -4
- package/dist/wallet/assets/getAsset.js +2 -2
- package/dist/wallet/assets/getBalance.js +4 -3
- package/dist/wallet/assets/mintAsset.js +14 -17
- package/dist/wallet/assets/transferAsset.js +7 -10
- package/package.json +4 -3
- package/dist/generated/errorMap.json +0 -3945
- package/dist/scripts/generateErrorMap.js +0 -180
- package/dist/types/scripts/generateErrorMap.d.ts +0 -1
- package/dist/types/typechain-types/contracts/core/governance/gauges/VeBoost.d.ts +0 -518
- package/dist/types/typechain-types/contracts/interfaces/core/governance/gauges/IVeBoost.d.ts +0 -311
- package/dist/types/typechain-types/contracts/interfaces/core/governance/gauges/IVeBoostProxy.d.ts +0 -50
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/VeBoostProxy__factory.d.ts +0 -152
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/VeBoost__factory.d.ts +0 -716
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
+
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod } from "../../../../common.js";
|
|
3
|
+
export interface ICurveCryptoPoolInterface extends Interface {
|
|
4
|
+
getFunction(nameOrSignature: "add_liquidity(uint256[2],uint256)" | "add_liquidity(uint256[2],uint256,bool)" | "calc_token_amount" | "calc_withdraw_one_coin" | "coins" | "exchange(uint256,uint256,uint256,uint256,bool)" | "exchange(uint256,uint256,uint256,uint256)" | "exchange(uint256,uint256,uint256,uint256,bool,address)" | "exchange_underlying(uint256,uint256,uint256,uint256)" | "exchange_underlying(uint256,uint256,uint256,uint256,address)" | "get_dy" | "lp_price" | "price_oracle" | "remove_liquidity_one_coin" | "token"): FunctionFragment;
|
|
5
|
+
encodeFunctionData(functionFragment: 'add_liquidity(uint256[2],uint256)', values: [[BigNumberish, BigNumberish], BigNumberish]): string;
|
|
6
|
+
encodeFunctionData(functionFragment: 'add_liquidity(uint256[2],uint256,bool)', values: [[BigNumberish, BigNumberish], BigNumberish, boolean]): string;
|
|
7
|
+
encodeFunctionData(functionFragment: 'calc_token_amount', values: [[BigNumberish, BigNumberish]]): string;
|
|
8
|
+
encodeFunctionData(functionFragment: 'calc_withdraw_one_coin', values: [BigNumberish, BigNumberish]): string;
|
|
9
|
+
encodeFunctionData(functionFragment: 'coins', values: [BigNumberish]): string;
|
|
10
|
+
encodeFunctionData(functionFragment: 'exchange(uint256,uint256,uint256,uint256,bool)', values: [BigNumberish, BigNumberish, BigNumberish, BigNumberish, boolean]): string;
|
|
11
|
+
encodeFunctionData(functionFragment: 'exchange(uint256,uint256,uint256,uint256)', values: [BigNumberish, BigNumberish, BigNumberish, BigNumberish]): string;
|
|
12
|
+
encodeFunctionData(functionFragment: 'exchange(uint256,uint256,uint256,uint256,bool,address)', values: [BigNumberish, BigNumberish, BigNumberish, BigNumberish, boolean, AddressLike]): string;
|
|
13
|
+
encodeFunctionData(functionFragment: 'exchange_underlying(uint256,uint256,uint256,uint256)', values: [BigNumberish, BigNumberish, BigNumberish, BigNumberish]): string;
|
|
14
|
+
encodeFunctionData(functionFragment: 'exchange_underlying(uint256,uint256,uint256,uint256,address)', values: [BigNumberish, BigNumberish, BigNumberish, BigNumberish, AddressLike]): string;
|
|
15
|
+
encodeFunctionData(functionFragment: 'get_dy', values: [BigNumberish, BigNumberish, BigNumberish]): string;
|
|
16
|
+
encodeFunctionData(functionFragment: 'lp_price', values?: undefined): string;
|
|
17
|
+
encodeFunctionData(functionFragment: 'price_oracle', values?: undefined): string;
|
|
18
|
+
encodeFunctionData(functionFragment: 'remove_liquidity_one_coin', values: [BigNumberish, BigNumberish, BigNumberish]): string;
|
|
19
|
+
encodeFunctionData(functionFragment: 'token', values?: undefined): string;
|
|
20
|
+
decodeFunctionResult(functionFragment: 'add_liquidity(uint256[2],uint256)', data: BytesLike): Result;
|
|
21
|
+
decodeFunctionResult(functionFragment: 'add_liquidity(uint256[2],uint256,bool)', data: BytesLike): Result;
|
|
22
|
+
decodeFunctionResult(functionFragment: 'calc_token_amount', data: BytesLike): Result;
|
|
23
|
+
decodeFunctionResult(functionFragment: 'calc_withdraw_one_coin', data: BytesLike): Result;
|
|
24
|
+
decodeFunctionResult(functionFragment: 'coins', data: BytesLike): Result;
|
|
25
|
+
decodeFunctionResult(functionFragment: 'exchange(uint256,uint256,uint256,uint256,bool)', data: BytesLike): Result;
|
|
26
|
+
decodeFunctionResult(functionFragment: 'exchange(uint256,uint256,uint256,uint256)', data: BytesLike): Result;
|
|
27
|
+
decodeFunctionResult(functionFragment: 'exchange(uint256,uint256,uint256,uint256,bool,address)', data: BytesLike): Result;
|
|
28
|
+
decodeFunctionResult(functionFragment: 'exchange_underlying(uint256,uint256,uint256,uint256)', data: BytesLike): Result;
|
|
29
|
+
decodeFunctionResult(functionFragment: 'exchange_underlying(uint256,uint256,uint256,uint256,address)', data: BytesLike): Result;
|
|
30
|
+
decodeFunctionResult(functionFragment: 'get_dy', data: BytesLike): Result;
|
|
31
|
+
decodeFunctionResult(functionFragment: 'lp_price', data: BytesLike): Result;
|
|
32
|
+
decodeFunctionResult(functionFragment: 'price_oracle', data: BytesLike): Result;
|
|
33
|
+
decodeFunctionResult(functionFragment: 'remove_liquidity_one_coin', data: BytesLike): Result;
|
|
34
|
+
decodeFunctionResult(functionFragment: 'token', data: BytesLike): Result;
|
|
35
|
+
}
|
|
36
|
+
export interface ICurveCryptoPool extends BaseContract {
|
|
37
|
+
connect(runner?: ContractRunner | null): ICurveCryptoPool;
|
|
38
|
+
waitForDeployment(): Promise<this>;
|
|
39
|
+
interface: ICurveCryptoPoolInterface;
|
|
40
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
41
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
42
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
43
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
44
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
45
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
46
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
47
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
48
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
49
|
+
"add_liquidity(uint256[2],uint256)": TypedContractMethod<[
|
|
50
|
+
amounts: [BigNumberish, BigNumberish],
|
|
51
|
+
min_mint_amount: BigNumberish
|
|
52
|
+
], [
|
|
53
|
+
bigint
|
|
54
|
+
], 'payable'>;
|
|
55
|
+
"add_liquidity(uint256[2],uint256,bool)": TypedContractMethod<[
|
|
56
|
+
amounts: [BigNumberish, BigNumberish],
|
|
57
|
+
min_mint_amount: BigNumberish,
|
|
58
|
+
use_eth: boolean
|
|
59
|
+
], [
|
|
60
|
+
bigint
|
|
61
|
+
], 'payable'>;
|
|
62
|
+
calc_token_amount: TypedContractMethod<[
|
|
63
|
+
amounts: [BigNumberish, BigNumberish]
|
|
64
|
+
], [
|
|
65
|
+
bigint
|
|
66
|
+
], 'view'>;
|
|
67
|
+
calc_withdraw_one_coin: TypedContractMethod<[
|
|
68
|
+
token_amount: BigNumberish,
|
|
69
|
+
i: BigNumberish
|
|
70
|
+
], [
|
|
71
|
+
bigint
|
|
72
|
+
], 'view'>;
|
|
73
|
+
coins: TypedContractMethod<[
|
|
74
|
+
index: BigNumberish
|
|
75
|
+
], [
|
|
76
|
+
string
|
|
77
|
+
], 'view'>;
|
|
78
|
+
"exchange(uint256,uint256,uint256,uint256,bool)": TypedContractMethod<[
|
|
79
|
+
i: BigNumberish,
|
|
80
|
+
j: BigNumberish,
|
|
81
|
+
dx: BigNumberish,
|
|
82
|
+
min_dy: BigNumberish,
|
|
83
|
+
use_eth: boolean
|
|
84
|
+
], [
|
|
85
|
+
void
|
|
86
|
+
], 'payable'>;
|
|
87
|
+
"exchange(uint256,uint256,uint256,uint256)": TypedContractMethod<[
|
|
88
|
+
i: BigNumberish,
|
|
89
|
+
j: BigNumberish,
|
|
90
|
+
dx: BigNumberish,
|
|
91
|
+
min_dy: BigNumberish
|
|
92
|
+
], [
|
|
93
|
+
void
|
|
94
|
+
], 'payable'>;
|
|
95
|
+
"exchange(uint256,uint256,uint256,uint256,bool,address)": TypedContractMethod<[
|
|
96
|
+
i: BigNumberish,
|
|
97
|
+
j: BigNumberish,
|
|
98
|
+
dx: BigNumberish,
|
|
99
|
+
min_dy: BigNumberish,
|
|
100
|
+
use_eth: boolean,
|
|
101
|
+
receiver: AddressLike
|
|
102
|
+
], [
|
|
103
|
+
void
|
|
104
|
+
], 'payable'>;
|
|
105
|
+
"exchange_underlying(uint256,uint256,uint256,uint256)": TypedContractMethod<[
|
|
106
|
+
i: BigNumberish,
|
|
107
|
+
j: BigNumberish,
|
|
108
|
+
dx: BigNumberish,
|
|
109
|
+
min_dy: BigNumberish
|
|
110
|
+
], [
|
|
111
|
+
bigint
|
|
112
|
+
], 'payable'>;
|
|
113
|
+
"exchange_underlying(uint256,uint256,uint256,uint256,address)": TypedContractMethod<[
|
|
114
|
+
i: BigNumberish,
|
|
115
|
+
j: BigNumberish,
|
|
116
|
+
dx: BigNumberish,
|
|
117
|
+
min_dy: BigNumberish,
|
|
118
|
+
receiver: AddressLike
|
|
119
|
+
], [
|
|
120
|
+
bigint
|
|
121
|
+
], 'payable'>;
|
|
122
|
+
get_dy: TypedContractMethod<[
|
|
123
|
+
i: BigNumberish,
|
|
124
|
+
j: BigNumberish,
|
|
125
|
+
dx: BigNumberish
|
|
126
|
+
], [
|
|
127
|
+
bigint
|
|
128
|
+
], 'view'>;
|
|
129
|
+
lp_price: TypedContractMethod<[
|
|
130
|
+
], [
|
|
131
|
+
bigint
|
|
132
|
+
], 'view'>;
|
|
133
|
+
price_oracle: TypedContractMethod<[
|
|
134
|
+
], [
|
|
135
|
+
bigint
|
|
136
|
+
], 'view'>;
|
|
137
|
+
remove_liquidity_one_coin: TypedContractMethod<[
|
|
138
|
+
token_amount: BigNumberish,
|
|
139
|
+
i: BigNumberish,
|
|
140
|
+
min_amount: BigNumberish
|
|
141
|
+
], [
|
|
142
|
+
bigint
|
|
143
|
+
], 'nonpayable'>;
|
|
144
|
+
token: TypedContractMethod<[
|
|
145
|
+
], [
|
|
146
|
+
string
|
|
147
|
+
], 'view'>;
|
|
148
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
149
|
+
getFunction(nameOrSignature: 'add_liquidity(uint256[2],uint256)'): TypedContractMethod<[
|
|
150
|
+
amounts: [BigNumberish, BigNumberish],
|
|
151
|
+
min_mint_amount: BigNumberish
|
|
152
|
+
], [
|
|
153
|
+
bigint
|
|
154
|
+
], 'payable'>;
|
|
155
|
+
getFunction(nameOrSignature: 'add_liquidity(uint256[2],uint256,bool)'): TypedContractMethod<[
|
|
156
|
+
amounts: [BigNumberish, BigNumberish],
|
|
157
|
+
min_mint_amount: BigNumberish,
|
|
158
|
+
use_eth: boolean
|
|
159
|
+
], [
|
|
160
|
+
bigint
|
|
161
|
+
], 'payable'>;
|
|
162
|
+
getFunction(nameOrSignature: 'calc_token_amount'): TypedContractMethod<[
|
|
163
|
+
amounts: [BigNumberish, BigNumberish]
|
|
164
|
+
], [
|
|
165
|
+
bigint
|
|
166
|
+
], 'view'>;
|
|
167
|
+
getFunction(nameOrSignature: 'calc_withdraw_one_coin'): TypedContractMethod<[
|
|
168
|
+
token_amount: BigNumberish,
|
|
169
|
+
i: BigNumberish
|
|
170
|
+
], [
|
|
171
|
+
bigint
|
|
172
|
+
], 'view'>;
|
|
173
|
+
getFunction(nameOrSignature: 'coins'): TypedContractMethod<[
|
|
174
|
+
index: BigNumberish
|
|
175
|
+
], [
|
|
176
|
+
string
|
|
177
|
+
], 'view'>;
|
|
178
|
+
getFunction(nameOrSignature: 'exchange(uint256,uint256,uint256,uint256,bool)'): TypedContractMethod<[
|
|
179
|
+
i: BigNumberish,
|
|
180
|
+
j: BigNumberish,
|
|
181
|
+
dx: BigNumberish,
|
|
182
|
+
min_dy: BigNumberish,
|
|
183
|
+
use_eth: boolean
|
|
184
|
+
], [
|
|
185
|
+
void
|
|
186
|
+
], 'payable'>;
|
|
187
|
+
getFunction(nameOrSignature: 'exchange(uint256,uint256,uint256,uint256)'): TypedContractMethod<[
|
|
188
|
+
i: BigNumberish,
|
|
189
|
+
j: BigNumberish,
|
|
190
|
+
dx: BigNumberish,
|
|
191
|
+
min_dy: BigNumberish
|
|
192
|
+
], [
|
|
193
|
+
void
|
|
194
|
+
], 'payable'>;
|
|
195
|
+
getFunction(nameOrSignature: 'exchange(uint256,uint256,uint256,uint256,bool,address)'): TypedContractMethod<[
|
|
196
|
+
i: BigNumberish,
|
|
197
|
+
j: BigNumberish,
|
|
198
|
+
dx: BigNumberish,
|
|
199
|
+
min_dy: BigNumberish,
|
|
200
|
+
use_eth: boolean,
|
|
201
|
+
receiver: AddressLike
|
|
202
|
+
], [
|
|
203
|
+
void
|
|
204
|
+
], 'payable'>;
|
|
205
|
+
getFunction(nameOrSignature: 'exchange_underlying(uint256,uint256,uint256,uint256)'): TypedContractMethod<[
|
|
206
|
+
i: BigNumberish,
|
|
207
|
+
j: BigNumberish,
|
|
208
|
+
dx: BigNumberish,
|
|
209
|
+
min_dy: BigNumberish
|
|
210
|
+
], [
|
|
211
|
+
bigint
|
|
212
|
+
], 'payable'>;
|
|
213
|
+
getFunction(nameOrSignature: 'exchange_underlying(uint256,uint256,uint256,uint256,address)'): TypedContractMethod<[
|
|
214
|
+
i: BigNumberish,
|
|
215
|
+
j: BigNumberish,
|
|
216
|
+
dx: BigNumberish,
|
|
217
|
+
min_dy: BigNumberish,
|
|
218
|
+
receiver: AddressLike
|
|
219
|
+
], [
|
|
220
|
+
bigint
|
|
221
|
+
], 'payable'>;
|
|
222
|
+
getFunction(nameOrSignature: 'get_dy'): TypedContractMethod<[
|
|
223
|
+
i: BigNumberish,
|
|
224
|
+
j: BigNumberish,
|
|
225
|
+
dx: BigNumberish
|
|
226
|
+
], [
|
|
227
|
+
bigint
|
|
228
|
+
], 'view'>;
|
|
229
|
+
getFunction(nameOrSignature: 'lp_price'): TypedContractMethod<[
|
|
230
|
+
], [
|
|
231
|
+
bigint
|
|
232
|
+
], 'view'>;
|
|
233
|
+
getFunction(nameOrSignature: 'price_oracle'): TypedContractMethod<[
|
|
234
|
+
], [
|
|
235
|
+
bigint
|
|
236
|
+
], 'view'>;
|
|
237
|
+
getFunction(nameOrSignature: 'remove_liquidity_one_coin'): TypedContractMethod<[
|
|
238
|
+
token_amount: BigNumberish,
|
|
239
|
+
i: BigNumberish,
|
|
240
|
+
min_amount: BigNumberish
|
|
241
|
+
], [
|
|
242
|
+
bigint
|
|
243
|
+
], 'nonpayable'>;
|
|
244
|
+
getFunction(nameOrSignature: 'token'): TypedContractMethod<[
|
|
245
|
+
], [
|
|
246
|
+
string
|
|
247
|
+
], 'view'>;
|
|
248
|
+
filters: {};
|
|
249
|
+
}
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
+
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod } from "../../../../common.js";
|
|
3
|
+
export interface ICurveTriCryptoPoolInterface extends Interface {
|
|
4
|
+
getFunction(nameOrSignature: "add_liquidity(uint256[3],uint256,bool)" | "add_liquidity(uint256[3],uint256)" | "calc_token_amount" | "calc_withdraw_one_coin" | "coins" | "exchange" | "get_dy" | "remove_liquidity_one_coin" | "token"): FunctionFragment;
|
|
5
|
+
encodeFunctionData(functionFragment: 'add_liquidity(uint256[3],uint256,bool)', values: [[BigNumberish, BigNumberish, BigNumberish], BigNumberish, boolean]): string;
|
|
6
|
+
encodeFunctionData(functionFragment: 'add_liquidity(uint256[3],uint256)', values: [[BigNumberish, BigNumberish, BigNumberish], BigNumberish]): string;
|
|
7
|
+
encodeFunctionData(functionFragment: 'calc_token_amount', values: [[BigNumberish, BigNumberish, BigNumberish], boolean]): string;
|
|
8
|
+
encodeFunctionData(functionFragment: 'calc_withdraw_one_coin', values: [BigNumberish, BigNumberish]): string;
|
|
9
|
+
encodeFunctionData(functionFragment: 'coins', values: [BigNumberish]): string;
|
|
10
|
+
encodeFunctionData(functionFragment: 'exchange', values: [BigNumberish, BigNumberish, BigNumberish, BigNumberish, boolean]): string;
|
|
11
|
+
encodeFunctionData(functionFragment: 'get_dy', values: [BigNumberish, BigNumberish, BigNumberish]): string;
|
|
12
|
+
encodeFunctionData(functionFragment: 'remove_liquidity_one_coin', values: [BigNumberish, BigNumberish, BigNumberish]): string;
|
|
13
|
+
encodeFunctionData(functionFragment: 'token', values?: undefined): string;
|
|
14
|
+
decodeFunctionResult(functionFragment: 'add_liquidity(uint256[3],uint256,bool)', data: BytesLike): Result;
|
|
15
|
+
decodeFunctionResult(functionFragment: 'add_liquidity(uint256[3],uint256)', data: BytesLike): Result;
|
|
16
|
+
decodeFunctionResult(functionFragment: 'calc_token_amount', data: BytesLike): Result;
|
|
17
|
+
decodeFunctionResult(functionFragment: 'calc_withdraw_one_coin', data: BytesLike): Result;
|
|
18
|
+
decodeFunctionResult(functionFragment: 'coins', data: BytesLike): Result;
|
|
19
|
+
decodeFunctionResult(functionFragment: 'exchange', data: BytesLike): Result;
|
|
20
|
+
decodeFunctionResult(functionFragment: 'get_dy', data: BytesLike): Result;
|
|
21
|
+
decodeFunctionResult(functionFragment: 'remove_liquidity_one_coin', data: BytesLike): Result;
|
|
22
|
+
decodeFunctionResult(functionFragment: 'token', data: BytesLike): Result;
|
|
23
|
+
}
|
|
24
|
+
export interface ICurveTriCryptoPool extends BaseContract {
|
|
25
|
+
connect(runner?: ContractRunner | null): ICurveTriCryptoPool;
|
|
26
|
+
waitForDeployment(): Promise<this>;
|
|
27
|
+
interface: ICurveTriCryptoPoolInterface;
|
|
28
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
29
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
30
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
31
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
32
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
33
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
34
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
35
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
36
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
37
|
+
"add_liquidity(uint256[3],uint256,bool)": TypedContractMethod<[
|
|
38
|
+
amounts: [BigNumberish, BigNumberish, BigNumberish],
|
|
39
|
+
min_mint_amount: BigNumberish,
|
|
40
|
+
use_eth: boolean
|
|
41
|
+
], [
|
|
42
|
+
void
|
|
43
|
+
], 'payable'>;
|
|
44
|
+
"add_liquidity(uint256[3],uint256)": TypedContractMethod<[
|
|
45
|
+
amounts: [BigNumberish, BigNumberish, BigNumberish],
|
|
46
|
+
min_mint_amount: BigNumberish
|
|
47
|
+
], [
|
|
48
|
+
void
|
|
49
|
+
], 'payable'>;
|
|
50
|
+
calc_token_amount: TypedContractMethod<[
|
|
51
|
+
amounts: [BigNumberish, BigNumberish, BigNumberish],
|
|
52
|
+
deposit: boolean
|
|
53
|
+
], [
|
|
54
|
+
bigint
|
|
55
|
+
], 'view'>;
|
|
56
|
+
calc_withdraw_one_coin: TypedContractMethod<[
|
|
57
|
+
token_amount: BigNumberish,
|
|
58
|
+
i: BigNumberish
|
|
59
|
+
], [
|
|
60
|
+
bigint
|
|
61
|
+
], 'view'>;
|
|
62
|
+
coins: TypedContractMethod<[
|
|
63
|
+
index: BigNumberish
|
|
64
|
+
], [
|
|
65
|
+
string
|
|
66
|
+
], 'nonpayable'>;
|
|
67
|
+
exchange: TypedContractMethod<[
|
|
68
|
+
i: BigNumberish,
|
|
69
|
+
j: BigNumberish,
|
|
70
|
+
dx: BigNumberish,
|
|
71
|
+
min_dy: BigNumberish,
|
|
72
|
+
use_eth: boolean
|
|
73
|
+
], [
|
|
74
|
+
void
|
|
75
|
+
], 'nonpayable'>;
|
|
76
|
+
get_dy: TypedContractMethod<[
|
|
77
|
+
i: BigNumberish,
|
|
78
|
+
j: BigNumberish,
|
|
79
|
+
dx: BigNumberish
|
|
80
|
+
], [
|
|
81
|
+
bigint
|
|
82
|
+
], 'view'>;
|
|
83
|
+
remove_liquidity_one_coin: TypedContractMethod<[
|
|
84
|
+
token_amount: BigNumberish,
|
|
85
|
+
i: BigNumberish,
|
|
86
|
+
min_amount: BigNumberish
|
|
87
|
+
], [
|
|
88
|
+
void
|
|
89
|
+
], 'nonpayable'>;
|
|
90
|
+
token: TypedContractMethod<[
|
|
91
|
+
], [
|
|
92
|
+
string
|
|
93
|
+
], 'view'>;
|
|
94
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
95
|
+
getFunction(nameOrSignature: 'add_liquidity(uint256[3],uint256,bool)'): TypedContractMethod<[
|
|
96
|
+
amounts: [BigNumberish, BigNumberish, BigNumberish],
|
|
97
|
+
min_mint_amount: BigNumberish,
|
|
98
|
+
use_eth: boolean
|
|
99
|
+
], [
|
|
100
|
+
void
|
|
101
|
+
], 'payable'>;
|
|
102
|
+
getFunction(nameOrSignature: 'add_liquidity(uint256[3],uint256)'): TypedContractMethod<[
|
|
103
|
+
amounts: [BigNumberish, BigNumberish, BigNumberish],
|
|
104
|
+
min_mint_amount: BigNumberish
|
|
105
|
+
], [
|
|
106
|
+
void
|
|
107
|
+
], 'payable'>;
|
|
108
|
+
getFunction(nameOrSignature: 'calc_token_amount'): TypedContractMethod<[
|
|
109
|
+
amounts: [BigNumberish, BigNumberish, BigNumberish],
|
|
110
|
+
deposit: boolean
|
|
111
|
+
], [
|
|
112
|
+
bigint
|
|
113
|
+
], 'view'>;
|
|
114
|
+
getFunction(nameOrSignature: 'calc_withdraw_one_coin'): TypedContractMethod<[
|
|
115
|
+
token_amount: BigNumberish,
|
|
116
|
+
i: BigNumberish
|
|
117
|
+
], [
|
|
118
|
+
bigint
|
|
119
|
+
], 'view'>;
|
|
120
|
+
getFunction(nameOrSignature: 'coins'): TypedContractMethod<[
|
|
121
|
+
index: BigNumberish
|
|
122
|
+
], [
|
|
123
|
+
string
|
|
124
|
+
], 'nonpayable'>;
|
|
125
|
+
getFunction(nameOrSignature: 'exchange'): TypedContractMethod<[
|
|
126
|
+
i: BigNumberish,
|
|
127
|
+
j: BigNumberish,
|
|
128
|
+
dx: BigNumberish,
|
|
129
|
+
min_dy: BigNumberish,
|
|
130
|
+
use_eth: boolean
|
|
131
|
+
], [
|
|
132
|
+
void
|
|
133
|
+
], 'nonpayable'>;
|
|
134
|
+
getFunction(nameOrSignature: 'get_dy'): TypedContractMethod<[
|
|
135
|
+
i: BigNumberish,
|
|
136
|
+
j: BigNumberish,
|
|
137
|
+
dx: BigNumberish
|
|
138
|
+
], [
|
|
139
|
+
bigint
|
|
140
|
+
], 'view'>;
|
|
141
|
+
getFunction(nameOrSignature: 'remove_liquidity_one_coin'): TypedContractMethod<[
|
|
142
|
+
token_amount: BigNumberish,
|
|
143
|
+
i: BigNumberish,
|
|
144
|
+
min_amount: BigNumberish
|
|
145
|
+
], [
|
|
146
|
+
void
|
|
147
|
+
], 'nonpayable'>;
|
|
148
|
+
getFunction(nameOrSignature: 'token'): TypedContractMethod<[
|
|
149
|
+
], [
|
|
150
|
+
string
|
|
151
|
+
], 'view'>;
|
|
152
|
+
filters: {};
|
|
153
|
+
}
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
+
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod } from "../../../../common.js";
|
|
3
|
+
export interface IZapCurveMetaCryptoPoolInterface extends Interface {
|
|
4
|
+
getFunction(nameOrSignature: "add_liquidity" | "base_pool" | "calc_token_amount" | "calc_withdraw_one_coin" | "coins" | "exchange_underlying" | "get_dy_underlying" | "pool" | "remove_liquidity_one_coin" | "token" | "underlying_coins"): FunctionFragment;
|
|
5
|
+
encodeFunctionData(functionFragment: 'add_liquidity', values: [[BigNumberish, BigNumberish, BigNumberish, BigNumberish], BigNumberish]): string;
|
|
6
|
+
encodeFunctionData(functionFragment: 'base_pool', values?: undefined): string;
|
|
7
|
+
encodeFunctionData(functionFragment: 'calc_token_amount', values: [[BigNumberish, BigNumberish, BigNumberish, BigNumberish]]): string;
|
|
8
|
+
encodeFunctionData(functionFragment: 'calc_withdraw_one_coin', values: [BigNumberish, BigNumberish]): string;
|
|
9
|
+
encodeFunctionData(functionFragment: 'coins', values: [BigNumberish]): string;
|
|
10
|
+
encodeFunctionData(functionFragment: 'exchange_underlying', values: [BigNumberish, BigNumberish, BigNumberish, BigNumberish]): string;
|
|
11
|
+
encodeFunctionData(functionFragment: 'get_dy_underlying', values: [BigNumberish, BigNumberish, BigNumberish]): string;
|
|
12
|
+
encodeFunctionData(functionFragment: 'pool', values?: undefined): string;
|
|
13
|
+
encodeFunctionData(functionFragment: 'remove_liquidity_one_coin', values: [BigNumberish, BigNumberish, BigNumberish]): string;
|
|
14
|
+
encodeFunctionData(functionFragment: 'token', values?: undefined): string;
|
|
15
|
+
encodeFunctionData(functionFragment: 'underlying_coins', values: [BigNumberish]): string;
|
|
16
|
+
decodeFunctionResult(functionFragment: 'add_liquidity', data: BytesLike): Result;
|
|
17
|
+
decodeFunctionResult(functionFragment: 'base_pool', data: BytesLike): Result;
|
|
18
|
+
decodeFunctionResult(functionFragment: 'calc_token_amount', data: BytesLike): Result;
|
|
19
|
+
decodeFunctionResult(functionFragment: 'calc_withdraw_one_coin', data: BytesLike): Result;
|
|
20
|
+
decodeFunctionResult(functionFragment: 'coins', data: BytesLike): Result;
|
|
21
|
+
decodeFunctionResult(functionFragment: 'exchange_underlying', data: BytesLike): Result;
|
|
22
|
+
decodeFunctionResult(functionFragment: 'get_dy_underlying', data: BytesLike): Result;
|
|
23
|
+
decodeFunctionResult(functionFragment: 'pool', data: BytesLike): Result;
|
|
24
|
+
decodeFunctionResult(functionFragment: 'remove_liquidity_one_coin', data: BytesLike): Result;
|
|
25
|
+
decodeFunctionResult(functionFragment: 'token', data: BytesLike): Result;
|
|
26
|
+
decodeFunctionResult(functionFragment: 'underlying_coins', data: BytesLike): Result;
|
|
27
|
+
}
|
|
28
|
+
export interface IZapCurveMetaCryptoPool extends BaseContract {
|
|
29
|
+
connect(runner?: ContractRunner | null): IZapCurveMetaCryptoPool;
|
|
30
|
+
waitForDeployment(): Promise<this>;
|
|
31
|
+
interface: IZapCurveMetaCryptoPoolInterface;
|
|
32
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
33
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
34
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
35
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
36
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
37
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
38
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
39
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
40
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
41
|
+
add_liquidity: TypedContractMethod<[
|
|
42
|
+
amounts: [BigNumberish, BigNumberish, BigNumberish, BigNumberish],
|
|
43
|
+
min_mint_amount: BigNumberish
|
|
44
|
+
], [
|
|
45
|
+
bigint
|
|
46
|
+
], 'nonpayable'>;
|
|
47
|
+
base_pool: TypedContractMethod<[
|
|
48
|
+
], [
|
|
49
|
+
string
|
|
50
|
+
], 'view'>;
|
|
51
|
+
calc_token_amount: TypedContractMethod<[
|
|
52
|
+
amounts: [BigNumberish, BigNumberish, BigNumberish, BigNumberish]
|
|
53
|
+
], [
|
|
54
|
+
bigint
|
|
55
|
+
], 'view'>;
|
|
56
|
+
calc_withdraw_one_coin: TypedContractMethod<[
|
|
57
|
+
token_amount: BigNumberish,
|
|
58
|
+
i: BigNumberish
|
|
59
|
+
], [
|
|
60
|
+
bigint
|
|
61
|
+
], 'view'>;
|
|
62
|
+
coins: TypedContractMethod<[
|
|
63
|
+
index: BigNumberish
|
|
64
|
+
], [
|
|
65
|
+
string
|
|
66
|
+
], 'view'>;
|
|
67
|
+
exchange_underlying: TypedContractMethod<[
|
|
68
|
+
i: BigNumberish,
|
|
69
|
+
j: BigNumberish,
|
|
70
|
+
dx: BigNumberish,
|
|
71
|
+
min_dy: BigNumberish
|
|
72
|
+
], [
|
|
73
|
+
bigint
|
|
74
|
+
], 'nonpayable'>;
|
|
75
|
+
get_dy_underlying: TypedContractMethod<[
|
|
76
|
+
i: BigNumberish,
|
|
77
|
+
j: BigNumberish,
|
|
78
|
+
dx: BigNumberish
|
|
79
|
+
], [
|
|
80
|
+
bigint
|
|
81
|
+
], 'view'>;
|
|
82
|
+
pool: TypedContractMethod<[
|
|
83
|
+
], [
|
|
84
|
+
string
|
|
85
|
+
], 'view'>;
|
|
86
|
+
remove_liquidity_one_coin: TypedContractMethod<[
|
|
87
|
+
token_amount: BigNumberish,
|
|
88
|
+
i: BigNumberish,
|
|
89
|
+
min_amount: BigNumberish
|
|
90
|
+
], [
|
|
91
|
+
void
|
|
92
|
+
], 'nonpayable'>;
|
|
93
|
+
token: TypedContractMethod<[
|
|
94
|
+
], [
|
|
95
|
+
string
|
|
96
|
+
], 'view'>;
|
|
97
|
+
underlying_coins: TypedContractMethod<[
|
|
98
|
+
index: BigNumberish
|
|
99
|
+
], [
|
|
100
|
+
string
|
|
101
|
+
], 'view'>;
|
|
102
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
103
|
+
getFunction(nameOrSignature: 'add_liquidity'): TypedContractMethod<[
|
|
104
|
+
amounts: [BigNumberish, BigNumberish, BigNumberish, BigNumberish],
|
|
105
|
+
min_mint_amount: BigNumberish
|
|
106
|
+
], [
|
|
107
|
+
bigint
|
|
108
|
+
], 'nonpayable'>;
|
|
109
|
+
getFunction(nameOrSignature: 'base_pool'): TypedContractMethod<[
|
|
110
|
+
], [
|
|
111
|
+
string
|
|
112
|
+
], 'view'>;
|
|
113
|
+
getFunction(nameOrSignature: 'calc_token_amount'): TypedContractMethod<[
|
|
114
|
+
amounts: [BigNumberish, BigNumberish, BigNumberish, BigNumberish]
|
|
115
|
+
], [
|
|
116
|
+
bigint
|
|
117
|
+
], 'view'>;
|
|
118
|
+
getFunction(nameOrSignature: 'calc_withdraw_one_coin'): TypedContractMethod<[
|
|
119
|
+
token_amount: BigNumberish,
|
|
120
|
+
i: BigNumberish
|
|
121
|
+
], [
|
|
122
|
+
bigint
|
|
123
|
+
], 'view'>;
|
|
124
|
+
getFunction(nameOrSignature: 'coins'): TypedContractMethod<[
|
|
125
|
+
index: BigNumberish
|
|
126
|
+
], [
|
|
127
|
+
string
|
|
128
|
+
], 'view'>;
|
|
129
|
+
getFunction(nameOrSignature: 'exchange_underlying'): TypedContractMethod<[
|
|
130
|
+
i: BigNumberish,
|
|
131
|
+
j: BigNumberish,
|
|
132
|
+
dx: BigNumberish,
|
|
133
|
+
min_dy: BigNumberish
|
|
134
|
+
], [
|
|
135
|
+
bigint
|
|
136
|
+
], 'nonpayable'>;
|
|
137
|
+
getFunction(nameOrSignature: 'get_dy_underlying'): TypedContractMethod<[
|
|
138
|
+
i: BigNumberish,
|
|
139
|
+
j: BigNumberish,
|
|
140
|
+
dx: BigNumberish
|
|
141
|
+
], [
|
|
142
|
+
bigint
|
|
143
|
+
], 'view'>;
|
|
144
|
+
getFunction(nameOrSignature: 'pool'): TypedContractMethod<[
|
|
145
|
+
], [
|
|
146
|
+
string
|
|
147
|
+
], 'view'>;
|
|
148
|
+
getFunction(nameOrSignature: 'remove_liquidity_one_coin'): TypedContractMethod<[
|
|
149
|
+
token_amount: BigNumberish,
|
|
150
|
+
i: BigNumberish,
|
|
151
|
+
min_amount: BigNumberish
|
|
152
|
+
], [
|
|
153
|
+
void
|
|
154
|
+
], 'nonpayable'>;
|
|
155
|
+
getFunction(nameOrSignature: 'token'): TypedContractMethod<[
|
|
156
|
+
], [
|
|
157
|
+
string
|
|
158
|
+
], 'view'>;
|
|
159
|
+
getFunction(nameOrSignature: 'underlying_coins'): TypedContractMethod<[
|
|
160
|
+
index: BigNumberish
|
|
161
|
+
], [
|
|
162
|
+
string
|
|
163
|
+
], 'view'>;
|
|
164
|
+
filters: {};
|
|
165
|
+
}
|