@dzapio/sdk 1.0.2 → 2.0.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/api/index.d.ts +4 -2
- package/dist/artifacts/ERC20Permit.d.ts +39 -1
- package/dist/artifacts/Permit2Proxy.d.ts +416 -0
- package/dist/artifacts/default/DZapCoreV2Abi.d.ts +2 -0
- package/dist/artifacts/default/Permit2Abi.d.ts +700 -70
- package/dist/artifacts/default/index.d.ts +2 -1
- package/dist/artifacts/index.d.ts +2 -2
- package/dist/config/index.d.ts +36 -0
- package/dist/constants/address.d.ts +0 -1
- package/dist/constants/approval.d.ts +3 -1
- package/dist/constants/chains.d.ts +2 -0
- package/dist/constants/contract.d.ts +2 -2
- package/dist/constants/erc20.d.ts +3 -0
- package/dist/constants/index.d.ts +5 -0
- package/dist/constants/permit.d.ts +25 -1
- package/dist/constants/rpc.d.ts +1 -1
- package/dist/constants/urlConstants.d.ts +2 -0
- package/dist/dZapClient/index.d.ts +740 -115
- package/dist/enums/index.d.ts +11 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +1 -1
- package/dist/index.m.js +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/service/price/index.d.ts +1 -1
- package/dist/service/price/provider/coingecko/index.d.ts +1 -1
- package/dist/service/price/provider/defiLlama/index.d.ts +1 -1
- package/dist/service/price/types/IPriceProvider.d.ts +1 -1
- package/dist/transactionHandlers/generic.d.ts +2 -2
- package/dist/transactionHandlers/permit.d.ts +49 -46
- package/dist/transactionHandlers/trade.d.ts +16 -2
- package/dist/transactionHandlers/zap.d.ts +3 -3
- package/dist/types/chains.d.ts +1 -1
- package/dist/types/contract.d.ts +1 -1
- package/dist/types/eip-2612.d.ts +19 -1
- package/dist/types/index.d.ts +183 -25
- package/dist/types/permit.d.ts +183 -0
- package/dist/types/wallet.d.ts +2 -0
- package/dist/types/zap/build.d.ts +6 -6
- package/dist/types/zap/index.d.ts +1 -1
- package/dist/types/zap/path.d.ts +1 -1
- package/dist/types/zap/pool.d.ts +2 -1
- package/dist/types/zap/quote.d.ts +5 -1
- package/dist/types/zap/status.d.ts +3 -0
- package/dist/types/zap/step.d.ts +1 -1
- package/dist/utils/amount.d.ts +4 -4
- package/dist/utils/axios.d.ts +1 -1
- package/dist/utils/eip-2612/dzapUserIntentSign.d.ts +12 -0
- package/dist/utils/eip-2612/eip2612Permit.d.ts +23 -0
- package/dist/utils/eip-5792/batchApproveTokens.d.ts +21 -0
- package/dist/utils/eip-5792/index.d.ts +3 -0
- package/dist/utils/eip-5792/isBatchTxnSupportedByWallet.d.ts +6 -0
- package/dist/utils/eip-5792/sendBatchCalls.d.ts +10 -0
- package/dist/utils/eip-5792/waitForBatchTransactionReceipt.d.ts +4 -0
- package/dist/utils/encodeApproveCall.d.ts +6 -0
- package/dist/utils/erc20.d.ts +21 -17
- package/dist/utils/errors.d.ts +2 -1
- package/dist/utils/index.d.ts +703 -74
- package/dist/utils/multicall.d.ts +4 -2
- package/dist/utils/permit2/domain.d.ts +2 -0
- package/dist/utils/permit2/index.d.ts +4 -0
- package/dist/utils/permit2/nonce.d.ts +15 -0
- package/dist/utils/permit2/permitData.d.ts +23 -0
- package/dist/utils/permit2/values.d.ts +54 -0
- package/dist/utils/permit2/witnessData.d.ts +4 -0
- package/dist/utils/signTypedData.d.ts +3 -3
- package/dist/utils/tokens.d.ts +2 -2
- package/dist/utils/updateQuotes.d.ts +2 -2
- package/package.json +28 -4
- package/dist/config.d.ts +0 -5
- package/dist/utils/permit/permit2Methods.d.ts +0 -32
- package/dist/utils/permit/permitMethods.d.ts +0 -29
package/dist/api/index.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { CancelToken } from 'axios';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { BroadcastTxParams, CalculatePointsRequest, GaslessExecuteTxParams, TradeBuildTxnRequest, TradeQuotesRequest } from '../types';
|
|
3
|
+
import { ZapBuildTxnRequest, ZapPoolDetailsRequest, ZapPoolsRequest, ZapPositionsRequest, ZapQuoteRequest, ZapStatusRequest } from '../types/zap';
|
|
4
4
|
export declare const fetchTradeQuotes: (request: TradeQuotesRequest) => Promise<any>;
|
|
5
5
|
export declare const fetchTradeBuildTxnData: (request: TradeBuildTxnRequest) => Promise<any>;
|
|
6
|
+
export declare const executeGaslessTxnData: (request: GaslessExecuteTxParams) => Promise<any>;
|
|
7
|
+
export declare const broadcastTx: (request: BroadcastTxParams) => Promise<any>;
|
|
6
8
|
export declare const fetchZapBuildTxnData: (request: ZapBuildTxnRequest, cancelToken?: CancelToken) => Promise<any>;
|
|
7
9
|
export declare const fetchZapQuote: (request: ZapQuoteRequest, cancelToken?: CancelToken) => Promise<any>;
|
|
8
10
|
export declare const fetchZapTxnStatus: (request: ZapStatusRequest) => Promise<any>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const erc20PermitAbi: readonly [{
|
|
2
2
|
readonly inputs: readonly [];
|
|
3
3
|
readonly name: "InvalidShortString";
|
|
4
4
|
readonly type: "error";
|
|
@@ -273,6 +273,44 @@ export declare const abi: readonly [{
|
|
|
273
273
|
readonly outputs: readonly [];
|
|
274
274
|
readonly stateMutability: "nonpayable";
|
|
275
275
|
readonly type: "function";
|
|
276
|
+
}, {
|
|
277
|
+
readonly inputs: readonly [{
|
|
278
|
+
readonly name: "holder";
|
|
279
|
+
readonly type: "address";
|
|
280
|
+
readonly internalType: "address";
|
|
281
|
+
}, {
|
|
282
|
+
readonly name: "spender";
|
|
283
|
+
readonly type: "address";
|
|
284
|
+
readonly internalType: "address";
|
|
285
|
+
}, {
|
|
286
|
+
readonly name: "nonce";
|
|
287
|
+
readonly type: "uint256";
|
|
288
|
+
readonly internalType: "uint256";
|
|
289
|
+
}, {
|
|
290
|
+
readonly name: "expiry";
|
|
291
|
+
readonly type: "uint256";
|
|
292
|
+
readonly internalType: "uint256";
|
|
293
|
+
}, {
|
|
294
|
+
readonly name: "allowed";
|
|
295
|
+
readonly type: "bool";
|
|
296
|
+
readonly internalType: "bool";
|
|
297
|
+
}, {
|
|
298
|
+
readonly internalType: "uint8";
|
|
299
|
+
readonly name: "v";
|
|
300
|
+
readonly type: "uint8";
|
|
301
|
+
}, {
|
|
302
|
+
readonly internalType: "bytes32";
|
|
303
|
+
readonly name: "r";
|
|
304
|
+
readonly type: "bytes32";
|
|
305
|
+
}, {
|
|
306
|
+
readonly internalType: "bytes32";
|
|
307
|
+
readonly name: "s";
|
|
308
|
+
readonly type: "bytes32";
|
|
309
|
+
}];
|
|
310
|
+
readonly name: "permit";
|
|
311
|
+
readonly outputs: readonly [];
|
|
312
|
+
readonly stateMutability: "nonpayable";
|
|
313
|
+
readonly type: "function";
|
|
276
314
|
}, {
|
|
277
315
|
readonly inputs: readonly [];
|
|
278
316
|
readonly name: "symbol";
|
|
@@ -0,0 +1,416 @@
|
|
|
1
|
+
export declare const permit2ProxyAbi: readonly [{
|
|
2
|
+
readonly inputs: readonly [{
|
|
3
|
+
readonly internalType: "address";
|
|
4
|
+
readonly name: "_lifiDiamond";
|
|
5
|
+
readonly type: "address";
|
|
6
|
+
}, {
|
|
7
|
+
readonly internalType: "contract ISignatureTransfer";
|
|
8
|
+
readonly name: "_permit2";
|
|
9
|
+
readonly type: "address";
|
|
10
|
+
}, {
|
|
11
|
+
readonly internalType: "address";
|
|
12
|
+
readonly name: "_owner";
|
|
13
|
+
readonly type: "address";
|
|
14
|
+
}];
|
|
15
|
+
readonly stateMutability: "nonpayable";
|
|
16
|
+
readonly type: "constructor";
|
|
17
|
+
}, {
|
|
18
|
+
readonly inputs: readonly [{
|
|
19
|
+
readonly internalType: "bytes";
|
|
20
|
+
readonly name: "";
|
|
21
|
+
readonly type: "bytes";
|
|
22
|
+
}];
|
|
23
|
+
readonly name: "CallToDiamondFailed";
|
|
24
|
+
readonly type: "error";
|
|
25
|
+
}, {
|
|
26
|
+
readonly inputs: readonly [];
|
|
27
|
+
readonly name: "ExternalCallFailed";
|
|
28
|
+
readonly type: "error";
|
|
29
|
+
}, {
|
|
30
|
+
readonly inputs: readonly [];
|
|
31
|
+
readonly name: "InvalidReceiver";
|
|
32
|
+
readonly type: "error";
|
|
33
|
+
}, {
|
|
34
|
+
readonly inputs: readonly [];
|
|
35
|
+
readonly name: "NewOwnerMustNotBeSelf";
|
|
36
|
+
readonly type: "error";
|
|
37
|
+
}, {
|
|
38
|
+
readonly inputs: readonly [];
|
|
39
|
+
readonly name: "NoNullOwner";
|
|
40
|
+
readonly type: "error";
|
|
41
|
+
}, {
|
|
42
|
+
readonly inputs: readonly [];
|
|
43
|
+
readonly name: "NoPendingOwnershipTransfer";
|
|
44
|
+
readonly type: "error";
|
|
45
|
+
}, {
|
|
46
|
+
readonly inputs: readonly [];
|
|
47
|
+
readonly name: "NotPendingOwner";
|
|
48
|
+
readonly type: "error";
|
|
49
|
+
}, {
|
|
50
|
+
readonly inputs: readonly [];
|
|
51
|
+
readonly name: "NullAddrIsNotAValidSpender";
|
|
52
|
+
readonly type: "error";
|
|
53
|
+
}, {
|
|
54
|
+
readonly inputs: readonly [];
|
|
55
|
+
readonly name: "NullAddrIsNotAnERC20Token";
|
|
56
|
+
readonly type: "error";
|
|
57
|
+
}, {
|
|
58
|
+
readonly inputs: readonly [];
|
|
59
|
+
readonly name: "UnAuthorized";
|
|
60
|
+
readonly type: "error";
|
|
61
|
+
}, {
|
|
62
|
+
readonly anonymous: false;
|
|
63
|
+
readonly inputs: readonly [{
|
|
64
|
+
readonly indexed: true;
|
|
65
|
+
readonly internalType: "address";
|
|
66
|
+
readonly name: "_from";
|
|
67
|
+
readonly type: "address";
|
|
68
|
+
}, {
|
|
69
|
+
readonly indexed: true;
|
|
70
|
+
readonly internalType: "address";
|
|
71
|
+
readonly name: "_to";
|
|
72
|
+
readonly type: "address";
|
|
73
|
+
}];
|
|
74
|
+
readonly name: "OwnershipTransferRequested";
|
|
75
|
+
readonly type: "event";
|
|
76
|
+
}, {
|
|
77
|
+
readonly anonymous: false;
|
|
78
|
+
readonly inputs: readonly [{
|
|
79
|
+
readonly indexed: true;
|
|
80
|
+
readonly internalType: "address";
|
|
81
|
+
readonly name: "previousOwner";
|
|
82
|
+
readonly type: "address";
|
|
83
|
+
}, {
|
|
84
|
+
readonly indexed: true;
|
|
85
|
+
readonly internalType: "address";
|
|
86
|
+
readonly name: "newOwner";
|
|
87
|
+
readonly type: "address";
|
|
88
|
+
}];
|
|
89
|
+
readonly name: "OwnershipTransferred";
|
|
90
|
+
readonly type: "event";
|
|
91
|
+
}, {
|
|
92
|
+
readonly anonymous: false;
|
|
93
|
+
readonly inputs: readonly [{
|
|
94
|
+
readonly indexed: false;
|
|
95
|
+
readonly internalType: "address";
|
|
96
|
+
readonly name: "assetId";
|
|
97
|
+
readonly type: "address";
|
|
98
|
+
}, {
|
|
99
|
+
readonly indexed: false;
|
|
100
|
+
readonly internalType: "address payable";
|
|
101
|
+
readonly name: "receiver";
|
|
102
|
+
readonly type: "address";
|
|
103
|
+
}, {
|
|
104
|
+
readonly indexed: false;
|
|
105
|
+
readonly internalType: "uint256";
|
|
106
|
+
readonly name: "amount";
|
|
107
|
+
readonly type: "uint256";
|
|
108
|
+
}];
|
|
109
|
+
readonly name: "TokensWithdrawn";
|
|
110
|
+
readonly type: "event";
|
|
111
|
+
}, {
|
|
112
|
+
readonly inputs: readonly [];
|
|
113
|
+
readonly name: "LIFI_DIAMOND";
|
|
114
|
+
readonly outputs: readonly [{
|
|
115
|
+
readonly internalType: "address";
|
|
116
|
+
readonly name: "";
|
|
117
|
+
readonly type: "address";
|
|
118
|
+
}];
|
|
119
|
+
readonly stateMutability: "view";
|
|
120
|
+
readonly type: "function";
|
|
121
|
+
}, {
|
|
122
|
+
readonly inputs: readonly [];
|
|
123
|
+
readonly name: "PERMIT2";
|
|
124
|
+
readonly outputs: readonly [{
|
|
125
|
+
readonly internalType: "contract ISignatureTransfer";
|
|
126
|
+
readonly name: "";
|
|
127
|
+
readonly type: "address";
|
|
128
|
+
}];
|
|
129
|
+
readonly stateMutability: "view";
|
|
130
|
+
readonly type: "function";
|
|
131
|
+
}, {
|
|
132
|
+
readonly inputs: readonly [];
|
|
133
|
+
readonly name: "PERMIT_WITH_WITNESS_TYPEHASH";
|
|
134
|
+
readonly outputs: readonly [{
|
|
135
|
+
readonly internalType: "bytes32";
|
|
136
|
+
readonly name: "";
|
|
137
|
+
readonly type: "bytes32";
|
|
138
|
+
}];
|
|
139
|
+
readonly stateMutability: "view";
|
|
140
|
+
readonly type: "function";
|
|
141
|
+
}, {
|
|
142
|
+
readonly inputs: readonly [];
|
|
143
|
+
readonly name: "WITNESS_TYPEHASH";
|
|
144
|
+
readonly outputs: readonly [{
|
|
145
|
+
readonly internalType: "bytes32";
|
|
146
|
+
readonly name: "";
|
|
147
|
+
readonly type: "bytes32";
|
|
148
|
+
}];
|
|
149
|
+
readonly stateMutability: "view";
|
|
150
|
+
readonly type: "function";
|
|
151
|
+
}, {
|
|
152
|
+
readonly inputs: readonly [];
|
|
153
|
+
readonly name: "WITNESS_TYPE_STRING";
|
|
154
|
+
readonly outputs: readonly [{
|
|
155
|
+
readonly internalType: "string";
|
|
156
|
+
readonly name: "";
|
|
157
|
+
readonly type: "string";
|
|
158
|
+
}];
|
|
159
|
+
readonly stateMutability: "view";
|
|
160
|
+
readonly type: "function";
|
|
161
|
+
}, {
|
|
162
|
+
readonly inputs: readonly [{
|
|
163
|
+
readonly internalType: "address";
|
|
164
|
+
readonly name: "tokenAddress";
|
|
165
|
+
readonly type: "address";
|
|
166
|
+
}, {
|
|
167
|
+
readonly internalType: "uint256";
|
|
168
|
+
readonly name: "amount";
|
|
169
|
+
readonly type: "uint256";
|
|
170
|
+
}, {
|
|
171
|
+
readonly internalType: "uint256";
|
|
172
|
+
readonly name: "deadline";
|
|
173
|
+
readonly type: "uint256";
|
|
174
|
+
}, {
|
|
175
|
+
readonly internalType: "uint8";
|
|
176
|
+
readonly name: "v";
|
|
177
|
+
readonly type: "uint8";
|
|
178
|
+
}, {
|
|
179
|
+
readonly internalType: "bytes32";
|
|
180
|
+
readonly name: "r";
|
|
181
|
+
readonly type: "bytes32";
|
|
182
|
+
}, {
|
|
183
|
+
readonly internalType: "bytes32";
|
|
184
|
+
readonly name: "s";
|
|
185
|
+
readonly type: "bytes32";
|
|
186
|
+
}, {
|
|
187
|
+
readonly internalType: "bytes";
|
|
188
|
+
readonly name: "diamondCalldata";
|
|
189
|
+
readonly type: "bytes";
|
|
190
|
+
}];
|
|
191
|
+
readonly name: "callDiamondWithEIP2612Signature";
|
|
192
|
+
readonly outputs: readonly [{
|
|
193
|
+
readonly internalType: "bytes";
|
|
194
|
+
readonly name: "";
|
|
195
|
+
readonly type: "bytes";
|
|
196
|
+
}];
|
|
197
|
+
readonly stateMutability: "payable";
|
|
198
|
+
readonly type: "function";
|
|
199
|
+
}, {
|
|
200
|
+
readonly inputs: readonly [{
|
|
201
|
+
readonly internalType: "bytes";
|
|
202
|
+
readonly name: "_diamondCalldata";
|
|
203
|
+
readonly type: "bytes";
|
|
204
|
+
}, {
|
|
205
|
+
readonly components: readonly [{
|
|
206
|
+
readonly components: readonly [{
|
|
207
|
+
readonly internalType: "address";
|
|
208
|
+
readonly name: "token";
|
|
209
|
+
readonly type: "address";
|
|
210
|
+
}, {
|
|
211
|
+
readonly internalType: "uint256";
|
|
212
|
+
readonly name: "amount";
|
|
213
|
+
readonly type: "uint256";
|
|
214
|
+
}];
|
|
215
|
+
readonly internalType: "struct ISignatureTransfer.TokenPermissions";
|
|
216
|
+
readonly name: "permitted";
|
|
217
|
+
readonly type: "tuple";
|
|
218
|
+
}, {
|
|
219
|
+
readonly internalType: "uint256";
|
|
220
|
+
readonly name: "nonce";
|
|
221
|
+
readonly type: "uint256";
|
|
222
|
+
}, {
|
|
223
|
+
readonly internalType: "uint256";
|
|
224
|
+
readonly name: "deadline";
|
|
225
|
+
readonly type: "uint256";
|
|
226
|
+
}];
|
|
227
|
+
readonly internalType: "struct ISignatureTransfer.PermitTransferFrom";
|
|
228
|
+
readonly name: "_permit";
|
|
229
|
+
readonly type: "tuple";
|
|
230
|
+
}, {
|
|
231
|
+
readonly internalType: "bytes";
|
|
232
|
+
readonly name: "_signature";
|
|
233
|
+
readonly type: "bytes";
|
|
234
|
+
}];
|
|
235
|
+
readonly name: "callDiamondWithPermit2";
|
|
236
|
+
readonly outputs: readonly [{
|
|
237
|
+
readonly internalType: "bytes";
|
|
238
|
+
readonly name: "";
|
|
239
|
+
readonly type: "bytes";
|
|
240
|
+
}];
|
|
241
|
+
readonly stateMutability: "payable";
|
|
242
|
+
readonly type: "function";
|
|
243
|
+
}, {
|
|
244
|
+
readonly inputs: readonly [{
|
|
245
|
+
readonly internalType: "bytes";
|
|
246
|
+
readonly name: "_diamondCalldata";
|
|
247
|
+
readonly type: "bytes";
|
|
248
|
+
}, {
|
|
249
|
+
readonly internalType: "address";
|
|
250
|
+
readonly name: "_signer";
|
|
251
|
+
readonly type: "address";
|
|
252
|
+
}, {
|
|
253
|
+
readonly components: readonly [{
|
|
254
|
+
readonly components: readonly [{
|
|
255
|
+
readonly internalType: "address";
|
|
256
|
+
readonly name: "token";
|
|
257
|
+
readonly type: "address";
|
|
258
|
+
}, {
|
|
259
|
+
readonly internalType: "uint256";
|
|
260
|
+
readonly name: "amount";
|
|
261
|
+
readonly type: "uint256";
|
|
262
|
+
}];
|
|
263
|
+
readonly internalType: "struct ISignatureTransfer.TokenPermissions";
|
|
264
|
+
readonly name: "permitted";
|
|
265
|
+
readonly type: "tuple";
|
|
266
|
+
}, {
|
|
267
|
+
readonly internalType: "uint256";
|
|
268
|
+
readonly name: "nonce";
|
|
269
|
+
readonly type: "uint256";
|
|
270
|
+
}, {
|
|
271
|
+
readonly internalType: "uint256";
|
|
272
|
+
readonly name: "deadline";
|
|
273
|
+
readonly type: "uint256";
|
|
274
|
+
}];
|
|
275
|
+
readonly internalType: "struct ISignatureTransfer.PermitTransferFrom";
|
|
276
|
+
readonly name: "_permit";
|
|
277
|
+
readonly type: "tuple";
|
|
278
|
+
}, {
|
|
279
|
+
readonly internalType: "bytes";
|
|
280
|
+
readonly name: "_signature";
|
|
281
|
+
readonly type: "bytes";
|
|
282
|
+
}];
|
|
283
|
+
readonly name: "callDiamondWithPermit2Witness";
|
|
284
|
+
readonly outputs: readonly [{
|
|
285
|
+
readonly internalType: "bytes";
|
|
286
|
+
readonly name: "";
|
|
287
|
+
readonly type: "bytes";
|
|
288
|
+
}];
|
|
289
|
+
readonly stateMutability: "payable";
|
|
290
|
+
readonly type: "function";
|
|
291
|
+
}, {
|
|
292
|
+
readonly inputs: readonly [];
|
|
293
|
+
readonly name: "cancelOwnershipTransfer";
|
|
294
|
+
readonly outputs: readonly [];
|
|
295
|
+
readonly stateMutability: "nonpayable";
|
|
296
|
+
readonly type: "function";
|
|
297
|
+
}, {
|
|
298
|
+
readonly inputs: readonly [];
|
|
299
|
+
readonly name: "confirmOwnershipTransfer";
|
|
300
|
+
readonly outputs: readonly [];
|
|
301
|
+
readonly stateMutability: "nonpayable";
|
|
302
|
+
readonly type: "function";
|
|
303
|
+
}, {
|
|
304
|
+
readonly inputs: readonly [{
|
|
305
|
+
readonly internalType: "bytes";
|
|
306
|
+
readonly name: "_diamondCalldata";
|
|
307
|
+
readonly type: "bytes";
|
|
308
|
+
}, {
|
|
309
|
+
readonly internalType: "address";
|
|
310
|
+
readonly name: "_assetId";
|
|
311
|
+
readonly type: "address";
|
|
312
|
+
}, {
|
|
313
|
+
readonly internalType: "uint256";
|
|
314
|
+
readonly name: "_amount";
|
|
315
|
+
readonly type: "uint256";
|
|
316
|
+
}, {
|
|
317
|
+
readonly internalType: "uint256";
|
|
318
|
+
readonly name: "_nonce";
|
|
319
|
+
readonly type: "uint256";
|
|
320
|
+
}, {
|
|
321
|
+
readonly internalType: "uint256";
|
|
322
|
+
readonly name: "_deadline";
|
|
323
|
+
readonly type: "uint256";
|
|
324
|
+
}];
|
|
325
|
+
readonly name: "getPermit2MsgHash";
|
|
326
|
+
readonly outputs: readonly [{
|
|
327
|
+
readonly internalType: "bytes32";
|
|
328
|
+
readonly name: "msgHash";
|
|
329
|
+
readonly type: "bytes32";
|
|
330
|
+
}];
|
|
331
|
+
readonly stateMutability: "view";
|
|
332
|
+
readonly type: "function";
|
|
333
|
+
}, {
|
|
334
|
+
readonly inputs: readonly [{
|
|
335
|
+
readonly internalType: "address";
|
|
336
|
+
readonly name: "owner";
|
|
337
|
+
readonly type: "address";
|
|
338
|
+
}];
|
|
339
|
+
readonly name: "nextNonce";
|
|
340
|
+
readonly outputs: readonly [{
|
|
341
|
+
readonly internalType: "uint256";
|
|
342
|
+
readonly name: "nonce";
|
|
343
|
+
readonly type: "uint256";
|
|
344
|
+
}];
|
|
345
|
+
readonly stateMutability: "view";
|
|
346
|
+
readonly type: "function";
|
|
347
|
+
}, {
|
|
348
|
+
readonly inputs: readonly [{
|
|
349
|
+
readonly internalType: "address";
|
|
350
|
+
readonly name: "owner";
|
|
351
|
+
readonly type: "address";
|
|
352
|
+
}, {
|
|
353
|
+
readonly internalType: "uint256";
|
|
354
|
+
readonly name: "start";
|
|
355
|
+
readonly type: "uint256";
|
|
356
|
+
}];
|
|
357
|
+
readonly name: "nextNonceAfter";
|
|
358
|
+
readonly outputs: readonly [{
|
|
359
|
+
readonly internalType: "uint256";
|
|
360
|
+
readonly name: "nonce";
|
|
361
|
+
readonly type: "uint256";
|
|
362
|
+
}];
|
|
363
|
+
readonly stateMutability: "view";
|
|
364
|
+
readonly type: "function";
|
|
365
|
+
}, {
|
|
366
|
+
readonly inputs: readonly [];
|
|
367
|
+
readonly name: "owner";
|
|
368
|
+
readonly outputs: readonly [{
|
|
369
|
+
readonly internalType: "address";
|
|
370
|
+
readonly name: "";
|
|
371
|
+
readonly type: "address";
|
|
372
|
+
}];
|
|
373
|
+
readonly stateMutability: "view";
|
|
374
|
+
readonly type: "function";
|
|
375
|
+
}, {
|
|
376
|
+
readonly inputs: readonly [];
|
|
377
|
+
readonly name: "pendingOwner";
|
|
378
|
+
readonly outputs: readonly [{
|
|
379
|
+
readonly internalType: "address";
|
|
380
|
+
readonly name: "";
|
|
381
|
+
readonly type: "address";
|
|
382
|
+
}];
|
|
383
|
+
readonly stateMutability: "view";
|
|
384
|
+
readonly type: "function";
|
|
385
|
+
}, {
|
|
386
|
+
readonly inputs: readonly [{
|
|
387
|
+
readonly internalType: "address";
|
|
388
|
+
readonly name: "_newOwner";
|
|
389
|
+
readonly type: "address";
|
|
390
|
+
}];
|
|
391
|
+
readonly name: "transferOwnership";
|
|
392
|
+
readonly outputs: readonly [];
|
|
393
|
+
readonly stateMutability: "nonpayable";
|
|
394
|
+
readonly type: "function";
|
|
395
|
+
}, {
|
|
396
|
+
readonly inputs: readonly [{
|
|
397
|
+
readonly internalType: "address";
|
|
398
|
+
readonly name: "assetId";
|
|
399
|
+
readonly type: "address";
|
|
400
|
+
}, {
|
|
401
|
+
readonly internalType: "address payable";
|
|
402
|
+
readonly name: "receiver";
|
|
403
|
+
readonly type: "address";
|
|
404
|
+
}, {
|
|
405
|
+
readonly internalType: "uint256";
|
|
406
|
+
readonly name: "amount";
|
|
407
|
+
readonly type: "uint256";
|
|
408
|
+
}];
|
|
409
|
+
readonly name: "withdrawToken";
|
|
410
|
+
readonly outputs: readonly [];
|
|
411
|
+
readonly stateMutability: "nonpayable";
|
|
412
|
+
readonly type: "function";
|
|
413
|
+
}, {
|
|
414
|
+
readonly stateMutability: "payable";
|
|
415
|
+
readonly type: "receive";
|
|
416
|
+
}];
|