@gearbox-protocol/sdk 14.12.0-next.15 → 14.12.0-next.16
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/cjs/abi/ierc4626Adapter.js +264 -0
- package/dist/cjs/plugins/adapters/abi/actionAbi.js +1 -10
- package/dist/cjs/plugins/adapters/abi/adapters/erc4626ReferralAdapter.js +332 -0
- package/dist/cjs/plugins/adapters/abi/adapters/iBalancerV3RouterAdapter.js +436 -0
- package/dist/cjs/plugins/adapters/abi/adapters/iBalancerV3WrapperAdapter.js +183 -0
- package/dist/cjs/plugins/adapters/abi/adapters/iCamelotV3Adapter.js +586 -0
- package/dist/cjs/plugins/adapters/abi/adapters/iConvexV1BaseRewardPoolAdapter.js +385 -0
- package/dist/cjs/plugins/adapters/abi/adapters/iCurveV1StableNgAdapter.js +708 -0
- package/dist/cjs/plugins/adapters/abi/adapters/iCurveV1_2AssetsAdapter.js +708 -0
- package/dist/cjs/plugins/adapters/abi/adapters/iCurveV1_3AssetsAdapter.js +708 -0
- package/dist/cjs/plugins/adapters/abi/adapters/iCurveV1_4AssetsAdapter.js +708 -0
- package/dist/cjs/plugins/adapters/abi/adapters/iDaiUsdsAdapter.js +206 -0
- package/dist/cjs/plugins/adapters/abi/adapters/iFluidDexAdapter.js +183 -0
- package/dist/cjs/plugins/adapters/abi/adapters/iInfinifiGatewayAdapter.js +473 -0
- package/dist/cjs/plugins/adapters/abi/adapters/iInfinifiUnwindingGateway.js +482 -0
- package/dist/cjs/plugins/adapters/abi/adapters/iKelpLrtDepositPool.js +333 -0
- package/dist/cjs/plugins/adapters/abi/adapters/iKelpLrtWithdrawalManager.js +488 -0
- package/dist/cjs/plugins/adapters/abi/adapters/iLidoV1Adapter.js +171 -0
- package/dist/cjs/plugins/adapters/abi/adapters/iMellow4626VaultAdapter.js +269 -0
- package/dist/cjs/plugins/adapters/abi/adapters/iMellowClaimerAdapter.js +350 -0
- package/dist/cjs/plugins/adapters/abi/adapters/iMellowWrapperAdapter.js +225 -0
- package/dist/cjs/plugins/adapters/abi/adapters/iMidasIssuanceVaultAdapter.js +262 -0
- package/dist/cjs/plugins/adapters/abi/adapters/iMidasRedemptionVault.js +622 -0
- package/dist/cjs/plugins/adapters/abi/adapters/iPendleRouterAdapter.js +1787 -0
- package/dist/cjs/plugins/adapters/abi/adapters/iStakingRewardsAdapter.js +288 -0
- package/dist/cjs/plugins/adapters/abi/adapters/iTraderJoeRouterAdapter.js +459 -0
- package/dist/cjs/plugins/adapters/abi/adapters/iUniswapV2Adapter.js +290 -0
- package/dist/cjs/plugins/adapters/abi/adapters/iUniswapV3Adapter.js +505 -0
- package/dist/cjs/plugins/adapters/abi/adapters/iUniswapV4Adapter.js +534 -0
- package/dist/cjs/plugins/adapters/abi/adapters/iUpshiftVaultAdapter.js +475 -0
- package/dist/cjs/plugins/adapters/abi/adapters/iVelodromeV2RouterAdapter.js +327 -0
- package/dist/cjs/plugins/adapters/abi/adapters/index.js +84 -0
- package/dist/cjs/plugins/adapters/abi/adapters/iwstEthv1Adapter.js +183 -0
- package/dist/cjs/plugins/adapters/abi/adapters/mellowDvvAdapter.js +319 -0
- package/dist/cjs/plugins/adapters/abi/conctructorAbi.js +1 -42
- package/dist/cjs/plugins/adapters/abi/conctructorAbiPatterns.js +0 -16
- package/dist/cjs/plugins/adapters/abi/index.js +2 -2
- package/dist/cjs/plugins/adapters/abi/targetContractAbi.js +0 -293
- package/dist/cjs/plugins/adapters/contracts/BalancerV3RouterAdapterContract.js +2 -2
- package/dist/cjs/plugins/adapters/contracts/BalancerV3WrapperAdapterContract.js +2 -2
- package/dist/cjs/plugins/adapters/contracts/CamelotV3AdapterContract.js +2 -2
- package/dist/cjs/plugins/adapters/contracts/ConvexV1BaseRewardPoolAdapterContract.js +2 -2
- package/dist/cjs/plugins/adapters/contracts/ConvexV1BoosterAdapterContract.js +1 -1
- package/dist/cjs/plugins/adapters/contracts/Curve2AssetsAdapterContract.js +2 -2
- package/dist/cjs/plugins/adapters/contracts/Curve3AssetsAdapterContract.js +2 -2
- package/dist/cjs/plugins/adapters/contracts/Curve4AssetsAdapterContract.js +2 -2
- package/dist/cjs/plugins/adapters/contracts/CurveV1AdapterStETHContract.js +2 -2
- package/dist/cjs/plugins/adapters/contracts/CurveV1StableNGAdapterContract.js +2 -2
- package/dist/cjs/plugins/adapters/contracts/DaiUsdsAdapterContract.js +2 -2
- package/dist/cjs/plugins/adapters/contracts/ERC4626AdapterContract.js +11 -4
- package/dist/cjs/plugins/adapters/contracts/ERC4626ReferralAdapterContract.js +2 -2
- package/dist/cjs/plugins/adapters/contracts/FluidDexAdapterContract.js +2 -2
- package/dist/cjs/plugins/adapters/contracts/InfinifiGatewayAdapterContract.js +2 -2
- package/dist/cjs/plugins/adapters/contracts/InfinifiUnwindingGatewayAdapterContract.js +3 -3
- package/dist/cjs/plugins/adapters/contracts/KelpLRTDepositPoolAdapterContract.js +3 -3
- package/dist/cjs/plugins/adapters/contracts/KelpLRTWithdrawalManagerAdapterContract.js +3 -3
- package/dist/cjs/plugins/adapters/contracts/LidoV1AdapterContract.js +2 -2
- package/dist/cjs/plugins/adapters/contracts/MellowClaimerAdapterContract.js +2 -2
- package/dist/cjs/plugins/adapters/contracts/MellowDVVAdapterContract.js +2 -2
- package/dist/cjs/plugins/adapters/contracts/MellowERC4626VaultAdapterContract.js +2 -2
- package/dist/cjs/plugins/adapters/contracts/MellowWrapperAdapterContract.js +2 -2
- package/dist/cjs/plugins/adapters/contracts/MidasIssuanceVaultAdapterContract.js +2 -2
- package/dist/cjs/plugins/adapters/contracts/MidasRedemptionVaultAdapterContract.js +3 -3
- package/dist/cjs/plugins/adapters/contracts/PendleRouterAdapterContract.js +2 -2
- package/dist/cjs/plugins/adapters/contracts/StakingRewardsAdapterContract.js +2 -2
- package/dist/cjs/plugins/adapters/contracts/TraderJoeRouterAdapterContract.js +2 -2
- package/dist/cjs/plugins/adapters/contracts/UniswapV2AdapterContract.js +2 -2
- package/dist/cjs/plugins/adapters/contracts/UniswapV3AdapterContract.js +2 -2
- package/dist/cjs/plugins/adapters/contracts/UniswapV4AdapterContract.js +3 -3
- package/dist/cjs/plugins/adapters/contracts/UpshiftVaultAdapterContract.js +3 -3
- package/dist/cjs/plugins/adapters/contracts/VelodromeV2AdapterContract.js +2 -2
- package/dist/cjs/plugins/adapters/contracts/WstETHV1AdapterContract.js +2 -2
- package/dist/cjs/plugins/adapters/contracts/index.js +0 -12
- package/dist/cjs/plugins/adapters/createAdapter.js +1 -10
- package/dist/cjs/plugins/adapters/types.js +1 -11
- package/dist/cjs/preview/index.js +5 -1
- package/dist/cjs/preview/parse/parseFacadeOperationCalldata.js +1 -2
- package/dist/cjs/preview/parse/parseOperationCalldata.js +3 -11
- package/dist/cjs/preview/parse/parsePoolOperationCalldata.js +1 -2
- package/dist/cjs/preview/parse/parseRWAFactoryOperationCalldata.js +5 -6
- package/dist/cjs/preview/prerequisites/AllowancePrerequisite.js +10 -27
- package/dist/cjs/preview/prerequisites/BalancePrerequisite.js +10 -26
- package/dist/cjs/preview/prerequisites/Prerequisite.js +1 -21
- package/dist/cjs/preview/prerequisites/RWAOpenRequirementsPrerequisite.js +16 -32
- package/dist/cjs/preview/prerequisites/buildCollateralPrerequisites.js +1 -3
- package/dist/cjs/preview/prerequisites/buildPartialLiquidationPrerequisites.js +1 -3
- package/dist/cjs/preview/prerequisites/buildPoolPrerequisites.js +8 -19
- package/dist/cjs/preview/prerequisites/buildRWAPrerequisites.js +7 -5
- package/dist/cjs/preview/prerequisites/checkPrerequisites.js +10 -10
- package/dist/cjs/preview/prerequisites/helpers.js +2 -13
- package/dist/cjs/preview/preview/applyInnerOperations.js +13 -2
- package/dist/cjs/preview/preview/applyRWAWrapUnwrap.js +74 -0
- package/dist/cjs/preview/preview/index.js +2 -2
- package/dist/cjs/preview/preview/{previewCloseOrRepay.js → previewCloseOrRepayCreditAccount.js} +6 -6
- package/dist/cjs/preview/preview/previewOperation.js +3 -3
- package/dist/cjs/preview/preview/previewPoolOperation.js +6 -39
- package/dist/cjs/preview/simulate/simulatePoolOperation.js +2 -5
- package/dist/cjs/preview/types.js +16 -0
- package/dist/cjs/sdk/accounts/CreditAccountsServiceV310.js +5 -5
- package/dist/esm/abi/ierc4626Adapter.js +240 -0
- package/dist/esm/plugins/adapters/abi/actionAbi.js +1 -10
- package/dist/esm/plugins/adapters/abi/adapters/erc4626ReferralAdapter.js +308 -0
- package/dist/esm/plugins/adapters/abi/adapters/iBalancerV3RouterAdapter.js +412 -0
- package/dist/esm/plugins/adapters/abi/adapters/iBalancerV3WrapperAdapter.js +159 -0
- package/dist/esm/plugins/adapters/abi/adapters/iCamelotV3Adapter.js +562 -0
- package/dist/esm/plugins/adapters/abi/adapters/iConvexV1BaseRewardPoolAdapter.js +361 -0
- package/dist/esm/plugins/adapters/abi/adapters/iCurveV1StableNgAdapter.js +684 -0
- package/dist/esm/plugins/adapters/abi/adapters/iCurveV1_2AssetsAdapter.js +684 -0
- package/dist/esm/plugins/adapters/abi/adapters/iCurveV1_3AssetsAdapter.js +684 -0
- package/dist/esm/plugins/adapters/abi/adapters/iCurveV1_4AssetsAdapter.js +684 -0
- package/dist/esm/plugins/adapters/abi/adapters/iDaiUsdsAdapter.js +182 -0
- package/dist/esm/plugins/adapters/abi/adapters/iFluidDexAdapter.js +159 -0
- package/dist/esm/plugins/adapters/abi/adapters/iInfinifiGatewayAdapter.js +449 -0
- package/dist/esm/plugins/adapters/abi/adapters/iInfinifiUnwindingGateway.js +457 -0
- package/dist/esm/plugins/adapters/abi/adapters/iKelpLrtDepositPool.js +308 -0
- package/dist/esm/plugins/adapters/abi/adapters/iKelpLrtWithdrawalManager.js +463 -0
- package/dist/esm/plugins/adapters/abi/adapters/iLidoV1Adapter.js +147 -0
- package/dist/esm/plugins/adapters/abi/adapters/iMellow4626VaultAdapter.js +245 -0
- package/dist/esm/plugins/adapters/abi/adapters/iMellowClaimerAdapter.js +326 -0
- package/dist/esm/plugins/adapters/abi/adapters/iMellowWrapperAdapter.js +201 -0
- package/dist/esm/plugins/adapters/abi/adapters/iMidasIssuanceVaultAdapter.js +238 -0
- package/dist/esm/plugins/adapters/abi/adapters/iMidasRedemptionVault.js +597 -0
- package/dist/esm/plugins/adapters/abi/adapters/iPendleRouterAdapter.js +1763 -0
- package/dist/esm/plugins/adapters/abi/adapters/iStakingRewardsAdapter.js +264 -0
- package/dist/esm/plugins/adapters/abi/adapters/iTraderJoeRouterAdapter.js +435 -0
- package/dist/esm/plugins/adapters/abi/adapters/iUniswapV2Adapter.js +266 -0
- package/dist/esm/plugins/adapters/abi/adapters/iUniswapV3Adapter.js +481 -0
- package/dist/esm/plugins/adapters/abi/adapters/iUniswapV4Adapter.js +509 -0
- package/dist/esm/plugins/adapters/abi/adapters/iUpshiftVaultAdapter.js +450 -0
- package/dist/esm/plugins/adapters/abi/adapters/iVelodromeV2RouterAdapter.js +303 -0
- package/dist/esm/plugins/adapters/abi/adapters/index.js +32 -0
- package/dist/esm/plugins/adapters/abi/adapters/iwstEthv1Adapter.js +159 -0
- package/dist/esm/plugins/adapters/abi/adapters/mellowDvvAdapter.js +295 -0
- package/dist/esm/plugins/adapters/abi/conctructorAbi.js +1 -44
- package/dist/esm/plugins/adapters/abi/conctructorAbiPatterns.js +0 -14
- package/dist/esm/plugins/adapters/abi/index.js +1 -1
- package/dist/esm/plugins/adapters/abi/targetContractAbi.js +0 -289
- package/dist/esm/plugins/adapters/contracts/BalancerV3RouterAdapterContract.js +1 -1
- package/dist/esm/plugins/adapters/contracts/BalancerV3WrapperAdapterContract.js +1 -1
- package/dist/esm/plugins/adapters/contracts/CamelotV3AdapterContract.js +1 -1
- package/dist/esm/plugins/adapters/contracts/ConvexV1BaseRewardPoolAdapterContract.js +1 -1
- package/dist/esm/plugins/adapters/contracts/ConvexV1BoosterAdapterContract.js +1 -1
- package/dist/esm/plugins/adapters/contracts/Curve2AssetsAdapterContract.js +1 -1
- package/dist/esm/plugins/adapters/contracts/Curve3AssetsAdapterContract.js +1 -1
- package/dist/esm/plugins/adapters/contracts/Curve4AssetsAdapterContract.js +1 -1
- package/dist/esm/plugins/adapters/contracts/CurveV1AdapterStETHContract.js +1 -1
- package/dist/esm/plugins/adapters/contracts/CurveV1StableNGAdapterContract.js +1 -1
- package/dist/esm/plugins/adapters/contracts/DaiUsdsAdapterContract.js +1 -1
- package/dist/esm/plugins/adapters/contracts/ERC4626AdapterContract.js +10 -3
- package/dist/esm/plugins/adapters/contracts/ERC4626ReferralAdapterContract.js +1 -1
- package/dist/esm/plugins/adapters/contracts/FluidDexAdapterContract.js +1 -1
- package/dist/esm/plugins/adapters/contracts/InfinifiGatewayAdapterContract.js +1 -1
- package/dist/esm/plugins/adapters/contracts/InfinifiUnwindingGatewayAdapterContract.js +4 -4
- package/dist/esm/plugins/adapters/contracts/KelpLRTDepositPoolAdapterContract.js +4 -4
- package/dist/esm/plugins/adapters/contracts/KelpLRTWithdrawalManagerAdapterContract.js +4 -4
- package/dist/esm/plugins/adapters/contracts/LidoV1AdapterContract.js +1 -1
- package/dist/esm/plugins/adapters/contracts/MellowClaimerAdapterContract.js +1 -1
- package/dist/esm/plugins/adapters/contracts/MellowDVVAdapterContract.js +1 -1
- package/dist/esm/plugins/adapters/contracts/MellowERC4626VaultAdapterContract.js +1 -1
- package/dist/esm/plugins/adapters/contracts/MellowWrapperAdapterContract.js +1 -1
- package/dist/esm/plugins/adapters/contracts/MidasIssuanceVaultAdapterContract.js +1 -1
- package/dist/esm/plugins/adapters/contracts/MidasRedemptionVaultAdapterContract.js +4 -4
- package/dist/esm/plugins/adapters/contracts/PendleRouterAdapterContract.js +1 -1
- package/dist/esm/plugins/adapters/contracts/StakingRewardsAdapterContract.js +1 -1
- package/dist/esm/plugins/adapters/contracts/TraderJoeRouterAdapterContract.js +1 -1
- package/dist/esm/plugins/adapters/contracts/UniswapV2AdapterContract.js +1 -1
- package/dist/esm/plugins/adapters/contracts/UniswapV3AdapterContract.js +1 -1
- package/dist/esm/plugins/adapters/contracts/UniswapV4AdapterContract.js +4 -4
- package/dist/esm/plugins/adapters/contracts/UpshiftVaultAdapterContract.js +4 -4
- package/dist/esm/plugins/adapters/contracts/VelodromeV2AdapterContract.js +1 -1
- package/dist/esm/plugins/adapters/contracts/WstETHV1AdapterContract.js +1 -1
- package/dist/esm/plugins/adapters/contracts/index.js +0 -6
- package/dist/esm/plugins/adapters/createAdapter.js +1 -13
- package/dist/esm/plugins/adapters/types.js +1 -11
- package/dist/esm/preview/index.js +2 -0
- package/dist/esm/preview/parse/parseFacadeOperationCalldata.js +1 -2
- package/dist/esm/preview/parse/parseOperationCalldata.js +3 -11
- package/dist/esm/preview/parse/parsePoolOperationCalldata.js +1 -2
- package/dist/esm/preview/parse/parseRWAFactoryOperationCalldata.js +5 -6
- package/dist/esm/preview/prerequisites/AllowancePrerequisite.js +10 -27
- package/dist/esm/preview/prerequisites/BalancePrerequisite.js +10 -26
- package/dist/esm/preview/prerequisites/Prerequisite.js +1 -21
- package/dist/esm/preview/prerequisites/RWAOpenRequirementsPrerequisite.js +16 -32
- package/dist/esm/preview/prerequisites/buildCollateralPrerequisites.js +1 -3
- package/dist/esm/preview/prerequisites/buildPartialLiquidationPrerequisites.js +1 -3
- package/dist/esm/preview/prerequisites/buildPoolPrerequisites.js +8 -19
- package/dist/esm/preview/prerequisites/buildRWAPrerequisites.js +7 -5
- package/dist/esm/preview/prerequisites/checkPrerequisites.js +9 -11
- package/dist/esm/preview/prerequisites/helpers.js +5 -14
- package/dist/esm/preview/preview/applyInnerOperations.js +17 -3
- package/dist/esm/preview/preview/applyRWAWrapUnwrap.js +50 -0
- package/dist/esm/preview/preview/index.js +1 -1
- package/dist/esm/preview/preview/{previewCloseOrRepay.js → previewCloseOrRepayCreditAccount.js} +2 -2
- package/dist/esm/preview/preview/previewOperation.js +3 -3
- package/dist/esm/preview/preview/previewPoolOperation.js +7 -42
- package/dist/esm/preview/simulate/simulateOperation.js +1 -4
- package/dist/esm/preview/simulate/simulatePoolOperation.js +2 -5
- package/dist/esm/preview/types.js +0 -0
- package/dist/esm/sdk/accounts/CreditAccountsServiceV310.js +1 -1
- package/dist/types/abi/ierc4626Adapter.d.ts +179 -0
- package/dist/types/common-utils/utils/creditAccount/sort.d.ts +3 -3
- package/dist/types/common-utils/utils/strategies/eligibility/is-strategy-eligible.d.ts +1 -1
- package/dist/types/common-utils/utils/strategies/lists/get-available-and-disabled-strategies.d.ts +1 -1
- package/dist/types/dev/abi.d.ts +4 -4
- package/dist/types/dev/providers.d.ts +1 -1
- package/dist/types/permissionless/bindings/bytecode-repository.d.ts +9 -9
- package/dist/types/permissionless/bindings/treasury-splitter.d.ts +1 -1
- package/dist/types/plugins/adapters/abi/adapters/erc4626ReferralAdapter.d.ts +231 -0
- package/dist/types/plugins/adapters/abi/adapters/iBalancerV3RouterAdapter.d.ts +314 -0
- package/dist/types/plugins/adapters/abi/adapters/iBalancerV3WrapperAdapter.d.ts +117 -0
- package/dist/types/plugins/adapters/abi/adapters/iCamelotV3Adapter.d.ts +428 -0
- package/dist/types/plugins/adapters/abi/adapters/iConvexV1BaseRewardPoolAdapter.d.ts +271 -0
- package/dist/types/plugins/adapters/abi/adapters/iCurveV1StableNgAdapter.d.ts +519 -0
- package/dist/types/plugins/adapters/abi/adapters/iCurveV1_2AssetsAdapter.d.ts +519 -0
- package/dist/types/plugins/adapters/abi/adapters/iCurveV1_3AssetsAdapter.d.ts +519 -0
- package/dist/types/plugins/adapters/abi/adapters/iCurveV1_4AssetsAdapter.d.ts +519 -0
- package/dist/types/plugins/adapters/abi/adapters/iDaiUsdsAdapter.d.ts +135 -0
- package/dist/types/plugins/adapters/abi/adapters/iFluidDexAdapter.d.ts +119 -0
- package/dist/types/plugins/adapters/abi/adapters/iInfinifiGatewayAdapter.d.ts +338 -0
- package/dist/types/plugins/adapters/abi/adapters/iInfinifiUnwindingGateway.d.ts +346 -0
- package/dist/types/plugins/adapters/abi/adapters/iKelpLrtDepositPool.d.ts +233 -0
- package/dist/types/plugins/adapters/abi/adapters/iKelpLrtWithdrawalManager.d.ts +349 -0
- package/dist/types/plugins/adapters/abi/adapters/iLidoV1Adapter.d.ts +109 -0
- package/dist/types/plugins/adapters/abi/adapters/iMellow4626VaultAdapter.d.ts +183 -0
- package/dist/types/plugins/adapters/abi/adapters/iMellowClaimerAdapter.d.ts +247 -0
- package/dist/types/plugins/adapters/abi/adapters/iMellowWrapperAdapter.d.ts +151 -0
- package/dist/types/plugins/adapters/abi/adapters/iMidasIssuanceVaultAdapter.d.ts +180 -0
- package/dist/types/plugins/adapters/abi/adapters/iMidasRedemptionVault.d.ts +453 -0
- package/dist/types/plugins/adapters/abi/adapters/iPendleRouterAdapter.d.ts +1366 -0
- package/dist/types/plugins/adapters/abi/adapters/iStakingRewardsAdapter.d.ts +197 -0
- package/dist/types/plugins/adapters/abi/adapters/iTraderJoeRouterAdapter.d.ts +333 -0
- package/dist/types/plugins/adapters/abi/adapters/iUniswapV2Adapter.d.ts +202 -0
- package/dist/types/plugins/adapters/abi/adapters/iUniswapV3Adapter.d.ts +367 -0
- package/dist/types/plugins/adapters/abi/adapters/iUniswapV4Adapter.d.ts +390 -0
- package/dist/types/plugins/adapters/abi/adapters/iUpshiftVaultAdapter.d.ts +336 -0
- package/dist/types/plugins/adapters/abi/adapters/iVelodromeV2RouterAdapter.d.ts +232 -0
- package/dist/types/plugins/adapters/abi/adapters/index.d.ts +32 -0
- package/dist/types/plugins/adapters/abi/adapters/iwstEthv1Adapter.d.ts +117 -0
- package/dist/types/plugins/adapters/abi/adapters/mellowDvvAdapter.d.ts +221 -0
- package/dist/types/plugins/adapters/abi/conctructorAbiPatterns.d.ts +0 -26
- package/dist/types/plugins/adapters/abi/index.d.ts +1 -1
- package/dist/types/plugins/adapters/abi/targetContractAbi.d.ts +0 -476
- package/dist/types/plugins/adapters/contracts/BalancerV3RouterAdapterContract.d.ts +5 -5
- package/dist/types/plugins/adapters/contracts/BalancerV3WrapperAdapterContract.d.ts +3 -3
- package/dist/types/plugins/adapters/contracts/CamelotV3AdapterContract.d.ts +5 -5
- package/dist/types/plugins/adapters/contracts/ConvexV1BaseRewardPoolAdapterContract.d.ts +5 -5
- package/dist/types/plugins/adapters/contracts/ConvexV1BoosterAdapterContract.d.ts +5 -5
- package/dist/types/plugins/adapters/contracts/Curve2AssetsAdapterContract.d.ts +5 -5
- package/dist/types/plugins/adapters/contracts/Curve3AssetsAdapterContract.d.ts +5 -5
- package/dist/types/plugins/adapters/contracts/Curve4AssetsAdapterContract.d.ts +5 -5
- package/dist/types/plugins/adapters/contracts/CurveV1StableNGAdapterContract.d.ts +5 -5
- package/dist/types/plugins/adapters/contracts/DaiUsdsAdapterContract.d.ts +4 -4
- package/dist/types/plugins/adapters/contracts/ERC4626AdapterContract.d.ts +10 -4
- package/dist/types/plugins/adapters/contracts/ERC4626ReferralAdapterContract.d.ts +4 -4
- package/dist/types/plugins/adapters/contracts/FluidDexAdapterContract.d.ts +4 -4
- package/dist/types/plugins/adapters/contracts/InfinifiGatewayAdapterContract.d.ts +5 -5
- package/dist/types/plugins/adapters/contracts/InfinifiUnwindingGatewayAdapterContract.d.ts +3 -3
- package/dist/types/plugins/adapters/contracts/KelpLRTDepositPoolAdapterContract.d.ts +3 -3
- package/dist/types/plugins/adapters/contracts/KelpLRTWithdrawalManagerAdapterContract.d.ts +5 -5
- package/dist/types/plugins/adapters/contracts/LidoV1AdapterContract.d.ts +5 -5
- package/dist/types/plugins/adapters/contracts/MellowClaimerAdapterContract.d.ts +3 -3
- package/dist/types/plugins/adapters/contracts/MellowDVVAdapterContract.d.ts +4 -4
- package/dist/types/plugins/adapters/contracts/MellowERC4626VaultAdapterContract.d.ts +5 -5
- package/dist/types/plugins/adapters/contracts/MellowWrapperAdapterContract.d.ts +3 -3
- package/dist/types/plugins/adapters/contracts/MidasIssuanceVaultAdapterContract.d.ts +5 -5
- package/dist/types/plugins/adapters/contracts/MidasRedemptionVaultAdapterContract.d.ts +5 -5
- package/dist/types/plugins/adapters/contracts/PendleRouterAdapterContract.d.ts +5 -5
- package/dist/types/plugins/adapters/contracts/SecuritizeOnRampAdapterContract.d.ts +4 -4
- package/dist/types/plugins/adapters/contracts/SecuritizeRedemptionGatewayAdapterContract.d.ts +5 -5
- package/dist/types/plugins/adapters/contracts/StakingRewardsAdapterContract.d.ts +5 -5
- package/dist/types/plugins/adapters/contracts/TraderJoeRouterAdapterContract.d.ts +5 -5
- package/dist/types/plugins/adapters/contracts/UniswapV2AdapterContract.d.ts +5 -5
- package/dist/types/plugins/adapters/contracts/UniswapV3AdapterContract.d.ts +5 -5
- package/dist/types/plugins/adapters/contracts/UniswapV4AdapterContract.d.ts +5 -5
- package/dist/types/plugins/adapters/contracts/UpshiftVaultAdapterContract.d.ts +5 -5
- package/dist/types/plugins/adapters/contracts/VelodromeV2AdapterContract.d.ts +5 -5
- package/dist/types/plugins/adapters/contracts/WstETHV1AdapterContract.d.ts +3 -3
- package/dist/types/plugins/adapters/contracts/index.d.ts +0 -6
- package/dist/types/plugins/adapters/types.d.ts +20 -13
- package/dist/types/preview/index.d.ts +2 -0
- package/dist/types/preview/parse/parseFacadeOperationCalldata.d.ts +6 -7
- package/dist/types/preview/parse/parseOperationCalldata.d.ts +5 -18
- package/dist/types/preview/parse/parsePoolOperationCalldata.d.ts +7 -12
- package/dist/types/preview/parse/parseRWAFactoryOperationCalldata.d.ts +5 -14
- package/dist/types/preview/parse/types.d.ts +0 -25
- package/dist/types/preview/prerequisites/AllowancePrerequisite.d.ts +13 -11
- package/dist/types/preview/prerequisites/BalancePrerequisite.d.ts +13 -11
- package/dist/types/preview/prerequisites/Prerequisite.d.ts +6 -19
- package/dist/types/preview/prerequisites/RWAOpenRequirementsPrerequisite.d.ts +27 -18
- package/dist/types/preview/prerequisites/buildCollateralPrerequisites.d.ts +2 -2
- package/dist/types/preview/prerequisites/buildPartialLiquidationPrerequisites.d.ts +2 -2
- package/dist/types/preview/prerequisites/buildPoolPrerequisites.d.ts +2 -2
- package/dist/types/preview/prerequisites/buildRWAPrerequisites.d.ts +2 -2
- package/dist/types/preview/prerequisites/checkPrerequisites.d.ts +8 -16
- package/dist/types/preview/prerequisites/helpers.d.ts +3 -11
- package/dist/types/preview/prerequisites/types.d.ts +14 -72
- package/dist/types/preview/preview/applyInnerOperations.d.ts +11 -4
- package/dist/types/preview/preview/applyRWAWrapUnwrap.d.ts +13 -0
- package/dist/types/preview/preview/index.d.ts +1 -1
- package/dist/types/preview/preview/previewAdjustCreditAccount.d.ts +2 -1
- package/dist/types/preview/preview/{previewCloseOrRepay.d.ts → previewCloseOrRepayCreditAccount.d.ts} +3 -2
- package/dist/types/preview/preview/previewOpenCreditAccount.d.ts +2 -1
- package/dist/types/preview/preview/previewOperation.d.ts +2 -1
- package/dist/types/preview/preview/previewPoolOperation.d.ts +3 -3
- package/dist/types/preview/preview/types.d.ts +7 -60
- package/dist/types/preview/simulate/index.d.ts +1 -4
- package/dist/types/preview/simulate/simulateFacadeOperation.d.ts +3 -14
- package/dist/types/preview/simulate/simulateOperation.d.ts +4 -16
- package/dist/types/preview/simulate/simulatePoolOperation.d.ts +7 -3
- package/dist/types/preview/simulate/simulateRWAOperation.d.ts +3 -14
- package/dist/types/preview/simulate/types.d.ts +13 -30
- package/dist/types/preview/types.d.ts +52 -0
- package/dist/types/sdk/chain/chains.d.ts +8 -8
- package/dist/types/sdk/market/MarketConfiguratorContract.d.ts +5 -5
- package/dist/types/sdk/market/pricefeeds/PythPriceFeed.d.ts +1 -1
- package/package.json +11 -12
- package/dist/cjs/plugins/adapters/contracts/CurveV1AdapterDeposit.js +0 -116
- package/dist/cjs/plugins/adapters/contracts/MellowDepositQueueAdapterContract.js +0 -76
- package/dist/cjs/plugins/adapters/contracts/MellowRedeemQueueAdapterContract.js +0 -68
- package/dist/cjs/plugins/adapters/contracts/SecuritizeSwapAdapterContract.js +0 -89
- package/dist/esm/plugins/adapters/contracts/CurveV1AdapterDeposit.js +0 -94
- package/dist/esm/plugins/adapters/contracts/MellowDepositQueueAdapterContract.js +0 -54
- package/dist/esm/plugins/adapters/contracts/MellowRedeemQueueAdapterContract.js +0 -46
- package/dist/esm/plugins/adapters/contracts/SecuritizeSwapAdapterContract.js +0 -69
- package/dist/types/plugins/adapters/contracts/CurveV1AdapterDeposit.d.ts +0 -1045
- package/dist/types/plugins/adapters/contracts/MellowDepositQueueAdapterContract.d.ts +0 -26
- package/dist/types/plugins/adapters/contracts/MellowRedeemQueueAdapterContract.d.ts +0 -24
- package/dist/types/plugins/adapters/contracts/SecuritizeSwapAdapterContract.d.ts +0 -36
- /package/dist/cjs/plugins/adapters/abi/{iConvexV1BoosterAdapter.js → adapters/iConvexV1BoosterAdapter.js} +0 -0
- /package/dist/esm/plugins/adapters/abi/{iConvexV1BoosterAdapter.js → adapters/iConvexV1BoosterAdapter.js} +0 -0
- /package/dist/types/plugins/adapters/abi/{iConvexV1BoosterAdapter.d.ts → adapters/iConvexV1BoosterAdapter.d.ts} +0 -0
|
@@ -4932,154 +4932,6 @@ export declare const iInfinifiGatewayAbi: readonly [{
|
|
|
4932
4932
|
readonly outputs: readonly [];
|
|
4933
4933
|
readonly stateMutability: "nonpayable";
|
|
4934
4934
|
}];
|
|
4935
|
-
export declare const iInfinifiUnwindingGatewayAbi: readonly [{
|
|
4936
|
-
readonly type: "function";
|
|
4937
|
-
readonly name: "contractType";
|
|
4938
|
-
readonly inputs: readonly [];
|
|
4939
|
-
readonly outputs: readonly [{
|
|
4940
|
-
readonly name: "";
|
|
4941
|
-
readonly type: "bytes32";
|
|
4942
|
-
readonly internalType: "bytes32";
|
|
4943
|
-
}];
|
|
4944
|
-
readonly stateMutability: "view";
|
|
4945
|
-
}, {
|
|
4946
|
-
readonly type: "function";
|
|
4947
|
-
readonly name: "getPendingAssets";
|
|
4948
|
-
readonly inputs: readonly [{
|
|
4949
|
-
readonly name: "user";
|
|
4950
|
-
readonly type: "address";
|
|
4951
|
-
readonly internalType: "address";
|
|
4952
|
-
}];
|
|
4953
|
-
readonly outputs: readonly [{
|
|
4954
|
-
readonly name: "";
|
|
4955
|
-
readonly type: "uint256";
|
|
4956
|
-
readonly internalType: "uint256";
|
|
4957
|
-
}];
|
|
4958
|
-
readonly stateMutability: "view";
|
|
4959
|
-
}, {
|
|
4960
|
-
readonly type: "function";
|
|
4961
|
-
readonly name: "getUserUnwindingData";
|
|
4962
|
-
readonly inputs: readonly [{
|
|
4963
|
-
readonly name: "user";
|
|
4964
|
-
readonly type: "address";
|
|
4965
|
-
readonly internalType: "address";
|
|
4966
|
-
}];
|
|
4967
|
-
readonly outputs: readonly [{
|
|
4968
|
-
readonly name: "";
|
|
4969
|
-
readonly type: "tuple";
|
|
4970
|
-
readonly internalType: "struct UserUnwindingData";
|
|
4971
|
-
readonly components: readonly [{
|
|
4972
|
-
readonly name: "shares";
|
|
4973
|
-
readonly type: "uint256";
|
|
4974
|
-
readonly internalType: "uint256";
|
|
4975
|
-
}, {
|
|
4976
|
-
readonly name: "unwindingEpochs";
|
|
4977
|
-
readonly type: "uint32";
|
|
4978
|
-
readonly internalType: "uint32";
|
|
4979
|
-
}, {
|
|
4980
|
-
readonly name: "unwindingTimestamp";
|
|
4981
|
-
readonly type: "uint256";
|
|
4982
|
-
readonly internalType: "uint256";
|
|
4983
|
-
}, {
|
|
4984
|
-
readonly name: "unclaimedAssets";
|
|
4985
|
-
readonly type: "uint256";
|
|
4986
|
-
readonly internalType: "uint256";
|
|
4987
|
-
}, {
|
|
4988
|
-
readonly name: "isWithdrawn";
|
|
4989
|
-
readonly type: "bool";
|
|
4990
|
-
readonly internalType: "bool";
|
|
4991
|
-
}];
|
|
4992
|
-
}];
|
|
4993
|
-
readonly stateMutability: "view";
|
|
4994
|
-
}, {
|
|
4995
|
-
readonly type: "function";
|
|
4996
|
-
readonly name: "iUSD";
|
|
4997
|
-
readonly inputs: readonly [];
|
|
4998
|
-
readonly outputs: readonly [{
|
|
4999
|
-
readonly name: "";
|
|
5000
|
-
readonly type: "address";
|
|
5001
|
-
readonly internalType: "address";
|
|
5002
|
-
}];
|
|
5003
|
-
readonly stateMutability: "view";
|
|
5004
|
-
}, {
|
|
5005
|
-
readonly type: "function";
|
|
5006
|
-
readonly name: "lockingController";
|
|
5007
|
-
readonly inputs: readonly [];
|
|
5008
|
-
readonly outputs: readonly [{
|
|
5009
|
-
readonly name: "";
|
|
5010
|
-
readonly type: "address";
|
|
5011
|
-
readonly internalType: "address";
|
|
5012
|
-
}];
|
|
5013
|
-
readonly stateMutability: "view";
|
|
5014
|
-
}, {
|
|
5015
|
-
readonly type: "function";
|
|
5016
|
-
readonly name: "startUnwinding";
|
|
5017
|
-
readonly inputs: readonly [{
|
|
5018
|
-
readonly name: "shares";
|
|
5019
|
-
readonly type: "uint256";
|
|
5020
|
-
readonly internalType: "uint256";
|
|
5021
|
-
}, {
|
|
5022
|
-
readonly name: "unwindingEpochs";
|
|
5023
|
-
readonly type: "uint32";
|
|
5024
|
-
readonly internalType: "uint32";
|
|
5025
|
-
}];
|
|
5026
|
-
readonly outputs: readonly [];
|
|
5027
|
-
readonly stateMutability: "nonpayable";
|
|
5028
|
-
}, {
|
|
5029
|
-
readonly type: "function";
|
|
5030
|
-
readonly name: "unwindingModule";
|
|
5031
|
-
readonly inputs: readonly [];
|
|
5032
|
-
readonly outputs: readonly [{
|
|
5033
|
-
readonly name: "";
|
|
5034
|
-
readonly type: "address";
|
|
5035
|
-
readonly internalType: "address";
|
|
5036
|
-
}];
|
|
5037
|
-
readonly stateMutability: "view";
|
|
5038
|
-
}, {
|
|
5039
|
-
readonly type: "function";
|
|
5040
|
-
readonly name: "version";
|
|
5041
|
-
readonly inputs: readonly [];
|
|
5042
|
-
readonly outputs: readonly [{
|
|
5043
|
-
readonly name: "";
|
|
5044
|
-
readonly type: "uint256";
|
|
5045
|
-
readonly internalType: "uint256";
|
|
5046
|
-
}];
|
|
5047
|
-
readonly stateMutability: "view";
|
|
5048
|
-
}, {
|
|
5049
|
-
readonly type: "function";
|
|
5050
|
-
readonly name: "withdraw";
|
|
5051
|
-
readonly inputs: readonly [{
|
|
5052
|
-
readonly name: "unwindingTimestamp";
|
|
5053
|
-
readonly type: "uint256";
|
|
5054
|
-
readonly internalType: "uint256";
|
|
5055
|
-
}];
|
|
5056
|
-
readonly outputs: readonly [];
|
|
5057
|
-
readonly stateMutability: "nonpayable";
|
|
5058
|
-
}, {
|
|
5059
|
-
readonly type: "error";
|
|
5060
|
-
readonly name: "InsufficientPendingAssetsException";
|
|
5061
|
-
readonly inputs: readonly [];
|
|
5062
|
-
}, {
|
|
5063
|
-
readonly type: "error";
|
|
5064
|
-
readonly name: "InsufficientSharesException";
|
|
5065
|
-
readonly inputs: readonly [];
|
|
5066
|
-
}, {
|
|
5067
|
-
readonly type: "error";
|
|
5068
|
-
readonly name: "MoreThanOneUnwindingPerBlockException";
|
|
5069
|
-
readonly inputs: readonly [];
|
|
5070
|
-
}, {
|
|
5071
|
-
readonly type: "error";
|
|
5072
|
-
readonly name: "UnwindingNotClaimableException";
|
|
5073
|
-
readonly inputs: readonly [];
|
|
5074
|
-
}, {
|
|
5075
|
-
readonly type: "error";
|
|
5076
|
-
readonly name: "UserAlreadyUnwindingException";
|
|
5077
|
-
readonly inputs: readonly [];
|
|
5078
|
-
}, {
|
|
5079
|
-
readonly type: "error";
|
|
5080
|
-
readonly name: "UserNotUnwindingException";
|
|
5081
|
-
readonly inputs: readonly [];
|
|
5082
|
-
}];
|
|
5083
4935
|
export declare const iKelpLRTDepositPoolGatewayAbi: readonly [{
|
|
5084
4936
|
readonly type: "function";
|
|
5085
4937
|
readonly name: "contractType";
|
|
@@ -5489,183 +5341,6 @@ export declare const iMidasIssuanceVaultAbi: readonly [{
|
|
|
5489
5341
|
}];
|
|
5490
5342
|
readonly stateMutability: "view";
|
|
5491
5343
|
}];
|
|
5492
|
-
export declare const iMidasRedemptionVaultAdapterAbi: readonly [{
|
|
5493
|
-
readonly type: "function";
|
|
5494
|
-
readonly name: "contractType";
|
|
5495
|
-
readonly inputs: readonly [];
|
|
5496
|
-
readonly outputs: readonly [{
|
|
5497
|
-
readonly name: "";
|
|
5498
|
-
readonly type: "bytes32";
|
|
5499
|
-
readonly internalType: "bytes32";
|
|
5500
|
-
}];
|
|
5501
|
-
readonly stateMutability: "view";
|
|
5502
|
-
}, {
|
|
5503
|
-
readonly type: "function";
|
|
5504
|
-
readonly name: "getCurrentRequestTokenOut";
|
|
5505
|
-
readonly inputs: readonly [{
|
|
5506
|
-
readonly name: "account";
|
|
5507
|
-
readonly type: "address";
|
|
5508
|
-
readonly internalType: "address";
|
|
5509
|
-
}];
|
|
5510
|
-
readonly outputs: readonly [{
|
|
5511
|
-
readonly name: "";
|
|
5512
|
-
readonly type: "address";
|
|
5513
|
-
readonly internalType: "address";
|
|
5514
|
-
}];
|
|
5515
|
-
readonly stateMutability: "view";
|
|
5516
|
-
}, {
|
|
5517
|
-
readonly type: "function";
|
|
5518
|
-
readonly name: "mToken";
|
|
5519
|
-
readonly inputs: readonly [];
|
|
5520
|
-
readonly outputs: readonly [{
|
|
5521
|
-
readonly name: "";
|
|
5522
|
-
readonly type: "address";
|
|
5523
|
-
readonly internalType: "address";
|
|
5524
|
-
}];
|
|
5525
|
-
readonly stateMutability: "view";
|
|
5526
|
-
}, {
|
|
5527
|
-
readonly type: "function";
|
|
5528
|
-
readonly name: "midasRedemptionVault";
|
|
5529
|
-
readonly inputs: readonly [];
|
|
5530
|
-
readonly outputs: readonly [{
|
|
5531
|
-
readonly name: "";
|
|
5532
|
-
readonly type: "address";
|
|
5533
|
-
readonly internalType: "address";
|
|
5534
|
-
}];
|
|
5535
|
-
readonly stateMutability: "view";
|
|
5536
|
-
}, {
|
|
5537
|
-
readonly type: "function";
|
|
5538
|
-
readonly name: "pendingRedemptions";
|
|
5539
|
-
readonly inputs: readonly [{
|
|
5540
|
-
readonly name: "user";
|
|
5541
|
-
readonly type: "address";
|
|
5542
|
-
readonly internalType: "address";
|
|
5543
|
-
}];
|
|
5544
|
-
readonly outputs: readonly [{
|
|
5545
|
-
readonly name: "isActive";
|
|
5546
|
-
readonly type: "bool";
|
|
5547
|
-
readonly internalType: "bool";
|
|
5548
|
-
}, {
|
|
5549
|
-
readonly name: "isManuallyCleared";
|
|
5550
|
-
readonly type: "bool";
|
|
5551
|
-
readonly internalType: "bool";
|
|
5552
|
-
}, {
|
|
5553
|
-
readonly name: "requestId";
|
|
5554
|
-
readonly type: "uint256";
|
|
5555
|
-
readonly internalType: "uint256";
|
|
5556
|
-
}, {
|
|
5557
|
-
readonly name: "timestamp";
|
|
5558
|
-
readonly type: "uint256";
|
|
5559
|
-
readonly internalType: "uint256";
|
|
5560
|
-
}, {
|
|
5561
|
-
readonly name: "remainder";
|
|
5562
|
-
readonly type: "uint256";
|
|
5563
|
-
readonly internalType: "uint256";
|
|
5564
|
-
}];
|
|
5565
|
-
readonly stateMutability: "view";
|
|
5566
|
-
}, {
|
|
5567
|
-
readonly type: "function";
|
|
5568
|
-
readonly name: "pendingTokenOutAmount";
|
|
5569
|
-
readonly inputs: readonly [{
|
|
5570
|
-
readonly name: "user";
|
|
5571
|
-
readonly type: "address";
|
|
5572
|
-
readonly internalType: "address";
|
|
5573
|
-
}, {
|
|
5574
|
-
readonly name: "tokenOut";
|
|
5575
|
-
readonly type: "address";
|
|
5576
|
-
readonly internalType: "address";
|
|
5577
|
-
}];
|
|
5578
|
-
readonly outputs: readonly [{
|
|
5579
|
-
readonly name: "";
|
|
5580
|
-
readonly type: "uint256";
|
|
5581
|
-
readonly internalType: "uint256";
|
|
5582
|
-
}];
|
|
5583
|
-
readonly stateMutability: "view";
|
|
5584
|
-
}, {
|
|
5585
|
-
readonly type: "function";
|
|
5586
|
-
readonly name: "redeemInstant";
|
|
5587
|
-
readonly inputs: readonly [{
|
|
5588
|
-
readonly name: "tokenOut";
|
|
5589
|
-
readonly type: "address";
|
|
5590
|
-
readonly internalType: "address";
|
|
5591
|
-
}, {
|
|
5592
|
-
readonly name: "amountMTokenIn";
|
|
5593
|
-
readonly type: "uint256";
|
|
5594
|
-
readonly internalType: "uint256";
|
|
5595
|
-
}, {
|
|
5596
|
-
readonly name: "minReceiveAmount";
|
|
5597
|
-
readonly type: "uint256";
|
|
5598
|
-
readonly internalType: "uint256";
|
|
5599
|
-
}];
|
|
5600
|
-
readonly outputs: readonly [];
|
|
5601
|
-
readonly stateMutability: "nonpayable";
|
|
5602
|
-
}, {
|
|
5603
|
-
readonly type: "function";
|
|
5604
|
-
readonly name: "requestRedeem";
|
|
5605
|
-
readonly inputs: readonly [{
|
|
5606
|
-
readonly name: "tokenOut";
|
|
5607
|
-
readonly type: "address";
|
|
5608
|
-
readonly internalType: "address";
|
|
5609
|
-
}, {
|
|
5610
|
-
readonly name: "amountMTokenIn";
|
|
5611
|
-
readonly type: "uint256";
|
|
5612
|
-
readonly internalType: "uint256";
|
|
5613
|
-
}];
|
|
5614
|
-
readonly outputs: readonly [];
|
|
5615
|
-
readonly stateMutability: "nonpayable";
|
|
5616
|
-
}, {
|
|
5617
|
-
readonly type: "function";
|
|
5618
|
-
readonly name: "version";
|
|
5619
|
-
readonly inputs: readonly [];
|
|
5620
|
-
readonly outputs: readonly [{
|
|
5621
|
-
readonly name: "";
|
|
5622
|
-
readonly type: "uint256";
|
|
5623
|
-
readonly internalType: "uint256";
|
|
5624
|
-
}];
|
|
5625
|
-
readonly stateMutability: "view";
|
|
5626
|
-
}, {
|
|
5627
|
-
readonly type: "function";
|
|
5628
|
-
readonly name: "withdraw";
|
|
5629
|
-
readonly inputs: readonly [{
|
|
5630
|
-
readonly name: "amount";
|
|
5631
|
-
readonly type: "uint256";
|
|
5632
|
-
readonly internalType: "uint256";
|
|
5633
|
-
}];
|
|
5634
|
-
readonly outputs: readonly [];
|
|
5635
|
-
readonly stateMutability: "nonpayable";
|
|
5636
|
-
}, {
|
|
5637
|
-
readonly type: "error";
|
|
5638
|
-
readonly name: "AmountExceedsAvailableException";
|
|
5639
|
-
readonly inputs: readonly [];
|
|
5640
|
-
}, {
|
|
5641
|
-
readonly type: "error";
|
|
5642
|
-
readonly name: "AmountIsLessThanRequiredException";
|
|
5643
|
-
readonly inputs: readonly [];
|
|
5644
|
-
}, {
|
|
5645
|
-
readonly type: "error";
|
|
5646
|
-
readonly name: "HasPendingRedemptionException";
|
|
5647
|
-
readonly inputs: readonly [];
|
|
5648
|
-
}, {
|
|
5649
|
-
readonly type: "error";
|
|
5650
|
-
readonly name: "InvalidRequestException";
|
|
5651
|
-
readonly inputs: readonly [];
|
|
5652
|
-
}, {
|
|
5653
|
-
readonly type: "error";
|
|
5654
|
-
readonly name: "NoPendingRedemptionException";
|
|
5655
|
-
readonly inputs: readonly [];
|
|
5656
|
-
}, {
|
|
5657
|
-
readonly type: "error";
|
|
5658
|
-
readonly name: "RedemptionNotFulfilledException";
|
|
5659
|
-
readonly inputs: readonly [];
|
|
5660
|
-
}, {
|
|
5661
|
-
readonly type: "error";
|
|
5662
|
-
readonly name: "RequestNotCancelledOrManuallyClearedException";
|
|
5663
|
-
readonly inputs: readonly [];
|
|
5664
|
-
}, {
|
|
5665
|
-
readonly type: "error";
|
|
5666
|
-
readonly name: "ZeroAmountException";
|
|
5667
|
-
readonly inputs: readonly [];
|
|
5668
|
-
}];
|
|
5669
5344
|
export declare const iPendleRouterAbi: readonly [{
|
|
5670
5345
|
readonly type: "function";
|
|
5671
5346
|
readonly name: "addLiquiditySingleToken";
|
|
@@ -7749,157 +7424,6 @@ export declare const iUniswapV3Abi: readonly [{
|
|
|
7749
7424
|
}];
|
|
7750
7425
|
readonly stateMutability: "payable";
|
|
7751
7426
|
}];
|
|
7752
|
-
export declare const iUniswapV4GatewayAbi: readonly [{
|
|
7753
|
-
readonly type: "function";
|
|
7754
|
-
readonly name: "permit2";
|
|
7755
|
-
readonly inputs: readonly [];
|
|
7756
|
-
readonly outputs: readonly [{
|
|
7757
|
-
readonly name: "";
|
|
7758
|
-
readonly type: "address";
|
|
7759
|
-
readonly internalType: "address";
|
|
7760
|
-
}];
|
|
7761
|
-
readonly stateMutability: "view";
|
|
7762
|
-
}, {
|
|
7763
|
-
readonly type: "function";
|
|
7764
|
-
readonly name: "swapExactInputSingle";
|
|
7765
|
-
readonly inputs: readonly [{
|
|
7766
|
-
readonly name: "poolKey";
|
|
7767
|
-
readonly type: "tuple";
|
|
7768
|
-
readonly internalType: "struct PoolKey";
|
|
7769
|
-
readonly components: readonly [{
|
|
7770
|
-
readonly name: "token0";
|
|
7771
|
-
readonly type: "address";
|
|
7772
|
-
readonly internalType: "address";
|
|
7773
|
-
}, {
|
|
7774
|
-
readonly name: "token1";
|
|
7775
|
-
readonly type: "address";
|
|
7776
|
-
readonly internalType: "address";
|
|
7777
|
-
}, {
|
|
7778
|
-
readonly name: "fee";
|
|
7779
|
-
readonly type: "uint24";
|
|
7780
|
-
readonly internalType: "uint24";
|
|
7781
|
-
}, {
|
|
7782
|
-
readonly name: "tickSpacing";
|
|
7783
|
-
readonly type: "int24";
|
|
7784
|
-
readonly internalType: "int24";
|
|
7785
|
-
}, {
|
|
7786
|
-
readonly name: "hooks";
|
|
7787
|
-
readonly type: "address";
|
|
7788
|
-
readonly internalType: "address";
|
|
7789
|
-
}];
|
|
7790
|
-
}, {
|
|
7791
|
-
readonly name: "zeroForOne";
|
|
7792
|
-
readonly type: "bool";
|
|
7793
|
-
readonly internalType: "bool";
|
|
7794
|
-
}, {
|
|
7795
|
-
readonly name: "amountIn";
|
|
7796
|
-
readonly type: "uint128";
|
|
7797
|
-
readonly internalType: "uint128";
|
|
7798
|
-
}, {
|
|
7799
|
-
readonly name: "amountOutMinimum";
|
|
7800
|
-
readonly type: "uint128";
|
|
7801
|
-
readonly internalType: "uint128";
|
|
7802
|
-
}, {
|
|
7803
|
-
readonly name: "hookData";
|
|
7804
|
-
readonly type: "bytes";
|
|
7805
|
-
readonly internalType: "bytes";
|
|
7806
|
-
}];
|
|
7807
|
-
readonly outputs: readonly [{
|
|
7808
|
-
readonly name: "amount";
|
|
7809
|
-
readonly type: "uint256";
|
|
7810
|
-
readonly internalType: "uint256";
|
|
7811
|
-
}];
|
|
7812
|
-
readonly stateMutability: "nonpayable";
|
|
7813
|
-
}, {
|
|
7814
|
-
readonly type: "function";
|
|
7815
|
-
readonly name: "universalRouter";
|
|
7816
|
-
readonly inputs: readonly [];
|
|
7817
|
-
readonly outputs: readonly [{
|
|
7818
|
-
readonly name: "";
|
|
7819
|
-
readonly type: "address";
|
|
7820
|
-
readonly internalType: "address";
|
|
7821
|
-
}];
|
|
7822
|
-
readonly stateMutability: "view";
|
|
7823
|
-
}, {
|
|
7824
|
-
readonly type: "function";
|
|
7825
|
-
readonly name: "weth";
|
|
7826
|
-
readonly inputs: readonly [];
|
|
7827
|
-
readonly outputs: readonly [{
|
|
7828
|
-
readonly name: "";
|
|
7829
|
-
readonly type: "address";
|
|
7830
|
-
readonly internalType: "address";
|
|
7831
|
-
}];
|
|
7832
|
-
readonly stateMutability: "view";
|
|
7833
|
-
}, {
|
|
7834
|
-
readonly type: "error";
|
|
7835
|
-
readonly name: "UnexpectedETHTransferException";
|
|
7836
|
-
readonly inputs: readonly [];
|
|
7837
|
-
}];
|
|
7838
|
-
export declare const iUpshiftVaultGatewayAbi: readonly [{
|
|
7839
|
-
readonly type: "function";
|
|
7840
|
-
readonly name: "claim";
|
|
7841
|
-
readonly inputs: readonly [{
|
|
7842
|
-
readonly name: "amount";
|
|
7843
|
-
readonly type: "uint256";
|
|
7844
|
-
readonly internalType: "uint256";
|
|
7845
|
-
}];
|
|
7846
|
-
readonly outputs: readonly [];
|
|
7847
|
-
readonly stateMutability: "nonpayable";
|
|
7848
|
-
}, {
|
|
7849
|
-
readonly type: "function";
|
|
7850
|
-
readonly name: "contractType";
|
|
7851
|
-
readonly inputs: readonly [];
|
|
7852
|
-
readonly outputs: readonly [{
|
|
7853
|
-
readonly name: "";
|
|
7854
|
-
readonly type: "bytes32";
|
|
7855
|
-
readonly internalType: "bytes32";
|
|
7856
|
-
}];
|
|
7857
|
-
readonly stateMutability: "view";
|
|
7858
|
-
}, {
|
|
7859
|
-
readonly type: "function";
|
|
7860
|
-
readonly name: "pendingAssetsOf";
|
|
7861
|
-
readonly inputs: readonly [{
|
|
7862
|
-
readonly name: "account";
|
|
7863
|
-
readonly type: "address";
|
|
7864
|
-
readonly internalType: "address";
|
|
7865
|
-
}];
|
|
7866
|
-
readonly outputs: readonly [{
|
|
7867
|
-
readonly name: "";
|
|
7868
|
-
readonly type: "uint256";
|
|
7869
|
-
readonly internalType: "uint256";
|
|
7870
|
-
}];
|
|
7871
|
-
readonly stateMutability: "view";
|
|
7872
|
-
}, {
|
|
7873
|
-
readonly type: "function";
|
|
7874
|
-
readonly name: "requestRedeem";
|
|
7875
|
-
readonly inputs: readonly [{
|
|
7876
|
-
readonly name: "shares";
|
|
7877
|
-
readonly type: "uint256";
|
|
7878
|
-
readonly internalType: "uint256";
|
|
7879
|
-
}];
|
|
7880
|
-
readonly outputs: readonly [];
|
|
7881
|
-
readonly stateMutability: "nonpayable";
|
|
7882
|
-
}, {
|
|
7883
|
-
readonly type: "function";
|
|
7884
|
-
readonly name: "upshiftVault";
|
|
7885
|
-
readonly inputs: readonly [];
|
|
7886
|
-
readonly outputs: readonly [{
|
|
7887
|
-
readonly name: "";
|
|
7888
|
-
readonly type: "address";
|
|
7889
|
-
readonly internalType: "address";
|
|
7890
|
-
}];
|
|
7891
|
-
readonly stateMutability: "view";
|
|
7892
|
-
}, {
|
|
7893
|
-
readonly type: "function";
|
|
7894
|
-
readonly name: "version";
|
|
7895
|
-
readonly inputs: readonly [];
|
|
7896
|
-
readonly outputs: readonly [{
|
|
7897
|
-
readonly name: "";
|
|
7898
|
-
readonly type: "uint256";
|
|
7899
|
-
readonly internalType: "uint256";
|
|
7900
|
-
}];
|
|
7901
|
-
readonly stateMutability: "view";
|
|
7902
|
-
}];
|
|
7903
7427
|
export declare const iVelodromeV2RouterAbi: readonly [{
|
|
7904
7428
|
readonly type: "function";
|
|
7905
7429
|
readonly name: "defaultFactory";
|
|
@@ -442,15 +442,15 @@ export declare class BalancerV3RouterAdapterContract extends AbstractAdapterCont
|
|
|
442
442
|
constructor(options: ConstructOptions, args: ConcreteAdapterContractOptions);
|
|
443
443
|
get allowedPools(): BalancerV3Pool[];
|
|
444
444
|
stateHuman(raw?: boolean): {
|
|
445
|
+
address: string;
|
|
446
|
+
version: number;
|
|
447
|
+
contractType?: string;
|
|
448
|
+
creditManager?: string;
|
|
449
|
+
targetContract?: string;
|
|
445
450
|
allowedPools: {
|
|
446
451
|
pool: string;
|
|
447
452
|
status: BalancerV3PoolStatus | undefined;
|
|
448
453
|
}[] | undefined;
|
|
449
|
-
creditManager?: string;
|
|
450
|
-
targetContract?: string;
|
|
451
|
-
address: string;
|
|
452
|
-
version: number;
|
|
453
|
-
contractType?: string;
|
|
454
454
|
};
|
|
455
455
|
protected decodeDiffLeftovers(decoded: DecodeFunctionDataReturnType<abi>, balances: AddressMap<bigint>): DiffLeftover[];
|
|
456
456
|
}
|
|
@@ -158,12 +158,12 @@ export declare class BalancerV3WrapperAdapterContract extends AbstractAdapterCon
|
|
|
158
158
|
constructor(options: ConstructOptions, args: ConcreteAdapterContractOptions);
|
|
159
159
|
get balancerPoolToken(): Address;
|
|
160
160
|
stateHuman(raw?: boolean): {
|
|
161
|
-
balancerPoolToken: string | undefined;
|
|
162
|
-
creditManager?: string;
|
|
163
|
-
targetContract?: string;
|
|
164
161
|
address: string;
|
|
165
162
|
version: number;
|
|
166
163
|
contractType?: string;
|
|
164
|
+
creditManager?: string;
|
|
165
|
+
targetContract?: string;
|
|
166
|
+
balancerPoolToken: string | undefined;
|
|
167
167
|
};
|
|
168
168
|
protected decodeDiffLeftovers(decoded: DecodeFunctionDataReturnType<abi>, balances: AddressMap<bigint>): DiffLeftover[];
|
|
169
169
|
}
|
|
@@ -646,15 +646,15 @@ export declare class CamelotV3AdapterContract extends AbstractAdapterContract<ab
|
|
|
646
646
|
constructor(options: ConstructOptions, args: ConcreteAdapterContractOptions);
|
|
647
647
|
get supportedPools(): CamelotPool[];
|
|
648
648
|
stateHuman(raw?: boolean): {
|
|
649
|
+
address: string;
|
|
650
|
+
version: number;
|
|
651
|
+
contractType?: string;
|
|
652
|
+
creditManager?: string;
|
|
653
|
+
targetContract?: string;
|
|
649
654
|
supportedPools: {
|
|
650
655
|
token0: string;
|
|
651
656
|
token1: string;
|
|
652
657
|
}[] | undefined;
|
|
653
|
-
creditManager?: string;
|
|
654
|
-
targetContract?: string;
|
|
655
|
-
address: string;
|
|
656
|
-
version: number;
|
|
657
|
-
contractType?: string;
|
|
658
658
|
};
|
|
659
659
|
protected decodeDiffLeftovers(decoded: DecodeFunctionDataReturnType<abi>, balances: AddressMap<bigint>): DiffLeftover[];
|
|
660
660
|
}
|
|
@@ -676,15 +676,15 @@ export declare class ConvexV1BaseRewardPoolAdapterContract extends AbstractAdapt
|
|
|
676
676
|
get stakedPhantomToken(): Address;
|
|
677
677
|
get extraRewards(): [Address, Address, Address, Address];
|
|
678
678
|
stateHuman(raw?: boolean): {
|
|
679
|
+
address: string;
|
|
680
|
+
version: number;
|
|
681
|
+
contractType?: string;
|
|
682
|
+
creditManager?: string;
|
|
683
|
+
targetContract?: string;
|
|
679
684
|
curveLPtoken: string | undefined;
|
|
680
685
|
stakingToken: string | undefined;
|
|
681
686
|
stakedPhantomToken: string | undefined;
|
|
682
687
|
extraRewards: string[] | undefined;
|
|
683
|
-
creditManager?: string;
|
|
684
|
-
targetContract?: string;
|
|
685
|
-
address: string;
|
|
686
|
-
version: number;
|
|
687
|
-
contractType?: string;
|
|
688
688
|
};
|
|
689
689
|
/**
|
|
690
690
|
* @see https://github.com/Gearbox-protocol/charts_server/blob/master/core/operation_type.go#L200-L262
|
|
@@ -402,17 +402,17 @@ export declare class ConvexV1BoosterAdapterContract extends AbstractAdapterContr
|
|
|
402
402
|
constructor(options: ConstructOptions, args: ConcreteAdapterContractOptions);
|
|
403
403
|
get supportedPools(): ConvexV1BoosterPool[];
|
|
404
404
|
stateHuman(raw?: boolean): {
|
|
405
|
+
address: string;
|
|
406
|
+
version: number;
|
|
407
|
+
contractType?: string;
|
|
408
|
+
creditManager?: string;
|
|
409
|
+
targetContract?: string;
|
|
405
410
|
supportedPools: {
|
|
406
411
|
pid: number;
|
|
407
412
|
curveToken: string;
|
|
408
413
|
convexToken: string;
|
|
409
414
|
phantomToken: string;
|
|
410
415
|
}[] | undefined;
|
|
411
|
-
creditManager?: string;
|
|
412
|
-
targetContract?: string;
|
|
413
|
-
address: string;
|
|
414
|
-
version: number;
|
|
415
|
-
contractType?: string;
|
|
416
416
|
};
|
|
417
417
|
/**
|
|
418
418
|
* Charts_server only maps `withdrawAll(uint256)` → CurveWithdrawal.
|
|
@@ -1762,17 +1762,17 @@ export declare class Curve2AssetsAdapterContract extends AbstractCurveAdapterCon
|
|
|
1762
1762
|
get tokens(): [Address, Address];
|
|
1763
1763
|
get underlyings(): [Address, Address, Address, Address];
|
|
1764
1764
|
stateHuman(raw?: boolean): {
|
|
1765
|
+
address: string;
|
|
1766
|
+
version: number;
|
|
1767
|
+
contractType?: string;
|
|
1768
|
+
creditManager?: string;
|
|
1769
|
+
targetContract?: string;
|
|
1765
1770
|
token: string | undefined;
|
|
1766
1771
|
lpToken: string | undefined;
|
|
1767
1772
|
metapoolBase: string | undefined;
|
|
1768
1773
|
use256: boolean | undefined;
|
|
1769
1774
|
tokens: string[] | undefined;
|
|
1770
1775
|
underlyings: string[] | undefined;
|
|
1771
|
-
creditManager?: string;
|
|
1772
|
-
targetContract?: string;
|
|
1773
|
-
address: string;
|
|
1774
|
-
version: number;
|
|
1775
|
-
contractType?: string;
|
|
1776
1776
|
};
|
|
1777
1777
|
}
|
|
1778
1778
|
export {};
|
|
@@ -1762,17 +1762,17 @@ export declare class Curve3AssetsAdapterContract extends AbstractCurveAdapterCon
|
|
|
1762
1762
|
get tokens(): [Address, Address, Address];
|
|
1763
1763
|
get underlyings(): [Address, Address, Address, Address];
|
|
1764
1764
|
stateHuman(raw?: boolean): {
|
|
1765
|
+
address: string;
|
|
1766
|
+
version: number;
|
|
1767
|
+
contractType?: string;
|
|
1768
|
+
creditManager?: string;
|
|
1769
|
+
targetContract?: string;
|
|
1765
1770
|
token: string | undefined;
|
|
1766
1771
|
lpToken: string | undefined;
|
|
1767
1772
|
metapoolBase: string | undefined;
|
|
1768
1773
|
use256: boolean | undefined;
|
|
1769
1774
|
tokens: string[] | undefined;
|
|
1770
1775
|
underlyings: string[] | undefined;
|
|
1771
|
-
creditManager?: string;
|
|
1772
|
-
targetContract?: string;
|
|
1773
|
-
address: string;
|
|
1774
|
-
version: number;
|
|
1775
|
-
contractType?: string;
|
|
1776
1776
|
};
|
|
1777
1777
|
}
|
|
1778
1778
|
export {};
|
|
@@ -1762,17 +1762,17 @@ export declare class Curve4AssetsAdapterContract extends AbstractCurveAdapterCon
|
|
|
1762
1762
|
get tokens(): [Address, Address, Address, Address];
|
|
1763
1763
|
get underlyings(): [Address, Address, Address, Address];
|
|
1764
1764
|
stateHuman(raw?: boolean): {
|
|
1765
|
+
address: string;
|
|
1766
|
+
version: number;
|
|
1767
|
+
contractType?: string;
|
|
1768
|
+
creditManager?: string;
|
|
1769
|
+
targetContract?: string;
|
|
1765
1770
|
token: string | undefined;
|
|
1766
1771
|
lpToken: string | undefined;
|
|
1767
1772
|
metapoolBase: string | undefined;
|
|
1768
1773
|
use256: boolean | undefined;
|
|
1769
1774
|
tokens: string[] | undefined;
|
|
1770
1775
|
underlyings: string[] | undefined;
|
|
1771
|
-
creditManager?: string;
|
|
1772
|
-
targetContract?: string;
|
|
1773
|
-
address: string;
|
|
1774
|
-
version: number;
|
|
1775
|
-
contractType?: string;
|
|
1776
1776
|
};
|
|
1777
1777
|
}
|
|
1778
1778
|
export {};
|
|
@@ -1731,6 +1731,11 @@ export declare class CurveV1StableNGAdapterContract extends AbstractCurveAdapter
|
|
|
1731
1731
|
get tokens(): [Address, Address, Address, Address];
|
|
1732
1732
|
get underlyings(): [Address, Address, Address, Address];
|
|
1733
1733
|
stateHuman(raw?: boolean): {
|
|
1734
|
+
address: string;
|
|
1735
|
+
version: number;
|
|
1736
|
+
contractType?: string;
|
|
1737
|
+
creditManager?: string;
|
|
1738
|
+
targetContract?: string;
|
|
1734
1739
|
token: string | undefined;
|
|
1735
1740
|
lpToken: string | undefined;
|
|
1736
1741
|
metapoolBase: string | undefined;
|
|
@@ -1738,11 +1743,6 @@ export declare class CurveV1StableNGAdapterContract extends AbstractCurveAdapter
|
|
|
1738
1743
|
use256: boolean | undefined;
|
|
1739
1744
|
tokens: string[] | undefined;
|
|
1740
1745
|
underlyings: string[] | undefined;
|
|
1741
|
-
creditManager?: string;
|
|
1742
|
-
targetContract?: string;
|
|
1743
|
-
address: string;
|
|
1744
|
-
version: number;
|
|
1745
|
-
contractType?: string;
|
|
1746
1746
|
};
|
|
1747
1747
|
}
|
|
1748
1748
|
export {};
|