@gearbox-protocol/sdk 9.12.14 → 9.13.0
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/310/configure/creditSuiteParams.js +130 -0
- package/dist/cjs/abi/310/configure/iCreditConfigureActions.js +181 -0
- package/dist/cjs/abi/310/configure/iPoolConfigureActions.js +80 -0
- package/dist/cjs/abi/310/configure/iPriceOracleConfigureActions.js +49 -0
- package/dist/cjs/abi/310/crossChainMultisig.js +540 -0
- package/dist/cjs/abi/{v310.js → 310/generated.js} +3 -3
- package/dist/cjs/abi/310/iBytecodeRepository.js +897 -0
- package/dist/cjs/abi/310/iMarketConfiguratorFactory.js +189 -0
- package/dist/cjs/abi/310/iPriceFeedStore.js +417 -0
- package/dist/cjs/abi/310/iTreasurySplitter.js +36 -0
- package/dist/cjs/abi/310/instanceManager.js +274 -0
- package/dist/cjs/abi/compressors/creditAccountCompressor.js +456 -0
- package/dist/cjs/abi/compressors/creditSuiteCompressor.js +774 -0
- package/dist/cjs/abi/compressors/defillamaCompressor.js +183 -0
- package/dist/cjs/abi/compressors/gaugeCompressor.js +184 -0
- package/dist/cjs/abi/compressors/marketCompressor.js +2477 -0
- package/dist/cjs/abi/compressors/peripheryCompressor.js +202 -0
- package/dist/cjs/abi/compressors/priceFeedCompressor.js +581 -0
- package/dist/cjs/abi/compressors/rewardsCompressor.js +82 -0
- package/dist/cjs/abi/compressors/subcompressors/infinifiWithdrawalSubcompressor.js +187 -0
- package/dist/cjs/abi/compressors/subcompressors/mellowWithdrawalSubcompressor.js +187 -0
- package/dist/cjs/abi/compressors/subcompressors/midasWithdrawalSubcompressor.js +187 -0
- package/dist/cjs/abi/compressors/subcompressors/upshiftWithdrawalSubcompressor.js +187 -0
- package/dist/cjs/abi/compressors/tokenCompressor.js +95 -0
- package/dist/cjs/abi/compressors/withdrawalCompressor.js +272 -0
- package/dist/cjs/abi/governance/batchesChain.js +68 -0
- package/dist/cjs/abi/governance/governor.js +472 -0
- package/dist/cjs/abi/governance/iTimeLock.js +257 -0
- package/dist/cjs/abi/router/balancerV2Worker.js +730 -0
- package/dist/cjs/abi/router/balancerV3Worker.js +734 -0
- package/dist/cjs/abi/router/camelotV3Worker.js +558 -0
- package/dist/cjs/abi/router/convexWorker.js +541 -0
- package/dist/cjs/abi/router/curveWorker.js +718 -0
- package/dist/cjs/abi/router/daiUsdsWorker.js +541 -0
- package/dist/cjs/abi/router/equalizerRouterWorker.js +541 -0
- package/dist/cjs/abi/router/erc4626Worker.js +572 -0
- package/dist/cjs/abi/router/fluidDexWorker.js +551 -0
- package/dist/cjs/abi/router/gearboxRouter.js +651 -0
- package/dist/cjs/abi/router/infraredVaultWorker.js +541 -0
- package/dist/cjs/abi/router/kodiakWorker.js +732 -0
- package/dist/cjs/abi/router/lidoWorker.js +541 -0
- package/dist/cjs/abi/router/mellow4626Worker.js +541 -0
- package/dist/cjs/abi/router/mellowDVVWorker.js +541 -0
- package/dist/cjs/abi/router/mellowVaultWorker.js +551 -0
- package/dist/cjs/abi/router/pendleRouterWorker.js +567 -0
- package/dist/cjs/abi/router/routingManager.js +397 -0
- package/dist/cjs/abi/router/stakingRewardsWorker.js +541 -0
- package/dist/cjs/abi/router/traderJoeWorker.js +541 -0
- package/dist/cjs/abi/router/uniswapV2Worker.js +541 -0
- package/dist/cjs/abi/router/uniswapV3Worker.js +568 -0
- package/dist/cjs/abi/router/upshiftWorker.js +541 -0
- package/dist/cjs/abi/router/velodromeV2Worker.js +541 -0
- package/dist/cjs/abi/router/wstETHWorker.js +541 -0
- package/dist/cjs/abi/router/yearnV2Worker.js +541 -0
- package/dist/cjs/dev/migrateFaucet.js +6 -6
- package/dist/cjs/plugins/accounts-counter/AccountsCounterPlugin.js +3 -3
- package/dist/cjs/plugins/bots/BotsPlugin.js +2 -2
- package/dist/cjs/plugins/pools-history/Pools7DAgoPlugin.js +2 -2
- package/dist/cjs/plugins/zappers/ZappersPlugin.js +2 -2
- package/dist/cjs/sdk/accounts/AbstractCreditAccountsService.js +11 -9
- package/dist/cjs/sdk/accounts/CreditAccountsServiceV310.js +2 -2
- package/dist/cjs/sdk/chain/detectNetwork.js +2 -2
- package/dist/cjs/sdk/core/address-provider/AddressProviderV310Contract.js +2 -2
- package/dist/cjs/sdk/gauges/GaugeStakingService.js +2 -2
- package/dist/cjs/sdk/market/MarketConfiguratorContract.js +2 -2
- package/dist/cjs/sdk/market/MarketRegister.js +3 -3
- package/dist/cjs/sdk/market/credit/CreditConfiguratorV310Contract.js +2 -2
- package/dist/cjs/sdk/market/credit/CreditFacadeV310Contract.js +3 -3
- package/dist/cjs/sdk/market/credit/CreditManagerV310Contract.js +2 -2
- package/dist/cjs/sdk/market/oracle/PriceOracleBaseContract.js +2 -2
- package/dist/cjs/sdk/market/oracle/PriceOracleV310Contract.js +3 -3
- package/dist/cjs/sdk/market/pool/PoolQuotaKeeperV310Contract.js +2 -2
- package/dist/cjs/sdk/market/pool/PoolV310Contract.js +2 -2
- package/dist/cjs/sdk/market/pool/TumblerContract.js +2 -2
- package/dist/cjs/sdk/market/pricefeeds/PriceFeedsRegister.js +3 -3
- package/dist/cjs/sdk/router/RouterV310Contract.js +2 -2
- package/dist/cjs/sdk/utils/viem/simulateWithPriceUpdates.js +3 -2
- package/dist/esm/abi/310/configure/creditSuiteParams.js +104 -0
- package/dist/esm/abi/310/configure/iCreditConfigureActions.js +157 -0
- package/dist/esm/abi/310/configure/iPoolConfigureActions.js +56 -0
- package/dist/esm/abi/310/configure/iPriceOracleConfigureActions.js +25 -0
- package/dist/esm/abi/310/crossChainMultisig.js +516 -0
- package/dist/esm/abi/310/iBytecodeRepository.js +873 -0
- package/dist/esm/abi/310/iMarketConfiguratorFactory.js +165 -0
- package/dist/esm/abi/310/iPriceFeedStore.js +393 -0
- package/dist/esm/abi/310/iTreasurySplitter.js +12 -0
- package/dist/esm/abi/310/instanceManager.js +250 -0
- package/dist/esm/abi/compressors/creditAccountCompressor.js +432 -0
- package/dist/esm/abi/compressors/creditSuiteCompressor.js +750 -0
- package/dist/esm/abi/compressors/defillamaCompressor.js +159 -0
- package/dist/esm/abi/compressors/gaugeCompressor.js +160 -0
- package/dist/esm/abi/compressors/marketCompressor.js +2453 -0
- package/dist/esm/abi/compressors/peripheryCompressor.js +178 -0
- package/dist/esm/abi/compressors/priceFeedCompressor.js +557 -0
- package/dist/esm/abi/compressors/rewardsCompressor.js +58 -0
- package/dist/esm/abi/compressors/subcompressors/infinifiWithdrawalSubcompressor.js +163 -0
- package/dist/esm/abi/compressors/subcompressors/mellowWithdrawalSubcompressor.js +163 -0
- package/dist/esm/abi/compressors/subcompressors/midasWithdrawalSubcompressor.js +163 -0
- package/dist/esm/abi/compressors/subcompressors/upshiftWithdrawalSubcompressor.js +163 -0
- package/dist/esm/abi/compressors/tokenCompressor.js +71 -0
- package/dist/esm/abi/compressors/withdrawalCompressor.js +248 -0
- package/dist/esm/abi/governance/batchesChain.js +44 -0
- package/dist/esm/abi/governance/governor.js +448 -0
- package/dist/esm/abi/governance/iTimeLock.js +233 -0
- package/dist/esm/abi/router/balancerV2Worker.js +706 -0
- package/dist/esm/abi/router/balancerV3Worker.js +710 -0
- package/dist/esm/abi/router/camelotV3Worker.js +534 -0
- package/dist/esm/abi/router/convexWorker.js +517 -0
- package/dist/esm/abi/router/curveWorker.js +694 -0
- package/dist/esm/abi/router/daiUsdsWorker.js +517 -0
- package/dist/esm/abi/router/equalizerRouterWorker.js +517 -0
- package/dist/esm/abi/router/erc4626Worker.js +548 -0
- package/dist/esm/abi/router/fluidDexWorker.js +527 -0
- package/dist/esm/abi/router/gearboxRouter.js +627 -0
- package/dist/esm/abi/router/infraredVaultWorker.js +517 -0
- package/dist/esm/abi/router/kodiakWorker.js +708 -0
- package/dist/esm/abi/router/lidoWorker.js +517 -0
- package/dist/esm/abi/router/mellow4626Worker.js +517 -0
- package/dist/esm/abi/router/mellowDVVWorker.js +517 -0
- package/dist/esm/abi/router/mellowVaultWorker.js +527 -0
- package/dist/esm/abi/router/pendleRouterWorker.js +543 -0
- package/dist/esm/abi/router/routingManager.js +373 -0
- package/dist/esm/abi/router/stakingRewardsWorker.js +517 -0
- package/dist/esm/abi/router/traderJoeWorker.js +517 -0
- package/dist/esm/abi/router/uniswapV2Worker.js +517 -0
- package/dist/esm/abi/router/uniswapV3Worker.js +544 -0
- package/dist/esm/abi/router/upshiftWorker.js +517 -0
- package/dist/esm/abi/router/velodromeV2Worker.js +517 -0
- package/dist/esm/abi/router/wstETHWorker.js +517 -0
- package/dist/esm/abi/router/yearnV2Worker.js +517 -0
- package/dist/esm/dev/migrateFaucet.js +1 -1
- package/dist/esm/plugins/accounts-counter/AccountsCounterPlugin.js +3 -3
- package/dist/esm/plugins/bots/BotsPlugin.js +2 -2
- package/dist/esm/plugins/pools-history/Pools7DAgoPlugin.js +2 -2
- package/dist/esm/plugins/zappers/ZappersPlugin.js +2 -2
- package/dist/esm/sdk/accounts/AbstractCreditAccountsService.js +10 -12
- package/dist/esm/sdk/accounts/CreditAccountsServiceV310.js +1 -1
- package/dist/esm/sdk/chain/detectNetwork.js +1 -1
- package/dist/esm/sdk/core/address-provider/AddressProviderV310Contract.js +1 -1
- package/dist/esm/sdk/gauges/GaugeStakingService.js +2 -2
- package/dist/esm/sdk/market/MarketConfiguratorContract.js +1 -1
- package/dist/esm/sdk/market/MarketRegister.js +3 -3
- package/dist/esm/sdk/market/credit/CreditConfiguratorV310Contract.js +1 -1
- package/dist/esm/sdk/market/credit/CreditFacadeV310Contract.js +2 -2
- package/dist/esm/sdk/market/credit/CreditManagerV310Contract.js +1 -1
- package/dist/esm/sdk/market/oracle/PriceOracleBaseContract.js +2 -2
- package/dist/esm/sdk/market/oracle/PriceOracleV310Contract.js +1 -1
- package/dist/esm/sdk/market/pool/PoolQuotaKeeperV310Contract.js +1 -1
- package/dist/esm/sdk/market/pool/PoolV310Contract.js +1 -1
- package/dist/esm/sdk/market/pool/TumblerContract.js +1 -1
- package/dist/esm/sdk/market/pricefeeds/PriceFeedsRegister.js +3 -3
- package/dist/esm/sdk/router/RouterV310Contract.js +2 -2
- package/dist/esm/sdk/utils/viem/simulateWithPriceUpdates.js +2 -1
- package/dist/types/abi/310/configure/creditSuiteParams.d.ts +92 -0
- package/dist/types/abi/310/configure/iCreditConfigureActions.d.ts +187 -0
- package/dist/types/abi/310/configure/iPoolConfigureActions.d.ts +65 -0
- package/dist/types/abi/310/configure/iPriceOracleConfigureActions.d.ts +29 -0
- package/dist/types/abi/310/crossChainMultisig.d.ts +709 -0
- package/dist/types/abi/310/iBytecodeRepository.d.ts +1139 -0
- package/dist/types/abi/310/iMarketConfiguratorFactory.d.ts +218 -0
- package/dist/types/abi/310/iPriceFeedStore.d.ts +526 -0
- package/dist/types/abi/310/iTreasurySplitter.d.ts +11 -0
- package/dist/types/abi/{iPriceFeedStore.d.ts → 310/instanceManager.d.ts} +183 -143
- package/dist/types/abi/compressors/creditAccountCompressor.d.ts +828 -0
- package/dist/types/abi/compressors/creditSuiteCompressor.d.ts +829 -0
- package/dist/types/abi/compressors/defillamaCompressor.d.ts +201 -0
- package/dist/types/abi/compressors/gaugeCompressor.d.ts +228 -0
- package/dist/types/abi/{compressors.d.ts → compressors/marketCompressor.d.ts} +1322 -4121
- package/dist/types/abi/compressors/peripheryCompressor.d.ts +217 -0
- package/dist/types/abi/compressors/priceFeedCompressor.d.ts +684 -0
- package/dist/types/abi/compressors/rewardsCompressor.d.ts +70 -0
- package/dist/types/abi/compressors/subcompressors/infinifiWithdrawalSubcompressor.d.ts +220 -0
- package/dist/types/abi/compressors/subcompressors/mellowWithdrawalSubcompressor.d.ts +220 -0
- package/dist/types/abi/compressors/subcompressors/midasWithdrawalSubcompressor.d.ts +220 -0
- package/dist/types/abi/compressors/subcompressors/upshiftWithdrawalSubcompressor.d.ts +220 -0
- package/dist/types/abi/compressors/tokenCompressor.d.ts +101 -0
- package/dist/types/abi/{routerV310.d.ts → compressors/withdrawalCompressor.d.ts} +175 -253
- package/dist/types/abi/governance/batchesChain.d.ts +31 -0
- package/dist/types/abi/governance/governor.d.ts +584 -0
- package/dist/types/abi/governance/iTimeLock.d.ts +328 -0
- package/dist/types/abi/router/balancerV2Worker.d.ts +961 -0
- package/dist/types/abi/router/balancerV3Worker.d.ts +961 -0
- package/dist/types/abi/router/camelotV3Worker.d.ts +754 -0
- package/dist/types/abi/router/convexWorker.d.ts +726 -0
- package/dist/types/abi/router/curveWorker.d.ts +947 -0
- package/dist/types/abi/router/daiUsdsWorker.d.ts +726 -0
- package/dist/types/abi/router/equalizerRouterWorker.d.ts +726 -0
- package/dist/types/abi/router/erc4626Worker.d.ts +769 -0
- package/dist/types/abi/router/fluidDexWorker.d.ts +740 -0
- package/dist/types/abi/router/gearboxRouter.d.ts +881 -0
- package/dist/types/abi/router/infraredVaultWorker.d.ts +726 -0
- package/dist/types/abi/router/kodiakWorker.d.ts +967 -0
- package/dist/types/abi/router/lidoWorker.d.ts +726 -0
- package/dist/types/abi/router/mellow4626Worker.d.ts +726 -0
- package/dist/types/abi/router/mellowDVVWorker.d.ts +726 -0
- package/dist/types/abi/router/mellowVaultWorker.d.ts +740 -0
- package/dist/types/abi/router/pendleRouterWorker.d.ts +760 -0
- package/dist/types/abi/router/routingManager.d.ts +494 -0
- package/dist/types/abi/router/stakingRewardsWorker.d.ts +726 -0
- package/dist/types/abi/router/traderJoeWorker.d.ts +726 -0
- package/dist/types/abi/router/uniswapV2Worker.d.ts +726 -0
- package/dist/types/abi/router/uniswapV3Worker.d.ts +774 -0
- package/dist/types/abi/router/upshiftWorker.d.ts +726 -0
- package/dist/types/abi/router/velodromeV2Worker.d.ts +726 -0
- package/dist/types/abi/router/wstETHWorker.d.ts +726 -0
- package/dist/types/abi/router/yearnV2Worker.d.ts +726 -0
- package/dist/types/plugins/bots/types.d.ts +2 -2
- package/dist/types/plugins/zappers/types.d.ts +2 -2
- package/dist/types/sdk/accounts/types.d.ts +2 -2
- package/dist/types/sdk/base/types.d.ts +11 -7
- package/dist/types/sdk/market/credit/CreditManagerV310Contract.d.ts +1 -1
- package/dist/types/sdk/market/oracle/types.d.ts +3 -3
- package/dist/types/sdk/router/RouterV310Contract.d.ts +481 -1
- package/dist/types/sdk/sdk-legacy/payload/pool.d.ts +2 -2
- package/package.json +1 -1
- package/dist/cjs/abi/compressors.js +0 -4555
- package/dist/cjs/abi/iPriceFeedStore.js +0 -254
- package/dist/cjs/abi/index.js +0 -46
- package/dist/cjs/abi/package.json +0 -1
- package/dist/cjs/abi/routerV310.js +0 -276
- package/dist/esm/abi/compressors.js +0 -4524
- package/dist/esm/abi/iPriceFeedStore.js +0 -230
- package/dist/esm/abi/index.js +0 -13
- package/dist/esm/abi/package.json +0 -1
- package/dist/esm/abi/routerV310.js +0 -252
- package/dist/types/abi/index.d.ts +0 -13
- /package/dist/esm/abi/{v310.js → 310/generated.js} +0 -0
- /package/dist/types/abi/{v310.d.ts → 310/generated.d.ts} +0 -0
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
export declare const rewardsCompressorAbi: readonly [{
|
|
2
|
+
readonly type: "constructor";
|
|
3
|
+
readonly inputs: readonly [{
|
|
4
|
+
readonly name: "addressProvider_";
|
|
5
|
+
readonly type: "address";
|
|
6
|
+
readonly internalType: "address";
|
|
7
|
+
}];
|
|
8
|
+
readonly stateMutability: "nonpayable";
|
|
9
|
+
}, {
|
|
10
|
+
readonly type: "function";
|
|
11
|
+
readonly name: "addressProvider";
|
|
12
|
+
readonly inputs: readonly [];
|
|
13
|
+
readonly outputs: readonly [{
|
|
14
|
+
readonly name: "";
|
|
15
|
+
readonly type: "address";
|
|
16
|
+
readonly internalType: "address";
|
|
17
|
+
}];
|
|
18
|
+
readonly stateMutability: "view";
|
|
19
|
+
}, {
|
|
20
|
+
readonly type: "function";
|
|
21
|
+
readonly name: "contractType";
|
|
22
|
+
readonly inputs: readonly [];
|
|
23
|
+
readonly outputs: readonly [{
|
|
24
|
+
readonly name: "";
|
|
25
|
+
readonly type: "bytes32";
|
|
26
|
+
readonly internalType: "bytes32";
|
|
27
|
+
}];
|
|
28
|
+
readonly stateMutability: "view";
|
|
29
|
+
}, {
|
|
30
|
+
readonly type: "function";
|
|
31
|
+
readonly name: "getRewards";
|
|
32
|
+
readonly inputs: readonly [{
|
|
33
|
+
readonly name: "creditAccount";
|
|
34
|
+
readonly type: "address";
|
|
35
|
+
readonly internalType: "address";
|
|
36
|
+
}];
|
|
37
|
+
readonly outputs: readonly [{
|
|
38
|
+
readonly name: "rewards";
|
|
39
|
+
readonly type: "tuple[]";
|
|
40
|
+
readonly internalType: "struct RewardInfo[]";
|
|
41
|
+
readonly components: readonly [{
|
|
42
|
+
readonly name: "amount";
|
|
43
|
+
readonly type: "uint256";
|
|
44
|
+
readonly internalType: "uint256";
|
|
45
|
+
}, {
|
|
46
|
+
readonly name: "rewardToken";
|
|
47
|
+
readonly type: "address";
|
|
48
|
+
readonly internalType: "address";
|
|
49
|
+
}, {
|
|
50
|
+
readonly name: "stakedPhantomToken";
|
|
51
|
+
readonly type: "address";
|
|
52
|
+
readonly internalType: "address";
|
|
53
|
+
}, {
|
|
54
|
+
readonly name: "adapter";
|
|
55
|
+
readonly type: "address";
|
|
56
|
+
readonly internalType: "address";
|
|
57
|
+
}];
|
|
58
|
+
}];
|
|
59
|
+
readonly stateMutability: "view";
|
|
60
|
+
}, {
|
|
61
|
+
readonly type: "function";
|
|
62
|
+
readonly name: "version";
|
|
63
|
+
readonly inputs: readonly [];
|
|
64
|
+
readonly outputs: readonly [{
|
|
65
|
+
readonly name: "";
|
|
66
|
+
readonly type: "uint256";
|
|
67
|
+
readonly internalType: "uint256";
|
|
68
|
+
}];
|
|
69
|
+
readonly stateMutability: "view";
|
|
70
|
+
}];
|
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
export declare const infinifiWithdrawalSubcompressorAbi: readonly [{
|
|
2
|
+
readonly type: "function";
|
|
3
|
+
readonly name: "contractType";
|
|
4
|
+
readonly inputs: readonly [];
|
|
5
|
+
readonly outputs: readonly [{
|
|
6
|
+
readonly name: "";
|
|
7
|
+
readonly type: "bytes32";
|
|
8
|
+
readonly internalType: "bytes32";
|
|
9
|
+
}];
|
|
10
|
+
readonly stateMutability: "view";
|
|
11
|
+
}, {
|
|
12
|
+
readonly type: "function";
|
|
13
|
+
readonly name: "getCurrentWithdrawals";
|
|
14
|
+
readonly inputs: readonly [{
|
|
15
|
+
readonly name: "creditAccount";
|
|
16
|
+
readonly type: "address";
|
|
17
|
+
readonly internalType: "address";
|
|
18
|
+
}, {
|
|
19
|
+
readonly name: "token";
|
|
20
|
+
readonly type: "address";
|
|
21
|
+
readonly internalType: "address";
|
|
22
|
+
}];
|
|
23
|
+
readonly outputs: readonly [{
|
|
24
|
+
readonly name: "";
|
|
25
|
+
readonly type: "tuple[]";
|
|
26
|
+
readonly internalType: "struct ClaimableWithdrawal[]";
|
|
27
|
+
readonly components: readonly [{
|
|
28
|
+
readonly name: "token";
|
|
29
|
+
readonly type: "address";
|
|
30
|
+
readonly internalType: "address";
|
|
31
|
+
}, {
|
|
32
|
+
readonly name: "withdrawalPhantomToken";
|
|
33
|
+
readonly type: "address";
|
|
34
|
+
readonly internalType: "address";
|
|
35
|
+
}, {
|
|
36
|
+
readonly name: "withdrawalTokenSpent";
|
|
37
|
+
readonly type: "uint256";
|
|
38
|
+
readonly internalType: "uint256";
|
|
39
|
+
}, {
|
|
40
|
+
readonly name: "outputs";
|
|
41
|
+
readonly type: "tuple[]";
|
|
42
|
+
readonly internalType: "struct WithdrawalOutput[]";
|
|
43
|
+
readonly components: readonly [{
|
|
44
|
+
readonly name: "token";
|
|
45
|
+
readonly type: "address";
|
|
46
|
+
readonly internalType: "address";
|
|
47
|
+
}, {
|
|
48
|
+
readonly name: "isDelayed";
|
|
49
|
+
readonly type: "bool";
|
|
50
|
+
readonly internalType: "bool";
|
|
51
|
+
}, {
|
|
52
|
+
readonly name: "amount";
|
|
53
|
+
readonly type: "uint256";
|
|
54
|
+
readonly internalType: "uint256";
|
|
55
|
+
}];
|
|
56
|
+
}, {
|
|
57
|
+
readonly name: "claimCalls";
|
|
58
|
+
readonly type: "tuple[]";
|
|
59
|
+
readonly internalType: "struct MultiCall[]";
|
|
60
|
+
readonly components: readonly [{
|
|
61
|
+
readonly name: "target";
|
|
62
|
+
readonly type: "address";
|
|
63
|
+
readonly internalType: "address";
|
|
64
|
+
}, {
|
|
65
|
+
readonly name: "callData";
|
|
66
|
+
readonly type: "bytes";
|
|
67
|
+
readonly internalType: "bytes";
|
|
68
|
+
}];
|
|
69
|
+
}];
|
|
70
|
+
}, {
|
|
71
|
+
readonly name: "";
|
|
72
|
+
readonly type: "tuple[]";
|
|
73
|
+
readonly internalType: "struct PendingWithdrawal[]";
|
|
74
|
+
readonly components: readonly [{
|
|
75
|
+
readonly name: "token";
|
|
76
|
+
readonly type: "address";
|
|
77
|
+
readonly internalType: "address";
|
|
78
|
+
}, {
|
|
79
|
+
readonly name: "withdrawalPhantomToken";
|
|
80
|
+
readonly type: "address";
|
|
81
|
+
readonly internalType: "address";
|
|
82
|
+
}, {
|
|
83
|
+
readonly name: "expectedOutputs";
|
|
84
|
+
readonly type: "tuple[]";
|
|
85
|
+
readonly internalType: "struct WithdrawalOutput[]";
|
|
86
|
+
readonly components: readonly [{
|
|
87
|
+
readonly name: "token";
|
|
88
|
+
readonly type: "address";
|
|
89
|
+
readonly internalType: "address";
|
|
90
|
+
}, {
|
|
91
|
+
readonly name: "isDelayed";
|
|
92
|
+
readonly type: "bool";
|
|
93
|
+
readonly internalType: "bool";
|
|
94
|
+
}, {
|
|
95
|
+
readonly name: "amount";
|
|
96
|
+
readonly type: "uint256";
|
|
97
|
+
readonly internalType: "uint256";
|
|
98
|
+
}];
|
|
99
|
+
}, {
|
|
100
|
+
readonly name: "claimableAt";
|
|
101
|
+
readonly type: "uint256";
|
|
102
|
+
readonly internalType: "uint256";
|
|
103
|
+
}];
|
|
104
|
+
}];
|
|
105
|
+
readonly stateMutability: "view";
|
|
106
|
+
}, {
|
|
107
|
+
readonly type: "function";
|
|
108
|
+
readonly name: "getWithdrawableAssets";
|
|
109
|
+
readonly inputs: readonly [{
|
|
110
|
+
readonly name: "creditManager";
|
|
111
|
+
readonly type: "address";
|
|
112
|
+
readonly internalType: "address";
|
|
113
|
+
}, {
|
|
114
|
+
readonly name: "token";
|
|
115
|
+
readonly type: "address";
|
|
116
|
+
readonly internalType: "address";
|
|
117
|
+
}];
|
|
118
|
+
readonly outputs: readonly [{
|
|
119
|
+
readonly name: "";
|
|
120
|
+
readonly type: "tuple[]";
|
|
121
|
+
readonly internalType: "struct WithdrawableAsset[]";
|
|
122
|
+
readonly components: readonly [{
|
|
123
|
+
readonly name: "token";
|
|
124
|
+
readonly type: "address";
|
|
125
|
+
readonly internalType: "address";
|
|
126
|
+
}, {
|
|
127
|
+
readonly name: "withdrawalPhantomToken";
|
|
128
|
+
readonly type: "address";
|
|
129
|
+
readonly internalType: "address";
|
|
130
|
+
}, {
|
|
131
|
+
readonly name: "underlying";
|
|
132
|
+
readonly type: "address";
|
|
133
|
+
readonly internalType: "address";
|
|
134
|
+
}, {
|
|
135
|
+
readonly name: "withdrawalLength";
|
|
136
|
+
readonly type: "uint256";
|
|
137
|
+
readonly internalType: "uint256";
|
|
138
|
+
}];
|
|
139
|
+
}];
|
|
140
|
+
readonly stateMutability: "view";
|
|
141
|
+
}, {
|
|
142
|
+
readonly type: "function";
|
|
143
|
+
readonly name: "getWithdrawalRequestResult";
|
|
144
|
+
readonly inputs: readonly [{
|
|
145
|
+
readonly name: "creditAccount";
|
|
146
|
+
readonly type: "address";
|
|
147
|
+
readonly internalType: "address";
|
|
148
|
+
}, {
|
|
149
|
+
readonly name: "token";
|
|
150
|
+
readonly type: "address";
|
|
151
|
+
readonly internalType: "address";
|
|
152
|
+
}, {
|
|
153
|
+
readonly name: "withdrawalToken";
|
|
154
|
+
readonly type: "address";
|
|
155
|
+
readonly internalType: "address";
|
|
156
|
+
}, {
|
|
157
|
+
readonly name: "amount";
|
|
158
|
+
readonly type: "uint256";
|
|
159
|
+
readonly internalType: "uint256";
|
|
160
|
+
}];
|
|
161
|
+
readonly outputs: readonly [{
|
|
162
|
+
readonly name: "requestableWithdrawal";
|
|
163
|
+
readonly type: "tuple";
|
|
164
|
+
readonly internalType: "struct RequestableWithdrawal";
|
|
165
|
+
readonly components: readonly [{
|
|
166
|
+
readonly name: "token";
|
|
167
|
+
readonly type: "address";
|
|
168
|
+
readonly internalType: "address";
|
|
169
|
+
}, {
|
|
170
|
+
readonly name: "amountIn";
|
|
171
|
+
readonly type: "uint256";
|
|
172
|
+
readonly internalType: "uint256";
|
|
173
|
+
}, {
|
|
174
|
+
readonly name: "outputs";
|
|
175
|
+
readonly type: "tuple[]";
|
|
176
|
+
readonly internalType: "struct WithdrawalOutput[]";
|
|
177
|
+
readonly components: readonly [{
|
|
178
|
+
readonly name: "token";
|
|
179
|
+
readonly type: "address";
|
|
180
|
+
readonly internalType: "address";
|
|
181
|
+
}, {
|
|
182
|
+
readonly name: "isDelayed";
|
|
183
|
+
readonly type: "bool";
|
|
184
|
+
readonly internalType: "bool";
|
|
185
|
+
}, {
|
|
186
|
+
readonly name: "amount";
|
|
187
|
+
readonly type: "uint256";
|
|
188
|
+
readonly internalType: "uint256";
|
|
189
|
+
}];
|
|
190
|
+
}, {
|
|
191
|
+
readonly name: "requestCalls";
|
|
192
|
+
readonly type: "tuple[]";
|
|
193
|
+
readonly internalType: "struct MultiCall[]";
|
|
194
|
+
readonly components: readonly [{
|
|
195
|
+
readonly name: "target";
|
|
196
|
+
readonly type: "address";
|
|
197
|
+
readonly internalType: "address";
|
|
198
|
+
}, {
|
|
199
|
+
readonly name: "callData";
|
|
200
|
+
readonly type: "bytes";
|
|
201
|
+
readonly internalType: "bytes";
|
|
202
|
+
}];
|
|
203
|
+
}, {
|
|
204
|
+
readonly name: "claimableAt";
|
|
205
|
+
readonly type: "uint256";
|
|
206
|
+
readonly internalType: "uint256";
|
|
207
|
+
}];
|
|
208
|
+
}];
|
|
209
|
+
readonly stateMutability: "view";
|
|
210
|
+
}, {
|
|
211
|
+
readonly type: "function";
|
|
212
|
+
readonly name: "version";
|
|
213
|
+
readonly inputs: readonly [];
|
|
214
|
+
readonly outputs: readonly [{
|
|
215
|
+
readonly name: "";
|
|
216
|
+
readonly type: "uint256";
|
|
217
|
+
readonly internalType: "uint256";
|
|
218
|
+
}];
|
|
219
|
+
readonly stateMutability: "view";
|
|
220
|
+
}];
|
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
export declare const mellowWithdrawalSubcompressorAbi: readonly [{
|
|
2
|
+
readonly type: "function";
|
|
3
|
+
readonly name: "contractType";
|
|
4
|
+
readonly inputs: readonly [];
|
|
5
|
+
readonly outputs: readonly [{
|
|
6
|
+
readonly name: "";
|
|
7
|
+
readonly type: "bytes32";
|
|
8
|
+
readonly internalType: "bytes32";
|
|
9
|
+
}];
|
|
10
|
+
readonly stateMutability: "view";
|
|
11
|
+
}, {
|
|
12
|
+
readonly type: "function";
|
|
13
|
+
readonly name: "getCurrentWithdrawals";
|
|
14
|
+
readonly inputs: readonly [{
|
|
15
|
+
readonly name: "creditAccount";
|
|
16
|
+
readonly type: "address";
|
|
17
|
+
readonly internalType: "address";
|
|
18
|
+
}, {
|
|
19
|
+
readonly name: "token";
|
|
20
|
+
readonly type: "address";
|
|
21
|
+
readonly internalType: "address";
|
|
22
|
+
}];
|
|
23
|
+
readonly outputs: readonly [{
|
|
24
|
+
readonly name: "";
|
|
25
|
+
readonly type: "tuple[]";
|
|
26
|
+
readonly internalType: "struct ClaimableWithdrawal[]";
|
|
27
|
+
readonly components: readonly [{
|
|
28
|
+
readonly name: "token";
|
|
29
|
+
readonly type: "address";
|
|
30
|
+
readonly internalType: "address";
|
|
31
|
+
}, {
|
|
32
|
+
readonly name: "withdrawalPhantomToken";
|
|
33
|
+
readonly type: "address";
|
|
34
|
+
readonly internalType: "address";
|
|
35
|
+
}, {
|
|
36
|
+
readonly name: "withdrawalTokenSpent";
|
|
37
|
+
readonly type: "uint256";
|
|
38
|
+
readonly internalType: "uint256";
|
|
39
|
+
}, {
|
|
40
|
+
readonly name: "outputs";
|
|
41
|
+
readonly type: "tuple[]";
|
|
42
|
+
readonly internalType: "struct WithdrawalOutput[]";
|
|
43
|
+
readonly components: readonly [{
|
|
44
|
+
readonly name: "token";
|
|
45
|
+
readonly type: "address";
|
|
46
|
+
readonly internalType: "address";
|
|
47
|
+
}, {
|
|
48
|
+
readonly name: "isDelayed";
|
|
49
|
+
readonly type: "bool";
|
|
50
|
+
readonly internalType: "bool";
|
|
51
|
+
}, {
|
|
52
|
+
readonly name: "amount";
|
|
53
|
+
readonly type: "uint256";
|
|
54
|
+
readonly internalType: "uint256";
|
|
55
|
+
}];
|
|
56
|
+
}, {
|
|
57
|
+
readonly name: "claimCalls";
|
|
58
|
+
readonly type: "tuple[]";
|
|
59
|
+
readonly internalType: "struct MultiCall[]";
|
|
60
|
+
readonly components: readonly [{
|
|
61
|
+
readonly name: "target";
|
|
62
|
+
readonly type: "address";
|
|
63
|
+
readonly internalType: "address";
|
|
64
|
+
}, {
|
|
65
|
+
readonly name: "callData";
|
|
66
|
+
readonly type: "bytes";
|
|
67
|
+
readonly internalType: "bytes";
|
|
68
|
+
}];
|
|
69
|
+
}];
|
|
70
|
+
}, {
|
|
71
|
+
readonly name: "";
|
|
72
|
+
readonly type: "tuple[]";
|
|
73
|
+
readonly internalType: "struct PendingWithdrawal[]";
|
|
74
|
+
readonly components: readonly [{
|
|
75
|
+
readonly name: "token";
|
|
76
|
+
readonly type: "address";
|
|
77
|
+
readonly internalType: "address";
|
|
78
|
+
}, {
|
|
79
|
+
readonly name: "withdrawalPhantomToken";
|
|
80
|
+
readonly type: "address";
|
|
81
|
+
readonly internalType: "address";
|
|
82
|
+
}, {
|
|
83
|
+
readonly name: "expectedOutputs";
|
|
84
|
+
readonly type: "tuple[]";
|
|
85
|
+
readonly internalType: "struct WithdrawalOutput[]";
|
|
86
|
+
readonly components: readonly [{
|
|
87
|
+
readonly name: "token";
|
|
88
|
+
readonly type: "address";
|
|
89
|
+
readonly internalType: "address";
|
|
90
|
+
}, {
|
|
91
|
+
readonly name: "isDelayed";
|
|
92
|
+
readonly type: "bool";
|
|
93
|
+
readonly internalType: "bool";
|
|
94
|
+
}, {
|
|
95
|
+
readonly name: "amount";
|
|
96
|
+
readonly type: "uint256";
|
|
97
|
+
readonly internalType: "uint256";
|
|
98
|
+
}];
|
|
99
|
+
}, {
|
|
100
|
+
readonly name: "claimableAt";
|
|
101
|
+
readonly type: "uint256";
|
|
102
|
+
readonly internalType: "uint256";
|
|
103
|
+
}];
|
|
104
|
+
}];
|
|
105
|
+
readonly stateMutability: "view";
|
|
106
|
+
}, {
|
|
107
|
+
readonly type: "function";
|
|
108
|
+
readonly name: "getWithdrawableAssets";
|
|
109
|
+
readonly inputs: readonly [{
|
|
110
|
+
readonly name: "";
|
|
111
|
+
readonly type: "address";
|
|
112
|
+
readonly internalType: "address";
|
|
113
|
+
}, {
|
|
114
|
+
readonly name: "token";
|
|
115
|
+
readonly type: "address";
|
|
116
|
+
readonly internalType: "address";
|
|
117
|
+
}];
|
|
118
|
+
readonly outputs: readonly [{
|
|
119
|
+
readonly name: "";
|
|
120
|
+
readonly type: "tuple[]";
|
|
121
|
+
readonly internalType: "struct WithdrawableAsset[]";
|
|
122
|
+
readonly components: readonly [{
|
|
123
|
+
readonly name: "token";
|
|
124
|
+
readonly type: "address";
|
|
125
|
+
readonly internalType: "address";
|
|
126
|
+
}, {
|
|
127
|
+
readonly name: "withdrawalPhantomToken";
|
|
128
|
+
readonly type: "address";
|
|
129
|
+
readonly internalType: "address";
|
|
130
|
+
}, {
|
|
131
|
+
readonly name: "underlying";
|
|
132
|
+
readonly type: "address";
|
|
133
|
+
readonly internalType: "address";
|
|
134
|
+
}, {
|
|
135
|
+
readonly name: "withdrawalLength";
|
|
136
|
+
readonly type: "uint256";
|
|
137
|
+
readonly internalType: "uint256";
|
|
138
|
+
}];
|
|
139
|
+
}];
|
|
140
|
+
readonly stateMutability: "view";
|
|
141
|
+
}, {
|
|
142
|
+
readonly type: "function";
|
|
143
|
+
readonly name: "getWithdrawalRequestResult";
|
|
144
|
+
readonly inputs: readonly [{
|
|
145
|
+
readonly name: "creditAccount";
|
|
146
|
+
readonly type: "address";
|
|
147
|
+
readonly internalType: "address";
|
|
148
|
+
}, {
|
|
149
|
+
readonly name: "token";
|
|
150
|
+
readonly type: "address";
|
|
151
|
+
readonly internalType: "address";
|
|
152
|
+
}, {
|
|
153
|
+
readonly name: "withdrawalToken";
|
|
154
|
+
readonly type: "address";
|
|
155
|
+
readonly internalType: "address";
|
|
156
|
+
}, {
|
|
157
|
+
readonly name: "amount";
|
|
158
|
+
readonly type: "uint256";
|
|
159
|
+
readonly internalType: "uint256";
|
|
160
|
+
}];
|
|
161
|
+
readonly outputs: readonly [{
|
|
162
|
+
readonly name: "requestableWithdrawal";
|
|
163
|
+
readonly type: "tuple";
|
|
164
|
+
readonly internalType: "struct RequestableWithdrawal";
|
|
165
|
+
readonly components: readonly [{
|
|
166
|
+
readonly name: "token";
|
|
167
|
+
readonly type: "address";
|
|
168
|
+
readonly internalType: "address";
|
|
169
|
+
}, {
|
|
170
|
+
readonly name: "amountIn";
|
|
171
|
+
readonly type: "uint256";
|
|
172
|
+
readonly internalType: "uint256";
|
|
173
|
+
}, {
|
|
174
|
+
readonly name: "outputs";
|
|
175
|
+
readonly type: "tuple[]";
|
|
176
|
+
readonly internalType: "struct WithdrawalOutput[]";
|
|
177
|
+
readonly components: readonly [{
|
|
178
|
+
readonly name: "token";
|
|
179
|
+
readonly type: "address";
|
|
180
|
+
readonly internalType: "address";
|
|
181
|
+
}, {
|
|
182
|
+
readonly name: "isDelayed";
|
|
183
|
+
readonly type: "bool";
|
|
184
|
+
readonly internalType: "bool";
|
|
185
|
+
}, {
|
|
186
|
+
readonly name: "amount";
|
|
187
|
+
readonly type: "uint256";
|
|
188
|
+
readonly internalType: "uint256";
|
|
189
|
+
}];
|
|
190
|
+
}, {
|
|
191
|
+
readonly name: "requestCalls";
|
|
192
|
+
readonly type: "tuple[]";
|
|
193
|
+
readonly internalType: "struct MultiCall[]";
|
|
194
|
+
readonly components: readonly [{
|
|
195
|
+
readonly name: "target";
|
|
196
|
+
readonly type: "address";
|
|
197
|
+
readonly internalType: "address";
|
|
198
|
+
}, {
|
|
199
|
+
readonly name: "callData";
|
|
200
|
+
readonly type: "bytes";
|
|
201
|
+
readonly internalType: "bytes";
|
|
202
|
+
}];
|
|
203
|
+
}, {
|
|
204
|
+
readonly name: "claimableAt";
|
|
205
|
+
readonly type: "uint256";
|
|
206
|
+
readonly internalType: "uint256";
|
|
207
|
+
}];
|
|
208
|
+
}];
|
|
209
|
+
readonly stateMutability: "view";
|
|
210
|
+
}, {
|
|
211
|
+
readonly type: "function";
|
|
212
|
+
readonly name: "version";
|
|
213
|
+
readonly inputs: readonly [];
|
|
214
|
+
readonly outputs: readonly [{
|
|
215
|
+
readonly name: "";
|
|
216
|
+
readonly type: "uint256";
|
|
217
|
+
readonly internalType: "uint256";
|
|
218
|
+
}];
|
|
219
|
+
readonly stateMutability: "view";
|
|
220
|
+
}];
|