@underscore-finance/sdk 0.2.2 → 0.3.2
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/contracts/AddyRegistry.d.ts +59 -0
- package/dist/contracts/AddyRegistry.d.ts.map +1 -1
- package/dist/contracts/AddyRegistry.js +80 -1
- package/dist/contracts/AddyRegistry_v1.d.ts +471 -0
- package/dist/contracts/AddyRegistry_v1.d.ts.map +1 -0
- package/dist/contracts/AddyRegistry_v1.js +592 -0
- package/dist/contracts/AddyRegistry_v2.d.ts +1048 -0
- package/dist/contracts/AddyRegistry_v2.d.ts.map +1 -0
- package/dist/contracts/AddyRegistry_v2.js +1311 -0
- package/dist/contracts/Agent.js +1 -1
- package/dist/contracts/AgentFactory.d.ts +673 -269
- package/dist/contracts/AgentFactory.d.ts.map +1 -1
- package/dist/contracts/AgentFactory.js +742 -254
- package/dist/contracts/AgentFactory_v1.d.ts +1052 -0
- package/dist/contracts/AgentFactory_v1.d.ts.map +1 -0
- package/dist/contracts/AgentFactory_v1.js +1334 -0
- package/dist/contracts/AgentFactory_v2.d.ts +1273 -0
- package/dist/contracts/AgentFactory_v2.d.ts.map +1 -0
- package/dist/contracts/AgentFactory_v2.js +1607 -0
- package/dist/contracts/Agent_v2.d.ts +2707 -0
- package/dist/contracts/Agent_v2.d.ts.map +1 -0
- package/dist/contracts/Agent_v2.js +3456 -0
- package/dist/contracts/ChainlinkFeeds.js +1 -1
- package/dist/contracts/LegoAaveV3.js +1 -1
- package/dist/contracts/LegoAeroClassic.js +1 -1
- package/dist/contracts/LegoAeroSlipstream.js +1 -1
- package/dist/contracts/LegoCompoundV3.js +1 -1
- package/dist/contracts/LegoCurve.js +1 -1
- package/dist/contracts/LegoEuler.js +1 -1
- package/dist/contracts/LegoFluid.js +1 -1
- package/dist/contracts/LegoHelper.js +1 -1
- package/dist/contracts/LegoMoonwell.js +1 -1
- package/dist/contracts/LegoMorpho.js +1 -1
- package/dist/contracts/LegoRegistry.d.ts +83 -0
- package/dist/contracts/LegoRegistry.d.ts.map +1 -1
- package/dist/contracts/LegoRegistry.js +109 -1
- package/dist/contracts/LegoSky.js +1 -1
- package/dist/contracts/LegoUniswapV2.js +1 -1
- package/dist/contracts/LegoUniswapV3.js +1 -1
- package/dist/contracts/OracleRegistry.d.ts +11 -0
- package/dist/contracts/OracleRegistry.d.ts.map +1 -1
- package/dist/contracts/OracleRegistry.js +15 -1
- package/dist/contracts/PriceSheets.d.ts +65 -133
- package/dist/contracts/PriceSheets.d.ts.map +1 -1
- package/dist/contracts/PriceSheets.js +74 -152
- package/dist/contracts/PythFeeds.js +1 -1
- package/dist/contracts/StorkFeeds.js +1 -1
- package/dist/contracts/UserWallet.d.ts +41 -24
- package/dist/contracts/UserWallet.d.ts.map +1 -1
- package/dist/contracts/UserWallet.js +48 -24
- package/dist/contracts/UserWalletConfig.d.ts +384 -0
- package/dist/contracts/UserWalletConfig.d.ts.map +1 -1
- package/dist/contracts/UserWalletConfig.js +500 -1
- package/dist/contracts/UserWalletConfig_v1.d.ts +1398 -0
- package/dist/contracts/UserWalletConfig_v1.d.ts.map +1 -0
- package/dist/contracts/UserWalletConfig_v1.js +1674 -0
- package/dist/contracts/UserWalletConfig_v2.d.ts +1466 -0
- package/dist/contracts/UserWalletConfig_v2.d.ts.map +1 -0
- package/dist/contracts/UserWalletConfig_v2.js +1762 -0
- package/dist/contracts/UserWallet_v1.d.ts +1978 -0
- package/dist/contracts/UserWallet_v1.d.ts.map +1 -0
- package/dist/contracts/UserWallet_v1.js +2579 -0
- package/dist/contracts/UserWallet_v2.d.ts +1956 -0
- package/dist/contracts/UserWallet_v2.d.ts.map +1 -0
- package/dist/contracts/UserWallet_v2.js +2551 -0
- package/dist/contracts/index.d.ts +9 -0
- package/dist/contracts/index.d.ts.map +1 -1
- package/dist/contracts/index.js +9 -0
- package/dist/contracts/sdk.d.ts +18 -0
- package/dist/contracts/sdk.d.ts.map +1 -1
- package/dist/contracts/sdk.js +18 -0
- package/dist/index.d.ts +47 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +57 -0
- package/package.json +1 -1
|
@@ -27,6 +27,11 @@ export const abi = [
|
|
|
27
27
|
name: 'agent',
|
|
28
28
|
type: 'address',
|
|
29
29
|
},
|
|
30
|
+
{
|
|
31
|
+
indexed: false,
|
|
32
|
+
name: 'ambassador',
|
|
33
|
+
type: 'address',
|
|
34
|
+
},
|
|
30
35
|
{
|
|
31
36
|
indexed: false,
|
|
32
37
|
name: 'creator',
|
|
@@ -63,16 +68,26 @@ export const abi = [
|
|
|
63
68
|
inputs: [
|
|
64
69
|
{
|
|
65
70
|
indexed: true,
|
|
66
|
-
name: '
|
|
71
|
+
name: 'prevAddr',
|
|
72
|
+
type: 'address',
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
indexed: true,
|
|
76
|
+
name: 'newAddr',
|
|
67
77
|
type: 'address',
|
|
68
78
|
},
|
|
69
79
|
{
|
|
70
80
|
indexed: false,
|
|
71
|
-
name: '
|
|
81
|
+
name: 'confirmBlock',
|
|
82
|
+
type: 'uint256',
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
indexed: false,
|
|
86
|
+
name: 'addressType',
|
|
72
87
|
type: 'uint256',
|
|
73
88
|
},
|
|
74
89
|
],
|
|
75
|
-
name: '
|
|
90
|
+
name: 'AddressUpdateInitiated',
|
|
76
91
|
type: 'event',
|
|
77
92
|
},
|
|
78
93
|
{
|
|
@@ -80,16 +95,31 @@ export const abi = [
|
|
|
80
95
|
inputs: [
|
|
81
96
|
{
|
|
82
97
|
indexed: true,
|
|
83
|
-
name: '
|
|
98
|
+
name: 'prevAddr',
|
|
99
|
+
type: 'address',
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
indexed: true,
|
|
103
|
+
name: 'newAddr',
|
|
84
104
|
type: 'address',
|
|
85
105
|
},
|
|
86
106
|
{
|
|
87
107
|
indexed: false,
|
|
88
|
-
name: '
|
|
108
|
+
name: 'initiatedBlock',
|
|
109
|
+
type: 'uint256',
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
indexed: false,
|
|
113
|
+
name: 'confirmBlock',
|
|
114
|
+
type: 'uint256',
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
indexed: false,
|
|
118
|
+
name: 'addressType',
|
|
89
119
|
type: 'uint256',
|
|
90
120
|
},
|
|
91
121
|
],
|
|
92
|
-
name: '
|
|
122
|
+
name: 'AddressUpdateConfirmed',
|
|
93
123
|
type: 'event',
|
|
94
124
|
},
|
|
95
125
|
{
|
|
@@ -97,33 +127,38 @@ export const abi = [
|
|
|
97
127
|
inputs: [
|
|
98
128
|
{
|
|
99
129
|
indexed: true,
|
|
100
|
-
name: '
|
|
130
|
+
name: 'cancelledTemplate',
|
|
101
131
|
type: 'address',
|
|
102
132
|
},
|
|
103
133
|
{
|
|
104
134
|
indexed: false,
|
|
105
|
-
name: '
|
|
135
|
+
name: 'initiatedBlock',
|
|
136
|
+
type: 'uint256',
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
indexed: false,
|
|
140
|
+
name: 'confirmBlock',
|
|
141
|
+
type: 'uint256',
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
indexed: false,
|
|
145
|
+
name: 'addressType',
|
|
106
146
|
type: 'uint256',
|
|
107
147
|
},
|
|
108
148
|
],
|
|
109
|
-
name: '
|
|
149
|
+
name: 'AddressUpdateCancelled',
|
|
110
150
|
type: 'event',
|
|
111
151
|
},
|
|
112
152
|
{
|
|
113
153
|
anonymous: false,
|
|
114
154
|
inputs: [
|
|
115
|
-
{
|
|
116
|
-
indexed: true,
|
|
117
|
-
name: 'asset',
|
|
118
|
-
type: 'address',
|
|
119
|
-
},
|
|
120
155
|
{
|
|
121
156
|
indexed: false,
|
|
122
|
-
name: '
|
|
157
|
+
name: 'delayBlocks',
|
|
123
158
|
type: 'uint256',
|
|
124
159
|
},
|
|
125
160
|
],
|
|
126
|
-
name: '
|
|
161
|
+
name: 'AddressChangeDelaySet',
|
|
127
162
|
type: 'event',
|
|
128
163
|
},
|
|
129
164
|
{
|
|
@@ -143,6 +178,18 @@ export const abi = [
|
|
|
143
178
|
name: 'WhitelistSet',
|
|
144
179
|
type: 'event',
|
|
145
180
|
},
|
|
181
|
+
{
|
|
182
|
+
anonymous: false,
|
|
183
|
+
inputs: [
|
|
184
|
+
{
|
|
185
|
+
indexed: false,
|
|
186
|
+
name: 'shouldEnforce',
|
|
187
|
+
type: 'bool',
|
|
188
|
+
},
|
|
189
|
+
],
|
|
190
|
+
name: 'ShouldEnforceWhitelistSet',
|
|
191
|
+
type: 'event',
|
|
192
|
+
},
|
|
146
193
|
{
|
|
147
194
|
anonymous: false,
|
|
148
195
|
inputs: [
|
|
@@ -170,13 +217,18 @@ export const abi = [
|
|
|
170
217
|
{
|
|
171
218
|
anonymous: false,
|
|
172
219
|
inputs: [
|
|
220
|
+
{
|
|
221
|
+
indexed: true,
|
|
222
|
+
name: 'agentAddr',
|
|
223
|
+
type: 'address',
|
|
224
|
+
},
|
|
173
225
|
{
|
|
174
226
|
indexed: false,
|
|
175
|
-
name: '
|
|
227
|
+
name: 'shouldBlacklist',
|
|
176
228
|
type: 'bool',
|
|
177
229
|
},
|
|
178
230
|
],
|
|
179
|
-
name: '
|
|
231
|
+
name: 'AgentBlacklistSet',
|
|
180
232
|
type: 'event',
|
|
181
233
|
},
|
|
182
234
|
{
|
|
@@ -184,16 +236,16 @@ export const abi = [
|
|
|
184
236
|
inputs: [
|
|
185
237
|
{
|
|
186
238
|
indexed: true,
|
|
187
|
-
name: '
|
|
239
|
+
name: 'addr',
|
|
188
240
|
type: 'address',
|
|
189
241
|
},
|
|
190
242
|
{
|
|
191
243
|
indexed: false,
|
|
192
|
-
name: '
|
|
244
|
+
name: 'canCancel',
|
|
193
245
|
type: 'bool',
|
|
194
246
|
},
|
|
195
247
|
],
|
|
196
|
-
name: '
|
|
248
|
+
name: 'CanCriticalCancelSet',
|
|
197
249
|
type: 'event',
|
|
198
250
|
},
|
|
199
251
|
{
|
|
@@ -204,30 +256,57 @@ export const abi = [
|
|
|
204
256
|
name: 'asset',
|
|
205
257
|
type: 'address',
|
|
206
258
|
},
|
|
259
|
+
{
|
|
260
|
+
indexed: false,
|
|
261
|
+
name: 'amount',
|
|
262
|
+
type: 'uint256',
|
|
263
|
+
},
|
|
264
|
+
],
|
|
265
|
+
name: 'TrialFundsDataSet',
|
|
266
|
+
type: 'event',
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
anonymous: false,
|
|
270
|
+
inputs: [
|
|
271
|
+
{
|
|
272
|
+
indexed: true,
|
|
273
|
+
name: 'user',
|
|
274
|
+
type: 'address',
|
|
275
|
+
},
|
|
207
276
|
{
|
|
208
277
|
indexed: true,
|
|
209
|
-
name: '
|
|
278
|
+
name: 'ambassador',
|
|
279
|
+
type: 'address',
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
indexed: true,
|
|
283
|
+
name: 'asset',
|
|
210
284
|
type: 'address',
|
|
211
285
|
},
|
|
212
286
|
{
|
|
213
287
|
indexed: false,
|
|
214
|
-
name: '
|
|
288
|
+
name: 'amount',
|
|
289
|
+
type: 'uint256',
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
indexed: false,
|
|
293
|
+
name: 'ratio',
|
|
215
294
|
type: 'uint256',
|
|
216
295
|
},
|
|
217
296
|
],
|
|
218
|
-
name: '
|
|
297
|
+
name: 'AmbassadorYieldBonusPaid',
|
|
219
298
|
type: 'event',
|
|
220
299
|
},
|
|
221
300
|
{
|
|
222
301
|
anonymous: false,
|
|
223
302
|
inputs: [
|
|
224
303
|
{
|
|
225
|
-
indexed:
|
|
226
|
-
name: '
|
|
227
|
-
type: '
|
|
304
|
+
indexed: false,
|
|
305
|
+
name: 'ratio',
|
|
306
|
+
type: 'uint256',
|
|
228
307
|
},
|
|
229
308
|
],
|
|
230
|
-
name: '
|
|
309
|
+
name: 'AmbassadorBonusRatioSet',
|
|
231
310
|
type: 'event',
|
|
232
311
|
},
|
|
233
312
|
{
|
|
@@ -235,16 +314,21 @@ export const abi = [
|
|
|
235
314
|
inputs: [
|
|
236
315
|
{
|
|
237
316
|
indexed: true,
|
|
238
|
-
name: '
|
|
317
|
+
name: 'asset',
|
|
318
|
+
type: 'address',
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
indexed: true,
|
|
322
|
+
name: 'recipient',
|
|
239
323
|
type: 'address',
|
|
240
324
|
},
|
|
241
325
|
{
|
|
242
326
|
indexed: false,
|
|
243
|
-
name: '
|
|
244
|
-
type: '
|
|
327
|
+
name: 'balance',
|
|
328
|
+
type: 'uint256',
|
|
245
329
|
},
|
|
246
330
|
],
|
|
247
|
-
name: '
|
|
331
|
+
name: 'AgentFactoryFundsRecovered',
|
|
248
332
|
type: 'event',
|
|
249
333
|
},
|
|
250
334
|
{
|
|
@@ -484,24 +568,17 @@ export const abi = [
|
|
|
484
568
|
type: 'function',
|
|
485
569
|
},
|
|
486
570
|
{
|
|
487
|
-
inputs: [
|
|
488
|
-
name: 'currentUserWalletTemplate',
|
|
489
|
-
outputs: [
|
|
571
|
+
inputs: [
|
|
490
572
|
{
|
|
491
|
-
name: '',
|
|
573
|
+
name: '_addr',
|
|
492
574
|
type: 'address',
|
|
493
575
|
},
|
|
494
576
|
],
|
|
495
|
-
|
|
496
|
-
type: 'function',
|
|
497
|
-
},
|
|
498
|
-
{
|
|
499
|
-
inputs: [],
|
|
500
|
-
name: 'currentUserWalletConfigTemplate',
|
|
577
|
+
name: 'isUserWallet',
|
|
501
578
|
outputs: [
|
|
502
579
|
{
|
|
503
580
|
name: '',
|
|
504
|
-
type: '
|
|
581
|
+
type: 'bool',
|
|
505
582
|
},
|
|
506
583
|
],
|
|
507
584
|
stateMutability: 'view',
|
|
@@ -509,14 +586,14 @@ export const abi = [
|
|
|
509
586
|
},
|
|
510
587
|
{
|
|
511
588
|
inputs: [],
|
|
512
|
-
name: '
|
|
589
|
+
name: 'createUserWallet',
|
|
513
590
|
outputs: [
|
|
514
591
|
{
|
|
515
592
|
name: '',
|
|
516
593
|
type: 'address',
|
|
517
594
|
},
|
|
518
595
|
],
|
|
519
|
-
stateMutability: '
|
|
596
|
+
stateMutability: 'nonpayable',
|
|
520
597
|
type: 'function',
|
|
521
598
|
},
|
|
522
599
|
{
|
|
@@ -525,23 +602,7 @@ export const abi = [
|
|
|
525
602
|
name: '_owner',
|
|
526
603
|
type: 'address',
|
|
527
604
|
},
|
|
528
|
-
{
|
|
529
|
-
name: '_agent',
|
|
530
|
-
type: 'address',
|
|
531
|
-
},
|
|
532
|
-
],
|
|
533
|
-
name: 'isValidUserWalletSetup',
|
|
534
|
-
outputs: [
|
|
535
|
-
{
|
|
536
|
-
name: '',
|
|
537
|
-
type: 'bool',
|
|
538
|
-
},
|
|
539
605
|
],
|
|
540
|
-
stateMutability: 'view',
|
|
541
|
-
type: 'function',
|
|
542
|
-
},
|
|
543
|
-
{
|
|
544
|
-
inputs: [],
|
|
545
606
|
name: 'createUserWallet',
|
|
546
607
|
outputs: [
|
|
547
608
|
{
|
|
@@ -558,6 +619,10 @@ export const abi = [
|
|
|
558
619
|
name: '_owner',
|
|
559
620
|
type: 'address',
|
|
560
621
|
},
|
|
622
|
+
{
|
|
623
|
+
name: '_ambassador',
|
|
624
|
+
type: 'address',
|
|
625
|
+
},
|
|
561
626
|
],
|
|
562
627
|
name: 'createUserWallet',
|
|
563
628
|
outputs: [
|
|
@@ -576,9 +641,13 @@ export const abi = [
|
|
|
576
641
|
type: 'address',
|
|
577
642
|
},
|
|
578
643
|
{
|
|
579
|
-
name: '
|
|
644
|
+
name: '_ambassador',
|
|
580
645
|
type: 'address',
|
|
581
646
|
},
|
|
647
|
+
{
|
|
648
|
+
name: '_shouldUseTrialFunds',
|
|
649
|
+
type: 'bool',
|
|
650
|
+
},
|
|
582
651
|
],
|
|
583
652
|
name: 'createUserWallet',
|
|
584
653
|
outputs: [
|
|
@@ -593,11 +662,11 @@ export const abi = [
|
|
|
593
662
|
{
|
|
594
663
|
inputs: [
|
|
595
664
|
{
|
|
596
|
-
name: '
|
|
665
|
+
name: '_addr',
|
|
597
666
|
type: 'address',
|
|
598
667
|
},
|
|
599
668
|
],
|
|
600
|
-
name: '
|
|
669
|
+
name: 'isAgent',
|
|
601
670
|
outputs: [
|
|
602
671
|
{
|
|
603
672
|
name: '',
|
|
@@ -608,17 +677,12 @@ export const abi = [
|
|
|
608
677
|
type: 'function',
|
|
609
678
|
},
|
|
610
679
|
{
|
|
611
|
-
inputs: [
|
|
612
|
-
|
|
613
|
-
name: '_addr',
|
|
614
|
-
type: 'address',
|
|
615
|
-
},
|
|
616
|
-
],
|
|
617
|
-
name: 'setUserWalletTemplate',
|
|
680
|
+
inputs: [],
|
|
681
|
+
name: 'createAgent',
|
|
618
682
|
outputs: [
|
|
619
683
|
{
|
|
620
684
|
name: '',
|
|
621
|
-
type: '
|
|
685
|
+
type: 'address',
|
|
622
686
|
},
|
|
623
687
|
],
|
|
624
688
|
stateMutability: 'nonpayable',
|
|
@@ -627,28 +691,28 @@ export const abi = [
|
|
|
627
691
|
{
|
|
628
692
|
inputs: [
|
|
629
693
|
{
|
|
630
|
-
name: '
|
|
694
|
+
name: '_owner',
|
|
631
695
|
type: 'address',
|
|
632
696
|
},
|
|
633
697
|
],
|
|
634
|
-
name: '
|
|
698
|
+
name: 'createAgent',
|
|
635
699
|
outputs: [
|
|
636
700
|
{
|
|
637
701
|
name: '',
|
|
638
|
-
type: '
|
|
702
|
+
type: 'address',
|
|
639
703
|
},
|
|
640
704
|
],
|
|
641
|
-
stateMutability: '
|
|
705
|
+
stateMutability: 'nonpayable',
|
|
642
706
|
type: 'function',
|
|
643
707
|
},
|
|
644
708
|
{
|
|
645
709
|
inputs: [
|
|
646
710
|
{
|
|
647
|
-
name: '
|
|
711
|
+
name: '_newAddr',
|
|
648
712
|
type: 'address',
|
|
649
713
|
},
|
|
650
714
|
],
|
|
651
|
-
name: '
|
|
715
|
+
name: 'initiateUserWalletTemplateUpdate',
|
|
652
716
|
outputs: [
|
|
653
717
|
{
|
|
654
718
|
name: '',
|
|
@@ -659,59 +723,96 @@ export const abi = [
|
|
|
659
723
|
type: 'function',
|
|
660
724
|
},
|
|
661
725
|
{
|
|
662
|
-
inputs: [
|
|
663
|
-
|
|
664
|
-
name: '_owner',
|
|
665
|
-
type: 'address',
|
|
666
|
-
},
|
|
667
|
-
],
|
|
668
|
-
name: 'isValidAgentSetup',
|
|
726
|
+
inputs: [],
|
|
727
|
+
name: 'confirmUserWalletTemplateUpdate',
|
|
669
728
|
outputs: [
|
|
670
729
|
{
|
|
671
730
|
name: '',
|
|
672
731
|
type: 'bool',
|
|
673
732
|
},
|
|
674
733
|
],
|
|
675
|
-
stateMutability: '
|
|
734
|
+
stateMutability: 'nonpayable',
|
|
676
735
|
type: 'function',
|
|
677
736
|
},
|
|
678
737
|
{
|
|
679
738
|
inputs: [],
|
|
680
|
-
name: '
|
|
739
|
+
name: 'cancelUserWalletTemplateUpdate',
|
|
681
740
|
outputs: [
|
|
682
741
|
{
|
|
683
742
|
name: '',
|
|
684
|
-
type: '
|
|
743
|
+
type: 'bool',
|
|
685
744
|
},
|
|
686
745
|
],
|
|
687
746
|
stateMutability: 'nonpayable',
|
|
688
747
|
type: 'function',
|
|
689
748
|
},
|
|
690
749
|
{
|
|
691
|
-
inputs: [
|
|
750
|
+
inputs: [],
|
|
751
|
+
name: 'getUserWalletTemplateAddr',
|
|
752
|
+
outputs: [
|
|
692
753
|
{
|
|
693
|
-
name: '
|
|
754
|
+
name: '',
|
|
694
755
|
type: 'address',
|
|
695
756
|
},
|
|
696
757
|
],
|
|
697
|
-
|
|
758
|
+
stateMutability: 'view',
|
|
759
|
+
type: 'function',
|
|
760
|
+
},
|
|
761
|
+
{
|
|
762
|
+
inputs: [],
|
|
763
|
+
name: 'getUserWalletTemplateInfo',
|
|
698
764
|
outputs: [
|
|
699
765
|
{
|
|
766
|
+
components: [
|
|
767
|
+
{
|
|
768
|
+
name: 'addr',
|
|
769
|
+
type: 'address',
|
|
770
|
+
},
|
|
771
|
+
{
|
|
772
|
+
name: 'version',
|
|
773
|
+
type: 'uint256',
|
|
774
|
+
},
|
|
775
|
+
{
|
|
776
|
+
name: 'lastModified',
|
|
777
|
+
type: 'uint256',
|
|
778
|
+
},
|
|
779
|
+
],
|
|
700
780
|
name: '',
|
|
701
|
-
type: '
|
|
781
|
+
type: 'tuple',
|
|
702
782
|
},
|
|
703
783
|
],
|
|
704
|
-
stateMutability: '
|
|
784
|
+
stateMutability: 'view',
|
|
705
785
|
type: 'function',
|
|
706
786
|
},
|
|
707
787
|
{
|
|
708
|
-
inputs: [
|
|
788
|
+
inputs: [],
|
|
789
|
+
name: 'getPendingUserWalletTemplateUpdate',
|
|
790
|
+
outputs: [
|
|
709
791
|
{
|
|
710
|
-
|
|
711
|
-
|
|
792
|
+
components: [
|
|
793
|
+
{
|
|
794
|
+
name: 'newAddr',
|
|
795
|
+
type: 'address',
|
|
796
|
+
},
|
|
797
|
+
{
|
|
798
|
+
name: 'initiatedBlock',
|
|
799
|
+
type: 'uint256',
|
|
800
|
+
},
|
|
801
|
+
{
|
|
802
|
+
name: 'confirmBlock',
|
|
803
|
+
type: 'uint256',
|
|
804
|
+
},
|
|
805
|
+
],
|
|
806
|
+
name: '',
|
|
807
|
+
type: 'tuple',
|
|
712
808
|
},
|
|
713
809
|
],
|
|
714
|
-
|
|
810
|
+
stateMutability: 'view',
|
|
811
|
+
type: 'function',
|
|
812
|
+
},
|
|
813
|
+
{
|
|
814
|
+
inputs: [],
|
|
815
|
+
name: 'hasPendingUserWalletTemplateUpdate',
|
|
715
816
|
outputs: [
|
|
716
817
|
{
|
|
717
818
|
name: '',
|
|
@@ -724,11 +825,11 @@ export const abi = [
|
|
|
724
825
|
{
|
|
725
826
|
inputs: [
|
|
726
827
|
{
|
|
727
|
-
name: '
|
|
828
|
+
name: '_newAddr',
|
|
728
829
|
type: 'address',
|
|
729
830
|
},
|
|
730
831
|
],
|
|
731
|
-
name: '
|
|
832
|
+
name: 'initiateUserWalletConfigTemplateUpdate',
|
|
732
833
|
outputs: [
|
|
733
834
|
{
|
|
734
835
|
name: '',
|
|
@@ -739,55 +840,113 @@ export const abi = [
|
|
|
739
840
|
type: 'function',
|
|
740
841
|
},
|
|
741
842
|
{
|
|
742
|
-
inputs: [
|
|
743
|
-
|
|
744
|
-
name: '_asset',
|
|
745
|
-
type: 'address',
|
|
746
|
-
},
|
|
747
|
-
{
|
|
748
|
-
name: '_amount',
|
|
749
|
-
type: 'uint256',
|
|
750
|
-
},
|
|
751
|
-
],
|
|
752
|
-
name: 'isValidTrialFundsData',
|
|
843
|
+
inputs: [],
|
|
844
|
+
name: 'confirmUserWalletConfigTemplateUpdate',
|
|
753
845
|
outputs: [
|
|
754
846
|
{
|
|
755
847
|
name: '',
|
|
756
848
|
type: 'bool',
|
|
757
849
|
},
|
|
758
850
|
],
|
|
759
|
-
stateMutability: '
|
|
851
|
+
stateMutability: 'nonpayable',
|
|
760
852
|
type: 'function',
|
|
761
853
|
},
|
|
762
854
|
{
|
|
763
|
-
inputs: [
|
|
855
|
+
inputs: [],
|
|
856
|
+
name: 'cancelUserWalletConfigTemplateUpdate',
|
|
857
|
+
outputs: [
|
|
764
858
|
{
|
|
765
|
-
name: '
|
|
859
|
+
name: '',
|
|
860
|
+
type: 'bool',
|
|
861
|
+
},
|
|
862
|
+
],
|
|
863
|
+
stateMutability: 'nonpayable',
|
|
864
|
+
type: 'function',
|
|
865
|
+
},
|
|
866
|
+
{
|
|
867
|
+
inputs: [],
|
|
868
|
+
name: 'getUserWalletConfigTemplateAddr',
|
|
869
|
+
outputs: [
|
|
870
|
+
{
|
|
871
|
+
name: '',
|
|
766
872
|
type: 'address',
|
|
767
873
|
},
|
|
874
|
+
],
|
|
875
|
+
stateMutability: 'view',
|
|
876
|
+
type: 'function',
|
|
877
|
+
},
|
|
878
|
+
{
|
|
879
|
+
inputs: [],
|
|
880
|
+
name: 'getUserWalletConfigTemplateInfo',
|
|
881
|
+
outputs: [
|
|
768
882
|
{
|
|
769
|
-
|
|
770
|
-
|
|
883
|
+
components: [
|
|
884
|
+
{
|
|
885
|
+
name: 'addr',
|
|
886
|
+
type: 'address',
|
|
887
|
+
},
|
|
888
|
+
{
|
|
889
|
+
name: 'version',
|
|
890
|
+
type: 'uint256',
|
|
891
|
+
},
|
|
892
|
+
{
|
|
893
|
+
name: 'lastModified',
|
|
894
|
+
type: 'uint256',
|
|
895
|
+
},
|
|
896
|
+
],
|
|
897
|
+
name: '',
|
|
898
|
+
type: 'tuple',
|
|
771
899
|
},
|
|
772
900
|
],
|
|
773
|
-
|
|
901
|
+
stateMutability: 'view',
|
|
902
|
+
type: 'function',
|
|
903
|
+
},
|
|
904
|
+
{
|
|
905
|
+
inputs: [],
|
|
906
|
+
name: 'getPendingUserWalletConfigTemplateUpdate',
|
|
907
|
+
outputs: [
|
|
908
|
+
{
|
|
909
|
+
components: [
|
|
910
|
+
{
|
|
911
|
+
name: 'newAddr',
|
|
912
|
+
type: 'address',
|
|
913
|
+
},
|
|
914
|
+
{
|
|
915
|
+
name: 'initiatedBlock',
|
|
916
|
+
type: 'uint256',
|
|
917
|
+
},
|
|
918
|
+
{
|
|
919
|
+
name: 'confirmBlock',
|
|
920
|
+
type: 'uint256',
|
|
921
|
+
},
|
|
922
|
+
],
|
|
923
|
+
name: '',
|
|
924
|
+
type: 'tuple',
|
|
925
|
+
},
|
|
926
|
+
],
|
|
927
|
+
stateMutability: 'view',
|
|
928
|
+
type: 'function',
|
|
929
|
+
},
|
|
930
|
+
{
|
|
931
|
+
inputs: [],
|
|
932
|
+
name: 'hasPendingUserWalletConfigTemplateUpdate',
|
|
774
933
|
outputs: [
|
|
775
934
|
{
|
|
776
935
|
name: '',
|
|
777
936
|
type: 'bool',
|
|
778
937
|
},
|
|
779
938
|
],
|
|
780
|
-
stateMutability: '
|
|
939
|
+
stateMutability: 'view',
|
|
781
940
|
type: 'function',
|
|
782
941
|
},
|
|
783
942
|
{
|
|
784
943
|
inputs: [
|
|
785
944
|
{
|
|
786
|
-
name: '
|
|
945
|
+
name: '_newAddr',
|
|
787
946
|
type: 'address',
|
|
788
947
|
},
|
|
789
948
|
],
|
|
790
|
-
name: '
|
|
949
|
+
name: 'initiateAgentTemplateUpdate',
|
|
791
950
|
outputs: [
|
|
792
951
|
{
|
|
793
952
|
name: '',
|
|
@@ -798,87 +957,114 @@ export const abi = [
|
|
|
798
957
|
type: 'function',
|
|
799
958
|
},
|
|
800
959
|
{
|
|
801
|
-
inputs: [
|
|
960
|
+
inputs: [],
|
|
961
|
+
name: 'confirmAgentTemplateUpdate',
|
|
962
|
+
outputs: [
|
|
963
|
+
{
|
|
964
|
+
name: '',
|
|
965
|
+
type: 'bool',
|
|
966
|
+
},
|
|
967
|
+
],
|
|
968
|
+
stateMutability: 'nonpayable',
|
|
969
|
+
type: 'function',
|
|
970
|
+
},
|
|
971
|
+
{
|
|
972
|
+
inputs: [],
|
|
973
|
+
name: 'cancelAgentTemplateUpdate',
|
|
974
|
+
outputs: [
|
|
975
|
+
{
|
|
976
|
+
name: '',
|
|
977
|
+
type: 'bool',
|
|
978
|
+
},
|
|
979
|
+
],
|
|
980
|
+
stateMutability: 'nonpayable',
|
|
981
|
+
type: 'function',
|
|
982
|
+
},
|
|
983
|
+
{
|
|
984
|
+
inputs: [],
|
|
985
|
+
name: 'getAgentTemplateAddr',
|
|
986
|
+
outputs: [
|
|
802
987
|
{
|
|
803
|
-
name: '
|
|
988
|
+
name: '',
|
|
804
989
|
type: 'address',
|
|
805
990
|
},
|
|
991
|
+
],
|
|
992
|
+
stateMutability: 'view',
|
|
993
|
+
type: 'function',
|
|
994
|
+
},
|
|
995
|
+
{
|
|
996
|
+
inputs: [],
|
|
997
|
+
name: 'getAgentTemplateInfo',
|
|
998
|
+
outputs: [
|
|
806
999
|
{
|
|
807
1000
|
components: [
|
|
808
1001
|
{
|
|
809
|
-
name: '
|
|
1002
|
+
name: 'addr',
|
|
1003
|
+
type: 'address',
|
|
1004
|
+
},
|
|
1005
|
+
{
|
|
1006
|
+
name: 'version',
|
|
810
1007
|
type: 'uint256',
|
|
811
1008
|
},
|
|
812
1009
|
{
|
|
813
|
-
name: '
|
|
814
|
-
type: '
|
|
1010
|
+
name: 'lastModified',
|
|
1011
|
+
type: 'uint256',
|
|
815
1012
|
},
|
|
816
1013
|
],
|
|
817
|
-
name: '_opportunities',
|
|
818
|
-
type: 'tuple[]',
|
|
819
|
-
},
|
|
820
|
-
],
|
|
821
|
-
name: 'recoverTrialFunds',
|
|
822
|
-
outputs: [
|
|
823
|
-
{
|
|
824
1014
|
name: '',
|
|
825
|
-
type: '
|
|
1015
|
+
type: 'tuple',
|
|
826
1016
|
},
|
|
827
1017
|
],
|
|
828
|
-
stateMutability: '
|
|
1018
|
+
stateMutability: 'view',
|
|
829
1019
|
type: 'function',
|
|
830
1020
|
},
|
|
831
1021
|
{
|
|
832
|
-
inputs: [
|
|
1022
|
+
inputs: [],
|
|
1023
|
+
name: 'getPendingAgentTemplateUpdate',
|
|
1024
|
+
outputs: [
|
|
833
1025
|
{
|
|
834
1026
|
components: [
|
|
835
1027
|
{
|
|
836
|
-
name: '
|
|
1028
|
+
name: 'newAddr',
|
|
837
1029
|
type: 'address',
|
|
838
1030
|
},
|
|
839
1031
|
{
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
name: 'vaultToken',
|
|
847
|
-
type: 'address',
|
|
848
|
-
},
|
|
849
|
-
],
|
|
850
|
-
name: 'opportunities',
|
|
851
|
-
type: 'tuple[]',
|
|
1032
|
+
name: 'initiatedBlock',
|
|
1033
|
+
type: 'uint256',
|
|
1034
|
+
},
|
|
1035
|
+
{
|
|
1036
|
+
name: 'confirmBlock',
|
|
1037
|
+
type: 'uint256',
|
|
852
1038
|
},
|
|
853
1039
|
],
|
|
854
|
-
name: '
|
|
855
|
-
type: 'tuple
|
|
1040
|
+
name: '',
|
|
1041
|
+
type: 'tuple',
|
|
856
1042
|
},
|
|
857
1043
|
],
|
|
858
|
-
|
|
1044
|
+
stateMutability: 'view',
|
|
1045
|
+
type: 'function',
|
|
1046
|
+
},
|
|
1047
|
+
{
|
|
1048
|
+
inputs: [],
|
|
1049
|
+
name: 'hasPendingAgentTemplateUpdate',
|
|
859
1050
|
outputs: [
|
|
860
1051
|
{
|
|
861
1052
|
name: '',
|
|
862
1053
|
type: 'bool',
|
|
863
1054
|
},
|
|
864
1055
|
],
|
|
865
|
-
stateMutability: '
|
|
1056
|
+
stateMutability: 'view',
|
|
866
1057
|
type: 'function',
|
|
867
1058
|
},
|
|
868
1059
|
{
|
|
869
1060
|
inputs: [
|
|
870
1061
|
{
|
|
871
|
-
name: '
|
|
872
|
-
type: '
|
|
873
|
-
},
|
|
874
|
-
],
|
|
875
|
-
name: 'setRecoveryCaller',
|
|
876
|
-
outputs: [
|
|
877
|
-
{
|
|
878
|
-
name: '',
|
|
879
|
-
type: 'bool',
|
|
1062
|
+
name: '_numBlocks',
|
|
1063
|
+
type: 'uint256',
|
|
880
1064
|
},
|
|
881
1065
|
],
|
|
1066
|
+
name: 'setAddressChangeDelay',
|
|
1067
|
+
outputs: [],
|
|
882
1068
|
stateMutability: 'nonpayable',
|
|
883
1069
|
type: 'function',
|
|
884
1070
|
},
|
|
@@ -1002,22 +1188,18 @@ export const abi = [
|
|
|
1002
1188
|
{
|
|
1003
1189
|
inputs: [
|
|
1004
1190
|
{
|
|
1005
|
-
name: '
|
|
1006
|
-
type: 'address',
|
|
1007
|
-
},
|
|
1008
|
-
{
|
|
1009
|
-
name: '_recipient',
|
|
1191
|
+
name: '_addr',
|
|
1010
1192
|
type: 'address',
|
|
1011
1193
|
},
|
|
1012
1194
|
],
|
|
1013
|
-
name: '
|
|
1195
|
+
name: 'canCancelCriticalAction',
|
|
1014
1196
|
outputs: [
|
|
1015
1197
|
{
|
|
1016
1198
|
name: '',
|
|
1017
1199
|
type: 'bool',
|
|
1018
1200
|
},
|
|
1019
1201
|
],
|
|
1020
|
-
stateMutability: '
|
|
1202
|
+
stateMutability: 'view',
|
|
1021
1203
|
type: 'function',
|
|
1022
1204
|
},
|
|
1023
1205
|
{
|
|
@@ -1026,29 +1208,33 @@ export const abi = [
|
|
|
1026
1208
|
name: '_addr',
|
|
1027
1209
|
type: 'address',
|
|
1028
1210
|
},
|
|
1211
|
+
{
|
|
1212
|
+
name: '_canCancel',
|
|
1213
|
+
type: 'bool',
|
|
1214
|
+
},
|
|
1029
1215
|
],
|
|
1030
|
-
name: '
|
|
1216
|
+
name: 'setCanCriticalCancel',
|
|
1031
1217
|
outputs: [
|
|
1032
1218
|
{
|
|
1033
1219
|
name: '',
|
|
1034
1220
|
type: 'bool',
|
|
1035
1221
|
},
|
|
1036
1222
|
],
|
|
1037
|
-
stateMutability: '
|
|
1223
|
+
stateMutability: 'nonpayable',
|
|
1038
1224
|
type: 'function',
|
|
1039
1225
|
},
|
|
1040
1226
|
{
|
|
1041
1227
|
inputs: [
|
|
1042
1228
|
{
|
|
1043
|
-
name: '
|
|
1229
|
+
name: '_asset',
|
|
1044
1230
|
type: 'address',
|
|
1045
1231
|
},
|
|
1046
1232
|
{
|
|
1047
|
-
name: '
|
|
1048
|
-
type: '
|
|
1233
|
+
name: '_amount',
|
|
1234
|
+
type: 'uint256',
|
|
1049
1235
|
},
|
|
1050
1236
|
],
|
|
1051
|
-
name: '
|
|
1237
|
+
name: 'setTrialFundsData',
|
|
1052
1238
|
outputs: [
|
|
1053
1239
|
{
|
|
1054
1240
|
name: '',
|
|
@@ -1061,40 +1247,143 @@ export const abi = [
|
|
|
1061
1247
|
{
|
|
1062
1248
|
inputs: [
|
|
1063
1249
|
{
|
|
1064
|
-
name: '
|
|
1250
|
+
name: '_wallets',
|
|
1251
|
+
type: 'address[]',
|
|
1252
|
+
},
|
|
1253
|
+
],
|
|
1254
|
+
name: 'clawBackTrialFunds',
|
|
1255
|
+
outputs: [
|
|
1256
|
+
{
|
|
1257
|
+
name: '',
|
|
1065
1258
|
type: 'bool',
|
|
1066
1259
|
},
|
|
1067
1260
|
],
|
|
1068
|
-
name: 'activate',
|
|
1069
|
-
outputs: [],
|
|
1070
1261
|
stateMutability: 'nonpayable',
|
|
1071
1262
|
type: 'function',
|
|
1072
1263
|
},
|
|
1073
1264
|
{
|
|
1074
|
-
inputs: [
|
|
1075
|
-
name: 'trialFundsData',
|
|
1076
|
-
outputs: [
|
|
1265
|
+
inputs: [
|
|
1077
1266
|
{
|
|
1078
1267
|
components: [
|
|
1079
1268
|
{
|
|
1080
|
-
name: '
|
|
1269
|
+
name: 'wallet',
|
|
1081
1270
|
type: 'address',
|
|
1082
1271
|
},
|
|
1083
1272
|
{
|
|
1084
|
-
|
|
1085
|
-
|
|
1273
|
+
components: [
|
|
1274
|
+
{
|
|
1275
|
+
name: 'legoId',
|
|
1276
|
+
type: 'uint256',
|
|
1277
|
+
},
|
|
1278
|
+
{
|
|
1279
|
+
name: 'vaultToken',
|
|
1280
|
+
type: 'address',
|
|
1281
|
+
},
|
|
1282
|
+
],
|
|
1283
|
+
name: 'opportunities',
|
|
1284
|
+
type: 'tuple[]',
|
|
1086
1285
|
},
|
|
1087
1286
|
],
|
|
1287
|
+
name: '_recoveries',
|
|
1288
|
+
type: 'tuple[]',
|
|
1289
|
+
},
|
|
1290
|
+
],
|
|
1291
|
+
name: 'clawBackTrialFundsLegacy',
|
|
1292
|
+
outputs: [
|
|
1293
|
+
{
|
|
1088
1294
|
name: '',
|
|
1089
|
-
type: '
|
|
1295
|
+
type: 'bool',
|
|
1090
1296
|
},
|
|
1091
1297
|
],
|
|
1092
|
-
stateMutability: '
|
|
1298
|
+
stateMutability: 'nonpayable',
|
|
1299
|
+
type: 'function',
|
|
1300
|
+
},
|
|
1301
|
+
{
|
|
1302
|
+
inputs: [
|
|
1303
|
+
{
|
|
1304
|
+
name: '_ambassador',
|
|
1305
|
+
type: 'address',
|
|
1306
|
+
},
|
|
1307
|
+
{
|
|
1308
|
+
name: '_asset',
|
|
1309
|
+
type: 'address',
|
|
1310
|
+
},
|
|
1311
|
+
{
|
|
1312
|
+
name: '_amount',
|
|
1313
|
+
type: 'uint256',
|
|
1314
|
+
},
|
|
1315
|
+
],
|
|
1316
|
+
name: 'payAmbassadorYieldBonus',
|
|
1317
|
+
outputs: [
|
|
1318
|
+
{
|
|
1319
|
+
name: '',
|
|
1320
|
+
type: 'bool',
|
|
1321
|
+
},
|
|
1322
|
+
],
|
|
1323
|
+
stateMutability: 'nonpayable',
|
|
1324
|
+
type: 'function',
|
|
1325
|
+
},
|
|
1326
|
+
{
|
|
1327
|
+
inputs: [
|
|
1328
|
+
{
|
|
1329
|
+
name: '_bonusRatio',
|
|
1330
|
+
type: 'uint256',
|
|
1331
|
+
},
|
|
1332
|
+
],
|
|
1333
|
+
name: 'setAmbassadorBonusRatio',
|
|
1334
|
+
outputs: [
|
|
1335
|
+
{
|
|
1336
|
+
name: '',
|
|
1337
|
+
type: 'bool',
|
|
1338
|
+
},
|
|
1339
|
+
],
|
|
1340
|
+
stateMutability: 'nonpayable',
|
|
1341
|
+
type: 'function',
|
|
1342
|
+
},
|
|
1343
|
+
{
|
|
1344
|
+
inputs: [
|
|
1345
|
+
{
|
|
1346
|
+
name: '_newAddr',
|
|
1347
|
+
type: 'address',
|
|
1348
|
+
},
|
|
1349
|
+
],
|
|
1350
|
+
name: 'initiateDefaultAgentUpdate',
|
|
1351
|
+
outputs: [
|
|
1352
|
+
{
|
|
1353
|
+
name: '',
|
|
1354
|
+
type: 'bool',
|
|
1355
|
+
},
|
|
1356
|
+
],
|
|
1357
|
+
stateMutability: 'nonpayable',
|
|
1093
1358
|
type: 'function',
|
|
1094
1359
|
},
|
|
1095
1360
|
{
|
|
1096
1361
|
inputs: [],
|
|
1097
|
-
name: '
|
|
1362
|
+
name: 'confirmDefaultAgentUpdate',
|
|
1363
|
+
outputs: [
|
|
1364
|
+
{
|
|
1365
|
+
name: '',
|
|
1366
|
+
type: 'bool',
|
|
1367
|
+
},
|
|
1368
|
+
],
|
|
1369
|
+
stateMutability: 'nonpayable',
|
|
1370
|
+
type: 'function',
|
|
1371
|
+
},
|
|
1372
|
+
{
|
|
1373
|
+
inputs: [],
|
|
1374
|
+
name: 'cancelDefaultAgentUpdate',
|
|
1375
|
+
outputs: [
|
|
1376
|
+
{
|
|
1377
|
+
name: '',
|
|
1378
|
+
type: 'bool',
|
|
1379
|
+
},
|
|
1380
|
+
],
|
|
1381
|
+
stateMutability: 'nonpayable',
|
|
1382
|
+
type: 'function',
|
|
1383
|
+
},
|
|
1384
|
+
{
|
|
1385
|
+
inputs: [],
|
|
1386
|
+
name: 'getDefaultAgentAddr',
|
|
1098
1387
|
outputs: [
|
|
1099
1388
|
{
|
|
1100
1389
|
name: '',
|
|
@@ -1106,7 +1395,7 @@ export const abi = [
|
|
|
1106
1395
|
},
|
|
1107
1396
|
{
|
|
1108
1397
|
inputs: [],
|
|
1109
|
-
name: '
|
|
1398
|
+
name: 'getDefaultAgentInfo',
|
|
1110
1399
|
outputs: [
|
|
1111
1400
|
{
|
|
1112
1401
|
components: [
|
|
@@ -1132,20 +1421,20 @@ export const abi = [
|
|
|
1132
1421
|
},
|
|
1133
1422
|
{
|
|
1134
1423
|
inputs: [],
|
|
1135
|
-
name: '
|
|
1424
|
+
name: 'getPendingDefaultAgentUpdate',
|
|
1136
1425
|
outputs: [
|
|
1137
1426
|
{
|
|
1138
1427
|
components: [
|
|
1139
1428
|
{
|
|
1140
|
-
name: '
|
|
1429
|
+
name: 'newAddr',
|
|
1141
1430
|
type: 'address',
|
|
1142
1431
|
},
|
|
1143
1432
|
{
|
|
1144
|
-
name: '
|
|
1433
|
+
name: 'initiatedBlock',
|
|
1145
1434
|
type: 'uint256',
|
|
1146
1435
|
},
|
|
1147
1436
|
{
|
|
1148
|
-
name: '
|
|
1437
|
+
name: 'confirmBlock',
|
|
1149
1438
|
type: 'uint256',
|
|
1150
1439
|
},
|
|
1151
1440
|
],
|
|
@@ -1156,6 +1445,51 @@ export const abi = [
|
|
|
1156
1445
|
stateMutability: 'view',
|
|
1157
1446
|
type: 'function',
|
|
1158
1447
|
},
|
|
1448
|
+
{
|
|
1449
|
+
inputs: [],
|
|
1450
|
+
name: 'hasPendingDefaultAgentUpdate',
|
|
1451
|
+
outputs: [
|
|
1452
|
+
{
|
|
1453
|
+
name: '',
|
|
1454
|
+
type: 'bool',
|
|
1455
|
+
},
|
|
1456
|
+
],
|
|
1457
|
+
stateMutability: 'view',
|
|
1458
|
+
type: 'function',
|
|
1459
|
+
},
|
|
1460
|
+
{
|
|
1461
|
+
inputs: [
|
|
1462
|
+
{
|
|
1463
|
+
name: '_asset',
|
|
1464
|
+
type: 'address',
|
|
1465
|
+
},
|
|
1466
|
+
{
|
|
1467
|
+
name: '_recipient',
|
|
1468
|
+
type: 'address',
|
|
1469
|
+
},
|
|
1470
|
+
],
|
|
1471
|
+
name: 'recoverFundsFromAgentFactory',
|
|
1472
|
+
outputs: [
|
|
1473
|
+
{
|
|
1474
|
+
name: '',
|
|
1475
|
+
type: 'bool',
|
|
1476
|
+
},
|
|
1477
|
+
],
|
|
1478
|
+
stateMutability: 'nonpayable',
|
|
1479
|
+
type: 'function',
|
|
1480
|
+
},
|
|
1481
|
+
{
|
|
1482
|
+
inputs: [
|
|
1483
|
+
{
|
|
1484
|
+
name: '_shouldActivate',
|
|
1485
|
+
type: 'bool',
|
|
1486
|
+
},
|
|
1487
|
+
],
|
|
1488
|
+
name: 'activate',
|
|
1489
|
+
outputs: [],
|
|
1490
|
+
stateMutability: 'nonpayable',
|
|
1491
|
+
type: 'function',
|
|
1492
|
+
},
|
|
1159
1493
|
{
|
|
1160
1494
|
inputs: [
|
|
1161
1495
|
{
|
|
@@ -1163,7 +1497,7 @@ export const abi = [
|
|
|
1163
1497
|
type: 'address',
|
|
1164
1498
|
},
|
|
1165
1499
|
],
|
|
1166
|
-
name: '
|
|
1500
|
+
name: 'isUserWalletLocal',
|
|
1167
1501
|
outputs: [
|
|
1168
1502
|
{
|
|
1169
1503
|
name: '',
|
|
@@ -1185,9 +1519,43 @@ export const abi = [
|
|
|
1185
1519
|
stateMutability: 'view',
|
|
1186
1520
|
type: 'function',
|
|
1187
1521
|
},
|
|
1522
|
+
{
|
|
1523
|
+
inputs: [
|
|
1524
|
+
{
|
|
1525
|
+
name: 'arg0',
|
|
1526
|
+
type: 'address',
|
|
1527
|
+
},
|
|
1528
|
+
],
|
|
1529
|
+
name: 'isAgentLocal',
|
|
1530
|
+
outputs: [
|
|
1531
|
+
{
|
|
1532
|
+
name: '',
|
|
1533
|
+
type: 'bool',
|
|
1534
|
+
},
|
|
1535
|
+
],
|
|
1536
|
+
stateMutability: 'view',
|
|
1537
|
+
type: 'function',
|
|
1538
|
+
},
|
|
1188
1539
|
{
|
|
1189
1540
|
inputs: [],
|
|
1190
|
-
name: '
|
|
1541
|
+
name: 'numAgents',
|
|
1542
|
+
outputs: [
|
|
1543
|
+
{
|
|
1544
|
+
name: '',
|
|
1545
|
+
type: 'uint256',
|
|
1546
|
+
},
|
|
1547
|
+
],
|
|
1548
|
+
stateMutability: 'view',
|
|
1549
|
+
type: 'function',
|
|
1550
|
+
},
|
|
1551
|
+
{
|
|
1552
|
+
inputs: [
|
|
1553
|
+
{
|
|
1554
|
+
name: 'arg0',
|
|
1555
|
+
type: 'uint256',
|
|
1556
|
+
},
|
|
1557
|
+
],
|
|
1558
|
+
name: 'addressInfo',
|
|
1191
1559
|
outputs: [
|
|
1192
1560
|
{
|
|
1193
1561
|
components: [
|
|
@@ -1215,14 +1583,28 @@ export const abi = [
|
|
|
1215
1583
|
inputs: [
|
|
1216
1584
|
{
|
|
1217
1585
|
name: 'arg0',
|
|
1218
|
-
type: '
|
|
1586
|
+
type: 'uint256',
|
|
1219
1587
|
},
|
|
1220
1588
|
],
|
|
1221
|
-
name: '
|
|
1589
|
+
name: 'pendingAddress',
|
|
1222
1590
|
outputs: [
|
|
1223
1591
|
{
|
|
1592
|
+
components: [
|
|
1593
|
+
{
|
|
1594
|
+
name: 'newAddr',
|
|
1595
|
+
type: 'address',
|
|
1596
|
+
},
|
|
1597
|
+
{
|
|
1598
|
+
name: 'initiatedBlock',
|
|
1599
|
+
type: 'uint256',
|
|
1600
|
+
},
|
|
1601
|
+
{
|
|
1602
|
+
name: 'confirmBlock',
|
|
1603
|
+
type: 'uint256',
|
|
1604
|
+
},
|
|
1605
|
+
],
|
|
1224
1606
|
name: '',
|
|
1225
|
-
type: '
|
|
1607
|
+
type: 'tuple',
|
|
1226
1608
|
},
|
|
1227
1609
|
],
|
|
1228
1610
|
stateMutability: 'view',
|
|
@@ -1230,7 +1612,7 @@ export const abi = [
|
|
|
1230
1612
|
},
|
|
1231
1613
|
{
|
|
1232
1614
|
inputs: [],
|
|
1233
|
-
name: '
|
|
1615
|
+
name: 'addressChangeDelay',
|
|
1234
1616
|
outputs: [
|
|
1235
1617
|
{
|
|
1236
1618
|
name: '',
|
|
@@ -1241,17 +1623,34 @@ export const abi = [
|
|
|
1241
1623
|
type: 'function',
|
|
1242
1624
|
},
|
|
1243
1625
|
{
|
|
1244
|
-
inputs: [
|
|
1626
|
+
inputs: [],
|
|
1627
|
+
name: 'ambassadorBonusRatio',
|
|
1628
|
+
outputs: [
|
|
1245
1629
|
{
|
|
1246
|
-
name: '
|
|
1247
|
-
type: '
|
|
1630
|
+
name: '',
|
|
1631
|
+
type: 'uint256',
|
|
1248
1632
|
},
|
|
1249
1633
|
],
|
|
1250
|
-
|
|
1634
|
+
stateMutability: 'view',
|
|
1635
|
+
type: 'function',
|
|
1636
|
+
},
|
|
1637
|
+
{
|
|
1638
|
+
inputs: [],
|
|
1639
|
+
name: 'trialFundsData',
|
|
1251
1640
|
outputs: [
|
|
1252
1641
|
{
|
|
1642
|
+
components: [
|
|
1643
|
+
{
|
|
1644
|
+
name: 'asset',
|
|
1645
|
+
type: 'address',
|
|
1646
|
+
},
|
|
1647
|
+
{
|
|
1648
|
+
name: 'amount',
|
|
1649
|
+
type: 'uint256',
|
|
1650
|
+
},
|
|
1651
|
+
],
|
|
1253
1652
|
name: '',
|
|
1254
|
-
type: '
|
|
1653
|
+
type: 'tuple',
|
|
1255
1654
|
},
|
|
1256
1655
|
],
|
|
1257
1656
|
stateMutability: 'view',
|
|
@@ -1310,6 +1709,23 @@ export const abi = [
|
|
|
1310
1709
|
stateMutability: 'view',
|
|
1311
1710
|
type: 'function',
|
|
1312
1711
|
},
|
|
1712
|
+
{
|
|
1713
|
+
inputs: [
|
|
1714
|
+
{
|
|
1715
|
+
name: 'arg0',
|
|
1716
|
+
type: 'address',
|
|
1717
|
+
},
|
|
1718
|
+
],
|
|
1719
|
+
name: 'agentBlacklist',
|
|
1720
|
+
outputs: [
|
|
1721
|
+
{
|
|
1722
|
+
name: '',
|
|
1723
|
+
type: 'bool',
|
|
1724
|
+
},
|
|
1725
|
+
],
|
|
1726
|
+
stateMutability: 'view',
|
|
1727
|
+
type: 'function',
|
|
1728
|
+
},
|
|
1313
1729
|
{
|
|
1314
1730
|
inputs: [
|
|
1315
1731
|
{
|
|
@@ -1387,6 +1803,30 @@ export const abi = [
|
|
|
1387
1803
|
stateMutability: 'view',
|
|
1388
1804
|
type: 'function',
|
|
1389
1805
|
},
|
|
1806
|
+
{
|
|
1807
|
+
inputs: [],
|
|
1808
|
+
name: 'MIN_ADDRESS_CHANGE_DELAY',
|
|
1809
|
+
outputs: [
|
|
1810
|
+
{
|
|
1811
|
+
name: '',
|
|
1812
|
+
type: 'uint256',
|
|
1813
|
+
},
|
|
1814
|
+
],
|
|
1815
|
+
stateMutability: 'view',
|
|
1816
|
+
type: 'function',
|
|
1817
|
+
},
|
|
1818
|
+
{
|
|
1819
|
+
inputs: [],
|
|
1820
|
+
name: 'MAX_ADDRESS_CHANGE_DELAY',
|
|
1821
|
+
outputs: [
|
|
1822
|
+
{
|
|
1823
|
+
name: '',
|
|
1824
|
+
type: 'uint256',
|
|
1825
|
+
},
|
|
1826
|
+
],
|
|
1827
|
+
stateMutability: 'view',
|
|
1828
|
+
type: 'function',
|
|
1829
|
+
},
|
|
1390
1830
|
{
|
|
1391
1831
|
inputs: [
|
|
1392
1832
|
{
|
|
@@ -1410,11 +1850,15 @@ export const abi = [
|
|
|
1410
1850
|
type: 'address',
|
|
1411
1851
|
},
|
|
1412
1852
|
{
|
|
1413
|
-
name: '
|
|
1853
|
+
name: '_defaultAgent',
|
|
1854
|
+
type: 'address',
|
|
1855
|
+
},
|
|
1856
|
+
{
|
|
1857
|
+
name: '_minChangeDelay',
|
|
1414
1858
|
type: 'uint256',
|
|
1415
1859
|
},
|
|
1416
1860
|
{
|
|
1417
|
-
name: '
|
|
1861
|
+
name: '_maxChangeDelay',
|
|
1418
1862
|
type: 'uint256',
|
|
1419
1863
|
},
|
|
1420
1864
|
],
|
|
@@ -1423,7 +1867,7 @@ export const abi = [
|
|
|
1423
1867
|
type: 'constructor',
|
|
1424
1868
|
},
|
|
1425
1869
|
];
|
|
1426
|
-
export const deployAddress = '
|
|
1870
|
+
export const deployAddress = '0x7C4be37a65E8410c0fb03d62059E3cB04f78c565';
|
|
1427
1871
|
function getRequest(method, args, contractAddressOrOptions) {
|
|
1428
1872
|
const address = typeof contractAddressOrOptions === 'string' ? contractAddressOrOptions : contractAddressOrOptions?.contractAddress;
|
|
1429
1873
|
const defaultValue = typeof contractAddressOrOptions === 'string' ? undefined : contractAddressOrOptions?.defaultValue;
|
|
@@ -1459,36 +1903,47 @@ export const call = {
|
|
|
1459
1903
|
govChangeDelay: (...args) => getRequest('govChangeDelay', args),
|
|
1460
1904
|
MIN_GOV_CHANGE_DELAY: (...args) => getRequest('MIN_GOV_CHANGE_DELAY', args),
|
|
1461
1905
|
MAX_GOV_CHANGE_DELAY: (...args) => getRequest('MAX_GOV_CHANGE_DELAY', args),
|
|
1462
|
-
currentUserWalletTemplate: (...args) => getRequest('currentUserWalletTemplate', args),
|
|
1463
|
-
currentUserWalletConfigTemplate: (...args) => getRequest('currentUserWalletConfigTemplate', args),
|
|
1464
|
-
currentAgentTemplate: (...args) => getRequest('currentAgentTemplate', args),
|
|
1465
|
-
isValidUserWalletSetup: (...args) => getRequest('isValidUserWalletSetup', args),
|
|
1466
|
-
isValidUserWalletTemplate: (...args) => getRequest('isValidUserWalletTemplate', args),
|
|
1467
|
-
isValidUserWalletConfigTemplate: (...args) => getRequest('isValidUserWalletConfigTemplate', args),
|
|
1468
|
-
isValidAgentSetup: (...args) => getRequest('isValidAgentSetup', args),
|
|
1469
|
-
isValidAgentTemplate: (...args) => getRequest('isValidAgentTemplate', args),
|
|
1470
|
-
isValidTrialFundsData: (...args) => getRequest('isValidTrialFundsData', args),
|
|
1471
|
-
canCancelCriticalAction: (...args) => getRequest('canCancelCriticalAction', args),
|
|
1472
|
-
trialFundsData: (...args) => getRequest('trialFundsData', args),
|
|
1473
|
-
recoveryCaller: (...args) => getRequest('recoveryCaller', args),
|
|
1474
|
-
userWalletTemplate: (...args) => getRequest('userWalletTemplate', args),
|
|
1475
|
-
userWalletConfig: (...args) => getRequest('userWalletConfig', args),
|
|
1476
1906
|
isUserWallet: (...args) => getRequest('isUserWallet', args),
|
|
1477
|
-
numUserWallets: (...args) => getRequest('numUserWallets', args),
|
|
1478
|
-
agentTemplateInfo: (...args) => getRequest('agentTemplateInfo', args),
|
|
1479
1907
|
isAgent: (...args) => getRequest('isAgent', args),
|
|
1908
|
+
getUserWalletTemplateAddr: (...args) => getRequest('getUserWalletTemplateAddr', args),
|
|
1909
|
+
getUserWalletTemplateInfo: (...args) => getRequest('getUserWalletTemplateInfo', args),
|
|
1910
|
+
getPendingUserWalletTemplateUpdate: (...args) => getRequest('getPendingUserWalletTemplateUpdate', args),
|
|
1911
|
+
hasPendingUserWalletTemplateUpdate: (...args) => getRequest('hasPendingUserWalletTemplateUpdate', args),
|
|
1912
|
+
getUserWalletConfigTemplateAddr: (...args) => getRequest('getUserWalletConfigTemplateAddr', args),
|
|
1913
|
+
getUserWalletConfigTemplateInfo: (...args) => getRequest('getUserWalletConfigTemplateInfo', args),
|
|
1914
|
+
getPendingUserWalletConfigTemplateUpdate: (...args) => getRequest('getPendingUserWalletConfigTemplateUpdate', args),
|
|
1915
|
+
hasPendingUserWalletConfigTemplateUpdate: (...args) => getRequest('hasPendingUserWalletConfigTemplateUpdate', args),
|
|
1916
|
+
getAgentTemplateAddr: (...args) => getRequest('getAgentTemplateAddr', args),
|
|
1917
|
+
getAgentTemplateInfo: (...args) => getRequest('getAgentTemplateInfo', args),
|
|
1918
|
+
getPendingAgentTemplateUpdate: (...args) => getRequest('getPendingAgentTemplateUpdate', args),
|
|
1919
|
+
hasPendingAgentTemplateUpdate: (...args) => getRequest('hasPendingAgentTemplateUpdate', args),
|
|
1920
|
+
canCancelCriticalAction: (...args) => getRequest('canCancelCriticalAction', args),
|
|
1921
|
+
getDefaultAgentAddr: (...args) => getRequest('getDefaultAgentAddr', args),
|
|
1922
|
+
getDefaultAgentInfo: (...args) => getRequest('getDefaultAgentInfo', args),
|
|
1923
|
+
getPendingDefaultAgentUpdate: (...args) => getRequest('getPendingDefaultAgentUpdate', args),
|
|
1924
|
+
hasPendingDefaultAgentUpdate: (...args) => getRequest('hasPendingDefaultAgentUpdate', args),
|
|
1925
|
+
isUserWalletLocal: (...args) => getRequest('isUserWalletLocal', args),
|
|
1926
|
+
numUserWallets: (...args) => getRequest('numUserWallets', args),
|
|
1927
|
+
isAgentLocal: (...args) => getRequest('isAgentLocal', args),
|
|
1480
1928
|
numAgents: (...args) => getRequest('numAgents', args),
|
|
1481
|
-
|
|
1929
|
+
addressInfo: (...args) => getRequest('addressInfo', args),
|
|
1930
|
+
pendingAddress: (...args) => getRequest('pendingAddress', args),
|
|
1931
|
+
addressChangeDelay: (...args) => getRequest('addressChangeDelay', args),
|
|
1932
|
+
ambassadorBonusRatio: (...args) => getRequest('ambassadorBonusRatio', args),
|
|
1933
|
+
trialFundsData: (...args) => getRequest('trialFundsData', args),
|
|
1482
1934
|
numUserWalletsAllowed: (...args) => getRequest('numUserWalletsAllowed', args),
|
|
1483
1935
|
numAgentsAllowed: (...args) => getRequest('numAgentsAllowed', args),
|
|
1484
1936
|
whitelist: (...args) => getRequest('whitelist', args),
|
|
1485
1937
|
shouldEnforceWhitelist: (...args) => getRequest('shouldEnforceWhitelist', args),
|
|
1938
|
+
agentBlacklist: (...args) => getRequest('agentBlacklist', args),
|
|
1486
1939
|
canCriticalCancel: (...args) => getRequest('canCriticalCancel', args),
|
|
1487
1940
|
isActivated: (...args) => getRequest('isActivated', args),
|
|
1488
1941
|
ADDY_REGISTRY: (...args) => getRequest('ADDY_REGISTRY', args),
|
|
1489
1942
|
WETH_ADDR: (...args) => getRequest('WETH_ADDR', args),
|
|
1490
1943
|
MIN_OWNER_CHANGE_DELAY: (...args) => getRequest('MIN_OWNER_CHANGE_DELAY', args),
|
|
1491
1944
|
MAX_OWNER_CHANGE_DELAY: (...args) => getRequest('MAX_OWNER_CHANGE_DELAY', args),
|
|
1945
|
+
MIN_ADDRESS_CHANGE_DELAY: (...args) => getRequest('MIN_ADDRESS_CHANGE_DELAY', args),
|
|
1946
|
+
MAX_ADDRESS_CHANGE_DELAY: (...args) => getRequest('MAX_ADDRESS_CHANGE_DELAY', args),
|
|
1492
1947
|
};
|
|
1493
1948
|
function getMutation(functionName) {
|
|
1494
1949
|
return {
|
|
@@ -1505,21 +1960,32 @@ export const mutation = {
|
|
|
1505
1960
|
cancelGovernanceChange: getMutation('cancelGovernanceChange'),
|
|
1506
1961
|
setGovernanceChangeDelay: getMutation('setGovernanceChangeDelay'),
|
|
1507
1962
|
createUserWallet: getMutation('createUserWallet'),
|
|
1508
|
-
setUserWalletTemplate: getMutation('setUserWalletTemplate'),
|
|
1509
|
-
setUserWalletConfigTemplate: getMutation('setUserWalletConfigTemplate'),
|
|
1510
1963
|
createAgent: getMutation('createAgent'),
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1964
|
+
initiateUserWalletTemplateUpdate: getMutation('initiateUserWalletTemplateUpdate'),
|
|
1965
|
+
confirmUserWalletTemplateUpdate: getMutation('confirmUserWalletTemplateUpdate'),
|
|
1966
|
+
cancelUserWalletTemplateUpdate: getMutation('cancelUserWalletTemplateUpdate'),
|
|
1967
|
+
initiateUserWalletConfigTemplateUpdate: getMutation('initiateUserWalletConfigTemplateUpdate'),
|
|
1968
|
+
confirmUserWalletConfigTemplateUpdate: getMutation('confirmUserWalletConfigTemplateUpdate'),
|
|
1969
|
+
cancelUserWalletConfigTemplateUpdate: getMutation('cancelUserWalletConfigTemplateUpdate'),
|
|
1970
|
+
initiateAgentTemplateUpdate: getMutation('initiateAgentTemplateUpdate'),
|
|
1971
|
+
confirmAgentTemplateUpdate: getMutation('confirmAgentTemplateUpdate'),
|
|
1972
|
+
cancelAgentTemplateUpdate: getMutation('cancelAgentTemplateUpdate'),
|
|
1973
|
+
setAddressChangeDelay: getMutation('setAddressChangeDelay'),
|
|
1516
1974
|
setWhitelist: getMutation('setWhitelist'),
|
|
1517
1975
|
setShouldEnforceWhitelist: getMutation('setShouldEnforceWhitelist'),
|
|
1518
1976
|
setNumUserWalletsAllowed: getMutation('setNumUserWalletsAllowed'),
|
|
1519
1977
|
setNumAgentsAllowed: getMutation('setNumAgentsAllowed'),
|
|
1520
1978
|
setAgentBlacklist: getMutation('setAgentBlacklist'),
|
|
1521
|
-
recoverFunds: getMutation('recoverFunds'),
|
|
1522
1979
|
setCanCriticalCancel: getMutation('setCanCriticalCancel'),
|
|
1980
|
+
setTrialFundsData: getMutation('setTrialFundsData'),
|
|
1981
|
+
clawBackTrialFunds: getMutation('clawBackTrialFunds'),
|
|
1982
|
+
clawBackTrialFundsLegacy: getMutation('clawBackTrialFundsLegacy'),
|
|
1983
|
+
payAmbassadorYieldBonus: getMutation('payAmbassadorYieldBonus'),
|
|
1984
|
+
setAmbassadorBonusRatio: getMutation('setAmbassadorBonusRatio'),
|
|
1985
|
+
initiateDefaultAgentUpdate: getMutation('initiateDefaultAgentUpdate'),
|
|
1986
|
+
confirmDefaultAgentUpdate: getMutation('confirmDefaultAgentUpdate'),
|
|
1987
|
+
cancelDefaultAgentUpdate: getMutation('cancelDefaultAgentUpdate'),
|
|
1988
|
+
recoverFundsFromAgentFactory: getMutation('recoverFundsFromAgentFactory'),
|
|
1523
1989
|
activate: getMutation('activate'),
|
|
1524
1990
|
};
|
|
1525
1991
|
export function toSdk(publicClient, walletClient) {
|
|
@@ -1532,57 +1998,79 @@ export function toSdk(publicClient, walletClient) {
|
|
|
1532
1998
|
govChangeDelay: (...args) => singleQuery(publicClient, call.govChangeDelay(...args)),
|
|
1533
1999
|
MIN_GOV_CHANGE_DELAY: (...args) => singleQuery(publicClient, call.MIN_GOV_CHANGE_DELAY(...args)),
|
|
1534
2000
|
MAX_GOV_CHANGE_DELAY: (...args) => singleQuery(publicClient, call.MAX_GOV_CHANGE_DELAY(...args)),
|
|
1535
|
-
currentUserWalletTemplate: (...args) => singleQuery(publicClient, call.currentUserWalletTemplate(...args)),
|
|
1536
|
-
currentUserWalletConfigTemplate: (...args) => singleQuery(publicClient, call.currentUserWalletConfigTemplate(...args)),
|
|
1537
|
-
currentAgentTemplate: (...args) => singleQuery(publicClient, call.currentAgentTemplate(...args)),
|
|
1538
|
-
isValidUserWalletSetup: (...args) => singleQuery(publicClient, call.isValidUserWalletSetup(...args)),
|
|
1539
|
-
isValidUserWalletTemplate: (...args) => singleQuery(publicClient, call.isValidUserWalletTemplate(...args)),
|
|
1540
|
-
isValidUserWalletConfigTemplate: (...args) => singleQuery(publicClient, call.isValidUserWalletConfigTemplate(...args)),
|
|
1541
|
-
isValidAgentSetup: (...args) => singleQuery(publicClient, call.isValidAgentSetup(...args)),
|
|
1542
|
-
isValidAgentTemplate: (...args) => singleQuery(publicClient, call.isValidAgentTemplate(...args)),
|
|
1543
|
-
isValidTrialFundsData: (...args) => singleQuery(publicClient, call.isValidTrialFundsData(...args)),
|
|
1544
|
-
canCancelCriticalAction: (...args) => singleQuery(publicClient, call.canCancelCriticalAction(...args)),
|
|
1545
|
-
trialFundsData: (...args) => singleQuery(publicClient, call.trialFundsData(...args)),
|
|
1546
|
-
recoveryCaller: (...args) => singleQuery(publicClient, call.recoveryCaller(...args)),
|
|
1547
|
-
userWalletTemplate: (...args) => singleQuery(publicClient, call.userWalletTemplate(...args)),
|
|
1548
|
-
userWalletConfig: (...args) => singleQuery(publicClient, call.userWalletConfig(...args)),
|
|
1549
2001
|
isUserWallet: (...args) => singleQuery(publicClient, call.isUserWallet(...args)),
|
|
1550
|
-
numUserWallets: (...args) => singleQuery(publicClient, call.numUserWallets(...args)),
|
|
1551
|
-
agentTemplateInfo: (...args) => singleQuery(publicClient, call.agentTemplateInfo(...args)),
|
|
1552
2002
|
isAgent: (...args) => singleQuery(publicClient, call.isAgent(...args)),
|
|
2003
|
+
getUserWalletTemplateAddr: (...args) => singleQuery(publicClient, call.getUserWalletTemplateAddr(...args)),
|
|
2004
|
+
getUserWalletTemplateInfo: (...args) => singleQuery(publicClient, call.getUserWalletTemplateInfo(...args)),
|
|
2005
|
+
getPendingUserWalletTemplateUpdate: (...args) => singleQuery(publicClient, call.getPendingUserWalletTemplateUpdate(...args)),
|
|
2006
|
+
hasPendingUserWalletTemplateUpdate: (...args) => singleQuery(publicClient, call.hasPendingUserWalletTemplateUpdate(...args)),
|
|
2007
|
+
getUserWalletConfigTemplateAddr: (...args) => singleQuery(publicClient, call.getUserWalletConfigTemplateAddr(...args)),
|
|
2008
|
+
getUserWalletConfigTemplateInfo: (...args) => singleQuery(publicClient, call.getUserWalletConfigTemplateInfo(...args)),
|
|
2009
|
+
getPendingUserWalletConfigTemplateUpdate: (...args) => singleQuery(publicClient, call.getPendingUserWalletConfigTemplateUpdate(...args)),
|
|
2010
|
+
hasPendingUserWalletConfigTemplateUpdate: (...args) => singleQuery(publicClient, call.hasPendingUserWalletConfigTemplateUpdate(...args)),
|
|
2011
|
+
getAgentTemplateAddr: (...args) => singleQuery(publicClient, call.getAgentTemplateAddr(...args)),
|
|
2012
|
+
getAgentTemplateInfo: (...args) => singleQuery(publicClient, call.getAgentTemplateInfo(...args)),
|
|
2013
|
+
getPendingAgentTemplateUpdate: (...args) => singleQuery(publicClient, call.getPendingAgentTemplateUpdate(...args)),
|
|
2014
|
+
hasPendingAgentTemplateUpdate: (...args) => singleQuery(publicClient, call.hasPendingAgentTemplateUpdate(...args)),
|
|
2015
|
+
canCancelCriticalAction: (...args) => singleQuery(publicClient, call.canCancelCriticalAction(...args)),
|
|
2016
|
+
getDefaultAgentAddr: (...args) => singleQuery(publicClient, call.getDefaultAgentAddr(...args)),
|
|
2017
|
+
getDefaultAgentInfo: (...args) => singleQuery(publicClient, call.getDefaultAgentInfo(...args)),
|
|
2018
|
+
getPendingDefaultAgentUpdate: (...args) => singleQuery(publicClient, call.getPendingDefaultAgentUpdate(...args)),
|
|
2019
|
+
hasPendingDefaultAgentUpdate: (...args) => singleQuery(publicClient, call.hasPendingDefaultAgentUpdate(...args)),
|
|
2020
|
+
isUserWalletLocal: (...args) => singleQuery(publicClient, call.isUserWalletLocal(...args)),
|
|
2021
|
+
numUserWallets: (...args) => singleQuery(publicClient, call.numUserWallets(...args)),
|
|
2022
|
+
isAgentLocal: (...args) => singleQuery(publicClient, call.isAgentLocal(...args)),
|
|
1553
2023
|
numAgents: (...args) => singleQuery(publicClient, call.numAgents(...args)),
|
|
1554
|
-
|
|
2024
|
+
addressInfo: (...args) => singleQuery(publicClient, call.addressInfo(...args)),
|
|
2025
|
+
pendingAddress: (...args) => singleQuery(publicClient, call.pendingAddress(...args)),
|
|
2026
|
+
addressChangeDelay: (...args) => singleQuery(publicClient, call.addressChangeDelay(...args)),
|
|
2027
|
+
ambassadorBonusRatio: (...args) => singleQuery(publicClient, call.ambassadorBonusRatio(...args)),
|
|
2028
|
+
trialFundsData: (...args) => singleQuery(publicClient, call.trialFundsData(...args)),
|
|
1555
2029
|
numUserWalletsAllowed: (...args) => singleQuery(publicClient, call.numUserWalletsAllowed(...args)),
|
|
1556
2030
|
numAgentsAllowed: (...args) => singleQuery(publicClient, call.numAgentsAllowed(...args)),
|
|
1557
2031
|
whitelist: (...args) => singleQuery(publicClient, call.whitelist(...args)),
|
|
1558
2032
|
shouldEnforceWhitelist: (...args) => singleQuery(publicClient, call.shouldEnforceWhitelist(...args)),
|
|
2033
|
+
agentBlacklist: (...args) => singleQuery(publicClient, call.agentBlacklist(...args)),
|
|
1559
2034
|
canCriticalCancel: (...args) => singleQuery(publicClient, call.canCriticalCancel(...args)),
|
|
1560
2035
|
isActivated: (...args) => singleQuery(publicClient, call.isActivated(...args)),
|
|
1561
2036
|
ADDY_REGISTRY: (...args) => singleQuery(publicClient, call.ADDY_REGISTRY(...args)),
|
|
1562
2037
|
WETH_ADDR: (...args) => singleQuery(publicClient, call.WETH_ADDR(...args)),
|
|
1563
2038
|
MIN_OWNER_CHANGE_DELAY: (...args) => singleQuery(publicClient, call.MIN_OWNER_CHANGE_DELAY(...args)),
|
|
1564
2039
|
MAX_OWNER_CHANGE_DELAY: (...args) => singleQuery(publicClient, call.MAX_OWNER_CHANGE_DELAY(...args)),
|
|
2040
|
+
MIN_ADDRESS_CHANGE_DELAY: (...args) => singleQuery(publicClient, call.MIN_ADDRESS_CHANGE_DELAY(...args)),
|
|
2041
|
+
MAX_ADDRESS_CHANGE_DELAY: (...args) => singleQuery(publicClient, call.MAX_ADDRESS_CHANGE_DELAY(...args)),
|
|
1565
2042
|
// Mutations
|
|
1566
2043
|
changeGovernance: (...args) => mutate(walletClient, mutation.changeGovernance)(...args),
|
|
1567
2044
|
confirmGovernanceChange: (...args) => mutate(walletClient, mutation.confirmGovernanceChange)(...args),
|
|
1568
2045
|
cancelGovernanceChange: (...args) => mutate(walletClient, mutation.cancelGovernanceChange)(...args),
|
|
1569
2046
|
setGovernanceChangeDelay: (...args) => mutate(walletClient, mutation.setGovernanceChangeDelay)(...args),
|
|
1570
2047
|
createUserWallet: (...args) => mutate(walletClient, mutation.createUserWallet)(...args),
|
|
1571
|
-
setUserWalletTemplate: (...args) => mutate(walletClient, mutation.setUserWalletTemplate)(...args),
|
|
1572
|
-
setUserWalletConfigTemplate: (...args) => mutate(walletClient, mutation.setUserWalletConfigTemplate)(...args),
|
|
1573
2048
|
createAgent: (...args) => mutate(walletClient, mutation.createAgent)(...args),
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
2049
|
+
initiateUserWalletTemplateUpdate: (...args) => mutate(walletClient, mutation.initiateUserWalletTemplateUpdate)(...args),
|
|
2050
|
+
confirmUserWalletTemplateUpdate: (...args) => mutate(walletClient, mutation.confirmUserWalletTemplateUpdate)(...args),
|
|
2051
|
+
cancelUserWalletTemplateUpdate: (...args) => mutate(walletClient, mutation.cancelUserWalletTemplateUpdate)(...args),
|
|
2052
|
+
initiateUserWalletConfigTemplateUpdate: (...args) => mutate(walletClient, mutation.initiateUserWalletConfigTemplateUpdate)(...args),
|
|
2053
|
+
confirmUserWalletConfigTemplateUpdate: (...args) => mutate(walletClient, mutation.confirmUserWalletConfigTemplateUpdate)(...args),
|
|
2054
|
+
cancelUserWalletConfigTemplateUpdate: (...args) => mutate(walletClient, mutation.cancelUserWalletConfigTemplateUpdate)(...args),
|
|
2055
|
+
initiateAgentTemplateUpdate: (...args) => mutate(walletClient, mutation.initiateAgentTemplateUpdate)(...args),
|
|
2056
|
+
confirmAgentTemplateUpdate: (...args) => mutate(walletClient, mutation.confirmAgentTemplateUpdate)(...args),
|
|
2057
|
+
cancelAgentTemplateUpdate: (...args) => mutate(walletClient, mutation.cancelAgentTemplateUpdate)(...args),
|
|
2058
|
+
setAddressChangeDelay: (...args) => mutate(walletClient, mutation.setAddressChangeDelay)(...args),
|
|
1579
2059
|
setWhitelist: (...args) => mutate(walletClient, mutation.setWhitelist)(...args),
|
|
1580
2060
|
setShouldEnforceWhitelist: (...args) => mutate(walletClient, mutation.setShouldEnforceWhitelist)(...args),
|
|
1581
2061
|
setNumUserWalletsAllowed: (...args) => mutate(walletClient, mutation.setNumUserWalletsAllowed)(...args),
|
|
1582
2062
|
setNumAgentsAllowed: (...args) => mutate(walletClient, mutation.setNumAgentsAllowed)(...args),
|
|
1583
2063
|
setAgentBlacklist: (...args) => mutate(walletClient, mutation.setAgentBlacklist)(...args),
|
|
1584
|
-
recoverFunds: (...args) => mutate(walletClient, mutation.recoverFunds)(...args),
|
|
1585
2064
|
setCanCriticalCancel: (...args) => mutate(walletClient, mutation.setCanCriticalCancel)(...args),
|
|
2065
|
+
setTrialFundsData: (...args) => mutate(walletClient, mutation.setTrialFundsData)(...args),
|
|
2066
|
+
clawBackTrialFunds: (...args) => mutate(walletClient, mutation.clawBackTrialFunds)(...args),
|
|
2067
|
+
clawBackTrialFundsLegacy: (...args) => mutate(walletClient, mutation.clawBackTrialFundsLegacy)(...args),
|
|
2068
|
+
payAmbassadorYieldBonus: (...args) => mutate(walletClient, mutation.payAmbassadorYieldBonus)(...args),
|
|
2069
|
+
setAmbassadorBonusRatio: (...args) => mutate(walletClient, mutation.setAmbassadorBonusRatio)(...args),
|
|
2070
|
+
initiateDefaultAgentUpdate: (...args) => mutate(walletClient, mutation.initiateDefaultAgentUpdate)(...args),
|
|
2071
|
+
confirmDefaultAgentUpdate: (...args) => mutate(walletClient, mutation.confirmDefaultAgentUpdate)(...args),
|
|
2072
|
+
cancelDefaultAgentUpdate: (...args) => mutate(walletClient, mutation.cancelDefaultAgentUpdate)(...args),
|
|
2073
|
+
recoverFundsFromAgentFactory: (...args) => mutate(walletClient, mutation.recoverFundsFromAgentFactory)(...args),
|
|
1586
2074
|
activate: (...args) => mutate(walletClient, mutation.activate)(...args),
|
|
1587
2075
|
};
|
|
1588
2076
|
}
|