@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,187 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var upshiftWithdrawalSubcompressor_exports = {};
|
|
20
|
+
__export(upshiftWithdrawalSubcompressor_exports, {
|
|
21
|
+
upshiftWithdrawalSubcompressorAbi: () => upshiftWithdrawalSubcompressorAbi
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(upshiftWithdrawalSubcompressor_exports);
|
|
24
|
+
const upshiftWithdrawalSubcompressorAbi = [
|
|
25
|
+
{
|
|
26
|
+
type: "function",
|
|
27
|
+
name: "contractType",
|
|
28
|
+
inputs: [],
|
|
29
|
+
outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
|
|
30
|
+
stateMutability: "view"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
type: "function",
|
|
34
|
+
name: "getCurrentWithdrawals",
|
|
35
|
+
inputs: [
|
|
36
|
+
{ name: "creditAccount", type: "address", internalType: "address" },
|
|
37
|
+
{ name: "token", type: "address", internalType: "address" }
|
|
38
|
+
],
|
|
39
|
+
outputs: [
|
|
40
|
+
{
|
|
41
|
+
name: "",
|
|
42
|
+
type: "tuple[]",
|
|
43
|
+
internalType: "struct ClaimableWithdrawal[]",
|
|
44
|
+
components: [
|
|
45
|
+
{ name: "token", type: "address", internalType: "address" },
|
|
46
|
+
{
|
|
47
|
+
name: "withdrawalPhantomToken",
|
|
48
|
+
type: "address",
|
|
49
|
+
internalType: "address"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
name: "withdrawalTokenSpent",
|
|
53
|
+
type: "uint256",
|
|
54
|
+
internalType: "uint256"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
name: "outputs",
|
|
58
|
+
type: "tuple[]",
|
|
59
|
+
internalType: "struct WithdrawalOutput[]",
|
|
60
|
+
components: [
|
|
61
|
+
{ name: "token", type: "address", internalType: "address" },
|
|
62
|
+
{ name: "isDelayed", type: "bool", internalType: "bool" },
|
|
63
|
+
{ name: "amount", type: "uint256", internalType: "uint256" }
|
|
64
|
+
]
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
name: "claimCalls",
|
|
68
|
+
type: "tuple[]",
|
|
69
|
+
internalType: "struct MultiCall[]",
|
|
70
|
+
components: [
|
|
71
|
+
{ name: "target", type: "address", internalType: "address" },
|
|
72
|
+
{ name: "callData", type: "bytes", internalType: "bytes" }
|
|
73
|
+
]
|
|
74
|
+
}
|
|
75
|
+
]
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
name: "",
|
|
79
|
+
type: "tuple[]",
|
|
80
|
+
internalType: "struct PendingWithdrawal[]",
|
|
81
|
+
components: [
|
|
82
|
+
{ name: "token", type: "address", internalType: "address" },
|
|
83
|
+
{
|
|
84
|
+
name: "withdrawalPhantomToken",
|
|
85
|
+
type: "address",
|
|
86
|
+
internalType: "address"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
name: "expectedOutputs",
|
|
90
|
+
type: "tuple[]",
|
|
91
|
+
internalType: "struct WithdrawalOutput[]",
|
|
92
|
+
components: [
|
|
93
|
+
{ name: "token", type: "address", internalType: "address" },
|
|
94
|
+
{ name: "isDelayed", type: "bool", internalType: "bool" },
|
|
95
|
+
{ name: "amount", type: "uint256", internalType: "uint256" }
|
|
96
|
+
]
|
|
97
|
+
},
|
|
98
|
+
{ name: "claimableAt", type: "uint256", internalType: "uint256" }
|
|
99
|
+
]
|
|
100
|
+
}
|
|
101
|
+
],
|
|
102
|
+
stateMutability: "view"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
type: "function",
|
|
106
|
+
name: "getWithdrawableAssets",
|
|
107
|
+
inputs: [
|
|
108
|
+
{ name: "", type: "address", internalType: "address" },
|
|
109
|
+
{ name: "token", type: "address", internalType: "address" }
|
|
110
|
+
],
|
|
111
|
+
outputs: [
|
|
112
|
+
{
|
|
113
|
+
name: "",
|
|
114
|
+
type: "tuple[]",
|
|
115
|
+
internalType: "struct WithdrawableAsset[]",
|
|
116
|
+
components: [
|
|
117
|
+
{ name: "token", type: "address", internalType: "address" },
|
|
118
|
+
{
|
|
119
|
+
name: "withdrawalPhantomToken",
|
|
120
|
+
type: "address",
|
|
121
|
+
internalType: "address"
|
|
122
|
+
},
|
|
123
|
+
{ name: "underlying", type: "address", internalType: "address" },
|
|
124
|
+
{
|
|
125
|
+
name: "withdrawalLength",
|
|
126
|
+
type: "uint256",
|
|
127
|
+
internalType: "uint256"
|
|
128
|
+
}
|
|
129
|
+
]
|
|
130
|
+
}
|
|
131
|
+
],
|
|
132
|
+
stateMutability: "view"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
type: "function",
|
|
136
|
+
name: "getWithdrawalRequestResult",
|
|
137
|
+
inputs: [
|
|
138
|
+
{ name: "creditAccount", type: "address", internalType: "address" },
|
|
139
|
+
{ name: "token", type: "address", internalType: "address" },
|
|
140
|
+
{ name: "withdrawalToken", type: "address", internalType: "address" },
|
|
141
|
+
{ name: "amount", type: "uint256", internalType: "uint256" }
|
|
142
|
+
],
|
|
143
|
+
outputs: [
|
|
144
|
+
{
|
|
145
|
+
name: "requestableWithdrawal",
|
|
146
|
+
type: "tuple",
|
|
147
|
+
internalType: "struct RequestableWithdrawal",
|
|
148
|
+
components: [
|
|
149
|
+
{ name: "token", type: "address", internalType: "address" },
|
|
150
|
+
{ name: "amountIn", type: "uint256", internalType: "uint256" },
|
|
151
|
+
{
|
|
152
|
+
name: "outputs",
|
|
153
|
+
type: "tuple[]",
|
|
154
|
+
internalType: "struct WithdrawalOutput[]",
|
|
155
|
+
components: [
|
|
156
|
+
{ name: "token", type: "address", internalType: "address" },
|
|
157
|
+
{ name: "isDelayed", type: "bool", internalType: "bool" },
|
|
158
|
+
{ name: "amount", type: "uint256", internalType: "uint256" }
|
|
159
|
+
]
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
name: "requestCalls",
|
|
163
|
+
type: "tuple[]",
|
|
164
|
+
internalType: "struct MultiCall[]",
|
|
165
|
+
components: [
|
|
166
|
+
{ name: "target", type: "address", internalType: "address" },
|
|
167
|
+
{ name: "callData", type: "bytes", internalType: "bytes" }
|
|
168
|
+
]
|
|
169
|
+
},
|
|
170
|
+
{ name: "claimableAt", type: "uint256", internalType: "uint256" }
|
|
171
|
+
]
|
|
172
|
+
}
|
|
173
|
+
],
|
|
174
|
+
stateMutability: "view"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
type: "function",
|
|
178
|
+
name: "version",
|
|
179
|
+
inputs: [],
|
|
180
|
+
outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
|
|
181
|
+
stateMutability: "view"
|
|
182
|
+
}
|
|
183
|
+
];
|
|
184
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
185
|
+
0 && (module.exports = {
|
|
186
|
+
upshiftWithdrawalSubcompressorAbi
|
|
187
|
+
});
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var tokenCompressor_exports = {};
|
|
20
|
+
__export(tokenCompressor_exports, {
|
|
21
|
+
tokenCompressorAbi: () => tokenCompressorAbi
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(tokenCompressor_exports);
|
|
24
|
+
const tokenCompressorAbi = [
|
|
25
|
+
{
|
|
26
|
+
type: "constructor",
|
|
27
|
+
inputs: [
|
|
28
|
+
{ name: "addressProvider_", type: "address", internalType: "address" }
|
|
29
|
+
],
|
|
30
|
+
stateMutability: "nonpayable"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
type: "function",
|
|
34
|
+
name: "addressProvider",
|
|
35
|
+
inputs: [],
|
|
36
|
+
outputs: [{ name: "", type: "address", internalType: "address" }],
|
|
37
|
+
stateMutability: "view"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
type: "function",
|
|
41
|
+
name: "contractType",
|
|
42
|
+
inputs: [],
|
|
43
|
+
outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
|
|
44
|
+
stateMutability: "view"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
type: "function",
|
|
48
|
+
name: "getTokenInfo",
|
|
49
|
+
inputs: [{ name: "token", type: "address", internalType: "address" }],
|
|
50
|
+
outputs: [
|
|
51
|
+
{
|
|
52
|
+
name: "",
|
|
53
|
+
type: "tuple",
|
|
54
|
+
internalType: "struct TokenData",
|
|
55
|
+
components: [
|
|
56
|
+
{ name: "addr", type: "address", internalType: "address" },
|
|
57
|
+
{ name: "symbol", type: "string", internalType: "string" },
|
|
58
|
+
{ name: "name", type: "string", internalType: "string" },
|
|
59
|
+
{ name: "decimals", type: "uint8", internalType: "uint8" }
|
|
60
|
+
]
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
stateMutability: "view"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
type: "function",
|
|
67
|
+
name: "getTokens",
|
|
68
|
+
inputs: [{ name: "tokens", type: "address[]", internalType: "address[]" }],
|
|
69
|
+
outputs: [
|
|
70
|
+
{
|
|
71
|
+
name: "result",
|
|
72
|
+
type: "tuple[]",
|
|
73
|
+
internalType: "struct TokenData[]",
|
|
74
|
+
components: [
|
|
75
|
+
{ name: "addr", type: "address", internalType: "address" },
|
|
76
|
+
{ name: "symbol", type: "string", internalType: "string" },
|
|
77
|
+
{ name: "name", type: "string", internalType: "string" },
|
|
78
|
+
{ name: "decimals", type: "uint8", internalType: "uint8" }
|
|
79
|
+
]
|
|
80
|
+
}
|
|
81
|
+
],
|
|
82
|
+
stateMutability: "view"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
type: "function",
|
|
86
|
+
name: "version",
|
|
87
|
+
inputs: [],
|
|
88
|
+
outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
|
|
89
|
+
stateMutability: "view"
|
|
90
|
+
}
|
|
91
|
+
];
|
|
92
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
93
|
+
0 && (module.exports = {
|
|
94
|
+
tokenCompressorAbi
|
|
95
|
+
});
|
|
@@ -0,0 +1,272 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var withdrawalCompressor_exports = {};
|
|
20
|
+
__export(withdrawalCompressor_exports, {
|
|
21
|
+
withdrawalCompressorAbi: () => withdrawalCompressorAbi
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(withdrawalCompressor_exports);
|
|
24
|
+
const withdrawalCompressorAbi = [
|
|
25
|
+
{
|
|
26
|
+
type: "constructor",
|
|
27
|
+
inputs: [
|
|
28
|
+
{ name: "_owner", type: "address", internalType: "address" },
|
|
29
|
+
{ name: "addressProvider_", type: "address", internalType: "address" }
|
|
30
|
+
],
|
|
31
|
+
stateMutability: "nonpayable"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
type: "function",
|
|
35
|
+
name: "addressProvider",
|
|
36
|
+
inputs: [],
|
|
37
|
+
outputs: [{ name: "", type: "address", internalType: "address" }],
|
|
38
|
+
stateMutability: "view"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
type: "function",
|
|
42
|
+
name: "compressorTypeToCompressor",
|
|
43
|
+
inputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
|
|
44
|
+
outputs: [{ name: "", type: "address", internalType: "address" }],
|
|
45
|
+
stateMutability: "view"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
type: "function",
|
|
49
|
+
name: "contractType",
|
|
50
|
+
inputs: [],
|
|
51
|
+
outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
|
|
52
|
+
stateMutability: "view"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
type: "function",
|
|
56
|
+
name: "getCurrentWithdrawals",
|
|
57
|
+
inputs: [
|
|
58
|
+
{ name: "creditAccount", type: "address", internalType: "address" }
|
|
59
|
+
],
|
|
60
|
+
outputs: [
|
|
61
|
+
{
|
|
62
|
+
name: "",
|
|
63
|
+
type: "tuple[]",
|
|
64
|
+
internalType: "struct ClaimableWithdrawal[]",
|
|
65
|
+
components: [
|
|
66
|
+
{ name: "token", type: "address", internalType: "address" },
|
|
67
|
+
{
|
|
68
|
+
name: "withdrawalPhantomToken",
|
|
69
|
+
type: "address",
|
|
70
|
+
internalType: "address"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
name: "withdrawalTokenSpent",
|
|
74
|
+
type: "uint256",
|
|
75
|
+
internalType: "uint256"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
name: "outputs",
|
|
79
|
+
type: "tuple[]",
|
|
80
|
+
internalType: "struct WithdrawalOutput[]",
|
|
81
|
+
components: [
|
|
82
|
+
{ name: "token", type: "address", internalType: "address" },
|
|
83
|
+
{ name: "isDelayed", type: "bool", internalType: "bool" },
|
|
84
|
+
{ name: "amount", type: "uint256", internalType: "uint256" }
|
|
85
|
+
]
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
name: "claimCalls",
|
|
89
|
+
type: "tuple[]",
|
|
90
|
+
internalType: "struct MultiCall[]",
|
|
91
|
+
components: [
|
|
92
|
+
{ name: "target", type: "address", internalType: "address" },
|
|
93
|
+
{ name: "callData", type: "bytes", internalType: "bytes" }
|
|
94
|
+
]
|
|
95
|
+
}
|
|
96
|
+
]
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
name: "",
|
|
100
|
+
type: "tuple[]",
|
|
101
|
+
internalType: "struct PendingWithdrawal[]",
|
|
102
|
+
components: [
|
|
103
|
+
{ name: "token", type: "address", internalType: "address" },
|
|
104
|
+
{
|
|
105
|
+
name: "withdrawalPhantomToken",
|
|
106
|
+
type: "address",
|
|
107
|
+
internalType: "address"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
name: "expectedOutputs",
|
|
111
|
+
type: "tuple[]",
|
|
112
|
+
internalType: "struct WithdrawalOutput[]",
|
|
113
|
+
components: [
|
|
114
|
+
{ name: "token", type: "address", internalType: "address" },
|
|
115
|
+
{ name: "isDelayed", type: "bool", internalType: "bool" },
|
|
116
|
+
{ name: "amount", type: "uint256", internalType: "uint256" }
|
|
117
|
+
]
|
|
118
|
+
},
|
|
119
|
+
{ name: "claimableAt", type: "uint256", internalType: "uint256" }
|
|
120
|
+
]
|
|
121
|
+
}
|
|
122
|
+
],
|
|
123
|
+
stateMutability: "view"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
type: "function",
|
|
127
|
+
name: "getWithdrawableAssets",
|
|
128
|
+
inputs: [
|
|
129
|
+
{ name: "creditManager", type: "address", internalType: "address" }
|
|
130
|
+
],
|
|
131
|
+
outputs: [
|
|
132
|
+
{
|
|
133
|
+
name: "",
|
|
134
|
+
type: "tuple[]",
|
|
135
|
+
internalType: "struct WithdrawableAsset[]",
|
|
136
|
+
components: [
|
|
137
|
+
{ name: "token", type: "address", internalType: "address" },
|
|
138
|
+
{
|
|
139
|
+
name: "withdrawalPhantomToken",
|
|
140
|
+
type: "address",
|
|
141
|
+
internalType: "address"
|
|
142
|
+
},
|
|
143
|
+
{ name: "underlying", type: "address", internalType: "address" },
|
|
144
|
+
{
|
|
145
|
+
name: "withdrawalLength",
|
|
146
|
+
type: "uint256",
|
|
147
|
+
internalType: "uint256"
|
|
148
|
+
}
|
|
149
|
+
]
|
|
150
|
+
}
|
|
151
|
+
],
|
|
152
|
+
stateMutability: "view"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
type: "function",
|
|
156
|
+
name: "getWithdrawalRequestResult",
|
|
157
|
+
inputs: [
|
|
158
|
+
{ name: "creditAccount", type: "address", internalType: "address" },
|
|
159
|
+
{ name: "token", type: "address", internalType: "address" },
|
|
160
|
+
{ name: "amount", type: "uint256", internalType: "uint256" }
|
|
161
|
+
],
|
|
162
|
+
outputs: [
|
|
163
|
+
{
|
|
164
|
+
name: "withdrawal",
|
|
165
|
+
type: "tuple",
|
|
166
|
+
internalType: "struct RequestableWithdrawal",
|
|
167
|
+
components: [
|
|
168
|
+
{ name: "token", type: "address", internalType: "address" },
|
|
169
|
+
{ name: "amountIn", type: "uint256", internalType: "uint256" },
|
|
170
|
+
{
|
|
171
|
+
name: "outputs",
|
|
172
|
+
type: "tuple[]",
|
|
173
|
+
internalType: "struct WithdrawalOutput[]",
|
|
174
|
+
components: [
|
|
175
|
+
{ name: "token", type: "address", internalType: "address" },
|
|
176
|
+
{ name: "isDelayed", type: "bool", internalType: "bool" },
|
|
177
|
+
{ name: "amount", type: "uint256", internalType: "uint256" }
|
|
178
|
+
]
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
name: "requestCalls",
|
|
182
|
+
type: "tuple[]",
|
|
183
|
+
internalType: "struct MultiCall[]",
|
|
184
|
+
components: [
|
|
185
|
+
{ name: "target", type: "address", internalType: "address" },
|
|
186
|
+
{ name: "callData", type: "bytes", internalType: "bytes" }
|
|
187
|
+
]
|
|
188
|
+
},
|
|
189
|
+
{ name: "claimableAt", type: "uint256", internalType: "uint256" }
|
|
190
|
+
]
|
|
191
|
+
}
|
|
192
|
+
],
|
|
193
|
+
stateMutability: "view"
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
type: "function",
|
|
197
|
+
name: "owner",
|
|
198
|
+
inputs: [],
|
|
199
|
+
outputs: [{ name: "", type: "address", internalType: "address" }],
|
|
200
|
+
stateMutability: "view"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
type: "function",
|
|
204
|
+
name: "renounceOwnership",
|
|
205
|
+
inputs: [],
|
|
206
|
+
outputs: [],
|
|
207
|
+
stateMutability: "nonpayable"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
type: "function",
|
|
211
|
+
name: "setSubcompressor",
|
|
212
|
+
inputs: [
|
|
213
|
+
{ name: "subcompressor", type: "address", internalType: "address" }
|
|
214
|
+
],
|
|
215
|
+
outputs: [],
|
|
216
|
+
stateMutability: "nonpayable"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
type: "function",
|
|
220
|
+
name: "setWithdrawableTypeToCompressorType",
|
|
221
|
+
inputs: [
|
|
222
|
+
{ name: "withdrawableType", type: "bytes32", internalType: "bytes32" },
|
|
223
|
+
{ name: "compressorType", type: "bytes32", internalType: "bytes32" }
|
|
224
|
+
],
|
|
225
|
+
outputs: [],
|
|
226
|
+
stateMutability: "nonpayable"
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
type: "function",
|
|
230
|
+
name: "transferOwnership",
|
|
231
|
+
inputs: [{ name: "newOwner", type: "address", internalType: "address" }],
|
|
232
|
+
outputs: [],
|
|
233
|
+
stateMutability: "nonpayable"
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
type: "function",
|
|
237
|
+
name: "version",
|
|
238
|
+
inputs: [],
|
|
239
|
+
outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
|
|
240
|
+
stateMutability: "view"
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
type: "function",
|
|
244
|
+
name: "withdrawableTypeToCompressorType",
|
|
245
|
+
inputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
|
|
246
|
+
outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
|
|
247
|
+
stateMutability: "view"
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
type: "event",
|
|
251
|
+
name: "OwnershipTransferred",
|
|
252
|
+
inputs: [
|
|
253
|
+
{
|
|
254
|
+
name: "previousOwner",
|
|
255
|
+
type: "address",
|
|
256
|
+
indexed: true,
|
|
257
|
+
internalType: "address"
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
name: "newOwner",
|
|
261
|
+
type: "address",
|
|
262
|
+
indexed: true,
|
|
263
|
+
internalType: "address"
|
|
264
|
+
}
|
|
265
|
+
],
|
|
266
|
+
anonymous: false
|
|
267
|
+
}
|
|
268
|
+
];
|
|
269
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
270
|
+
0 && (module.exports = {
|
|
271
|
+
withdrawalCompressorAbi
|
|
272
|
+
});
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var batchesChain_exports = {};
|
|
20
|
+
__export(batchesChain_exports, {
|
|
21
|
+
batchesChainAbi: () => batchesChainAbi
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(batchesChain_exports);
|
|
24
|
+
const batchesChainAbi = [
|
|
25
|
+
{
|
|
26
|
+
type: "function",
|
|
27
|
+
name: "contractType",
|
|
28
|
+
inputs: [],
|
|
29
|
+
outputs: [
|
|
30
|
+
{
|
|
31
|
+
name: "",
|
|
32
|
+
type: "bytes32",
|
|
33
|
+
internalType: "bytes32"
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
stateMutability: "view"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
type: "function",
|
|
40
|
+
name: "revertIfQueued",
|
|
41
|
+
inputs: [
|
|
42
|
+
{
|
|
43
|
+
name: "txHash",
|
|
44
|
+
type: "bytes32",
|
|
45
|
+
internalType: "bytes32"
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
outputs: [],
|
|
49
|
+
stateMutability: "view"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
type: "function",
|
|
53
|
+
name: "version",
|
|
54
|
+
inputs: [],
|
|
55
|
+
outputs: [
|
|
56
|
+
{
|
|
57
|
+
name: "",
|
|
58
|
+
type: "uint256",
|
|
59
|
+
internalType: "uint256"
|
|
60
|
+
}
|
|
61
|
+
],
|
|
62
|
+
stateMutability: "view"
|
|
63
|
+
}
|
|
64
|
+
];
|
|
65
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
66
|
+
0 && (module.exports = {
|
|
67
|
+
batchesChainAbi
|
|
68
|
+
});
|