@gearbox-protocol/sdk 3.0.0-next.55 → 3.0.0-next.57
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/contracts/index.sol +5 -0
- package/lib/core/creditAccount.d.ts +1 -2
- package/lib/core/creditAccount.js +0 -7
- package/lib/core/creditManager.d.ts +1 -0
- package/lib/core/creditManager.js +7 -1
- package/lib/core/trade.d.ts +9 -8
- package/lib/core/trade.js +25 -22
- package/lib/core/transactions.d.ts +16 -1
- package/lib/core/transactions.js +27 -1
- package/lib/parsers/convexBaseRewardPoolAdapterParser.js +10 -8
- package/lib/parsers/convexBaseRewardPoolAdapterParser.spec.js +9 -6
- package/lib/parsers/convexBoosterAdapterParser.js +6 -6
- package/lib/parsers/convexBoosterAdapterParser.spec.js +4 -4
- package/lib/parsers/curveAdapterParser.js +10 -10
- package/lib/parsers/curveAdapterParser.spec.js +6 -2
- package/lib/parsers/lidoAdapterParser.js +3 -2
- package/lib/parsers/lidoAdapterParser.spec.js +2 -2
- package/lib/parsers/uniV2AdapterParser.js +4 -3
- package/lib/parsers/uniV2AdapterParser.spec.js +3 -2
- package/lib/parsers/uniV3AdapterParser.js +8 -6
- package/lib/parsers/uniV3AdapterParser.spec.js +3 -2
- package/lib/parsers/wstETHAdapterParser.js +6 -4
- package/lib/parsers/wstETHAdapterParser.spec.js +4 -4
- package/lib/parsers/yearnAdapterParser.spec.js +4 -4
- package/lib/parsers/yearnV2AdapterParser.js +13 -3
- package/lib/pathfinder/core.d.ts +8 -9
- package/lib/pathfinder/pathfinder.d.ts +37 -10
- package/lib/pathfinder/pathfinder.js +45 -33
- package/lib/pathfinder/pathfinder.spec.js +4 -2
- package/lib/payload/creditAccount.d.ts +1 -2
- package/lib/types/IAaveV2_LendingPoolAdapter.d.ts +171 -0
- package/lib/types/IAaveV2_WrappedATokenAdapter.d.ts +290 -0
- package/lib/types/IBalancerV2Vault.sol/IBalancerV2Vault.d.ts +308 -0
- package/lib/types/IBalancerV2Vault.sol/IBalancerV2VaultGetters.d.ts +112 -0
- package/lib/types/IBalancerV2Vault.sol/index.d.ts +2 -0
- package/lib/types/IBalancerV2Vault.sol/index.js +2 -0
- package/lib/types/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter.d.ts +466 -0
- package/lib/types/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter.js +2 -0
- package/lib/types/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents.d.ts +43 -0
- package/lib/types/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents.js +2 -0
- package/lib/types/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions.d.ts +27 -0
- package/lib/types/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions.js +2 -0
- package/lib/types/IBalancerV2VaultAdapter.sol/index.d.ts +3 -0
- package/lib/types/IBalancerV2VaultAdapter.sol/index.js +2 -0
- package/lib/types/ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter.d.ts +216 -0
- package/lib/types/ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter.js +2 -0
- package/lib/types/ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions.d.ts +27 -0
- package/lib/types/ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions.js +2 -0
- package/lib/types/ICompoundV2_CTokenAdapter.sol/index.d.ts +2 -0
- package/lib/types/ICompoundV2_CTokenAdapter.sol/index.js +2 -0
- package/lib/types/IConvexV1BaseRewardPoolAdapter.d.ts +30 -30
- package/lib/types/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter.d.ts +21 -17
- package/lib/types/ICreditFacadeV3.sol/ICreditFacadeV3.d.ts +45 -85
- package/lib/types/ICreditFacadeV3.sol/ICreditFacadeV3Events.d.ts +24 -26
- package/lib/types/ICreditFacadeV3Multicall.d.ts +32 -40
- package/lib/types/ICreditManagerV3.sol/ICreditManagerV3.d.ts +99 -71
- package/lib/types/ICurveV1Adapter.d.ts +41 -105
- package/lib/types/ICurveV1_2AssetsAdapter.d.ts +41 -105
- package/lib/types/ICurveV1_3AssetsAdapter.d.ts +41 -105
- package/lib/types/ICurveV1_4AssetsAdapter.d.ts +41 -105
- package/lib/types/IDataCompressorV2_10.d.ts +1 -27
- package/lib/types/IDataCompressorV3_00.d.ts +1 -27
- package/lib/types/IERC4626Adapter.d.ts +238 -0
- package/lib/types/IERC4626Adapter.js +2 -0
- package/lib/types/ILidoV1Adapter.d.ts +9 -9
- package/lib/types/IPriceOracleV3.sol/IPriceOracleV3.d.ts +39 -14
- package/lib/types/IPriceOracleV3.sol/IPriceOracleV3Events.d.ts +5 -3
- package/lib/types/IUniswapV2Adapter.sol/IUniswapV2Adapter.d.ts +10 -9
- package/lib/types/IUniswapV3Adapter.sol/IUniswapV3Adapter.d.ts +27 -21
- package/lib/types/IYearnV2Adapter.d.ts +22 -22
- package/lib/types/IwstETHV1Adapter.d.ts +17 -17
- package/lib/types/factories/IAaveV2_LendingPoolAdapter__factory.d.ts +158 -0
- package/lib/types/factories/IAaveV2_LendingPoolAdapter__factory.js +215 -0
- package/lib/types/factories/IAaveV2_WrappedATokenAdapter__factory.d.ts +252 -0
- package/lib/types/factories/IAaveV2_WrappedATokenAdapter__factory.js +341 -0
- package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2VaultGetters__factory.d.ts +78 -0
- package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2VaultGetters__factory.js +111 -0
- package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2Vault__factory.d.ts +360 -0
- package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2Vault__factory.js +475 -0
- package/lib/types/factories/IBalancerV2Vault.sol/index.d.ts +2 -0
- package/lib/types/factories/IBalancerV2Vault.sol/index.js +10 -0
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents__factory.d.ts +23 -0
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents__factory.js +38 -0
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions__factory.d.ts +12 -0
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions__factory.js +24 -0
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter__factory.d.ts +514 -0
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter__factory.js +675 -0
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/index.d.ts +3 -0
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/index.js +12 -0
- package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter__factory.d.ts +196 -0
- package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter__factory.js +267 -0
- package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions__factory.d.ts +16 -0
- package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions__factory.js +30 -0
- package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/index.d.ts +2 -0
- package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/index.js +10 -0
- package/lib/types/factories/IConvexV1BaseRewardPoolAdapter__factory.d.ts +18 -6
- package/lib/types/factories/IConvexV1BaseRewardPoolAdapter__factory.js +22 -6
- package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter__factory.d.ts +10 -2
- package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter__factory.js +12 -2
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3Events__factory.d.ts +13 -18
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3Events__factory.js +14 -20
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3__factory.d.ts +13 -70
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3__factory.js +14 -86
- package/lib/types/factories/ICreditFacadeV3Multicall__factory.d.ts +22 -24
- package/lib/types/factories/ICreditFacadeV3Multicall__factory.js +28 -31
- package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3__factory.d.ts +153 -135
- package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3__factory.js +191 -168
- package/lib/types/factories/ICurveV1Adapter__factory.d.ts +13 -71
- package/lib/types/factories/ICurveV1Adapter__factory.js +14 -91
- package/lib/types/factories/ICurveV1_2AssetsAdapter__factory.d.ts +13 -71
- package/lib/types/factories/ICurveV1_2AssetsAdapter__factory.js +14 -91
- package/lib/types/factories/ICurveV1_3AssetsAdapter__factory.d.ts +13 -71
- package/lib/types/factories/ICurveV1_3AssetsAdapter__factory.js +14 -91
- package/lib/types/factories/ICurveV1_4AssetsAdapter__factory.d.ts +13 -71
- package/lib/types/factories/ICurveV1_4AssetsAdapter__factory.js +14 -91
- package/lib/types/factories/IDataCompressorV2_10__factory.d.ts +0 -42
- package/lib/types/factories/IDataCompressorV2_10__factory.js +0 -54
- package/lib/types/factories/IDataCompressorV3_00__factory.d.ts +0 -84
- package/lib/types/factories/IDataCompressorV3_00__factory.js +0 -108
- package/lib/types/factories/IERC4626Adapter__factory.d.ts +220 -0
- package/lib/types/factories/IERC4626Adapter__factory.js +297 -0
- package/lib/types/factories/ILidoV1Adapter__factory.d.ts +6 -2
- package/lib/types/factories/ILidoV1Adapter__factory.js +8 -2
- package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3Events__factory.d.ts +5 -0
- package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3Events__factory.js +6 -0
- package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3__factory.d.ts +45 -0
- package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3__factory.js +59 -0
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2Adapter__factory.d.ts +5 -1
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2Adapter__factory.js +6 -1
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3Adapter__factory.d.ts +12 -4
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3Adapter__factory.js +14 -4
- package/lib/types/factories/IYearnV2Adapter__factory.d.ts +21 -13
- package/lib/types/factories/IYearnV2Adapter__factory.js +27 -15
- package/lib/types/factories/IwstETHV1Adapter__factory.d.ts +12 -4
- package/lib/types/factories/IwstETHV1Adapter__factory.js +16 -4
- package/lib/types/factories/index.d.ts +7 -2
- package/lib/types/factories/index.js +12 -5
- package/lib/types/factories/{IRouter__factory.d.ts → interfaces/IRouter__factory.d.ts} +61 -6
- package/lib/types/factories/{IRouter__factory.js → interfaces/IRouter__factory.js} +77 -6
- package/lib/types/factories/interfaces/index.d.ts +1 -0
- package/lib/types/factories/interfaces/index.js +8 -0
- package/lib/types/index.d.ts +39 -17
- package/lib/types/index.js +39 -23
- package/lib/types/{IRouter.d.ts → interfaces/IRouter.d.ts} +37 -34
- package/lib/types/interfaces/IRouter.js +2 -0
- package/lib/types/interfaces/index.d.ts +1 -0
- package/lib/types/interfaces/index.js +2 -0
- package/package.json +6 -6
- package/lib/types/IWithdrawalManagerV3.sol/IWithdrawalManagerV3.d.ts +0 -370
- package/lib/types/IWithdrawalManagerV3.sol/IWithdrawalManagerV3Events.d.ts +0 -133
- package/lib/types/IWithdrawalManagerV3.sol/index.d.ts +0 -2
- package/lib/types/factories/IWithdrawalManagerV3.sol/IWithdrawalManagerV3Events__factory.d.ts +0 -143
- package/lib/types/factories/IWithdrawalManagerV3.sol/IWithdrawalManagerV3Events__factory.js +0 -188
- package/lib/types/factories/IWithdrawalManagerV3.sol/IWithdrawalManagerV3__factory.d.ts +0 -366
- package/lib/types/factories/IWithdrawalManagerV3.sol/IWithdrawalManagerV3__factory.js +0 -479
- package/lib/types/factories/IWithdrawalManagerV3.sol/index.d.ts +0 -2
- package/lib/types/factories/IWithdrawalManagerV3.sol/index.js +0 -10
- /package/lib/types/{IRouter.js → IAaveV2_LendingPoolAdapter.js} +0 -0
- /package/lib/types/{IWithdrawalManagerV3.sol/IWithdrawalManagerV3.js → IAaveV2_WrappedATokenAdapter.js} +0 -0
- /package/lib/types/{IWithdrawalManagerV3.sol/IWithdrawalManagerV3Events.js → IBalancerV2Vault.sol/IBalancerV2Vault.js} +0 -0
- /package/lib/types/{IWithdrawalManagerV3.sol/index.js → IBalancerV2Vault.sol/IBalancerV2VaultGetters.js} +0 -0
|
@@ -1,479 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* Autogenerated file. Do not edit manually. */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.IWithdrawalManagerV3__factory = void 0;
|
|
7
|
-
const ethers_1 = require("ethers");
|
|
8
|
-
const _abi = [
|
|
9
|
-
{
|
|
10
|
-
anonymous: false,
|
|
11
|
-
inputs: [
|
|
12
|
-
{
|
|
13
|
-
indexed: true,
|
|
14
|
-
internalType: "address",
|
|
15
|
-
name: "creditManager",
|
|
16
|
-
type: "address",
|
|
17
|
-
},
|
|
18
|
-
],
|
|
19
|
-
name: "AddCreditManager",
|
|
20
|
-
type: "event",
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
anonymous: false,
|
|
24
|
-
inputs: [
|
|
25
|
-
{
|
|
26
|
-
indexed: true,
|
|
27
|
-
internalType: "address",
|
|
28
|
-
name: "account",
|
|
29
|
-
type: "address",
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
indexed: true,
|
|
33
|
-
internalType: "address",
|
|
34
|
-
name: "token",
|
|
35
|
-
type: "address",
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
indexed: false,
|
|
39
|
-
internalType: "uint256",
|
|
40
|
-
name: "amount",
|
|
41
|
-
type: "uint256",
|
|
42
|
-
},
|
|
43
|
-
],
|
|
44
|
-
name: "AddImmediateWithdrawal",
|
|
45
|
-
type: "event",
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
anonymous: false,
|
|
49
|
-
inputs: [
|
|
50
|
-
{
|
|
51
|
-
indexed: true,
|
|
52
|
-
internalType: "address",
|
|
53
|
-
name: "creditAccount",
|
|
54
|
-
type: "address",
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
indexed: true,
|
|
58
|
-
internalType: "address",
|
|
59
|
-
name: "token",
|
|
60
|
-
type: "address",
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
indexed: false,
|
|
64
|
-
internalType: "uint256",
|
|
65
|
-
name: "amount",
|
|
66
|
-
type: "uint256",
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
indexed: false,
|
|
70
|
-
internalType: "uint40",
|
|
71
|
-
name: "maturity",
|
|
72
|
-
type: "uint40",
|
|
73
|
-
},
|
|
74
|
-
],
|
|
75
|
-
name: "AddScheduledWithdrawal",
|
|
76
|
-
type: "event",
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
anonymous: false,
|
|
80
|
-
inputs: [
|
|
81
|
-
{
|
|
82
|
-
indexed: true,
|
|
83
|
-
internalType: "address",
|
|
84
|
-
name: "creditAccount",
|
|
85
|
-
type: "address",
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
indexed: true,
|
|
89
|
-
internalType: "address",
|
|
90
|
-
name: "token",
|
|
91
|
-
type: "address",
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
indexed: false,
|
|
95
|
-
internalType: "uint256",
|
|
96
|
-
name: "amount",
|
|
97
|
-
type: "uint256",
|
|
98
|
-
},
|
|
99
|
-
],
|
|
100
|
-
name: "CancelScheduledWithdrawal",
|
|
101
|
-
type: "event",
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
anonymous: false,
|
|
105
|
-
inputs: [
|
|
106
|
-
{
|
|
107
|
-
indexed: true,
|
|
108
|
-
internalType: "address",
|
|
109
|
-
name: "account",
|
|
110
|
-
type: "address",
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
indexed: true,
|
|
114
|
-
internalType: "address",
|
|
115
|
-
name: "token",
|
|
116
|
-
type: "address",
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
indexed: false,
|
|
120
|
-
internalType: "address",
|
|
121
|
-
name: "to",
|
|
122
|
-
type: "address",
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
indexed: false,
|
|
126
|
-
internalType: "uint256",
|
|
127
|
-
name: "amount",
|
|
128
|
-
type: "uint256",
|
|
129
|
-
},
|
|
130
|
-
],
|
|
131
|
-
name: "ClaimImmediateWithdrawal",
|
|
132
|
-
type: "event",
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
anonymous: false,
|
|
136
|
-
inputs: [
|
|
137
|
-
{
|
|
138
|
-
indexed: true,
|
|
139
|
-
internalType: "address",
|
|
140
|
-
name: "creditAccount",
|
|
141
|
-
type: "address",
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
indexed: true,
|
|
145
|
-
internalType: "address",
|
|
146
|
-
name: "token",
|
|
147
|
-
type: "address",
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
indexed: false,
|
|
151
|
-
internalType: "address",
|
|
152
|
-
name: "to",
|
|
153
|
-
type: "address",
|
|
154
|
-
},
|
|
155
|
-
{
|
|
156
|
-
indexed: false,
|
|
157
|
-
internalType: "uint256",
|
|
158
|
-
name: "amount",
|
|
159
|
-
type: "uint256",
|
|
160
|
-
},
|
|
161
|
-
],
|
|
162
|
-
name: "ClaimScheduledWithdrawal",
|
|
163
|
-
type: "event",
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
anonymous: false,
|
|
167
|
-
inputs: [
|
|
168
|
-
{
|
|
169
|
-
indexed: false,
|
|
170
|
-
internalType: "uint40",
|
|
171
|
-
name: "newDelay",
|
|
172
|
-
type: "uint40",
|
|
173
|
-
},
|
|
174
|
-
],
|
|
175
|
-
name: "SetWithdrawalDelay",
|
|
176
|
-
type: "event",
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
inputs: [
|
|
180
|
-
{
|
|
181
|
-
internalType: "address",
|
|
182
|
-
name: "newCreditManager",
|
|
183
|
-
type: "address",
|
|
184
|
-
},
|
|
185
|
-
],
|
|
186
|
-
name: "addCreditManager",
|
|
187
|
-
outputs: [],
|
|
188
|
-
stateMutability: "nonpayable",
|
|
189
|
-
type: "function",
|
|
190
|
-
},
|
|
191
|
-
{
|
|
192
|
-
inputs: [
|
|
193
|
-
{
|
|
194
|
-
internalType: "address",
|
|
195
|
-
name: "token",
|
|
196
|
-
type: "address",
|
|
197
|
-
},
|
|
198
|
-
{
|
|
199
|
-
internalType: "address",
|
|
200
|
-
name: "to",
|
|
201
|
-
type: "address",
|
|
202
|
-
},
|
|
203
|
-
{
|
|
204
|
-
internalType: "uint256",
|
|
205
|
-
name: "amount",
|
|
206
|
-
type: "uint256",
|
|
207
|
-
},
|
|
208
|
-
],
|
|
209
|
-
name: "addImmediateWithdrawal",
|
|
210
|
-
outputs: [],
|
|
211
|
-
stateMutability: "nonpayable",
|
|
212
|
-
type: "function",
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
inputs: [
|
|
216
|
-
{
|
|
217
|
-
internalType: "address",
|
|
218
|
-
name: "creditAccount",
|
|
219
|
-
type: "address",
|
|
220
|
-
},
|
|
221
|
-
{
|
|
222
|
-
internalType: "address",
|
|
223
|
-
name: "token",
|
|
224
|
-
type: "address",
|
|
225
|
-
},
|
|
226
|
-
{
|
|
227
|
-
internalType: "uint256",
|
|
228
|
-
name: "amount",
|
|
229
|
-
type: "uint256",
|
|
230
|
-
},
|
|
231
|
-
{
|
|
232
|
-
internalType: "uint8",
|
|
233
|
-
name: "tokenIndex",
|
|
234
|
-
type: "uint8",
|
|
235
|
-
},
|
|
236
|
-
],
|
|
237
|
-
name: "addScheduledWithdrawal",
|
|
238
|
-
outputs: [],
|
|
239
|
-
stateMutability: "nonpayable",
|
|
240
|
-
type: "function",
|
|
241
|
-
},
|
|
242
|
-
{
|
|
243
|
-
inputs: [
|
|
244
|
-
{
|
|
245
|
-
internalType: "address",
|
|
246
|
-
name: "creditAccount",
|
|
247
|
-
type: "address",
|
|
248
|
-
},
|
|
249
|
-
{
|
|
250
|
-
internalType: "bool",
|
|
251
|
-
name: "isForceCancel",
|
|
252
|
-
type: "bool",
|
|
253
|
-
},
|
|
254
|
-
],
|
|
255
|
-
name: "cancellableScheduledWithdrawals",
|
|
256
|
-
outputs: [
|
|
257
|
-
{
|
|
258
|
-
internalType: "address",
|
|
259
|
-
name: "token1",
|
|
260
|
-
type: "address",
|
|
261
|
-
},
|
|
262
|
-
{
|
|
263
|
-
internalType: "uint256",
|
|
264
|
-
name: "amount1",
|
|
265
|
-
type: "uint256",
|
|
266
|
-
},
|
|
267
|
-
{
|
|
268
|
-
internalType: "address",
|
|
269
|
-
name: "token2",
|
|
270
|
-
type: "address",
|
|
271
|
-
},
|
|
272
|
-
{
|
|
273
|
-
internalType: "uint256",
|
|
274
|
-
name: "amount2",
|
|
275
|
-
type: "uint256",
|
|
276
|
-
},
|
|
277
|
-
],
|
|
278
|
-
stateMutability: "view",
|
|
279
|
-
type: "function",
|
|
280
|
-
},
|
|
281
|
-
{
|
|
282
|
-
inputs: [
|
|
283
|
-
{
|
|
284
|
-
internalType: "address",
|
|
285
|
-
name: "token",
|
|
286
|
-
type: "address",
|
|
287
|
-
},
|
|
288
|
-
{
|
|
289
|
-
internalType: "address",
|
|
290
|
-
name: "to",
|
|
291
|
-
type: "address",
|
|
292
|
-
},
|
|
293
|
-
],
|
|
294
|
-
name: "claimImmediateWithdrawal",
|
|
295
|
-
outputs: [],
|
|
296
|
-
stateMutability: "nonpayable",
|
|
297
|
-
type: "function",
|
|
298
|
-
},
|
|
299
|
-
{
|
|
300
|
-
inputs: [
|
|
301
|
-
{
|
|
302
|
-
internalType: "address",
|
|
303
|
-
name: "creditAccount",
|
|
304
|
-
type: "address",
|
|
305
|
-
},
|
|
306
|
-
{
|
|
307
|
-
internalType: "address",
|
|
308
|
-
name: "to",
|
|
309
|
-
type: "address",
|
|
310
|
-
},
|
|
311
|
-
{
|
|
312
|
-
internalType: "enum ClaimAction",
|
|
313
|
-
name: "action",
|
|
314
|
-
type: "uint8",
|
|
315
|
-
},
|
|
316
|
-
],
|
|
317
|
-
name: "claimScheduledWithdrawals",
|
|
318
|
-
outputs: [
|
|
319
|
-
{
|
|
320
|
-
internalType: "bool",
|
|
321
|
-
name: "hasScheduled",
|
|
322
|
-
type: "bool",
|
|
323
|
-
},
|
|
324
|
-
{
|
|
325
|
-
internalType: "uint256",
|
|
326
|
-
name: "tokensToEnable",
|
|
327
|
-
type: "uint256",
|
|
328
|
-
},
|
|
329
|
-
],
|
|
330
|
-
stateMutability: "nonpayable",
|
|
331
|
-
type: "function",
|
|
332
|
-
},
|
|
333
|
-
{
|
|
334
|
-
inputs: [],
|
|
335
|
-
name: "delay",
|
|
336
|
-
outputs: [
|
|
337
|
-
{
|
|
338
|
-
internalType: "uint40",
|
|
339
|
-
name: "",
|
|
340
|
-
type: "uint40",
|
|
341
|
-
},
|
|
342
|
-
],
|
|
343
|
-
stateMutability: "view",
|
|
344
|
-
type: "function",
|
|
345
|
-
},
|
|
346
|
-
{
|
|
347
|
-
inputs: [
|
|
348
|
-
{
|
|
349
|
-
internalType: "address",
|
|
350
|
-
name: "account",
|
|
351
|
-
type: "address",
|
|
352
|
-
},
|
|
353
|
-
{
|
|
354
|
-
internalType: "address",
|
|
355
|
-
name: "token",
|
|
356
|
-
type: "address",
|
|
357
|
-
},
|
|
358
|
-
],
|
|
359
|
-
name: "immediateWithdrawals",
|
|
360
|
-
outputs: [
|
|
361
|
-
{
|
|
362
|
-
internalType: "uint256",
|
|
363
|
-
name: "",
|
|
364
|
-
type: "uint256",
|
|
365
|
-
},
|
|
366
|
-
],
|
|
367
|
-
stateMutability: "view",
|
|
368
|
-
type: "function",
|
|
369
|
-
},
|
|
370
|
-
{
|
|
371
|
-
inputs: [
|
|
372
|
-
{
|
|
373
|
-
internalType: "address",
|
|
374
|
-
name: "addr",
|
|
375
|
-
type: "address",
|
|
376
|
-
},
|
|
377
|
-
],
|
|
378
|
-
name: "isValidCreditManager",
|
|
379
|
-
outputs: [
|
|
380
|
-
{
|
|
381
|
-
internalType: "bool",
|
|
382
|
-
name: "",
|
|
383
|
-
type: "bool",
|
|
384
|
-
},
|
|
385
|
-
],
|
|
386
|
-
stateMutability: "view",
|
|
387
|
-
type: "function",
|
|
388
|
-
},
|
|
389
|
-
{
|
|
390
|
-
inputs: [
|
|
391
|
-
{
|
|
392
|
-
internalType: "address",
|
|
393
|
-
name: "creditAccount",
|
|
394
|
-
type: "address",
|
|
395
|
-
},
|
|
396
|
-
],
|
|
397
|
-
name: "scheduledWithdrawals",
|
|
398
|
-
outputs: [
|
|
399
|
-
{
|
|
400
|
-
components: [
|
|
401
|
-
{
|
|
402
|
-
internalType: "uint8",
|
|
403
|
-
name: "tokenIndex",
|
|
404
|
-
type: "uint8",
|
|
405
|
-
},
|
|
406
|
-
{
|
|
407
|
-
internalType: "uint40",
|
|
408
|
-
name: "maturity",
|
|
409
|
-
type: "uint40",
|
|
410
|
-
},
|
|
411
|
-
{
|
|
412
|
-
internalType: "address",
|
|
413
|
-
name: "token",
|
|
414
|
-
type: "address",
|
|
415
|
-
},
|
|
416
|
-
{
|
|
417
|
-
internalType: "uint256",
|
|
418
|
-
name: "amount",
|
|
419
|
-
type: "uint256",
|
|
420
|
-
},
|
|
421
|
-
],
|
|
422
|
-
internalType: "struct ScheduledWithdrawal[2]",
|
|
423
|
-
name: "withdrawals",
|
|
424
|
-
type: "tuple[2]",
|
|
425
|
-
},
|
|
426
|
-
],
|
|
427
|
-
stateMutability: "view",
|
|
428
|
-
type: "function",
|
|
429
|
-
},
|
|
430
|
-
{
|
|
431
|
-
inputs: [
|
|
432
|
-
{
|
|
433
|
-
internalType: "uint40",
|
|
434
|
-
name: "newDelay",
|
|
435
|
-
type: "uint40",
|
|
436
|
-
},
|
|
437
|
-
],
|
|
438
|
-
name: "setWithdrawalDelay",
|
|
439
|
-
outputs: [],
|
|
440
|
-
stateMutability: "nonpayable",
|
|
441
|
-
type: "function",
|
|
442
|
-
},
|
|
443
|
-
{
|
|
444
|
-
inputs: [],
|
|
445
|
-
name: "version",
|
|
446
|
-
outputs: [
|
|
447
|
-
{
|
|
448
|
-
internalType: "uint256",
|
|
449
|
-
name: "",
|
|
450
|
-
type: "uint256",
|
|
451
|
-
},
|
|
452
|
-
],
|
|
453
|
-
stateMutability: "view",
|
|
454
|
-
type: "function",
|
|
455
|
-
},
|
|
456
|
-
{
|
|
457
|
-
inputs: [],
|
|
458
|
-
name: "weth",
|
|
459
|
-
outputs: [
|
|
460
|
-
{
|
|
461
|
-
internalType: "address",
|
|
462
|
-
name: "",
|
|
463
|
-
type: "address",
|
|
464
|
-
},
|
|
465
|
-
],
|
|
466
|
-
stateMutability: "view",
|
|
467
|
-
type: "function",
|
|
468
|
-
},
|
|
469
|
-
];
|
|
470
|
-
class IWithdrawalManagerV3__factory {
|
|
471
|
-
static abi = _abi;
|
|
472
|
-
static createInterface() {
|
|
473
|
-
return new ethers_1.utils.Interface(_abi);
|
|
474
|
-
}
|
|
475
|
-
static connect(address, signerOrProvider) {
|
|
476
|
-
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
477
|
-
}
|
|
478
|
-
}
|
|
479
|
-
exports.IWithdrawalManagerV3__factory = IWithdrawalManagerV3__factory;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.IWithdrawalManagerV3Events__factory = exports.IWithdrawalManagerV3__factory = void 0;
|
|
4
|
-
/* Autogenerated file. Do not edit manually. */
|
|
5
|
-
/* tslint:disable */
|
|
6
|
-
/* eslint-disable */
|
|
7
|
-
var IWithdrawalManagerV3__factory_1 = require("./IWithdrawalManagerV3__factory");
|
|
8
|
-
Object.defineProperty(exports, "IWithdrawalManagerV3__factory", { enumerable: true, get: function () { return IWithdrawalManagerV3__factory_1.IWithdrawalManagerV3__factory; } });
|
|
9
|
-
var IWithdrawalManagerV3Events__factory_1 = require("./IWithdrawalManagerV3Events__factory");
|
|
10
|
-
Object.defineProperty(exports, "IWithdrawalManagerV3Events__factory", { enumerable: true, get: function () { return IWithdrawalManagerV3Events__factory_1.IWithdrawalManagerV3Events__factory; } });
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|