remesso-sdk 0.0.0-stage → 0.2.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/LICENSE +21 -0
- package/README.md +379 -2
- package/dist/abi.d.ts +63 -0
- package/dist/abi.js +14 -0
- package/dist/agents.d.ts +15 -0
- package/dist/agents.js +39 -0
- package/dist/attribution.d.ts +3 -0
- package/dist/attribution.js +29 -0
- package/dist/client.d.ts +75 -0
- package/dist/client.js +60 -0
- package/dist/context.d.ts +42 -0
- package/dist/context.js +157 -0
- package/dist/deployment.d.ts +19 -0
- package/dist/deployment.js +80 -0
- package/dist/errors.d.ts +30 -0
- package/dist/errors.js +10 -0
- package/dist/events.d.ts +59 -0
- package/dist/events.js +53 -0
- package/dist/generated/abi.d.ts +1543 -0
- package/dist/generated/abi.js +1979 -0
- package/dist/generated/deployment.d.ts +114 -0
- package/dist/generated/deployment.js +127 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.js +15 -0
- package/dist/links.d.ts +25 -0
- package/dist/links.js +60 -0
- package/dist/node.d.ts +5 -0
- package/dist/node.js +60 -0
- package/dist/payments.d.ts +39 -0
- package/dist/payments.js +232 -0
- package/dist/policies.d.ts +54 -0
- package/dist/policies.js +148 -0
- package/dist/requests.d.ts +103 -0
- package/dist/requests.js +145 -0
- package/dist/schedules.d.ts +111 -0
- package/dist/schedules.js +232 -0
- package/dist/store.d.ts +24 -0
- package/dist/store.js +19 -0
- package/dist/vendor/erc8021.d.ts +9 -0
- package/dist/vendor/erc8021.js +82 -0
- package/dist/vendor/fee.d.ts +3 -0
- package/dist/vendor/fee.js +40 -0
- package/dist/vendor/payee-profile.d.ts +27 -0
- package/dist/vendor/payee-profile.js +73 -0
- package/dist/vendor/request-decline.d.ts +55 -0
- package/dist/vendor/request-decline.js +60 -0
- package/dist/vendor/safe-fetch.d.ts +2 -0
- package/dist/vendor/safe-fetch.js +154 -0
- package/dist/vendor/standard-webhooks.d.ts +8 -0
- package/dist/vendor/standard-webhooks.js +83 -0
- package/dist/vendor/webhook-actions.d.ts +84 -0
- package/dist/vendor/webhook-actions.js +123 -0
- package/dist/webhooks.d.ts +88 -0
- package/dist/webhooks.js +113 -0
- package/package.json +58 -4
|
@@ -0,0 +1,1543 @@
|
|
|
1
|
+
export declare const executorAbi: readonly [{
|
|
2
|
+
readonly type: "constructor";
|
|
3
|
+
readonly inputs: readonly [{
|
|
4
|
+
readonly name: "_tokenIn";
|
|
5
|
+
readonly type: "address";
|
|
6
|
+
readonly internalType: "address";
|
|
7
|
+
}, {
|
|
8
|
+
readonly name: "_tokenOut";
|
|
9
|
+
readonly type: "address";
|
|
10
|
+
readonly internalType: "address";
|
|
11
|
+
}, {
|
|
12
|
+
readonly name: "_router";
|
|
13
|
+
readonly type: "address";
|
|
14
|
+
readonly internalType: "address";
|
|
15
|
+
}, {
|
|
16
|
+
readonly name: "_executor";
|
|
17
|
+
readonly type: "address";
|
|
18
|
+
readonly internalType: "address";
|
|
19
|
+
}, {
|
|
20
|
+
readonly name: "_poolFee";
|
|
21
|
+
readonly type: "uint24";
|
|
22
|
+
readonly internalType: "uint24";
|
|
23
|
+
}, {
|
|
24
|
+
readonly name: "_treasury";
|
|
25
|
+
readonly type: "address";
|
|
26
|
+
readonly internalType: "address";
|
|
27
|
+
}, {
|
|
28
|
+
readonly name: "_feeBps";
|
|
29
|
+
readonly type: "uint16";
|
|
30
|
+
readonly internalType: "uint16";
|
|
31
|
+
}];
|
|
32
|
+
readonly stateMutability: "nonpayable";
|
|
33
|
+
}, {
|
|
34
|
+
readonly type: "function";
|
|
35
|
+
readonly name: "CURRENT_EXECUTOR";
|
|
36
|
+
readonly inputs: readonly [];
|
|
37
|
+
readonly outputs: readonly [{
|
|
38
|
+
readonly name: "";
|
|
39
|
+
readonly type: "address";
|
|
40
|
+
readonly internalType: "address";
|
|
41
|
+
}];
|
|
42
|
+
readonly stateMutability: "view";
|
|
43
|
+
}, {
|
|
44
|
+
readonly type: "function";
|
|
45
|
+
readonly name: "MAX_FEE_BPS";
|
|
46
|
+
readonly inputs: readonly [];
|
|
47
|
+
readonly outputs: readonly [{
|
|
48
|
+
readonly name: "";
|
|
49
|
+
readonly type: "uint16";
|
|
50
|
+
readonly internalType: "uint16";
|
|
51
|
+
}];
|
|
52
|
+
readonly stateMutability: "view";
|
|
53
|
+
}, {
|
|
54
|
+
readonly type: "function";
|
|
55
|
+
readonly name: "MAX_INTERVAL";
|
|
56
|
+
readonly inputs: readonly [];
|
|
57
|
+
readonly outputs: readonly [{
|
|
58
|
+
readonly name: "";
|
|
59
|
+
readonly type: "uint64";
|
|
60
|
+
readonly internalType: "uint64";
|
|
61
|
+
}];
|
|
62
|
+
readonly stateMutability: "view";
|
|
63
|
+
}, {
|
|
64
|
+
readonly type: "function";
|
|
65
|
+
readonly name: "MAX_LIFETIME";
|
|
66
|
+
readonly inputs: readonly [];
|
|
67
|
+
readonly outputs: readonly [{
|
|
68
|
+
readonly name: "";
|
|
69
|
+
readonly type: "uint64";
|
|
70
|
+
readonly internalType: "uint64";
|
|
71
|
+
}];
|
|
72
|
+
readonly stateMutability: "view";
|
|
73
|
+
}, {
|
|
74
|
+
readonly type: "function";
|
|
75
|
+
readonly name: "MIN_TRIGGER_GAP";
|
|
76
|
+
readonly inputs: readonly [];
|
|
77
|
+
readonly outputs: readonly [{
|
|
78
|
+
readonly name: "";
|
|
79
|
+
readonly type: "uint64";
|
|
80
|
+
readonly internalType: "uint64";
|
|
81
|
+
}];
|
|
82
|
+
readonly stateMutability: "view";
|
|
83
|
+
}, {
|
|
84
|
+
readonly type: "function";
|
|
85
|
+
readonly name: "acceptOwnership";
|
|
86
|
+
readonly inputs: readonly [];
|
|
87
|
+
readonly outputs: readonly [];
|
|
88
|
+
readonly stateMutability: "nonpayable";
|
|
89
|
+
}, {
|
|
90
|
+
readonly type: "function";
|
|
91
|
+
readonly name: "cancelSchedule";
|
|
92
|
+
readonly inputs: readonly [{
|
|
93
|
+
readonly name: "id";
|
|
94
|
+
readonly type: "uint256";
|
|
95
|
+
readonly internalType: "uint256";
|
|
96
|
+
}];
|
|
97
|
+
readonly outputs: readonly [];
|
|
98
|
+
readonly stateMutability: "nonpayable";
|
|
99
|
+
}, {
|
|
100
|
+
readonly type: "function";
|
|
101
|
+
readonly name: "createSchedule";
|
|
102
|
+
readonly inputs: readonly [{
|
|
103
|
+
readonly name: "destination";
|
|
104
|
+
readonly type: "address";
|
|
105
|
+
readonly internalType: "address";
|
|
106
|
+
}, {
|
|
107
|
+
readonly name: "amountIn";
|
|
108
|
+
readonly type: "uint128";
|
|
109
|
+
readonly internalType: "uint128";
|
|
110
|
+
}, {
|
|
111
|
+
readonly name: "interval";
|
|
112
|
+
readonly type: "uint64";
|
|
113
|
+
readonly internalType: "uint64";
|
|
114
|
+
}, {
|
|
115
|
+
readonly name: "minRateE6";
|
|
116
|
+
readonly type: "uint96";
|
|
117
|
+
readonly internalType: "uint96";
|
|
118
|
+
}, {
|
|
119
|
+
readonly name: "maxRuns";
|
|
120
|
+
readonly type: "uint32";
|
|
121
|
+
readonly internalType: "uint32";
|
|
122
|
+
}, {
|
|
123
|
+
readonly name: "expiresAt";
|
|
124
|
+
readonly type: "uint64";
|
|
125
|
+
readonly internalType: "uint64";
|
|
126
|
+
}, {
|
|
127
|
+
readonly name: "firstRunAt";
|
|
128
|
+
readonly type: "uint64";
|
|
129
|
+
readonly internalType: "uint64";
|
|
130
|
+
}, {
|
|
131
|
+
readonly name: "payoutType";
|
|
132
|
+
readonly type: "uint8";
|
|
133
|
+
readonly internalType: "enum RemessoExecutorV5.PayoutType";
|
|
134
|
+
}, {
|
|
135
|
+
readonly name: "token";
|
|
136
|
+
readonly type: "address";
|
|
137
|
+
readonly internalType: "address";
|
|
138
|
+
}, {
|
|
139
|
+
readonly name: "payoutToken";
|
|
140
|
+
readonly type: "address";
|
|
141
|
+
readonly internalType: "address";
|
|
142
|
+
}, {
|
|
143
|
+
readonly name: "trigger";
|
|
144
|
+
readonly type: "address";
|
|
145
|
+
readonly internalType: "address";
|
|
146
|
+
}, {
|
|
147
|
+
readonly name: "triggersLeft";
|
|
148
|
+
readonly type: "uint16";
|
|
149
|
+
readonly internalType: "uint16";
|
|
150
|
+
}];
|
|
151
|
+
readonly outputs: readonly [{
|
|
152
|
+
readonly name: "id";
|
|
153
|
+
readonly type: "uint256";
|
|
154
|
+
readonly internalType: "uint256";
|
|
155
|
+
}];
|
|
156
|
+
readonly stateMutability: "nonpayable";
|
|
157
|
+
}, {
|
|
158
|
+
readonly type: "function";
|
|
159
|
+
readonly name: "directTokenAllowed";
|
|
160
|
+
readonly inputs: readonly [{
|
|
161
|
+
readonly name: "";
|
|
162
|
+
readonly type: "address";
|
|
163
|
+
readonly internalType: "address";
|
|
164
|
+
}];
|
|
165
|
+
readonly outputs: readonly [{
|
|
166
|
+
readonly name: "";
|
|
167
|
+
readonly type: "bool";
|
|
168
|
+
readonly internalType: "bool";
|
|
169
|
+
}];
|
|
170
|
+
readonly stateMutability: "view";
|
|
171
|
+
}, {
|
|
172
|
+
readonly type: "function";
|
|
173
|
+
readonly name: "executeRun";
|
|
174
|
+
readonly inputs: readonly [{
|
|
175
|
+
readonly name: "id";
|
|
176
|
+
readonly type: "uint256";
|
|
177
|
+
readonly internalType: "uint256";
|
|
178
|
+
}, {
|
|
179
|
+
readonly name: "amountOutMinimum";
|
|
180
|
+
readonly type: "uint256";
|
|
181
|
+
readonly internalType: "uint256";
|
|
182
|
+
}];
|
|
183
|
+
readonly outputs: readonly [{
|
|
184
|
+
readonly name: "amountOut";
|
|
185
|
+
readonly type: "uint256";
|
|
186
|
+
readonly internalType: "uint256";
|
|
187
|
+
}];
|
|
188
|
+
readonly stateMutability: "nonpayable";
|
|
189
|
+
}, {
|
|
190
|
+
readonly type: "function";
|
|
191
|
+
readonly name: "executor";
|
|
192
|
+
readonly inputs: readonly [];
|
|
193
|
+
readonly outputs: readonly [{
|
|
194
|
+
readonly name: "";
|
|
195
|
+
readonly type: "address";
|
|
196
|
+
readonly internalType: "address";
|
|
197
|
+
}];
|
|
198
|
+
readonly stateMutability: "view";
|
|
199
|
+
}, {
|
|
200
|
+
readonly type: "function";
|
|
201
|
+
readonly name: "feeBps";
|
|
202
|
+
readonly inputs: readonly [];
|
|
203
|
+
readonly outputs: readonly [{
|
|
204
|
+
readonly name: "";
|
|
205
|
+
readonly type: "uint16";
|
|
206
|
+
readonly internalType: "uint16";
|
|
207
|
+
}];
|
|
208
|
+
readonly stateMutability: "view";
|
|
209
|
+
}, {
|
|
210
|
+
readonly type: "function";
|
|
211
|
+
readonly name: "getSchedule";
|
|
212
|
+
readonly inputs: readonly [{
|
|
213
|
+
readonly name: "id";
|
|
214
|
+
readonly type: "uint256";
|
|
215
|
+
readonly internalType: "uint256";
|
|
216
|
+
}];
|
|
217
|
+
readonly outputs: readonly [{
|
|
218
|
+
readonly name: "";
|
|
219
|
+
readonly type: "tuple";
|
|
220
|
+
readonly internalType: "struct RemessoExecutorV5.Schedule";
|
|
221
|
+
readonly components: readonly [{
|
|
222
|
+
readonly name: "sender";
|
|
223
|
+
readonly type: "address";
|
|
224
|
+
readonly internalType: "address";
|
|
225
|
+
}, {
|
|
226
|
+
readonly name: "interval";
|
|
227
|
+
readonly type: "uint64";
|
|
228
|
+
readonly internalType: "uint64";
|
|
229
|
+
}, {
|
|
230
|
+
readonly name: "maxRuns";
|
|
231
|
+
readonly type: "uint32";
|
|
232
|
+
readonly internalType: "uint32";
|
|
233
|
+
}, {
|
|
234
|
+
readonly name: "destination";
|
|
235
|
+
readonly type: "address";
|
|
236
|
+
readonly internalType: "address";
|
|
237
|
+
}, {
|
|
238
|
+
readonly name: "nextRunAt";
|
|
239
|
+
readonly type: "uint64";
|
|
240
|
+
readonly internalType: "uint64";
|
|
241
|
+
}, {
|
|
242
|
+
readonly name: "runsExecuted";
|
|
243
|
+
readonly type: "uint32";
|
|
244
|
+
readonly internalType: "uint32";
|
|
245
|
+
}, {
|
|
246
|
+
readonly name: "amountIn";
|
|
247
|
+
readonly type: "uint128";
|
|
248
|
+
readonly internalType: "uint128";
|
|
249
|
+
}, {
|
|
250
|
+
readonly name: "minRateE6";
|
|
251
|
+
readonly type: "uint96";
|
|
252
|
+
readonly internalType: "uint96";
|
|
253
|
+
}, {
|
|
254
|
+
readonly name: "poolFee";
|
|
255
|
+
readonly type: "uint24";
|
|
256
|
+
readonly internalType: "uint24";
|
|
257
|
+
}, {
|
|
258
|
+
readonly name: "expiresAt";
|
|
259
|
+
readonly type: "uint64";
|
|
260
|
+
readonly internalType: "uint64";
|
|
261
|
+
}, {
|
|
262
|
+
readonly name: "payoutType";
|
|
263
|
+
readonly type: "uint8";
|
|
264
|
+
readonly internalType: "enum RemessoExecutorV5.PayoutType";
|
|
265
|
+
}, {
|
|
266
|
+
readonly name: "active";
|
|
267
|
+
readonly type: "bool";
|
|
268
|
+
readonly internalType: "bool";
|
|
269
|
+
}, {
|
|
270
|
+
readonly name: "cancelled";
|
|
271
|
+
readonly type: "bool";
|
|
272
|
+
readonly internalType: "bool";
|
|
273
|
+
}, {
|
|
274
|
+
readonly name: "token";
|
|
275
|
+
readonly type: "address";
|
|
276
|
+
readonly internalType: "address";
|
|
277
|
+
}, {
|
|
278
|
+
readonly name: "tokenOut";
|
|
279
|
+
readonly type: "address";
|
|
280
|
+
readonly internalType: "address";
|
|
281
|
+
}, {
|
|
282
|
+
readonly name: "feeBps";
|
|
283
|
+
readonly type: "uint16";
|
|
284
|
+
readonly internalType: "uint16";
|
|
285
|
+
}, {
|
|
286
|
+
readonly name: "lastRunAt";
|
|
287
|
+
readonly type: "uint64";
|
|
288
|
+
readonly internalType: "uint64";
|
|
289
|
+
}, {
|
|
290
|
+
readonly name: "triggersLeft";
|
|
291
|
+
readonly type: "uint16";
|
|
292
|
+
readonly internalType: "uint16";
|
|
293
|
+
}, {
|
|
294
|
+
readonly name: "trigger";
|
|
295
|
+
readonly type: "address";
|
|
296
|
+
readonly internalType: "address";
|
|
297
|
+
}];
|
|
298
|
+
}];
|
|
299
|
+
readonly stateMutability: "view";
|
|
300
|
+
}, {
|
|
301
|
+
readonly type: "function";
|
|
302
|
+
readonly name: "nextScheduleId";
|
|
303
|
+
readonly inputs: readonly [];
|
|
304
|
+
readonly outputs: readonly [{
|
|
305
|
+
readonly name: "";
|
|
306
|
+
readonly type: "uint256";
|
|
307
|
+
readonly internalType: "uint256";
|
|
308
|
+
}];
|
|
309
|
+
readonly stateMutability: "view";
|
|
310
|
+
}, {
|
|
311
|
+
readonly type: "function";
|
|
312
|
+
readonly name: "owner";
|
|
313
|
+
readonly inputs: readonly [];
|
|
314
|
+
readonly outputs: readonly [{
|
|
315
|
+
readonly name: "";
|
|
316
|
+
readonly type: "address";
|
|
317
|
+
readonly internalType: "address";
|
|
318
|
+
}];
|
|
319
|
+
readonly stateMutability: "view";
|
|
320
|
+
}, {
|
|
321
|
+
readonly type: "function";
|
|
322
|
+
readonly name: "pause";
|
|
323
|
+
readonly inputs: readonly [];
|
|
324
|
+
readonly outputs: readonly [];
|
|
325
|
+
readonly stateMutability: "nonpayable";
|
|
326
|
+
}, {
|
|
327
|
+
readonly type: "function";
|
|
328
|
+
readonly name: "paused";
|
|
329
|
+
readonly inputs: readonly [];
|
|
330
|
+
readonly outputs: readonly [{
|
|
331
|
+
readonly name: "";
|
|
332
|
+
readonly type: "bool";
|
|
333
|
+
readonly internalType: "bool";
|
|
334
|
+
}];
|
|
335
|
+
readonly stateMutability: "view";
|
|
336
|
+
}, {
|
|
337
|
+
readonly type: "function";
|
|
338
|
+
readonly name: "pendingOwner";
|
|
339
|
+
readonly inputs: readonly [];
|
|
340
|
+
readonly outputs: readonly [{
|
|
341
|
+
readonly name: "";
|
|
342
|
+
readonly type: "address";
|
|
343
|
+
readonly internalType: "address";
|
|
344
|
+
}];
|
|
345
|
+
readonly stateMutability: "view";
|
|
346
|
+
}, {
|
|
347
|
+
readonly type: "function";
|
|
348
|
+
readonly name: "poolFee";
|
|
349
|
+
readonly inputs: readonly [];
|
|
350
|
+
readonly outputs: readonly [{
|
|
351
|
+
readonly name: "";
|
|
352
|
+
readonly type: "uint24";
|
|
353
|
+
readonly internalType: "uint24";
|
|
354
|
+
}];
|
|
355
|
+
readonly stateMutability: "view";
|
|
356
|
+
}, {
|
|
357
|
+
readonly type: "function";
|
|
358
|
+
readonly name: "renounceOwnership";
|
|
359
|
+
readonly inputs: readonly [];
|
|
360
|
+
readonly outputs: readonly [];
|
|
361
|
+
readonly stateMutability: "pure";
|
|
362
|
+
}, {
|
|
363
|
+
readonly type: "function";
|
|
364
|
+
readonly name: "rescueToken";
|
|
365
|
+
readonly inputs: readonly [{
|
|
366
|
+
readonly name: "token";
|
|
367
|
+
readonly type: "address";
|
|
368
|
+
readonly internalType: "address";
|
|
369
|
+
}, {
|
|
370
|
+
readonly name: "to";
|
|
371
|
+
readonly type: "address";
|
|
372
|
+
readonly internalType: "address";
|
|
373
|
+
}, {
|
|
374
|
+
readonly name: "amount";
|
|
375
|
+
readonly type: "uint256";
|
|
376
|
+
readonly internalType: "uint256";
|
|
377
|
+
}];
|
|
378
|
+
readonly outputs: readonly [];
|
|
379
|
+
readonly stateMutability: "nonpayable";
|
|
380
|
+
}, {
|
|
381
|
+
readonly type: "function";
|
|
382
|
+
readonly name: "router";
|
|
383
|
+
readonly inputs: readonly [];
|
|
384
|
+
readonly outputs: readonly [{
|
|
385
|
+
readonly name: "";
|
|
386
|
+
readonly type: "address";
|
|
387
|
+
readonly internalType: "contract ISwapRouter02";
|
|
388
|
+
}];
|
|
389
|
+
readonly stateMutability: "view";
|
|
390
|
+
}, {
|
|
391
|
+
readonly type: "function";
|
|
392
|
+
readonly name: "runNow";
|
|
393
|
+
readonly inputs: readonly [{
|
|
394
|
+
readonly name: "id";
|
|
395
|
+
readonly type: "uint256";
|
|
396
|
+
readonly internalType: "uint256";
|
|
397
|
+
}, {
|
|
398
|
+
readonly name: "amountOutMinimum";
|
|
399
|
+
readonly type: "uint256";
|
|
400
|
+
readonly internalType: "uint256";
|
|
401
|
+
}];
|
|
402
|
+
readonly outputs: readonly [{
|
|
403
|
+
readonly name: "amountOut";
|
|
404
|
+
readonly type: "uint256";
|
|
405
|
+
readonly internalType: "uint256";
|
|
406
|
+
}];
|
|
407
|
+
readonly stateMutability: "nonpayable";
|
|
408
|
+
}, {
|
|
409
|
+
readonly type: "function";
|
|
410
|
+
readonly name: "runnability";
|
|
411
|
+
readonly inputs: readonly [{
|
|
412
|
+
readonly name: "id";
|
|
413
|
+
readonly type: "uint256";
|
|
414
|
+
readonly internalType: "uint256";
|
|
415
|
+
}];
|
|
416
|
+
readonly outputs: readonly [{
|
|
417
|
+
readonly name: "due";
|
|
418
|
+
readonly type: "bool";
|
|
419
|
+
readonly internalType: "bool";
|
|
420
|
+
}, {
|
|
421
|
+
readonly name: "funded";
|
|
422
|
+
readonly type: "bool";
|
|
423
|
+
readonly internalType: "bool";
|
|
424
|
+
}, {
|
|
425
|
+
readonly name: "approved";
|
|
426
|
+
readonly type: "bool";
|
|
427
|
+
readonly internalType: "bool";
|
|
428
|
+
}, {
|
|
429
|
+
readonly name: "floor";
|
|
430
|
+
readonly type: "uint256";
|
|
431
|
+
readonly internalType: "uint256";
|
|
432
|
+
}, {
|
|
433
|
+
readonly name: "nextRunAt";
|
|
434
|
+
readonly type: "uint64";
|
|
435
|
+
readonly internalType: "uint64";
|
|
436
|
+
}];
|
|
437
|
+
readonly stateMutability: "view";
|
|
438
|
+
}, {
|
|
439
|
+
readonly type: "function";
|
|
440
|
+
readonly name: "schedulesOf";
|
|
441
|
+
readonly inputs: readonly [{
|
|
442
|
+
readonly name: "sender";
|
|
443
|
+
readonly type: "address";
|
|
444
|
+
readonly internalType: "address";
|
|
445
|
+
}];
|
|
446
|
+
readonly outputs: readonly [{
|
|
447
|
+
readonly name: "";
|
|
448
|
+
readonly type: "uint256[]";
|
|
449
|
+
readonly internalType: "uint256[]";
|
|
450
|
+
}];
|
|
451
|
+
readonly stateMutability: "view";
|
|
452
|
+
}, {
|
|
453
|
+
readonly type: "function";
|
|
454
|
+
readonly name: "setDirectToken";
|
|
455
|
+
readonly inputs: readonly [{
|
|
456
|
+
readonly name: "token";
|
|
457
|
+
readonly type: "address";
|
|
458
|
+
readonly internalType: "address";
|
|
459
|
+
}, {
|
|
460
|
+
readonly name: "allowed";
|
|
461
|
+
readonly type: "bool";
|
|
462
|
+
readonly internalType: "bool";
|
|
463
|
+
}];
|
|
464
|
+
readonly outputs: readonly [];
|
|
465
|
+
readonly stateMutability: "nonpayable";
|
|
466
|
+
}, {
|
|
467
|
+
readonly type: "function";
|
|
468
|
+
readonly name: "setExecutor";
|
|
469
|
+
readonly inputs: readonly [{
|
|
470
|
+
readonly name: "_executor";
|
|
471
|
+
readonly type: "address";
|
|
472
|
+
readonly internalType: "address";
|
|
473
|
+
}];
|
|
474
|
+
readonly outputs: readonly [];
|
|
475
|
+
readonly stateMutability: "nonpayable";
|
|
476
|
+
}, {
|
|
477
|
+
readonly type: "function";
|
|
478
|
+
readonly name: "setFeeBps";
|
|
479
|
+
readonly inputs: readonly [{
|
|
480
|
+
readonly name: "_feeBps";
|
|
481
|
+
readonly type: "uint16";
|
|
482
|
+
readonly internalType: "uint16";
|
|
483
|
+
}];
|
|
484
|
+
readonly outputs: readonly [];
|
|
485
|
+
readonly stateMutability: "nonpayable";
|
|
486
|
+
}, {
|
|
487
|
+
readonly type: "function";
|
|
488
|
+
readonly name: "setMinRate";
|
|
489
|
+
readonly inputs: readonly [{
|
|
490
|
+
readonly name: "id";
|
|
491
|
+
readonly type: "uint256";
|
|
492
|
+
readonly internalType: "uint256";
|
|
493
|
+
}, {
|
|
494
|
+
readonly name: "minRateE6";
|
|
495
|
+
readonly type: "uint96";
|
|
496
|
+
readonly internalType: "uint96";
|
|
497
|
+
}];
|
|
498
|
+
readonly outputs: readonly [];
|
|
499
|
+
readonly stateMutability: "nonpayable";
|
|
500
|
+
}, {
|
|
501
|
+
readonly type: "function";
|
|
502
|
+
readonly name: "setPoolFee";
|
|
503
|
+
readonly inputs: readonly [{
|
|
504
|
+
readonly name: "_poolFee";
|
|
505
|
+
readonly type: "uint24";
|
|
506
|
+
readonly internalType: "uint24";
|
|
507
|
+
}];
|
|
508
|
+
readonly outputs: readonly [];
|
|
509
|
+
readonly stateMutability: "nonpayable";
|
|
510
|
+
}, {
|
|
511
|
+
readonly type: "function";
|
|
512
|
+
readonly name: "setScheduleActive";
|
|
513
|
+
readonly inputs: readonly [{
|
|
514
|
+
readonly name: "id";
|
|
515
|
+
readonly type: "uint256";
|
|
516
|
+
readonly internalType: "uint256";
|
|
517
|
+
}, {
|
|
518
|
+
readonly name: "active";
|
|
519
|
+
readonly type: "bool";
|
|
520
|
+
readonly internalType: "bool";
|
|
521
|
+
}];
|
|
522
|
+
readonly outputs: readonly [];
|
|
523
|
+
readonly stateMutability: "nonpayable";
|
|
524
|
+
}, {
|
|
525
|
+
readonly type: "function";
|
|
526
|
+
readonly name: "setSwapToken";
|
|
527
|
+
readonly inputs: readonly [{
|
|
528
|
+
readonly name: "token";
|
|
529
|
+
readonly type: "address";
|
|
530
|
+
readonly internalType: "address";
|
|
531
|
+
}, {
|
|
532
|
+
readonly name: "allowed";
|
|
533
|
+
readonly type: "bool";
|
|
534
|
+
readonly internalType: "bool";
|
|
535
|
+
}];
|
|
536
|
+
readonly outputs: readonly [];
|
|
537
|
+
readonly stateMutability: "nonpayable";
|
|
538
|
+
}, {
|
|
539
|
+
readonly type: "function";
|
|
540
|
+
readonly name: "setTreasury";
|
|
541
|
+
readonly inputs: readonly [{
|
|
542
|
+
readonly name: "_treasury";
|
|
543
|
+
readonly type: "address";
|
|
544
|
+
readonly internalType: "address";
|
|
545
|
+
}];
|
|
546
|
+
readonly outputs: readonly [];
|
|
547
|
+
readonly stateMutability: "nonpayable";
|
|
548
|
+
}, {
|
|
549
|
+
readonly type: "function";
|
|
550
|
+
readonly name: "setTrigger";
|
|
551
|
+
readonly inputs: readonly [{
|
|
552
|
+
readonly name: "id";
|
|
553
|
+
readonly type: "uint256";
|
|
554
|
+
readonly internalType: "uint256";
|
|
555
|
+
}, {
|
|
556
|
+
readonly name: "trigger";
|
|
557
|
+
readonly type: "address";
|
|
558
|
+
readonly internalType: "address";
|
|
559
|
+
}, {
|
|
560
|
+
readonly name: "triggersLeft";
|
|
561
|
+
readonly type: "uint16";
|
|
562
|
+
readonly internalType: "uint16";
|
|
563
|
+
}];
|
|
564
|
+
readonly outputs: readonly [];
|
|
565
|
+
readonly stateMutability: "nonpayable";
|
|
566
|
+
}, {
|
|
567
|
+
readonly type: "function";
|
|
568
|
+
readonly name: "swapTokenAllowed";
|
|
569
|
+
readonly inputs: readonly [{
|
|
570
|
+
readonly name: "";
|
|
571
|
+
readonly type: "address";
|
|
572
|
+
readonly internalType: "address";
|
|
573
|
+
}];
|
|
574
|
+
readonly outputs: readonly [{
|
|
575
|
+
readonly name: "";
|
|
576
|
+
readonly type: "bool";
|
|
577
|
+
readonly internalType: "bool";
|
|
578
|
+
}];
|
|
579
|
+
readonly stateMutability: "view";
|
|
580
|
+
}, {
|
|
581
|
+
readonly type: "function";
|
|
582
|
+
readonly name: "tokenIn";
|
|
583
|
+
readonly inputs: readonly [];
|
|
584
|
+
readonly outputs: readonly [{
|
|
585
|
+
readonly name: "";
|
|
586
|
+
readonly type: "address";
|
|
587
|
+
readonly internalType: "contract IERC20";
|
|
588
|
+
}];
|
|
589
|
+
readonly stateMutability: "view";
|
|
590
|
+
}, {
|
|
591
|
+
readonly type: "function";
|
|
592
|
+
readonly name: "tokenOut";
|
|
593
|
+
readonly inputs: readonly [];
|
|
594
|
+
readonly outputs: readonly [{
|
|
595
|
+
readonly name: "";
|
|
596
|
+
readonly type: "address";
|
|
597
|
+
readonly internalType: "contract IERC20";
|
|
598
|
+
}];
|
|
599
|
+
readonly stateMutability: "view";
|
|
600
|
+
}, {
|
|
601
|
+
readonly type: "function";
|
|
602
|
+
readonly name: "transferOwnership";
|
|
603
|
+
readonly inputs: readonly [{
|
|
604
|
+
readonly name: "newOwner";
|
|
605
|
+
readonly type: "address";
|
|
606
|
+
readonly internalType: "address";
|
|
607
|
+
}];
|
|
608
|
+
readonly outputs: readonly [];
|
|
609
|
+
readonly stateMutability: "nonpayable";
|
|
610
|
+
}, {
|
|
611
|
+
readonly type: "function";
|
|
612
|
+
readonly name: "treasury";
|
|
613
|
+
readonly inputs: readonly [];
|
|
614
|
+
readonly outputs: readonly [{
|
|
615
|
+
readonly name: "";
|
|
616
|
+
readonly type: "address";
|
|
617
|
+
readonly internalType: "address";
|
|
618
|
+
}];
|
|
619
|
+
readonly stateMutability: "view";
|
|
620
|
+
}, {
|
|
621
|
+
readonly type: "function";
|
|
622
|
+
readonly name: "triggerability";
|
|
623
|
+
readonly inputs: readonly [{
|
|
624
|
+
readonly name: "id";
|
|
625
|
+
readonly type: "uint256";
|
|
626
|
+
readonly internalType: "uint256";
|
|
627
|
+
}, {
|
|
628
|
+
readonly name: "caller";
|
|
629
|
+
readonly type: "address";
|
|
630
|
+
readonly internalType: "address";
|
|
631
|
+
}];
|
|
632
|
+
readonly outputs: readonly [{
|
|
633
|
+
readonly name: "canTrigger";
|
|
634
|
+
readonly type: "bool";
|
|
635
|
+
readonly internalType: "bool";
|
|
636
|
+
}, {
|
|
637
|
+
readonly name: "triggersLeft";
|
|
638
|
+
readonly type: "uint16";
|
|
639
|
+
readonly internalType: "uint16";
|
|
640
|
+
}, {
|
|
641
|
+
readonly name: "earliestTrigger";
|
|
642
|
+
readonly type: "uint64";
|
|
643
|
+
readonly internalType: "uint64";
|
|
644
|
+
}];
|
|
645
|
+
readonly stateMutability: "view";
|
|
646
|
+
}, {
|
|
647
|
+
readonly type: "function";
|
|
648
|
+
readonly name: "unpause";
|
|
649
|
+
readonly inputs: readonly [];
|
|
650
|
+
readonly outputs: readonly [];
|
|
651
|
+
readonly stateMutability: "nonpayable";
|
|
652
|
+
}, {
|
|
653
|
+
readonly type: "event";
|
|
654
|
+
readonly name: "DirectTokenSet";
|
|
655
|
+
readonly inputs: readonly [{
|
|
656
|
+
readonly name: "token";
|
|
657
|
+
readonly type: "address";
|
|
658
|
+
readonly indexed: true;
|
|
659
|
+
readonly internalType: "address";
|
|
660
|
+
}, {
|
|
661
|
+
readonly name: "allowed";
|
|
662
|
+
readonly type: "bool";
|
|
663
|
+
readonly indexed: false;
|
|
664
|
+
readonly internalType: "bool";
|
|
665
|
+
}];
|
|
666
|
+
readonly anonymous: false;
|
|
667
|
+
}, {
|
|
668
|
+
readonly type: "event";
|
|
669
|
+
readonly name: "ExecutorUpdated";
|
|
670
|
+
readonly inputs: readonly [{
|
|
671
|
+
readonly name: "previous";
|
|
672
|
+
readonly type: "address";
|
|
673
|
+
readonly indexed: true;
|
|
674
|
+
readonly internalType: "address";
|
|
675
|
+
}, {
|
|
676
|
+
readonly name: "current";
|
|
677
|
+
readonly type: "address";
|
|
678
|
+
readonly indexed: true;
|
|
679
|
+
readonly internalType: "address";
|
|
680
|
+
}];
|
|
681
|
+
readonly anonymous: false;
|
|
682
|
+
}, {
|
|
683
|
+
readonly type: "event";
|
|
684
|
+
readonly name: "FeeBpsUpdated";
|
|
685
|
+
readonly inputs: readonly [{
|
|
686
|
+
readonly name: "previous";
|
|
687
|
+
readonly type: "uint16";
|
|
688
|
+
readonly indexed: false;
|
|
689
|
+
readonly internalType: "uint16";
|
|
690
|
+
}, {
|
|
691
|
+
readonly name: "current";
|
|
692
|
+
readonly type: "uint16";
|
|
693
|
+
readonly indexed: false;
|
|
694
|
+
readonly internalType: "uint16";
|
|
695
|
+
}];
|
|
696
|
+
readonly anonymous: false;
|
|
697
|
+
}, {
|
|
698
|
+
readonly type: "event";
|
|
699
|
+
readonly name: "FeeCharged";
|
|
700
|
+
readonly inputs: readonly [{
|
|
701
|
+
readonly name: "id";
|
|
702
|
+
readonly type: "uint256";
|
|
703
|
+
readonly indexed: true;
|
|
704
|
+
readonly internalType: "uint256";
|
|
705
|
+
}, {
|
|
706
|
+
readonly name: "token";
|
|
707
|
+
readonly type: "address";
|
|
708
|
+
readonly indexed: true;
|
|
709
|
+
readonly internalType: "address";
|
|
710
|
+
}, {
|
|
711
|
+
readonly name: "amount";
|
|
712
|
+
readonly type: "uint256";
|
|
713
|
+
readonly indexed: false;
|
|
714
|
+
readonly internalType: "uint256";
|
|
715
|
+
}];
|
|
716
|
+
readonly anonymous: false;
|
|
717
|
+
}, {
|
|
718
|
+
readonly type: "event";
|
|
719
|
+
readonly name: "MinRateUpdated";
|
|
720
|
+
readonly inputs: readonly [{
|
|
721
|
+
readonly name: "id";
|
|
722
|
+
readonly type: "uint256";
|
|
723
|
+
readonly indexed: true;
|
|
724
|
+
readonly internalType: "uint256";
|
|
725
|
+
}, {
|
|
726
|
+
readonly name: "previous";
|
|
727
|
+
readonly type: "uint96";
|
|
728
|
+
readonly indexed: false;
|
|
729
|
+
readonly internalType: "uint96";
|
|
730
|
+
}, {
|
|
731
|
+
readonly name: "current";
|
|
732
|
+
readonly type: "uint96";
|
|
733
|
+
readonly indexed: false;
|
|
734
|
+
readonly internalType: "uint96";
|
|
735
|
+
}];
|
|
736
|
+
readonly anonymous: false;
|
|
737
|
+
}, {
|
|
738
|
+
readonly type: "event";
|
|
739
|
+
readonly name: "OwnershipTransferStarted";
|
|
740
|
+
readonly inputs: readonly [{
|
|
741
|
+
readonly name: "previousOwner";
|
|
742
|
+
readonly type: "address";
|
|
743
|
+
readonly indexed: true;
|
|
744
|
+
readonly internalType: "address";
|
|
745
|
+
}, {
|
|
746
|
+
readonly name: "newOwner";
|
|
747
|
+
readonly type: "address";
|
|
748
|
+
readonly indexed: true;
|
|
749
|
+
readonly internalType: "address";
|
|
750
|
+
}];
|
|
751
|
+
readonly anonymous: false;
|
|
752
|
+
}, {
|
|
753
|
+
readonly type: "event";
|
|
754
|
+
readonly name: "OwnershipTransferred";
|
|
755
|
+
readonly inputs: readonly [{
|
|
756
|
+
readonly name: "previousOwner";
|
|
757
|
+
readonly type: "address";
|
|
758
|
+
readonly indexed: true;
|
|
759
|
+
readonly internalType: "address";
|
|
760
|
+
}, {
|
|
761
|
+
readonly name: "newOwner";
|
|
762
|
+
readonly type: "address";
|
|
763
|
+
readonly indexed: true;
|
|
764
|
+
readonly internalType: "address";
|
|
765
|
+
}];
|
|
766
|
+
readonly anonymous: false;
|
|
767
|
+
}, {
|
|
768
|
+
readonly type: "event";
|
|
769
|
+
readonly name: "Paused";
|
|
770
|
+
readonly inputs: readonly [{
|
|
771
|
+
readonly name: "account";
|
|
772
|
+
readonly type: "address";
|
|
773
|
+
readonly indexed: false;
|
|
774
|
+
readonly internalType: "address";
|
|
775
|
+
}];
|
|
776
|
+
readonly anonymous: false;
|
|
777
|
+
}, {
|
|
778
|
+
readonly type: "event";
|
|
779
|
+
readonly name: "PoolFeeUpdated";
|
|
780
|
+
readonly inputs: readonly [{
|
|
781
|
+
readonly name: "previous";
|
|
782
|
+
readonly type: "uint24";
|
|
783
|
+
readonly indexed: false;
|
|
784
|
+
readonly internalType: "uint24";
|
|
785
|
+
}, {
|
|
786
|
+
readonly name: "current";
|
|
787
|
+
readonly type: "uint24";
|
|
788
|
+
readonly indexed: false;
|
|
789
|
+
readonly internalType: "uint24";
|
|
790
|
+
}];
|
|
791
|
+
readonly anonymous: false;
|
|
792
|
+
}, {
|
|
793
|
+
readonly type: "event";
|
|
794
|
+
readonly name: "RunExecuted";
|
|
795
|
+
readonly inputs: readonly [{
|
|
796
|
+
readonly name: "id";
|
|
797
|
+
readonly type: "uint256";
|
|
798
|
+
readonly indexed: true;
|
|
799
|
+
readonly internalType: "uint256";
|
|
800
|
+
}, {
|
|
801
|
+
readonly name: "sender";
|
|
802
|
+
readonly type: "address";
|
|
803
|
+
readonly indexed: true;
|
|
804
|
+
readonly internalType: "address";
|
|
805
|
+
}, {
|
|
806
|
+
readonly name: "destination";
|
|
807
|
+
readonly type: "address";
|
|
808
|
+
readonly indexed: true;
|
|
809
|
+
readonly internalType: "address";
|
|
810
|
+
}, {
|
|
811
|
+
readonly name: "amountIn";
|
|
812
|
+
readonly type: "uint128";
|
|
813
|
+
readonly indexed: false;
|
|
814
|
+
readonly internalType: "uint128";
|
|
815
|
+
}, {
|
|
816
|
+
readonly name: "amountOut";
|
|
817
|
+
readonly type: "uint256";
|
|
818
|
+
readonly indexed: false;
|
|
819
|
+
readonly internalType: "uint256";
|
|
820
|
+
}, {
|
|
821
|
+
readonly name: "runsExecuted";
|
|
822
|
+
readonly type: "uint32";
|
|
823
|
+
readonly indexed: false;
|
|
824
|
+
readonly internalType: "uint32";
|
|
825
|
+
}, {
|
|
826
|
+
readonly name: "nextRunAt";
|
|
827
|
+
readonly type: "uint64";
|
|
828
|
+
readonly indexed: false;
|
|
829
|
+
readonly internalType: "uint64";
|
|
830
|
+
}];
|
|
831
|
+
readonly anonymous: false;
|
|
832
|
+
}, {
|
|
833
|
+
readonly type: "event";
|
|
834
|
+
readonly name: "RunTriggered";
|
|
835
|
+
readonly inputs: readonly [{
|
|
836
|
+
readonly name: "id";
|
|
837
|
+
readonly type: "uint256";
|
|
838
|
+
readonly indexed: true;
|
|
839
|
+
readonly internalType: "uint256";
|
|
840
|
+
}, {
|
|
841
|
+
readonly name: "by";
|
|
842
|
+
readonly type: "address";
|
|
843
|
+
readonly indexed: true;
|
|
844
|
+
readonly internalType: "address";
|
|
845
|
+
}, {
|
|
846
|
+
readonly name: "triggersLeft";
|
|
847
|
+
readonly type: "uint16";
|
|
848
|
+
readonly indexed: false;
|
|
849
|
+
readonly internalType: "uint16";
|
|
850
|
+
}];
|
|
851
|
+
readonly anonymous: false;
|
|
852
|
+
}, {
|
|
853
|
+
readonly type: "event";
|
|
854
|
+
readonly name: "ScheduleActiveSet";
|
|
855
|
+
readonly inputs: readonly [{
|
|
856
|
+
readonly name: "id";
|
|
857
|
+
readonly type: "uint256";
|
|
858
|
+
readonly indexed: true;
|
|
859
|
+
readonly internalType: "uint256";
|
|
860
|
+
}, {
|
|
861
|
+
readonly name: "active";
|
|
862
|
+
readonly type: "bool";
|
|
863
|
+
readonly indexed: false;
|
|
864
|
+
readonly internalType: "bool";
|
|
865
|
+
}];
|
|
866
|
+
readonly anonymous: false;
|
|
867
|
+
}, {
|
|
868
|
+
readonly type: "event";
|
|
869
|
+
readonly name: "ScheduleCancelled";
|
|
870
|
+
readonly inputs: readonly [{
|
|
871
|
+
readonly name: "id";
|
|
872
|
+
readonly type: "uint256";
|
|
873
|
+
readonly indexed: true;
|
|
874
|
+
readonly internalType: "uint256";
|
|
875
|
+
}];
|
|
876
|
+
readonly anonymous: false;
|
|
877
|
+
}, {
|
|
878
|
+
readonly type: "event";
|
|
879
|
+
readonly name: "ScheduleCreated";
|
|
880
|
+
readonly inputs: readonly [{
|
|
881
|
+
readonly name: "id";
|
|
882
|
+
readonly type: "uint256";
|
|
883
|
+
readonly indexed: true;
|
|
884
|
+
readonly internalType: "uint256";
|
|
885
|
+
}, {
|
|
886
|
+
readonly name: "sender";
|
|
887
|
+
readonly type: "address";
|
|
888
|
+
readonly indexed: true;
|
|
889
|
+
readonly internalType: "address";
|
|
890
|
+
}, {
|
|
891
|
+
readonly name: "destination";
|
|
892
|
+
readonly type: "address";
|
|
893
|
+
readonly indexed: true;
|
|
894
|
+
readonly internalType: "address";
|
|
895
|
+
}, {
|
|
896
|
+
readonly name: "amountIn";
|
|
897
|
+
readonly type: "uint128";
|
|
898
|
+
readonly indexed: false;
|
|
899
|
+
readonly internalType: "uint128";
|
|
900
|
+
}, {
|
|
901
|
+
readonly name: "interval";
|
|
902
|
+
readonly type: "uint64";
|
|
903
|
+
readonly indexed: false;
|
|
904
|
+
readonly internalType: "uint64";
|
|
905
|
+
}, {
|
|
906
|
+
readonly name: "minRateE6";
|
|
907
|
+
readonly type: "uint96";
|
|
908
|
+
readonly indexed: false;
|
|
909
|
+
readonly internalType: "uint96";
|
|
910
|
+
}, {
|
|
911
|
+
readonly name: "maxRuns";
|
|
912
|
+
readonly type: "uint32";
|
|
913
|
+
readonly indexed: false;
|
|
914
|
+
readonly internalType: "uint32";
|
|
915
|
+
}, {
|
|
916
|
+
readonly name: "expiresAt";
|
|
917
|
+
readonly type: "uint64";
|
|
918
|
+
readonly indexed: false;
|
|
919
|
+
readonly internalType: "uint64";
|
|
920
|
+
}, {
|
|
921
|
+
readonly name: "payoutType";
|
|
922
|
+
readonly type: "uint8";
|
|
923
|
+
readonly indexed: false;
|
|
924
|
+
readonly internalType: "enum RemessoExecutorV5.PayoutType";
|
|
925
|
+
}];
|
|
926
|
+
readonly anonymous: false;
|
|
927
|
+
}, {
|
|
928
|
+
readonly type: "event";
|
|
929
|
+
readonly name: "SwapTokenSet";
|
|
930
|
+
readonly inputs: readonly [{
|
|
931
|
+
readonly name: "token";
|
|
932
|
+
readonly type: "address";
|
|
933
|
+
readonly indexed: true;
|
|
934
|
+
readonly internalType: "address";
|
|
935
|
+
}, {
|
|
936
|
+
readonly name: "allowed";
|
|
937
|
+
readonly type: "bool";
|
|
938
|
+
readonly indexed: false;
|
|
939
|
+
readonly internalType: "bool";
|
|
940
|
+
}];
|
|
941
|
+
readonly anonymous: false;
|
|
942
|
+
}, {
|
|
943
|
+
readonly type: "event";
|
|
944
|
+
readonly name: "TreasuryUpdated";
|
|
945
|
+
readonly inputs: readonly [{
|
|
946
|
+
readonly name: "previous";
|
|
947
|
+
readonly type: "address";
|
|
948
|
+
readonly indexed: true;
|
|
949
|
+
readonly internalType: "address";
|
|
950
|
+
}, {
|
|
951
|
+
readonly name: "current";
|
|
952
|
+
readonly type: "address";
|
|
953
|
+
readonly indexed: true;
|
|
954
|
+
readonly internalType: "address";
|
|
955
|
+
}];
|
|
956
|
+
readonly anonymous: false;
|
|
957
|
+
}, {
|
|
958
|
+
readonly type: "event";
|
|
959
|
+
readonly name: "TriggerSet";
|
|
960
|
+
readonly inputs: readonly [{
|
|
961
|
+
readonly name: "id";
|
|
962
|
+
readonly type: "uint256";
|
|
963
|
+
readonly indexed: true;
|
|
964
|
+
readonly internalType: "uint256";
|
|
965
|
+
}, {
|
|
966
|
+
readonly name: "trigger";
|
|
967
|
+
readonly type: "address";
|
|
968
|
+
readonly indexed: true;
|
|
969
|
+
readonly internalType: "address";
|
|
970
|
+
}, {
|
|
971
|
+
readonly name: "triggersLeft";
|
|
972
|
+
readonly type: "uint16";
|
|
973
|
+
readonly indexed: false;
|
|
974
|
+
readonly internalType: "uint16";
|
|
975
|
+
}];
|
|
976
|
+
readonly anonymous: false;
|
|
977
|
+
}, {
|
|
978
|
+
readonly type: "event";
|
|
979
|
+
readonly name: "Unpaused";
|
|
980
|
+
readonly inputs: readonly [{
|
|
981
|
+
readonly name: "account";
|
|
982
|
+
readonly type: "address";
|
|
983
|
+
readonly indexed: false;
|
|
984
|
+
readonly internalType: "address";
|
|
985
|
+
}];
|
|
986
|
+
readonly anonymous: false;
|
|
987
|
+
}, {
|
|
988
|
+
readonly type: "error";
|
|
989
|
+
readonly name: "DegenerateFloor";
|
|
990
|
+
readonly inputs: readonly [];
|
|
991
|
+
}, {
|
|
992
|
+
readonly type: "error";
|
|
993
|
+
readonly name: "EnforcedPause";
|
|
994
|
+
readonly inputs: readonly [];
|
|
995
|
+
}, {
|
|
996
|
+
readonly type: "error";
|
|
997
|
+
readonly name: "ExpectedPause";
|
|
998
|
+
readonly inputs: readonly [];
|
|
999
|
+
}, {
|
|
1000
|
+
readonly type: "error";
|
|
1001
|
+
readonly name: "FeeTooHigh";
|
|
1002
|
+
readonly inputs: readonly [{
|
|
1003
|
+
readonly name: "provided";
|
|
1004
|
+
readonly type: "uint16";
|
|
1005
|
+
readonly internalType: "uint16";
|
|
1006
|
+
}, {
|
|
1007
|
+
readonly name: "max";
|
|
1008
|
+
readonly type: "uint16";
|
|
1009
|
+
readonly internalType: "uint16";
|
|
1010
|
+
}];
|
|
1011
|
+
}, {
|
|
1012
|
+
readonly type: "error";
|
|
1013
|
+
readonly name: "FirstRunAfterExpiry";
|
|
1014
|
+
readonly inputs: readonly [];
|
|
1015
|
+
}, {
|
|
1016
|
+
readonly type: "error";
|
|
1017
|
+
readonly name: "InsufficientOutput";
|
|
1018
|
+
readonly inputs: readonly [{
|
|
1019
|
+
readonly name: "received";
|
|
1020
|
+
readonly type: "uint256";
|
|
1021
|
+
readonly internalType: "uint256";
|
|
1022
|
+
}, {
|
|
1023
|
+
readonly name: "floor";
|
|
1024
|
+
readonly type: "uint256";
|
|
1025
|
+
readonly internalType: "uint256";
|
|
1026
|
+
}];
|
|
1027
|
+
}, {
|
|
1028
|
+
readonly type: "error";
|
|
1029
|
+
readonly name: "InvalidAmount";
|
|
1030
|
+
readonly inputs: readonly [];
|
|
1031
|
+
}, {
|
|
1032
|
+
readonly type: "error";
|
|
1033
|
+
readonly name: "InvalidDestination";
|
|
1034
|
+
readonly inputs: readonly [];
|
|
1035
|
+
}, {
|
|
1036
|
+
readonly type: "error";
|
|
1037
|
+
readonly name: "InvalidInterval";
|
|
1038
|
+
readonly inputs: readonly [];
|
|
1039
|
+
}, {
|
|
1040
|
+
readonly type: "error";
|
|
1041
|
+
readonly name: "InvalidRate";
|
|
1042
|
+
readonly inputs: readonly [];
|
|
1043
|
+
}, {
|
|
1044
|
+
readonly type: "error";
|
|
1045
|
+
readonly name: "InvalidTrigger";
|
|
1046
|
+
readonly inputs: readonly [];
|
|
1047
|
+
}, {
|
|
1048
|
+
readonly type: "error";
|
|
1049
|
+
readonly name: "NoFloorOnDirect";
|
|
1050
|
+
readonly inputs: readonly [];
|
|
1051
|
+
}, {
|
|
1052
|
+
readonly type: "error";
|
|
1053
|
+
readonly name: "NoTriggersLeft";
|
|
1054
|
+
readonly inputs: readonly [];
|
|
1055
|
+
}, {
|
|
1056
|
+
readonly type: "error";
|
|
1057
|
+
readonly name: "NotDue";
|
|
1058
|
+
readonly inputs: readonly [{
|
|
1059
|
+
readonly name: "nextRunAt";
|
|
1060
|
+
readonly type: "uint64";
|
|
1061
|
+
readonly internalType: "uint64";
|
|
1062
|
+
}];
|
|
1063
|
+
}, {
|
|
1064
|
+
readonly type: "error";
|
|
1065
|
+
readonly name: "NotExecutor";
|
|
1066
|
+
readonly inputs: readonly [];
|
|
1067
|
+
}, {
|
|
1068
|
+
readonly type: "error";
|
|
1069
|
+
readonly name: "NotScheduleOwner";
|
|
1070
|
+
readonly inputs: readonly [];
|
|
1071
|
+
}, {
|
|
1072
|
+
readonly type: "error";
|
|
1073
|
+
readonly name: "NotTrigger";
|
|
1074
|
+
readonly inputs: readonly [];
|
|
1075
|
+
}, {
|
|
1076
|
+
readonly type: "error";
|
|
1077
|
+
readonly name: "OwnableInvalidOwner";
|
|
1078
|
+
readonly inputs: readonly [{
|
|
1079
|
+
readonly name: "owner";
|
|
1080
|
+
readonly type: "address";
|
|
1081
|
+
readonly internalType: "address";
|
|
1082
|
+
}];
|
|
1083
|
+
}, {
|
|
1084
|
+
readonly type: "error";
|
|
1085
|
+
readonly name: "OwnableUnauthorizedAccount";
|
|
1086
|
+
readonly inputs: readonly [{
|
|
1087
|
+
readonly name: "account";
|
|
1088
|
+
readonly type: "address";
|
|
1089
|
+
readonly internalType: "address";
|
|
1090
|
+
}];
|
|
1091
|
+
}, {
|
|
1092
|
+
readonly type: "error";
|
|
1093
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
1094
|
+
readonly inputs: readonly [];
|
|
1095
|
+
}, {
|
|
1096
|
+
readonly type: "error";
|
|
1097
|
+
readonly name: "RenounceDisabled";
|
|
1098
|
+
readonly inputs: readonly [];
|
|
1099
|
+
}, {
|
|
1100
|
+
readonly type: "error";
|
|
1101
|
+
readonly name: "RunCapReached";
|
|
1102
|
+
readonly inputs: readonly [];
|
|
1103
|
+
}, {
|
|
1104
|
+
readonly type: "error";
|
|
1105
|
+
readonly name: "SafeERC20FailedOperation";
|
|
1106
|
+
readonly inputs: readonly [{
|
|
1107
|
+
readonly name: "token";
|
|
1108
|
+
readonly type: "address";
|
|
1109
|
+
readonly internalType: "address";
|
|
1110
|
+
}];
|
|
1111
|
+
}, {
|
|
1112
|
+
readonly type: "error";
|
|
1113
|
+
readonly name: "SameToken";
|
|
1114
|
+
readonly inputs: readonly [];
|
|
1115
|
+
}, {
|
|
1116
|
+
readonly type: "error";
|
|
1117
|
+
readonly name: "ScheduleExpired";
|
|
1118
|
+
readonly inputs: readonly [];
|
|
1119
|
+
}, {
|
|
1120
|
+
readonly type: "error";
|
|
1121
|
+
readonly name: "ScheduleInactive";
|
|
1122
|
+
readonly inputs: readonly [];
|
|
1123
|
+
}, {
|
|
1124
|
+
readonly type: "error";
|
|
1125
|
+
readonly name: "ScheduleIsCancelled";
|
|
1126
|
+
readonly inputs: readonly [];
|
|
1127
|
+
}, {
|
|
1128
|
+
readonly type: "error";
|
|
1129
|
+
readonly name: "ScheduleLifetimeTooLong";
|
|
1130
|
+
readonly inputs: readonly [];
|
|
1131
|
+
}, {
|
|
1132
|
+
readonly type: "error";
|
|
1133
|
+
readonly name: "SlippageBoundBelowFloor";
|
|
1134
|
+
readonly inputs: readonly [{
|
|
1135
|
+
readonly name: "provided";
|
|
1136
|
+
readonly type: "uint256";
|
|
1137
|
+
readonly internalType: "uint256";
|
|
1138
|
+
}, {
|
|
1139
|
+
readonly name: "floor";
|
|
1140
|
+
readonly type: "uint256";
|
|
1141
|
+
readonly internalType: "uint256";
|
|
1142
|
+
}];
|
|
1143
|
+
}, {
|
|
1144
|
+
readonly type: "error";
|
|
1145
|
+
readonly name: "TokenNotAllowed";
|
|
1146
|
+
readonly inputs: readonly [];
|
|
1147
|
+
}, {
|
|
1148
|
+
readonly type: "error";
|
|
1149
|
+
readonly name: "TriggeredTooSoon";
|
|
1150
|
+
readonly inputs: readonly [{
|
|
1151
|
+
readonly name: "nextAllowed";
|
|
1152
|
+
readonly type: "uint64";
|
|
1153
|
+
readonly internalType: "uint64";
|
|
1154
|
+
}];
|
|
1155
|
+
}, {
|
|
1156
|
+
readonly type: "error";
|
|
1157
|
+
readonly name: "WrongTokenForPayoutType";
|
|
1158
|
+
readonly inputs: readonly [];
|
|
1159
|
+
}, {
|
|
1160
|
+
readonly type: "error";
|
|
1161
|
+
readonly name: "ZeroAddress";
|
|
1162
|
+
readonly inputs: readonly [];
|
|
1163
|
+
}];
|
|
1164
|
+
export declare const allowanceAbi: readonly [{
|
|
1165
|
+
readonly type: "function";
|
|
1166
|
+
readonly name: "MAX_DURATION";
|
|
1167
|
+
readonly inputs: readonly [];
|
|
1168
|
+
readonly outputs: readonly [{
|
|
1169
|
+
readonly name: "";
|
|
1170
|
+
readonly type: "uint256";
|
|
1171
|
+
readonly internalType: "uint256";
|
|
1172
|
+
}];
|
|
1173
|
+
readonly stateMutability: "view";
|
|
1174
|
+
}, {
|
|
1175
|
+
readonly type: "function";
|
|
1176
|
+
readonly name: "MAX_RECIPIENTS";
|
|
1177
|
+
readonly inputs: readonly [];
|
|
1178
|
+
readonly outputs: readonly [{
|
|
1179
|
+
readonly name: "";
|
|
1180
|
+
readonly type: "uint256";
|
|
1181
|
+
readonly internalType: "uint256";
|
|
1182
|
+
}];
|
|
1183
|
+
readonly stateMutability: "view";
|
|
1184
|
+
}, {
|
|
1185
|
+
readonly type: "function";
|
|
1186
|
+
readonly name: "WINDOW";
|
|
1187
|
+
readonly inputs: readonly [];
|
|
1188
|
+
readonly outputs: readonly [{
|
|
1189
|
+
readonly name: "";
|
|
1190
|
+
readonly type: "uint256";
|
|
1191
|
+
readonly internalType: "uint256";
|
|
1192
|
+
}];
|
|
1193
|
+
readonly stateMutability: "view";
|
|
1194
|
+
}, {
|
|
1195
|
+
readonly type: "function";
|
|
1196
|
+
readonly name: "allowed";
|
|
1197
|
+
readonly inputs: readonly [{
|
|
1198
|
+
readonly name: "";
|
|
1199
|
+
readonly type: "uint256";
|
|
1200
|
+
readonly internalType: "uint256";
|
|
1201
|
+
}, {
|
|
1202
|
+
readonly name: "";
|
|
1203
|
+
readonly type: "address";
|
|
1204
|
+
readonly internalType: "address";
|
|
1205
|
+
}];
|
|
1206
|
+
readonly outputs: readonly [{
|
|
1207
|
+
readonly name: "";
|
|
1208
|
+
readonly type: "bool";
|
|
1209
|
+
readonly internalType: "bool";
|
|
1210
|
+
}];
|
|
1211
|
+
readonly stateMutability: "view";
|
|
1212
|
+
}, {
|
|
1213
|
+
readonly type: "function";
|
|
1214
|
+
readonly name: "createPolicy";
|
|
1215
|
+
readonly inputs: readonly [{
|
|
1216
|
+
readonly name: "agent";
|
|
1217
|
+
readonly type: "address";
|
|
1218
|
+
readonly internalType: "address";
|
|
1219
|
+
}, {
|
|
1220
|
+
readonly name: "token";
|
|
1221
|
+
readonly type: "address";
|
|
1222
|
+
readonly internalType: "address";
|
|
1223
|
+
}, {
|
|
1224
|
+
readonly name: "perPayment";
|
|
1225
|
+
readonly type: "uint128";
|
|
1226
|
+
readonly internalType: "uint128";
|
|
1227
|
+
}, {
|
|
1228
|
+
readonly name: "perDay";
|
|
1229
|
+
readonly type: "uint128";
|
|
1230
|
+
readonly internalType: "uint128";
|
|
1231
|
+
}, {
|
|
1232
|
+
readonly name: "expiresAt";
|
|
1233
|
+
readonly type: "uint64";
|
|
1234
|
+
readonly internalType: "uint64";
|
|
1235
|
+
}, {
|
|
1236
|
+
readonly name: "allowlistOnly";
|
|
1237
|
+
readonly type: "bool";
|
|
1238
|
+
readonly internalType: "bool";
|
|
1239
|
+
}, {
|
|
1240
|
+
readonly name: "recipients";
|
|
1241
|
+
readonly type: "address[]";
|
|
1242
|
+
readonly internalType: "address[]";
|
|
1243
|
+
}];
|
|
1244
|
+
readonly outputs: readonly [{
|
|
1245
|
+
readonly name: "id";
|
|
1246
|
+
readonly type: "uint256";
|
|
1247
|
+
readonly internalType: "uint256";
|
|
1248
|
+
}];
|
|
1249
|
+
readonly stateMutability: "nonpayable";
|
|
1250
|
+
}, {
|
|
1251
|
+
readonly type: "function";
|
|
1252
|
+
readonly name: "nextPolicyId";
|
|
1253
|
+
readonly inputs: readonly [];
|
|
1254
|
+
readonly outputs: readonly [{
|
|
1255
|
+
readonly name: "";
|
|
1256
|
+
readonly type: "uint256";
|
|
1257
|
+
readonly internalType: "uint256";
|
|
1258
|
+
}];
|
|
1259
|
+
readonly stateMutability: "view";
|
|
1260
|
+
}, {
|
|
1261
|
+
readonly type: "function";
|
|
1262
|
+
readonly name: "pay";
|
|
1263
|
+
readonly inputs: readonly [{
|
|
1264
|
+
readonly name: "id";
|
|
1265
|
+
readonly type: "uint256";
|
|
1266
|
+
readonly internalType: "uint256";
|
|
1267
|
+
}, {
|
|
1268
|
+
readonly name: "to";
|
|
1269
|
+
readonly type: "address";
|
|
1270
|
+
readonly internalType: "address";
|
|
1271
|
+
}, {
|
|
1272
|
+
readonly name: "amount";
|
|
1273
|
+
readonly type: "uint256";
|
|
1274
|
+
readonly internalType: "uint256";
|
|
1275
|
+
}, {
|
|
1276
|
+
readonly name: "memo";
|
|
1277
|
+
readonly type: "bytes32";
|
|
1278
|
+
readonly internalType: "bytes32";
|
|
1279
|
+
}];
|
|
1280
|
+
readonly outputs: readonly [];
|
|
1281
|
+
readonly stateMutability: "nonpayable";
|
|
1282
|
+
}, {
|
|
1283
|
+
readonly type: "function";
|
|
1284
|
+
readonly name: "policy";
|
|
1285
|
+
readonly inputs: readonly [{
|
|
1286
|
+
readonly name: "id";
|
|
1287
|
+
readonly type: "uint256";
|
|
1288
|
+
readonly internalType: "uint256";
|
|
1289
|
+
}];
|
|
1290
|
+
readonly outputs: readonly [{
|
|
1291
|
+
readonly name: "";
|
|
1292
|
+
readonly type: "tuple";
|
|
1293
|
+
readonly internalType: "struct RemessoAgentAllowance.Policy";
|
|
1294
|
+
readonly components: readonly [{
|
|
1295
|
+
readonly name: "owner";
|
|
1296
|
+
readonly type: "address";
|
|
1297
|
+
readonly internalType: "address";
|
|
1298
|
+
}, {
|
|
1299
|
+
readonly name: "agent";
|
|
1300
|
+
readonly type: "address";
|
|
1301
|
+
readonly internalType: "address";
|
|
1302
|
+
}, {
|
|
1303
|
+
readonly name: "token";
|
|
1304
|
+
readonly type: "address";
|
|
1305
|
+
readonly internalType: "address";
|
|
1306
|
+
}, {
|
|
1307
|
+
readonly name: "expiresAt";
|
|
1308
|
+
readonly type: "uint64";
|
|
1309
|
+
readonly internalType: "uint64";
|
|
1310
|
+
}, {
|
|
1311
|
+
readonly name: "allowlistOnly";
|
|
1312
|
+
readonly type: "bool";
|
|
1313
|
+
readonly internalType: "bool";
|
|
1314
|
+
}, {
|
|
1315
|
+
readonly name: "revoked";
|
|
1316
|
+
readonly type: "bool";
|
|
1317
|
+
readonly internalType: "bool";
|
|
1318
|
+
}, {
|
|
1319
|
+
readonly name: "perPayment";
|
|
1320
|
+
readonly type: "uint128";
|
|
1321
|
+
readonly internalType: "uint128";
|
|
1322
|
+
}, {
|
|
1323
|
+
readonly name: "perDay";
|
|
1324
|
+
readonly type: "uint128";
|
|
1325
|
+
readonly internalType: "uint128";
|
|
1326
|
+
}, {
|
|
1327
|
+
readonly name: "spentInWindow";
|
|
1328
|
+
readonly type: "uint128";
|
|
1329
|
+
readonly internalType: "uint128";
|
|
1330
|
+
}, {
|
|
1331
|
+
readonly name: "windowStart";
|
|
1332
|
+
readonly type: "uint64";
|
|
1333
|
+
readonly internalType: "uint64";
|
|
1334
|
+
}];
|
|
1335
|
+
}];
|
|
1336
|
+
readonly stateMutability: "view";
|
|
1337
|
+
}, {
|
|
1338
|
+
readonly type: "function";
|
|
1339
|
+
readonly name: "remainingToday";
|
|
1340
|
+
readonly inputs: readonly [{
|
|
1341
|
+
readonly name: "id";
|
|
1342
|
+
readonly type: "uint256";
|
|
1343
|
+
readonly internalType: "uint256";
|
|
1344
|
+
}];
|
|
1345
|
+
readonly outputs: readonly [{
|
|
1346
|
+
readonly name: "";
|
|
1347
|
+
readonly type: "uint256";
|
|
1348
|
+
readonly internalType: "uint256";
|
|
1349
|
+
}];
|
|
1350
|
+
readonly stateMutability: "view";
|
|
1351
|
+
}, {
|
|
1352
|
+
readonly type: "function";
|
|
1353
|
+
readonly name: "revoke";
|
|
1354
|
+
readonly inputs: readonly [{
|
|
1355
|
+
readonly name: "id";
|
|
1356
|
+
readonly type: "uint256";
|
|
1357
|
+
readonly internalType: "uint256";
|
|
1358
|
+
}];
|
|
1359
|
+
readonly outputs: readonly [];
|
|
1360
|
+
readonly stateMutability: "nonpayable";
|
|
1361
|
+
}, {
|
|
1362
|
+
readonly type: "function";
|
|
1363
|
+
readonly name: "setRecipient";
|
|
1364
|
+
readonly inputs: readonly [{
|
|
1365
|
+
readonly name: "id";
|
|
1366
|
+
readonly type: "uint256";
|
|
1367
|
+
readonly internalType: "uint256";
|
|
1368
|
+
}, {
|
|
1369
|
+
readonly name: "recipient";
|
|
1370
|
+
readonly type: "address";
|
|
1371
|
+
readonly internalType: "address";
|
|
1372
|
+
}, {
|
|
1373
|
+
readonly name: "ok";
|
|
1374
|
+
readonly type: "bool";
|
|
1375
|
+
readonly internalType: "bool";
|
|
1376
|
+
}];
|
|
1377
|
+
readonly outputs: readonly [];
|
|
1378
|
+
readonly stateMutability: "nonpayable";
|
|
1379
|
+
}, {
|
|
1380
|
+
readonly type: "event";
|
|
1381
|
+
readonly name: "Paid";
|
|
1382
|
+
readonly inputs: readonly [{
|
|
1383
|
+
readonly name: "id";
|
|
1384
|
+
readonly type: "uint256";
|
|
1385
|
+
readonly indexed: true;
|
|
1386
|
+
readonly internalType: "uint256";
|
|
1387
|
+
}, {
|
|
1388
|
+
readonly name: "to";
|
|
1389
|
+
readonly type: "address";
|
|
1390
|
+
readonly indexed: true;
|
|
1391
|
+
readonly internalType: "address";
|
|
1392
|
+
}, {
|
|
1393
|
+
readonly name: "amount";
|
|
1394
|
+
readonly type: "uint256";
|
|
1395
|
+
readonly indexed: false;
|
|
1396
|
+
readonly internalType: "uint256";
|
|
1397
|
+
}, {
|
|
1398
|
+
readonly name: "memo";
|
|
1399
|
+
readonly type: "bytes32";
|
|
1400
|
+
readonly indexed: false;
|
|
1401
|
+
readonly internalType: "bytes32";
|
|
1402
|
+
}];
|
|
1403
|
+
readonly anonymous: false;
|
|
1404
|
+
}, {
|
|
1405
|
+
readonly type: "event";
|
|
1406
|
+
readonly name: "PolicyCreated";
|
|
1407
|
+
readonly inputs: readonly [{
|
|
1408
|
+
readonly name: "id";
|
|
1409
|
+
readonly type: "uint256";
|
|
1410
|
+
readonly indexed: true;
|
|
1411
|
+
readonly internalType: "uint256";
|
|
1412
|
+
}, {
|
|
1413
|
+
readonly name: "owner";
|
|
1414
|
+
readonly type: "address";
|
|
1415
|
+
readonly indexed: true;
|
|
1416
|
+
readonly internalType: "address";
|
|
1417
|
+
}, {
|
|
1418
|
+
readonly name: "agent";
|
|
1419
|
+
readonly type: "address";
|
|
1420
|
+
readonly indexed: true;
|
|
1421
|
+
readonly internalType: "address";
|
|
1422
|
+
}, {
|
|
1423
|
+
readonly name: "token";
|
|
1424
|
+
readonly type: "address";
|
|
1425
|
+
readonly indexed: false;
|
|
1426
|
+
readonly internalType: "address";
|
|
1427
|
+
}, {
|
|
1428
|
+
readonly name: "perPayment";
|
|
1429
|
+
readonly type: "uint128";
|
|
1430
|
+
readonly indexed: false;
|
|
1431
|
+
readonly internalType: "uint128";
|
|
1432
|
+
}, {
|
|
1433
|
+
readonly name: "perDay";
|
|
1434
|
+
readonly type: "uint128";
|
|
1435
|
+
readonly indexed: false;
|
|
1436
|
+
readonly internalType: "uint128";
|
|
1437
|
+
}, {
|
|
1438
|
+
readonly name: "expiresAt";
|
|
1439
|
+
readonly type: "uint64";
|
|
1440
|
+
readonly indexed: false;
|
|
1441
|
+
readonly internalType: "uint64";
|
|
1442
|
+
}, {
|
|
1443
|
+
readonly name: "allowlistOnly";
|
|
1444
|
+
readonly type: "bool";
|
|
1445
|
+
readonly indexed: false;
|
|
1446
|
+
readonly internalType: "bool";
|
|
1447
|
+
}];
|
|
1448
|
+
readonly anonymous: false;
|
|
1449
|
+
}, {
|
|
1450
|
+
readonly type: "event";
|
|
1451
|
+
readonly name: "PolicyRevoked";
|
|
1452
|
+
readonly inputs: readonly [{
|
|
1453
|
+
readonly name: "id";
|
|
1454
|
+
readonly type: "uint256";
|
|
1455
|
+
readonly indexed: true;
|
|
1456
|
+
readonly internalType: "uint256";
|
|
1457
|
+
}];
|
|
1458
|
+
readonly anonymous: false;
|
|
1459
|
+
}, {
|
|
1460
|
+
readonly type: "event";
|
|
1461
|
+
readonly name: "RecipientSet";
|
|
1462
|
+
readonly inputs: readonly [{
|
|
1463
|
+
readonly name: "id";
|
|
1464
|
+
readonly type: "uint256";
|
|
1465
|
+
readonly indexed: true;
|
|
1466
|
+
readonly internalType: "uint256";
|
|
1467
|
+
}, {
|
|
1468
|
+
readonly name: "recipient";
|
|
1469
|
+
readonly type: "address";
|
|
1470
|
+
readonly indexed: true;
|
|
1471
|
+
readonly internalType: "address";
|
|
1472
|
+
}, {
|
|
1473
|
+
readonly name: "allowed";
|
|
1474
|
+
readonly type: "bool";
|
|
1475
|
+
readonly indexed: false;
|
|
1476
|
+
readonly internalType: "bool";
|
|
1477
|
+
}];
|
|
1478
|
+
readonly anonymous: false;
|
|
1479
|
+
}, {
|
|
1480
|
+
readonly type: "error";
|
|
1481
|
+
readonly name: "BadExpiry";
|
|
1482
|
+
readonly inputs: readonly [];
|
|
1483
|
+
}, {
|
|
1484
|
+
readonly type: "error";
|
|
1485
|
+
readonly name: "BadLimits";
|
|
1486
|
+
readonly inputs: readonly [];
|
|
1487
|
+
}, {
|
|
1488
|
+
readonly type: "error";
|
|
1489
|
+
readonly name: "Expired";
|
|
1490
|
+
readonly inputs: readonly [];
|
|
1491
|
+
}, {
|
|
1492
|
+
readonly type: "error";
|
|
1493
|
+
readonly name: "NotAgent";
|
|
1494
|
+
readonly inputs: readonly [];
|
|
1495
|
+
}, {
|
|
1496
|
+
readonly type: "error";
|
|
1497
|
+
readonly name: "NotOwner";
|
|
1498
|
+
readonly inputs: readonly [];
|
|
1499
|
+
}, {
|
|
1500
|
+
readonly type: "error";
|
|
1501
|
+
readonly name: "OverPerDay";
|
|
1502
|
+
readonly inputs: readonly [];
|
|
1503
|
+
}, {
|
|
1504
|
+
readonly type: "error";
|
|
1505
|
+
readonly name: "OverPerPayment";
|
|
1506
|
+
readonly inputs: readonly [];
|
|
1507
|
+
}, {
|
|
1508
|
+
readonly type: "error";
|
|
1509
|
+
readonly name: "RecipientNotAllowed";
|
|
1510
|
+
readonly inputs: readonly [];
|
|
1511
|
+
}, {
|
|
1512
|
+
readonly type: "error";
|
|
1513
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
1514
|
+
readonly inputs: readonly [];
|
|
1515
|
+
}, {
|
|
1516
|
+
readonly type: "error";
|
|
1517
|
+
readonly name: "Revoked";
|
|
1518
|
+
readonly inputs: readonly [];
|
|
1519
|
+
}, {
|
|
1520
|
+
readonly type: "error";
|
|
1521
|
+
readonly name: "SafeERC20FailedOperation";
|
|
1522
|
+
readonly inputs: readonly [{
|
|
1523
|
+
readonly name: "token";
|
|
1524
|
+
readonly type: "address";
|
|
1525
|
+
readonly internalType: "address";
|
|
1526
|
+
}];
|
|
1527
|
+
}, {
|
|
1528
|
+
readonly type: "error";
|
|
1529
|
+
readonly name: "SelfPayment";
|
|
1530
|
+
readonly inputs: readonly [];
|
|
1531
|
+
}, {
|
|
1532
|
+
readonly type: "error";
|
|
1533
|
+
readonly name: "TooManyRecipients";
|
|
1534
|
+
readonly inputs: readonly [];
|
|
1535
|
+
}, {
|
|
1536
|
+
readonly type: "error";
|
|
1537
|
+
readonly name: "ZeroAddress";
|
|
1538
|
+
readonly inputs: readonly [];
|
|
1539
|
+
}, {
|
|
1540
|
+
readonly type: "error";
|
|
1541
|
+
readonly name: "ZeroAmount";
|
|
1542
|
+
readonly inputs: readonly [];
|
|
1543
|
+
}];
|