@1stdex/first-sdk 1.0.21 → 1.0.23
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/calls/batch/prepare-market-order-with-setup.js +2 -9
- package/dist/cjs/calls/batch/prepare-market-order-with-setup.js.map +1 -1
- package/dist/cjs/calls/batch/prepare-order-with-setup.js +2 -9
- package/dist/cjs/calls/batch/prepare-order-with-setup.js.map +1 -1
- package/dist/cjs/calls/market/cancel.js +0 -1
- package/dist/cjs/calls/market/cancel.js.map +1 -1
- package/dist/cjs/calls/market/claim.js +0 -1
- package/dist/cjs/calls/market/claim.js.map +1 -1
- package/dist/cjs/calls/market/limit.js +0 -2
- package/dist/cjs/calls/market/limit.js.map +1 -1
- package/dist/cjs/calls/market/make.js +0 -6
- package/dist/cjs/calls/market/make.js.map +1 -1
- package/dist/cjs/calls/market/market.js +5 -10
- package/dist/cjs/calls/market/market.js.map +1 -1
- package/dist/cjs/constants/abis/core/book-manager-abi.js +12 -7
- package/dist/cjs/constants/abis/core/book-manager-abi.js.map +1 -1
- package/dist/cjs/constants/abis/core/book-viewer-abi.js +141 -199
- package/dist/cjs/constants/abis/core/book-viewer-abi.js.map +1 -1
- package/dist/cjs/constants/abis/core/claimable-dex-vault.js +46 -0
- package/dist/cjs/constants/abis/core/claimable-dex-vault.js.map +1 -1
- package/dist/cjs/constants/abis/core/controller-abi.js +94 -101
- package/dist/cjs/constants/abis/core/controller-abi.js.map +1 -1
- package/dist/cjs/constants/abis/core/dex-vault-abi.js +1 -1
- package/dist/cjs/constants/abis/core/dex-vault-abi.js.map +1 -1
- package/dist/cjs/constants/abis/core/mirror-token-abi.js +901 -6
- package/dist/cjs/constants/abis/core/mirror-token-abi.js.map +1 -1
- package/dist/cjs/constants/abis/core/params-abi.js +11 -38
- package/dist/cjs/constants/abis/core/params-abi.js.map +1 -1
- package/dist/cjs/constants/chain-configs/addresses.js +3 -3
- package/dist/cjs/constants/chain-configs/currency.js +1 -1
- package/dist/cjs/views/setup.js +8 -0
- package/dist/cjs/views/setup.js.map +1 -1
- package/dist/esm/calls/batch/prepare-market-order-with-setup.js +4 -10
- package/dist/esm/calls/batch/prepare-market-order-with-setup.js.map +1 -1
- package/dist/esm/calls/batch/prepare-order-with-setup.js +4 -10
- package/dist/esm/calls/batch/prepare-order-with-setup.js.map +1 -1
- package/dist/esm/calls/market/cancel.js +0 -1
- package/dist/esm/calls/market/cancel.js.map +1 -1
- package/dist/esm/calls/market/claim.js +0 -1
- package/dist/esm/calls/market/claim.js.map +1 -1
- package/dist/esm/calls/market/limit.js +0 -3
- package/dist/esm/calls/market/limit.js.map +1 -1
- package/dist/esm/calls/market/make.js +0 -6
- package/dist/esm/calls/market/make.js.map +1 -1
- package/dist/esm/calls/market/market.js +6 -12
- package/dist/esm/calls/market/market.js.map +1 -1
- package/dist/esm/constants/abis/core/book-manager-abi.js +12 -7
- package/dist/esm/constants/abis/core/book-manager-abi.js.map +1 -1
- package/dist/esm/constants/abis/core/book-viewer-abi.js +141 -199
- package/dist/esm/constants/abis/core/book-viewer-abi.js.map +1 -1
- package/dist/esm/constants/abis/core/claimable-dex-vault.js +46 -0
- package/dist/esm/constants/abis/core/claimable-dex-vault.js.map +1 -1
- package/dist/esm/constants/abis/core/controller-abi.js +94 -101
- package/dist/esm/constants/abis/core/controller-abi.js.map +1 -1
- package/dist/esm/constants/abis/core/dex-vault-abi.js +1 -1
- package/dist/esm/constants/abis/core/dex-vault-abi.js.map +1 -1
- package/dist/esm/constants/abis/core/mirror-token-abi.js +901 -6
- package/dist/esm/constants/abis/core/mirror-token-abi.js.map +1 -1
- package/dist/esm/constants/abis/core/params-abi.js +11 -38
- package/dist/esm/constants/abis/core/params-abi.js.map +1 -1
- package/dist/esm/constants/chain-configs/addresses.js +3 -3
- package/dist/esm/constants/chain-configs/currency.js +1 -1
- package/dist/esm/views/setup.js +8 -0
- package/dist/esm/views/setup.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/calls/batch/prepare-market-order-with-setup.d.ts.map +1 -1
- package/dist/types/calls/batch/prepare-order-with-setup.d.ts.map +1 -1
- package/dist/types/calls/market/cancel.d.ts.map +1 -1
- package/dist/types/calls/market/claim.d.ts.map +1 -1
- package/dist/types/calls/market/limit.d.ts +1 -3
- package/dist/types/calls/market/limit.d.ts.map +1 -1
- package/dist/types/calls/market/make.d.ts.map +1 -1
- package/dist/types/calls/market/market.d.ts +2 -4
- package/dist/types/calls/market/market.d.ts.map +1 -1
- package/dist/types/constants/abis/core/book-manager-abi.d.ts +32 -15
- package/dist/types/constants/abis/core/book-manager-abi.d.ts.map +1 -1
- package/dist/types/constants/abis/core/book-viewer-abi.d.ts +170 -68
- package/dist/types/constants/abis/core/book-viewer-abi.d.ts.map +1 -1
- package/dist/types/constants/abis/core/claimable-dex-vault.d.ts +83 -0
- package/dist/types/constants/abis/core/claimable-dex-vault.d.ts.map +1 -1
- package/dist/types/constants/abis/core/controller-abi.d.ts +130 -164
- package/dist/types/constants/abis/core/controller-abi.d.ts.map +1 -1
- package/dist/types/constants/abis/core/dex-vault-abi.d.ts +1 -1
- package/dist/types/constants/abis/core/mirror-token-abi.d.ts +1252 -16
- package/dist/types/constants/abis/core/mirror-token-abi.d.ts.map +1 -1
- package/dist/types/constants/abis/core/params-abi.d.ts.map +1 -1
- package/dist/types/views/setup.d.ts +1 -0
- package/dist/types/views/setup.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -186,6 +186,22 @@ export declare const CLAIMABLE_DEX_VAULT_ABI: readonly [{
|
|
|
186
186
|
}];
|
|
187
187
|
readonly name: "ERC4626ExceededMaxWithdraw";
|
|
188
188
|
readonly type: "error";
|
|
189
|
+
}, {
|
|
190
|
+
readonly inputs: readonly [];
|
|
191
|
+
readonly name: "InsufficientAvailableBalance";
|
|
192
|
+
readonly type: "error";
|
|
193
|
+
}, {
|
|
194
|
+
readonly inputs: readonly [];
|
|
195
|
+
readonly name: "InsufficientBalance";
|
|
196
|
+
readonly type: "error";
|
|
197
|
+
}, {
|
|
198
|
+
readonly inputs: readonly [];
|
|
199
|
+
readonly name: "InsufficientLockedBalance";
|
|
200
|
+
readonly type: "error";
|
|
201
|
+
}, {
|
|
202
|
+
readonly inputs: readonly [];
|
|
203
|
+
readonly name: "InsufficientTotalLocked";
|
|
204
|
+
readonly type: "error";
|
|
189
205
|
}, {
|
|
190
206
|
readonly inputs: readonly [{
|
|
191
207
|
readonly internalType: "address";
|
|
@@ -198,10 +214,38 @@ export declare const CLAIMABLE_DEX_VAULT_ABI: readonly [{
|
|
|
198
214
|
}];
|
|
199
215
|
readonly name: "InvalidAccountNonce";
|
|
200
216
|
readonly type: "error";
|
|
217
|
+
}, {
|
|
218
|
+
readonly inputs: readonly [];
|
|
219
|
+
readonly name: "InvalidAmount";
|
|
220
|
+
readonly type: "error";
|
|
221
|
+
}, {
|
|
222
|
+
readonly inputs: readonly [];
|
|
223
|
+
readonly name: "InvalidAssets";
|
|
224
|
+
readonly type: "error";
|
|
225
|
+
}, {
|
|
226
|
+
readonly inputs: readonly [];
|
|
227
|
+
readonly name: "InvalidShares";
|
|
228
|
+
readonly type: "error";
|
|
201
229
|
}, {
|
|
202
230
|
readonly inputs: readonly [];
|
|
203
231
|
readonly name: "InvalidShortString";
|
|
204
232
|
readonly type: "error";
|
|
233
|
+
}, {
|
|
234
|
+
readonly inputs: readonly [];
|
|
235
|
+
readonly name: "NestedDeflationaryTokenAlreadySet";
|
|
236
|
+
readonly type: "error";
|
|
237
|
+
}, {
|
|
238
|
+
readonly inputs: readonly [];
|
|
239
|
+
readonly name: "NotEnoughClaimable";
|
|
240
|
+
readonly type: "error";
|
|
241
|
+
}, {
|
|
242
|
+
readonly inputs: readonly [];
|
|
243
|
+
readonly name: "NothingToClaim";
|
|
244
|
+
readonly type: "error";
|
|
245
|
+
}, {
|
|
246
|
+
readonly inputs: readonly [];
|
|
247
|
+
readonly name: "OnlyBookManager";
|
|
248
|
+
readonly type: "error";
|
|
205
249
|
}, {
|
|
206
250
|
readonly inputs: readonly [{
|
|
207
251
|
readonly internalType: "address";
|
|
@@ -238,6 +282,10 @@ export declare const CLAIMABLE_DEX_VAULT_ABI: readonly [{
|
|
|
238
282
|
}];
|
|
239
283
|
readonly name: "StringTooLong";
|
|
240
284
|
readonly type: "error";
|
|
285
|
+
}, {
|
|
286
|
+
readonly inputs: readonly [];
|
|
287
|
+
readonly name: "TakenExtraDeficit";
|
|
288
|
+
readonly type: "error";
|
|
241
289
|
}, {
|
|
242
290
|
readonly inputs: readonly [{
|
|
243
291
|
readonly internalType: "address";
|
|
@@ -246,6 +294,10 @@ export declare const CLAIMABLE_DEX_VAULT_ABI: readonly [{
|
|
|
246
294
|
}];
|
|
247
295
|
readonly name: "UnauthorizedDeflator";
|
|
248
296
|
readonly type: "error";
|
|
297
|
+
}, {
|
|
298
|
+
readonly inputs: readonly [];
|
|
299
|
+
readonly name: "VaultBalanceLessThanLocked";
|
|
300
|
+
readonly type: "error";
|
|
249
301
|
}, {
|
|
250
302
|
readonly anonymous: false;
|
|
251
303
|
readonly inputs: readonly [{
|
|
@@ -456,6 +508,21 @@ export declare const CLAIMABLE_DEX_VAULT_ABI: readonly [{
|
|
|
456
508
|
}];
|
|
457
509
|
readonly name: "NestedDeflationaryTokenSet";
|
|
458
510
|
readonly type: "event";
|
|
511
|
+
}, {
|
|
512
|
+
readonly anonymous: false;
|
|
513
|
+
readonly inputs: readonly [{
|
|
514
|
+
readonly indexed: true;
|
|
515
|
+
readonly internalType: "address";
|
|
516
|
+
readonly name: "previousOwner";
|
|
517
|
+
readonly type: "address";
|
|
518
|
+
}, {
|
|
519
|
+
readonly indexed: true;
|
|
520
|
+
readonly internalType: "address";
|
|
521
|
+
readonly name: "newOwner";
|
|
522
|
+
readonly type: "address";
|
|
523
|
+
}];
|
|
524
|
+
readonly name: "OwnershipTransferStarted";
|
|
525
|
+
readonly type: "event";
|
|
459
526
|
}, {
|
|
460
527
|
readonly anonymous: false;
|
|
461
528
|
readonly inputs: readonly [{
|
|
@@ -601,6 +668,12 @@ export declare const CLAIMABLE_DEX_VAULT_ABI: readonly [{
|
|
|
601
668
|
}];
|
|
602
669
|
readonly stateMutability: "view";
|
|
603
670
|
readonly type: "function";
|
|
671
|
+
}, {
|
|
672
|
+
readonly inputs: readonly [];
|
|
673
|
+
readonly name: "acceptOwnership";
|
|
674
|
+
readonly outputs: readonly [];
|
|
675
|
+
readonly stateMutability: "nonpayable";
|
|
676
|
+
readonly type: "function";
|
|
604
677
|
}, {
|
|
605
678
|
readonly inputs: readonly [{
|
|
606
679
|
readonly internalType: "address";
|
|
@@ -1181,6 +1254,16 @@ export declare const CLAIMABLE_DEX_VAULT_ABI: readonly [{
|
|
|
1181
1254
|
}];
|
|
1182
1255
|
readonly stateMutability: "view";
|
|
1183
1256
|
readonly type: "function";
|
|
1257
|
+
}, {
|
|
1258
|
+
readonly inputs: readonly [];
|
|
1259
|
+
readonly name: "pendingOwner";
|
|
1260
|
+
readonly outputs: readonly [{
|
|
1261
|
+
readonly internalType: "address";
|
|
1262
|
+
readonly name: "";
|
|
1263
|
+
readonly type: "address";
|
|
1264
|
+
}];
|
|
1265
|
+
readonly stateMutability: "view";
|
|
1266
|
+
readonly type: "function";
|
|
1184
1267
|
}, {
|
|
1185
1268
|
readonly inputs: readonly [{
|
|
1186
1269
|
readonly internalType: "address";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"claimable-dex-vault.d.ts","sourceRoot":"","sources":["../../../../../src/constants/abis/core/claimable-dex-vault.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"claimable-dex-vault.d.ts","sourceRoot":"","sources":["../../../../../src/constants/abis/core/claimable-dex-vault.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyoC1B,CAAC"}
|
|
@@ -3,10 +3,6 @@ export declare const CONTROLLER_ABI: readonly [{
|
|
|
3
3
|
readonly internalType: "address";
|
|
4
4
|
readonly name: "bookManager_";
|
|
5
5
|
readonly type: "address";
|
|
6
|
-
}, {
|
|
7
|
-
readonly internalType: "address";
|
|
8
|
-
readonly name: "owner_";
|
|
9
|
-
readonly type: "address";
|
|
10
6
|
}];
|
|
11
7
|
readonly stateMutability: "nonpayable";
|
|
12
8
|
readonly type: "constructor";
|
|
@@ -34,6 +30,10 @@ export declare const CONTROLLER_ABI: readonly [{
|
|
|
34
30
|
readonly inputs: readonly [];
|
|
35
31
|
readonly name: "Deadline";
|
|
36
32
|
readonly type: "error";
|
|
33
|
+
}, {
|
|
34
|
+
readonly inputs: readonly [];
|
|
35
|
+
readonly name: "ExpiredPermitSignature";
|
|
36
|
+
readonly type: "error";
|
|
37
37
|
}, {
|
|
38
38
|
readonly inputs: readonly [{
|
|
39
39
|
readonly internalType: "address";
|
|
@@ -50,6 +50,10 @@ export declare const CONTROLLER_ABI: readonly [{
|
|
|
50
50
|
}];
|
|
51
51
|
readonly name: "InsufficientBalance";
|
|
52
52
|
readonly type: "error";
|
|
53
|
+
}, {
|
|
54
|
+
readonly inputs: readonly [];
|
|
55
|
+
readonly name: "InsufficientPermitAmount";
|
|
56
|
+
readonly type: "error";
|
|
53
57
|
}, {
|
|
54
58
|
readonly inputs: readonly [];
|
|
55
59
|
readonly name: "InvalidAccess";
|
|
@@ -58,6 +62,10 @@ export declare const CONTROLLER_ABI: readonly [{
|
|
|
58
62
|
readonly inputs: readonly [];
|
|
59
63
|
readonly name: "InvalidAction";
|
|
60
64
|
readonly type: "error";
|
|
65
|
+
}, {
|
|
66
|
+
readonly inputs: readonly [];
|
|
67
|
+
readonly name: "InvalidDepositAmount";
|
|
68
|
+
readonly type: "error";
|
|
61
69
|
}, {
|
|
62
70
|
readonly inputs: readonly [];
|
|
63
71
|
readonly name: "InvalidLength";
|
|
@@ -86,6 +94,10 @@ export declare const CONTROLLER_ABI: readonly [{
|
|
|
86
94
|
}];
|
|
87
95
|
readonly name: "OwnableUnauthorizedAccount";
|
|
88
96
|
readonly type: "error";
|
|
97
|
+
}, {
|
|
98
|
+
readonly inputs: readonly [];
|
|
99
|
+
readonly name: "PermitTokenMismatch";
|
|
100
|
+
readonly type: "error";
|
|
89
101
|
}, {
|
|
90
102
|
readonly inputs: readonly [];
|
|
91
103
|
readonly name: "ReentrancyGuardReentrantCall";
|
|
@@ -110,6 +122,29 @@ export declare const CONTROLLER_ABI: readonly [{
|
|
|
110
122
|
}];
|
|
111
123
|
readonly name: "SafeERC20FailedOperation";
|
|
112
124
|
readonly type: "error";
|
|
125
|
+
}, {
|
|
126
|
+
readonly inputs: readonly [];
|
|
127
|
+
readonly name: "UnauthorizedBookOpening";
|
|
128
|
+
readonly type: "error";
|
|
129
|
+
}, {
|
|
130
|
+
readonly inputs: readonly [];
|
|
131
|
+
readonly name: "VaultNotFound";
|
|
132
|
+
readonly type: "error";
|
|
133
|
+
}, {
|
|
134
|
+
readonly anonymous: false;
|
|
135
|
+
readonly inputs: readonly [{
|
|
136
|
+
readonly indexed: true;
|
|
137
|
+
readonly internalType: "address";
|
|
138
|
+
readonly name: "previousOwner";
|
|
139
|
+
readonly type: "address";
|
|
140
|
+
}, {
|
|
141
|
+
readonly indexed: true;
|
|
142
|
+
readonly internalType: "address";
|
|
143
|
+
readonly name: "newOwner";
|
|
144
|
+
readonly type: "address";
|
|
145
|
+
}];
|
|
146
|
+
readonly name: "OwnershipTransferStarted";
|
|
147
|
+
readonly type: "event";
|
|
113
148
|
}, {
|
|
114
149
|
readonly anonymous: false;
|
|
115
150
|
readonly inputs: readonly [{
|
|
@@ -205,6 +240,12 @@ export declare const CONTROLLER_ABI: readonly [{
|
|
|
205
240
|
}];
|
|
206
241
|
readonly stateMutability: "view";
|
|
207
242
|
readonly type: "function";
|
|
243
|
+
}, {
|
|
244
|
+
readonly inputs: readonly [];
|
|
245
|
+
readonly name: "acceptOwnership";
|
|
246
|
+
readonly outputs: readonly [];
|
|
247
|
+
readonly stateMutability: "nonpayable";
|
|
248
|
+
readonly type: "function";
|
|
208
249
|
}, {
|
|
209
250
|
readonly inputs: readonly [];
|
|
210
251
|
readonly name: "bookManager";
|
|
@@ -225,10 +266,6 @@ export declare const CONTROLLER_ABI: readonly [{
|
|
|
225
266
|
readonly internalType: "uint256";
|
|
226
267
|
readonly name: "leftQuoteAmount";
|
|
227
268
|
readonly type: "uint256";
|
|
228
|
-
}, {
|
|
229
|
-
readonly internalType: "address";
|
|
230
|
-
readonly name: "owner";
|
|
231
|
-
readonly type: "address";
|
|
232
269
|
}];
|
|
233
270
|
readonly internalType: "struct IController.CancelOrderParams[]";
|
|
234
271
|
readonly name: "orderParamsList";
|
|
@@ -248,10 +285,6 @@ export declare const CONTROLLER_ABI: readonly [{
|
|
|
248
285
|
readonly internalType: "OrderId";
|
|
249
286
|
readonly name: "id";
|
|
250
287
|
readonly type: "uint256";
|
|
251
|
-
}, {
|
|
252
|
-
readonly internalType: "address";
|
|
253
|
-
readonly name: "owner";
|
|
254
|
-
readonly type: "address";
|
|
255
288
|
}];
|
|
256
289
|
readonly internalType: "struct IController.ClaimOrderParams[]";
|
|
257
290
|
readonly name: "orderParamsList";
|
|
@@ -281,13 +314,13 @@ export declare const CONTROLLER_ABI: readonly [{
|
|
|
281
314
|
readonly type: "function";
|
|
282
315
|
}, {
|
|
283
316
|
readonly inputs: readonly [{
|
|
284
|
-
readonly internalType: "
|
|
285
|
-
readonly name: "
|
|
286
|
-
readonly type: "
|
|
317
|
+
readonly internalType: "Currency";
|
|
318
|
+
readonly name: "currency";
|
|
319
|
+
readonly type: "address";
|
|
287
320
|
}, {
|
|
288
|
-
readonly internalType: "
|
|
289
|
-
readonly name: "
|
|
290
|
-
readonly type: "
|
|
321
|
+
readonly internalType: "uint256";
|
|
322
|
+
readonly name: "amount";
|
|
323
|
+
readonly type: "uint256";
|
|
291
324
|
}, {
|
|
292
325
|
readonly components: readonly [{
|
|
293
326
|
readonly internalType: "address";
|
|
@@ -319,9 +352,23 @@ export declare const CONTROLLER_ABI: readonly [{
|
|
|
319
352
|
readonly name: "signature";
|
|
320
353
|
readonly type: "tuple";
|
|
321
354
|
}];
|
|
322
|
-
readonly internalType: "struct IController.ERC20PermitParams
|
|
323
|
-
readonly name: "
|
|
324
|
-
readonly type: "tuple
|
|
355
|
+
readonly internalType: "struct IController.ERC20PermitParams";
|
|
356
|
+
readonly name: "permitParams";
|
|
357
|
+
readonly type: "tuple";
|
|
358
|
+
}];
|
|
359
|
+
readonly name: "depositToVaultWithPermit";
|
|
360
|
+
readonly outputs: readonly [];
|
|
361
|
+
readonly stateMutability: "nonpayable";
|
|
362
|
+
readonly type: "function";
|
|
363
|
+
}, {
|
|
364
|
+
readonly inputs: readonly [{
|
|
365
|
+
readonly internalType: "enum IController.Action[]";
|
|
366
|
+
readonly name: "actionList";
|
|
367
|
+
readonly type: "uint8[]";
|
|
368
|
+
}, {
|
|
369
|
+
readonly internalType: "bytes[]";
|
|
370
|
+
readonly name: "paramsDataList";
|
|
371
|
+
readonly type: "bytes[]";
|
|
325
372
|
}, {
|
|
326
373
|
readonly internalType: "uint64";
|
|
327
374
|
readonly name: "deadline";
|
|
@@ -333,7 +380,7 @@ export declare const CONTROLLER_ABI: readonly [{
|
|
|
333
380
|
readonly name: "ids";
|
|
334
381
|
readonly type: "uint256[]";
|
|
335
382
|
}];
|
|
336
|
-
readonly stateMutability: "
|
|
383
|
+
readonly stateMutability: "nonpayable";
|
|
337
384
|
readonly type: "function";
|
|
338
385
|
}, {
|
|
339
386
|
readonly inputs: readonly [{
|
|
@@ -509,40 +556,6 @@ export declare const CONTROLLER_ABI: readonly [{
|
|
|
509
556
|
readonly internalType: "struct IController.LimitOrderParams[]";
|
|
510
557
|
readonly name: "orderParamsList";
|
|
511
558
|
readonly type: "tuple[]";
|
|
512
|
-
}, {
|
|
513
|
-
readonly components: readonly [{
|
|
514
|
-
readonly internalType: "address";
|
|
515
|
-
readonly name: "token";
|
|
516
|
-
readonly type: "address";
|
|
517
|
-
}, {
|
|
518
|
-
readonly internalType: "uint256";
|
|
519
|
-
readonly name: "permitAmount";
|
|
520
|
-
readonly type: "uint256";
|
|
521
|
-
}, {
|
|
522
|
-
readonly components: readonly [{
|
|
523
|
-
readonly internalType: "uint256";
|
|
524
|
-
readonly name: "deadline";
|
|
525
|
-
readonly type: "uint256";
|
|
526
|
-
}, {
|
|
527
|
-
readonly internalType: "uint8";
|
|
528
|
-
readonly name: "v";
|
|
529
|
-
readonly type: "uint8";
|
|
530
|
-
}, {
|
|
531
|
-
readonly internalType: "bytes32";
|
|
532
|
-
readonly name: "r";
|
|
533
|
-
readonly type: "bytes32";
|
|
534
|
-
}, {
|
|
535
|
-
readonly internalType: "bytes32";
|
|
536
|
-
readonly name: "s";
|
|
537
|
-
readonly type: "bytes32";
|
|
538
|
-
}];
|
|
539
|
-
readonly internalType: "struct IController.PermitSignature";
|
|
540
|
-
readonly name: "signature";
|
|
541
|
-
readonly type: "tuple";
|
|
542
|
-
}];
|
|
543
|
-
readonly internalType: "struct IController.ERC20PermitParams[]";
|
|
544
|
-
readonly name: "permitParamsList";
|
|
545
|
-
readonly type: "tuple[]";
|
|
546
559
|
}, {
|
|
547
560
|
readonly internalType: "uint64";
|
|
548
561
|
readonly name: "deadline";
|
|
@@ -554,7 +567,7 @@ export declare const CONTROLLER_ABI: readonly [{
|
|
|
554
567
|
readonly name: "ids";
|
|
555
568
|
readonly type: "uint256[]";
|
|
556
569
|
}];
|
|
557
|
-
readonly stateMutability: "
|
|
570
|
+
readonly stateMutability: "nonpayable";
|
|
558
571
|
readonly type: "function";
|
|
559
572
|
}, {
|
|
560
573
|
readonly inputs: readonly [{
|
|
@@ -600,40 +613,6 @@ export declare const CONTROLLER_ABI: readonly [{
|
|
|
600
613
|
readonly internalType: "struct IController.MakeOrderParams[]";
|
|
601
614
|
readonly name: "orderParamsList";
|
|
602
615
|
readonly type: "tuple[]";
|
|
603
|
-
}, {
|
|
604
|
-
readonly components: readonly [{
|
|
605
|
-
readonly internalType: "address";
|
|
606
|
-
readonly name: "token";
|
|
607
|
-
readonly type: "address";
|
|
608
|
-
}, {
|
|
609
|
-
readonly internalType: "uint256";
|
|
610
|
-
readonly name: "permitAmount";
|
|
611
|
-
readonly type: "uint256";
|
|
612
|
-
}, {
|
|
613
|
-
readonly components: readonly [{
|
|
614
|
-
readonly internalType: "uint256";
|
|
615
|
-
readonly name: "deadline";
|
|
616
|
-
readonly type: "uint256";
|
|
617
|
-
}, {
|
|
618
|
-
readonly internalType: "uint8";
|
|
619
|
-
readonly name: "v";
|
|
620
|
-
readonly type: "uint8";
|
|
621
|
-
}, {
|
|
622
|
-
readonly internalType: "bytes32";
|
|
623
|
-
readonly name: "r";
|
|
624
|
-
readonly type: "bytes32";
|
|
625
|
-
}, {
|
|
626
|
-
readonly internalType: "bytes32";
|
|
627
|
-
readonly name: "s";
|
|
628
|
-
readonly type: "bytes32";
|
|
629
|
-
}];
|
|
630
|
-
readonly internalType: "struct IController.PermitSignature";
|
|
631
|
-
readonly name: "signature";
|
|
632
|
-
readonly type: "tuple";
|
|
633
|
-
}];
|
|
634
|
-
readonly internalType: "struct IController.ERC20PermitParams[]";
|
|
635
|
-
readonly name: "permitParamsList";
|
|
636
|
-
readonly type: "tuple[]";
|
|
637
616
|
}, {
|
|
638
617
|
readonly internalType: "uint64";
|
|
639
618
|
readonly name: "deadline";
|
|
@@ -645,7 +624,7 @@ export declare const CONTROLLER_ABI: readonly [{
|
|
|
645
624
|
readonly name: "ids";
|
|
646
625
|
readonly type: "uint256[]";
|
|
647
626
|
}];
|
|
648
|
-
readonly stateMutability: "
|
|
627
|
+
readonly stateMutability: "nonpayable";
|
|
649
628
|
readonly type: "function";
|
|
650
629
|
}, {
|
|
651
630
|
readonly inputs: readonly [{
|
|
@@ -705,6 +684,16 @@ export declare const CONTROLLER_ABI: readonly [{
|
|
|
705
684
|
}];
|
|
706
685
|
readonly stateMutability: "view";
|
|
707
686
|
readonly type: "function";
|
|
687
|
+
}, {
|
|
688
|
+
readonly inputs: readonly [];
|
|
689
|
+
readonly name: "pendingOwner";
|
|
690
|
+
readonly outputs: readonly [{
|
|
691
|
+
readonly internalType: "address";
|
|
692
|
+
readonly name: "";
|
|
693
|
+
readonly type: "address";
|
|
694
|
+
}];
|
|
695
|
+
readonly stateMutability: "view";
|
|
696
|
+
readonly type: "function";
|
|
708
697
|
}, {
|
|
709
698
|
readonly inputs: readonly [];
|
|
710
699
|
readonly name: "renounceOwnership";
|
|
@@ -779,40 +768,6 @@ export declare const CONTROLLER_ABI: readonly [{
|
|
|
779
768
|
readonly internalType: "struct IController.SpendOrderParams[]";
|
|
780
769
|
readonly name: "orderParamsList";
|
|
781
770
|
readonly type: "tuple[]";
|
|
782
|
-
}, {
|
|
783
|
-
readonly components: readonly [{
|
|
784
|
-
readonly internalType: "address";
|
|
785
|
-
readonly name: "token";
|
|
786
|
-
readonly type: "address";
|
|
787
|
-
}, {
|
|
788
|
-
readonly internalType: "uint256";
|
|
789
|
-
readonly name: "permitAmount";
|
|
790
|
-
readonly type: "uint256";
|
|
791
|
-
}, {
|
|
792
|
-
readonly components: readonly [{
|
|
793
|
-
readonly internalType: "uint256";
|
|
794
|
-
readonly name: "deadline";
|
|
795
|
-
readonly type: "uint256";
|
|
796
|
-
}, {
|
|
797
|
-
readonly internalType: "uint8";
|
|
798
|
-
readonly name: "v";
|
|
799
|
-
readonly type: "uint8";
|
|
800
|
-
}, {
|
|
801
|
-
readonly internalType: "bytes32";
|
|
802
|
-
readonly name: "r";
|
|
803
|
-
readonly type: "bytes32";
|
|
804
|
-
}, {
|
|
805
|
-
readonly internalType: "bytes32";
|
|
806
|
-
readonly name: "s";
|
|
807
|
-
readonly type: "bytes32";
|
|
808
|
-
}];
|
|
809
|
-
readonly internalType: "struct IController.PermitSignature";
|
|
810
|
-
readonly name: "signature";
|
|
811
|
-
readonly type: "tuple";
|
|
812
|
-
}];
|
|
813
|
-
readonly internalType: "struct IController.ERC20PermitParams[]";
|
|
814
|
-
readonly name: "permitParamsList";
|
|
815
|
-
readonly type: "tuple[]";
|
|
816
771
|
}, {
|
|
817
772
|
readonly internalType: "uint64";
|
|
818
773
|
readonly name: "deadline";
|
|
@@ -820,7 +775,7 @@ export declare const CONTROLLER_ABI: readonly [{
|
|
|
820
775
|
}];
|
|
821
776
|
readonly name: "spend";
|
|
822
777
|
readonly outputs: readonly [];
|
|
823
|
-
readonly stateMutability: "
|
|
778
|
+
readonly stateMutability: "nonpayable";
|
|
824
779
|
readonly type: "function";
|
|
825
780
|
}, {
|
|
826
781
|
readonly inputs: readonly [{
|
|
@@ -866,40 +821,6 @@ export declare const CONTROLLER_ABI: readonly [{
|
|
|
866
821
|
readonly internalType: "struct IController.TakeOrderParams[]";
|
|
867
822
|
readonly name: "orderParamsList";
|
|
868
823
|
readonly type: "tuple[]";
|
|
869
|
-
}, {
|
|
870
|
-
readonly components: readonly [{
|
|
871
|
-
readonly internalType: "address";
|
|
872
|
-
readonly name: "token";
|
|
873
|
-
readonly type: "address";
|
|
874
|
-
}, {
|
|
875
|
-
readonly internalType: "uint256";
|
|
876
|
-
readonly name: "permitAmount";
|
|
877
|
-
readonly type: "uint256";
|
|
878
|
-
}, {
|
|
879
|
-
readonly components: readonly [{
|
|
880
|
-
readonly internalType: "uint256";
|
|
881
|
-
readonly name: "deadline";
|
|
882
|
-
readonly type: "uint256";
|
|
883
|
-
}, {
|
|
884
|
-
readonly internalType: "uint8";
|
|
885
|
-
readonly name: "v";
|
|
886
|
-
readonly type: "uint8";
|
|
887
|
-
}, {
|
|
888
|
-
readonly internalType: "bytes32";
|
|
889
|
-
readonly name: "r";
|
|
890
|
-
readonly type: "bytes32";
|
|
891
|
-
}, {
|
|
892
|
-
readonly internalType: "bytes32";
|
|
893
|
-
readonly name: "s";
|
|
894
|
-
readonly type: "bytes32";
|
|
895
|
-
}];
|
|
896
|
-
readonly internalType: "struct IController.PermitSignature";
|
|
897
|
-
readonly name: "signature";
|
|
898
|
-
readonly type: "tuple";
|
|
899
|
-
}];
|
|
900
|
-
readonly internalType: "struct IController.ERC20PermitParams[]";
|
|
901
|
-
readonly name: "permitParamsList";
|
|
902
|
-
readonly type: "tuple[]";
|
|
903
824
|
}, {
|
|
904
825
|
readonly internalType: "uint64";
|
|
905
826
|
readonly name: "deadline";
|
|
@@ -907,7 +828,7 @@ export declare const CONTROLLER_ABI: readonly [{
|
|
|
907
828
|
}];
|
|
908
829
|
readonly name: "take";
|
|
909
830
|
readonly outputs: readonly [];
|
|
910
|
-
readonly stateMutability: "
|
|
831
|
+
readonly stateMutability: "nonpayable";
|
|
911
832
|
readonly type: "function";
|
|
912
833
|
}, {
|
|
913
834
|
readonly inputs: readonly [{
|
|
@@ -948,7 +869,52 @@ export declare const CONTROLLER_ABI: readonly [{
|
|
|
948
869
|
readonly stateMutability: "nonpayable";
|
|
949
870
|
readonly type: "function";
|
|
950
871
|
}, {
|
|
951
|
-
readonly
|
|
952
|
-
|
|
872
|
+
readonly inputs: readonly [{
|
|
873
|
+
readonly internalType: "Currency";
|
|
874
|
+
readonly name: "currency";
|
|
875
|
+
readonly type: "address";
|
|
876
|
+
}, {
|
|
877
|
+
readonly internalType: "uint256";
|
|
878
|
+
readonly name: "amount";
|
|
879
|
+
readonly type: "uint256";
|
|
880
|
+
}, {
|
|
881
|
+
readonly components: readonly [{
|
|
882
|
+
readonly internalType: "address";
|
|
883
|
+
readonly name: "token";
|
|
884
|
+
readonly type: "address";
|
|
885
|
+
}, {
|
|
886
|
+
readonly internalType: "uint256";
|
|
887
|
+
readonly name: "permitAmount";
|
|
888
|
+
readonly type: "uint256";
|
|
889
|
+
}, {
|
|
890
|
+
readonly components: readonly [{
|
|
891
|
+
readonly internalType: "uint256";
|
|
892
|
+
readonly name: "deadline";
|
|
893
|
+
readonly type: "uint256";
|
|
894
|
+
}, {
|
|
895
|
+
readonly internalType: "uint8";
|
|
896
|
+
readonly name: "v";
|
|
897
|
+
readonly type: "uint8";
|
|
898
|
+
}, {
|
|
899
|
+
readonly internalType: "bytes32";
|
|
900
|
+
readonly name: "r";
|
|
901
|
+
readonly type: "bytes32";
|
|
902
|
+
}, {
|
|
903
|
+
readonly internalType: "bytes32";
|
|
904
|
+
readonly name: "s";
|
|
905
|
+
readonly type: "bytes32";
|
|
906
|
+
}];
|
|
907
|
+
readonly internalType: "struct IController.PermitSignature";
|
|
908
|
+
readonly name: "signature";
|
|
909
|
+
readonly type: "tuple";
|
|
910
|
+
}];
|
|
911
|
+
readonly internalType: "struct IController.ERC20PermitParams";
|
|
912
|
+
readonly name: "permitParams";
|
|
913
|
+
readonly type: "tuple";
|
|
914
|
+
}];
|
|
915
|
+
readonly name: "withdrawFromVaultWithPermit";
|
|
916
|
+
readonly outputs: readonly [];
|
|
917
|
+
readonly stateMutability: "nonpayable";
|
|
918
|
+
readonly type: "function";
|
|
953
919
|
}];
|
|
954
920
|
//# sourceMappingURL=controller-abi.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"controller-abi.d.ts","sourceRoot":"","sources":["../../../../../src/constants/abis/core/controller-abi.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"controller-abi.d.ts","sourceRoot":"","sources":["../../../../../src/constants/abis/core/controller-abi.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqlBjB,CAAC"}
|