@underscore-finance/sdk 0.0.3 → 0.0.5

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.
Files changed (57) hide show
  1. package/dist/contracts/AddyRegistry.d.ts.map +1 -1
  2. package/dist/contracts/AddyRegistry.js +318 -318
  3. package/dist/contracts/AgentFactory.d.ts.map +1 -1
  4. package/dist/contracts/AgentFactory.js +699 -699
  5. package/dist/contracts/AgentTemplate.d.ts.map +1 -1
  6. package/dist/contracts/AgentTemplate.js +1 -1
  7. package/dist/contracts/ChainlinkFeeds.d.ts.map +1 -1
  8. package/dist/contracts/ChainlinkFeeds.js +399 -399
  9. package/dist/contracts/LegoAaveV3.d.ts.map +1 -1
  10. package/dist/contracts/LegoAaveV3.js +643 -643
  11. package/dist/contracts/LegoAeroClassic.d.ts.map +1 -1
  12. package/dist/contracts/LegoAeroClassic.js +749 -749
  13. package/dist/contracts/LegoAeroSlipstream.d.ts.map +1 -1
  14. package/dist/contracts/LegoAeroSlipstream.js +820 -820
  15. package/dist/contracts/LegoCompoundV3.d.ts.map +1 -1
  16. package/dist/contracts/LegoCompoundV3.js +664 -664
  17. package/dist/contracts/LegoCurve.d.ts.map +1 -1
  18. package/dist/contracts/LegoCurve.js +732 -732
  19. package/dist/contracts/LegoEuler.d.ts.map +1 -1
  20. package/dist/contracts/LegoEuler.js +674 -674
  21. package/dist/contracts/LegoFluid.d.ts.map +1 -1
  22. package/dist/contracts/LegoFluid.js +629 -629
  23. package/dist/contracts/LegoHelper.d.ts +22 -16
  24. package/dist/contracts/LegoHelper.d.ts.map +1 -1
  25. package/dist/contracts/LegoHelper.js +1057 -1057
  26. package/dist/contracts/LegoMoonwell.d.ts.map +1 -1
  27. package/dist/contracts/LegoMoonwell.js +649 -649
  28. package/dist/contracts/LegoMorpho.d.ts.map +1 -1
  29. package/dist/contracts/LegoMorpho.js +674 -674
  30. package/dist/contracts/LegoRegistry.d.ts.map +1 -1
  31. package/dist/contracts/LegoRegistry.js +406 -406
  32. package/dist/contracts/LegoSky.d.ts.map +1 -1
  33. package/dist/contracts/LegoSky.js +557 -557
  34. package/dist/contracts/LegoUniswapV2.d.ts.map +1 -1
  35. package/dist/contracts/LegoUniswapV2.js +749 -749
  36. package/dist/contracts/LegoUniswapV3.d.ts.map +1 -1
  37. package/dist/contracts/LegoUniswapV3.js +849 -849
  38. package/dist/contracts/OracleRegistry.d.ts.map +1 -1
  39. package/dist/contracts/OracleRegistry.js +585 -585
  40. package/dist/contracts/PriceSheets.d.ts +18 -15
  41. package/dist/contracts/PriceSheets.d.ts.map +1 -1
  42. package/dist/contracts/PriceSheets.js +718 -718
  43. package/dist/contracts/PythFeeds.d.ts.map +1 -1
  44. package/dist/contracts/PythFeeds.js +352 -352
  45. package/dist/contracts/StorkFeeds.d.ts.map +1 -1
  46. package/dist/contracts/StorkFeeds.js +352 -352
  47. package/dist/contracts/WalletConfig.d.ts +1 -1
  48. package/dist/contracts/WalletConfig.d.ts.map +1 -1
  49. package/dist/contracts/WalletConfig.js +1 -1
  50. package/dist/contracts/WalletFunds.d.ts.map +1 -1
  51. package/dist/contracts/WalletFunds.js +1 -1
  52. package/dist/contracts/sdk.d.ts +1 -1
  53. package/dist/contracts/sdk.d.ts.map +1 -1
  54. package/dist/index.d.ts +3 -0
  55. package/dist/index.d.ts.map +1 -1
  56. package/dist/index.js +9 -0
  57. package/package.json +1 -1
@@ -5,1181 +5,1181 @@
5
5
  import { singleQuery, mutate } from '@dappql/async';
6
6
  export const abi = [
7
7
  {
8
- "anonymous": false,
9
- "inputs": [
8
+ anonymous: false,
9
+ inputs: [
10
10
  {
11
- "indexed": true,
12
- "name": "agent",
13
- "type": "address"
11
+ indexed: true,
12
+ name: 'agent',
13
+ type: 'address',
14
14
  },
15
15
  {
16
- "indexed": true,
17
- "name": "asset",
18
- "type": "address"
16
+ indexed: true,
17
+ name: 'asset',
18
+ type: 'address',
19
19
  },
20
20
  {
21
- "indexed": false,
22
- "name": "usdValue",
23
- "type": "uint256"
21
+ indexed: false,
22
+ name: 'usdValue',
23
+ type: 'uint256',
24
24
  },
25
25
  {
26
- "indexed": false,
27
- "name": "trialPeriod",
28
- "type": "uint256"
26
+ indexed: false,
27
+ name: 'trialPeriod',
28
+ type: 'uint256',
29
29
  },
30
30
  {
31
- "indexed": false,
32
- "name": "payPeriod",
33
- "type": "uint256"
34
- }
31
+ indexed: false,
32
+ name: 'payPeriod',
33
+ type: 'uint256',
34
+ },
35
35
  ],
36
- "name": "AgentSubPriceSet",
37
- "type": "event"
36
+ name: 'AgentSubPriceSet',
37
+ type: 'event',
38
38
  },
39
39
  {
40
- "anonymous": false,
41
- "inputs": [
40
+ anonymous: false,
41
+ inputs: [
42
42
  {
43
- "indexed": true,
44
- "name": "agent",
45
- "type": "address"
43
+ indexed: true,
44
+ name: 'agent',
45
+ type: 'address',
46
46
  },
47
47
  {
48
- "indexed": true,
49
- "name": "asset",
50
- "type": "address"
48
+ indexed: true,
49
+ name: 'asset',
50
+ type: 'address',
51
51
  },
52
52
  {
53
- "indexed": false,
54
- "name": "usdValue",
55
- "type": "uint256"
53
+ indexed: false,
54
+ name: 'usdValue',
55
+ type: 'uint256',
56
56
  },
57
57
  {
58
- "indexed": false,
59
- "name": "trialPeriod",
60
- "type": "uint256"
58
+ indexed: false,
59
+ name: 'trialPeriod',
60
+ type: 'uint256',
61
61
  },
62
62
  {
63
- "indexed": false,
64
- "name": "payPeriod",
65
- "type": "uint256"
63
+ indexed: false,
64
+ name: 'payPeriod',
65
+ type: 'uint256',
66
66
  },
67
67
  {
68
- "indexed": false,
69
- "name": "effectiveBlock",
70
- "type": "uint256"
71
- }
68
+ indexed: false,
69
+ name: 'effectiveBlock',
70
+ type: 'uint256',
71
+ },
72
72
  ],
73
- "name": "PendingAgentSubPriceSet",
74
- "type": "event"
73
+ name: 'PendingAgentSubPriceSet',
74
+ type: 'event',
75
75
  },
76
76
  {
77
- "anonymous": false,
78
- "inputs": [
77
+ anonymous: false,
78
+ inputs: [
79
79
  {
80
- "indexed": true,
81
- "name": "asset",
82
- "type": "address"
80
+ indexed: true,
81
+ name: 'asset',
82
+ type: 'address',
83
83
  },
84
84
  {
85
- "indexed": false,
86
- "name": "usdValue",
87
- "type": "uint256"
85
+ indexed: false,
86
+ name: 'usdValue',
87
+ type: 'uint256',
88
88
  },
89
89
  {
90
- "indexed": false,
91
- "name": "trialPeriod",
92
- "type": "uint256"
90
+ indexed: false,
91
+ name: 'trialPeriod',
92
+ type: 'uint256',
93
93
  },
94
94
  {
95
- "indexed": false,
96
- "name": "payPeriod",
97
- "type": "uint256"
98
- }
95
+ indexed: false,
96
+ name: 'payPeriod',
97
+ type: 'uint256',
98
+ },
99
99
  ],
100
- "name": "ProtocolSubPriceSet",
101
- "type": "event"
100
+ name: 'ProtocolSubPriceSet',
101
+ type: 'event',
102
102
  },
103
103
  {
104
- "anonymous": false,
105
- "inputs": [
104
+ anonymous: false,
105
+ inputs: [
106
106
  {
107
- "indexed": true,
108
- "name": "agent",
109
- "type": "address"
107
+ indexed: true,
108
+ name: 'agent',
109
+ type: 'address',
110
110
  },
111
111
  {
112
- "indexed": true,
113
- "name": "asset",
114
- "type": "address"
112
+ indexed: true,
113
+ name: 'asset',
114
+ type: 'address',
115
115
  },
116
116
  {
117
- "indexed": false,
118
- "name": "usdValue",
119
- "type": "uint256"
117
+ indexed: false,
118
+ name: 'usdValue',
119
+ type: 'uint256',
120
120
  },
121
121
  {
122
- "indexed": false,
123
- "name": "trialPeriod",
124
- "type": "uint256"
122
+ indexed: false,
123
+ name: 'trialPeriod',
124
+ type: 'uint256',
125
125
  },
126
126
  {
127
- "indexed": false,
128
- "name": "payPeriod",
129
- "type": "uint256"
130
- }
127
+ indexed: false,
128
+ name: 'payPeriod',
129
+ type: 'uint256',
130
+ },
131
131
  ],
132
- "name": "AgentSubPriceRemoved",
133
- "type": "event"
132
+ name: 'AgentSubPriceRemoved',
133
+ type: 'event',
134
134
  },
135
135
  {
136
- "anonymous": false,
137
- "inputs": [
136
+ anonymous: false,
137
+ inputs: [
138
138
  {
139
- "indexed": true,
140
- "name": "asset",
141
- "type": "address"
139
+ indexed: true,
140
+ name: 'asset',
141
+ type: 'address',
142
142
  },
143
143
  {
144
- "indexed": false,
145
- "name": "usdValue",
146
- "type": "uint256"
144
+ indexed: false,
145
+ name: 'usdValue',
146
+ type: 'uint256',
147
147
  },
148
148
  {
149
- "indexed": false,
150
- "name": "trialPeriod",
151
- "type": "uint256"
149
+ indexed: false,
150
+ name: 'trialPeriod',
151
+ type: 'uint256',
152
152
  },
153
153
  {
154
- "indexed": false,
155
- "name": "payPeriod",
156
- "type": "uint256"
157
- }
154
+ indexed: false,
155
+ name: 'payPeriod',
156
+ type: 'uint256',
157
+ },
158
158
  ],
159
- "name": "ProtocolSubPriceRemoved",
160
- "type": "event"
159
+ name: 'ProtocolSubPriceRemoved',
160
+ type: 'event',
161
161
  },
162
162
  {
163
- "anonymous": false,
164
- "inputs": [
163
+ anonymous: false,
164
+ inputs: [
165
165
  {
166
- "indexed": false,
167
- "name": "isEnabled",
168
- "type": "bool"
169
- }
166
+ indexed: false,
167
+ name: 'isEnabled',
168
+ type: 'bool',
169
+ },
170
170
  ],
171
- "name": "AgentSubPricingEnabled",
172
- "type": "event"
171
+ name: 'AgentSubPricingEnabled',
172
+ type: 'event',
173
173
  },
174
174
  {
175
- "anonymous": false,
176
- "inputs": [
175
+ anonymous: false,
176
+ inputs: [
177
177
  {
178
- "indexed": false,
179
- "name": "depositFee",
180
- "type": "uint256"
178
+ indexed: false,
179
+ name: 'depositFee',
180
+ type: 'uint256',
181
181
  },
182
182
  {
183
- "indexed": false,
184
- "name": "withdrawalFee",
185
- "type": "uint256"
183
+ indexed: false,
184
+ name: 'withdrawalFee',
185
+ type: 'uint256',
186
186
  },
187
187
  {
188
- "indexed": false,
189
- "name": "rebalanceFee",
190
- "type": "uint256"
188
+ indexed: false,
189
+ name: 'rebalanceFee',
190
+ type: 'uint256',
191
191
  },
192
192
  {
193
- "indexed": false,
194
- "name": "transferFee",
195
- "type": "uint256"
193
+ indexed: false,
194
+ name: 'transferFee',
195
+ type: 'uint256',
196
196
  },
197
197
  {
198
- "indexed": false,
199
- "name": "swapFee",
200
- "type": "uint256"
198
+ indexed: false,
199
+ name: 'swapFee',
200
+ type: 'uint256',
201
201
  },
202
202
  {
203
- "indexed": false,
204
- "name": "addLiqFee",
205
- "type": "uint256"
203
+ indexed: false,
204
+ name: 'addLiqFee',
205
+ type: 'uint256',
206
206
  },
207
207
  {
208
- "indexed": false,
209
- "name": "removeLiqFee",
210
- "type": "uint256"
208
+ indexed: false,
209
+ name: 'removeLiqFee',
210
+ type: 'uint256',
211
211
  },
212
212
  {
213
- "indexed": false,
214
- "name": "claimRewardsFee",
215
- "type": "uint256"
213
+ indexed: false,
214
+ name: 'claimRewardsFee',
215
+ type: 'uint256',
216
216
  },
217
217
  {
218
- "indexed": false,
219
- "name": "borrowFee",
220
- "type": "uint256"
218
+ indexed: false,
219
+ name: 'borrowFee',
220
+ type: 'uint256',
221
221
  },
222
222
  {
223
- "indexed": false,
224
- "name": "repayFee",
225
- "type": "uint256"
226
- }
223
+ indexed: false,
224
+ name: 'repayFee',
225
+ type: 'uint256',
226
+ },
227
227
  ],
228
- "name": "ProtocolTxPriceSheetSet",
229
- "type": "event"
228
+ name: 'ProtocolTxPriceSheetSet',
229
+ type: 'event',
230
230
  },
231
231
  {
232
- "anonymous": false,
233
- "inputs": [
232
+ anonymous: false,
233
+ inputs: [
234
234
  {
235
- "indexed": false,
236
- "name": "depositFee",
237
- "type": "uint256"
235
+ indexed: false,
236
+ name: 'depositFee',
237
+ type: 'uint256',
238
238
  },
239
239
  {
240
- "indexed": false,
241
- "name": "withdrawalFee",
242
- "type": "uint256"
240
+ indexed: false,
241
+ name: 'withdrawalFee',
242
+ type: 'uint256',
243
243
  },
244
244
  {
245
- "indexed": false,
246
- "name": "rebalanceFee",
247
- "type": "uint256"
245
+ indexed: false,
246
+ name: 'rebalanceFee',
247
+ type: 'uint256',
248
248
  },
249
249
  {
250
- "indexed": false,
251
- "name": "transferFee",
252
- "type": "uint256"
250
+ indexed: false,
251
+ name: 'transferFee',
252
+ type: 'uint256',
253
253
  },
254
254
  {
255
- "indexed": false,
256
- "name": "swapFee",
257
- "type": "uint256"
255
+ indexed: false,
256
+ name: 'swapFee',
257
+ type: 'uint256',
258
258
  },
259
259
  {
260
- "indexed": false,
261
- "name": "addLiqFee",
262
- "type": "uint256"
260
+ indexed: false,
261
+ name: 'addLiqFee',
262
+ type: 'uint256',
263
263
  },
264
264
  {
265
- "indexed": false,
266
- "name": "removeLiqFee",
267
- "type": "uint256"
265
+ indexed: false,
266
+ name: 'removeLiqFee',
267
+ type: 'uint256',
268
268
  },
269
269
  {
270
- "indexed": false,
271
- "name": "claimRewardsFee",
272
- "type": "uint256"
270
+ indexed: false,
271
+ name: 'claimRewardsFee',
272
+ type: 'uint256',
273
273
  },
274
274
  {
275
- "indexed": false,
276
- "name": "borrowFee",
277
- "type": "uint256"
275
+ indexed: false,
276
+ name: 'borrowFee',
277
+ type: 'uint256',
278
278
  },
279
279
  {
280
- "indexed": false,
281
- "name": "repayFee",
282
- "type": "uint256"
283
- }
280
+ indexed: false,
281
+ name: 'repayFee',
282
+ type: 'uint256',
283
+ },
284
284
  ],
285
- "name": "ProtocolTxPriceSheetRemoved",
286
- "type": "event"
285
+ name: 'ProtocolTxPriceSheetRemoved',
286
+ type: 'event',
287
287
  },
288
288
  {
289
- "anonymous": false,
290
- "inputs": [
289
+ anonymous: false,
290
+ inputs: [
291
291
  {
292
- "indexed": true,
293
- "name": "recipient",
294
- "type": "address"
295
- }
292
+ indexed: true,
293
+ name: 'recipient',
294
+ type: 'address',
295
+ },
296
296
  ],
297
- "name": "ProtocolRecipientSet",
298
- "type": "event"
297
+ name: 'ProtocolRecipientSet',
298
+ type: 'event',
299
299
  },
300
300
  {
301
- "anonymous": false,
302
- "inputs": [
301
+ anonymous: false,
302
+ inputs: [
303
303
  {
304
- "indexed": false,
305
- "name": "delayBlocks",
306
- "type": "uint256"
307
- }
304
+ indexed: false,
305
+ name: 'delayBlocks',
306
+ type: 'uint256',
307
+ },
308
308
  ],
309
- "name": "PriceChangeDelaySet",
310
- "type": "event"
309
+ name: 'PriceChangeDelaySet',
310
+ type: 'event',
311
311
  },
312
312
  {
313
- "anonymous": false,
314
- "inputs": [
313
+ anonymous: false,
314
+ inputs: [
315
315
  {
316
- "indexed": false,
317
- "name": "isActivated",
318
- "type": "bool"
319
- }
316
+ indexed: false,
317
+ name: 'isActivated',
318
+ type: 'bool',
319
+ },
320
320
  ],
321
- "name": "PriceSheetsActivated",
322
- "type": "event"
321
+ name: 'PriceSheetsActivated',
322
+ type: 'event',
323
323
  },
324
324
  {
325
- "anonymous": false,
326
- "inputs": [
325
+ anonymous: false,
326
+ inputs: [
327
327
  {
328
- "indexed": true,
329
- "name": "addr",
330
- "type": "address"
331
- }
328
+ indexed: true,
329
+ name: 'addr',
330
+ type: 'address',
331
+ },
332
332
  ],
333
- "name": "LocalGovernorSet",
334
- "type": "event"
333
+ name: 'LocalGovernorSet',
334
+ type: 'event',
335
335
  },
336
336
  {
337
- "inputs": [
337
+ inputs: [
338
338
  {
339
- "name": "_address",
340
- "type": "address"
341
- }
339
+ name: '_address',
340
+ type: 'address',
341
+ },
342
342
  ],
343
- "name": "isGovernor",
344
- "outputs": [
343
+ name: 'isGovernor',
344
+ outputs: [
345
345
  {
346
- "name": "",
347
- "type": "bool"
348
- }
346
+ name: '',
347
+ type: 'bool',
348
+ },
349
349
  ],
350
- "stateMutability": "view",
351
- "type": "function"
350
+ stateMutability: 'view',
351
+ type: 'function',
352
352
  },
353
353
  {
354
- "inputs": [
354
+ inputs: [
355
355
  {
356
- "name": "_newGovernor",
357
- "type": "address"
358
- }
356
+ name: '_newGovernor',
357
+ type: 'address',
358
+ },
359
359
  ],
360
- "name": "isValidLocalGovernor",
361
- "outputs": [
360
+ name: 'isValidLocalGovernor',
361
+ outputs: [
362
362
  {
363
- "name": "",
364
- "type": "bool"
365
- }
363
+ name: '',
364
+ type: 'bool',
365
+ },
366
366
  ],
367
- "stateMutability": "view",
368
- "type": "function"
367
+ stateMutability: 'view',
368
+ type: 'function',
369
369
  },
370
370
  {
371
- "inputs": [
371
+ inputs: [
372
372
  {
373
- "name": "_newGovernor",
374
- "type": "address"
375
- }
373
+ name: '_newGovernor',
374
+ type: 'address',
375
+ },
376
376
  ],
377
- "name": "setLocalGovernor",
378
- "outputs": [
377
+ name: 'setLocalGovernor',
378
+ outputs: [
379
379
  {
380
- "name": "",
381
- "type": "bool"
382
- }
380
+ name: '',
381
+ type: 'bool',
382
+ },
383
383
  ],
384
- "stateMutability": "nonpayable",
385
- "type": "function"
384
+ stateMutability: 'nonpayable',
385
+ type: 'function',
386
386
  },
387
387
  {
388
- "inputs": [],
389
- "name": "localGovernor",
390
- "outputs": [
388
+ inputs: [],
389
+ name: 'localGovernor',
390
+ outputs: [
391
391
  {
392
- "name": "",
393
- "type": "address"
394
- }
392
+ name: '',
393
+ type: 'address',
394
+ },
395
395
  ],
396
- "stateMutability": "view",
397
- "type": "function"
396
+ stateMutability: 'view',
397
+ type: 'function',
398
398
  },
399
399
  {
400
- "inputs": [
400
+ inputs: [
401
401
  {
402
- "name": "_user",
403
- "type": "address"
402
+ name: '_user',
403
+ type: 'address',
404
404
  },
405
405
  {
406
- "name": "_agent",
407
- "type": "address"
406
+ name: '_agent',
407
+ type: 'address',
408
408
  },
409
409
  {
410
- "name": "_agentPaidThru",
411
- "type": "uint256"
410
+ name: '_agentPaidThru',
411
+ type: 'uint256',
412
412
  },
413
413
  {
414
- "name": "_protocolPaidThru",
415
- "type": "uint256"
414
+ name: '_protocolPaidThru',
415
+ type: 'uint256',
416
416
  },
417
417
  {
418
- "name": "_oracleRegistry",
419
- "type": "address"
420
- }
418
+ name: '_oracleRegistry',
419
+ type: 'address',
420
+ },
421
421
  ],
422
- "name": "getCombinedSubData",
423
- "outputs": [
422
+ name: 'getCombinedSubData',
423
+ outputs: [
424
424
  {
425
- "components": [
425
+ components: [
426
426
  {
427
- "name": "recipient",
428
- "type": "address"
427
+ name: 'recipient',
428
+ type: 'address',
429
429
  },
430
430
  {
431
- "name": "asset",
432
- "type": "address"
431
+ name: 'asset',
432
+ type: 'address',
433
433
  },
434
434
  {
435
- "name": "amount",
436
- "type": "uint256"
435
+ name: 'amount',
436
+ type: 'uint256',
437
437
  },
438
438
  {
439
- "name": "usdValue",
440
- "type": "uint256"
439
+ name: 'usdValue',
440
+ type: 'uint256',
441
441
  },
442
442
  {
443
- "name": "paidThroughBlock",
444
- "type": "uint256"
443
+ name: 'paidThroughBlock',
444
+ type: 'uint256',
445
445
  },
446
446
  {
447
- "name": "didChange",
448
- "type": "bool"
449
- }
447
+ name: 'didChange',
448
+ type: 'bool',
449
+ },
450
450
  ],
451
- "name": "",
452
- "type": "tuple"
451
+ name: '',
452
+ type: 'tuple',
453
453
  },
454
454
  {
455
- "components": [
455
+ components: [
456
456
  {
457
- "name": "recipient",
458
- "type": "address"
457
+ name: 'recipient',
458
+ type: 'address',
459
459
  },
460
460
  {
461
- "name": "asset",
462
- "type": "address"
461
+ name: 'asset',
462
+ type: 'address',
463
463
  },
464
464
  {
465
- "name": "amount",
466
- "type": "uint256"
465
+ name: 'amount',
466
+ type: 'uint256',
467
467
  },
468
468
  {
469
- "name": "usdValue",
470
- "type": "uint256"
469
+ name: 'usdValue',
470
+ type: 'uint256',
471
471
  },
472
472
  {
473
- "name": "paidThroughBlock",
474
- "type": "uint256"
473
+ name: 'paidThroughBlock',
474
+ type: 'uint256',
475
475
  },
476
476
  {
477
- "name": "didChange",
478
- "type": "bool"
479
- }
477
+ name: 'didChange',
478
+ type: 'bool',
479
+ },
480
480
  ],
481
- "name": "",
482
- "type": "tuple"
483
- }
481
+ name: '',
482
+ type: 'tuple',
483
+ },
484
484
  ],
485
- "stateMutability": "view",
486
- "type": "function"
485
+ stateMutability: 'view',
486
+ type: 'function',
487
487
  },
488
488
  {
489
- "inputs": [
489
+ inputs: [
490
490
  {
491
- "name": "_agent",
492
- "type": "address"
493
- }
491
+ name: '_agent',
492
+ type: 'address',
493
+ },
494
494
  ],
495
- "name": "getAgentSubPriceData",
496
- "outputs": [
495
+ name: 'getAgentSubPriceData',
496
+ outputs: [
497
497
  {
498
- "components": [
498
+ components: [
499
499
  {
500
- "name": "asset",
501
- "type": "address"
500
+ name: 'asset',
501
+ type: 'address',
502
502
  },
503
503
  {
504
- "name": "usdValue",
505
- "type": "uint256"
504
+ name: 'usdValue',
505
+ type: 'uint256',
506
506
  },
507
507
  {
508
- "name": "trialPeriod",
509
- "type": "uint256"
508
+ name: 'trialPeriod',
509
+ type: 'uint256',
510
510
  },
511
511
  {
512
- "name": "payPeriod",
513
- "type": "uint256"
514
- }
512
+ name: 'payPeriod',
513
+ type: 'uint256',
514
+ },
515
515
  ],
516
- "name": "",
517
- "type": "tuple"
518
- }
516
+ name: '',
517
+ type: 'tuple',
518
+ },
519
519
  ],
520
- "stateMutability": "view",
521
- "type": "function"
520
+ stateMutability: 'view',
521
+ type: 'function',
522
522
  },
523
523
  {
524
- "inputs": [
524
+ inputs: [
525
525
  {
526
- "name": "_asset",
527
- "type": "address"
526
+ name: '_asset',
527
+ type: 'address',
528
528
  },
529
529
  {
530
- "name": "_usdValue",
531
- "type": "uint256"
530
+ name: '_usdValue',
531
+ type: 'uint256',
532
532
  },
533
533
  {
534
- "name": "_trialPeriod",
535
- "type": "uint256"
534
+ name: '_trialPeriod',
535
+ type: 'uint256',
536
536
  },
537
537
  {
538
- "name": "_payPeriod",
539
- "type": "uint256"
540
- }
538
+ name: '_payPeriod',
539
+ type: 'uint256',
540
+ },
541
541
  ],
542
- "name": "isValidSubPrice",
543
- "outputs": [
542
+ name: 'isValidSubPrice',
543
+ outputs: [
544
544
  {
545
- "name": "",
546
- "type": "bool"
547
- }
545
+ name: '',
546
+ type: 'bool',
547
+ },
548
548
  ],
549
- "stateMutability": "view",
550
- "type": "function"
549
+ stateMutability: 'view',
550
+ type: 'function',
551
551
  },
552
552
  {
553
- "inputs": [
553
+ inputs: [
554
554
  {
555
- "name": "_agent",
556
- "type": "address"
555
+ name: '_agent',
556
+ type: 'address',
557
557
  },
558
558
  {
559
- "name": "_asset",
560
- "type": "address"
559
+ name: '_asset',
560
+ type: 'address',
561
561
  },
562
562
  {
563
- "name": "_usdValue",
564
- "type": "uint256"
563
+ name: '_usdValue',
564
+ type: 'uint256',
565
565
  },
566
566
  {
567
- "name": "_trialPeriod",
568
- "type": "uint256"
567
+ name: '_trialPeriod',
568
+ type: 'uint256',
569
569
  },
570
570
  {
571
- "name": "_payPeriod",
572
- "type": "uint256"
573
- }
571
+ name: '_payPeriod',
572
+ type: 'uint256',
573
+ },
574
574
  ],
575
- "name": "setAgentSubPrice",
576
- "outputs": [
575
+ name: 'setAgentSubPrice',
576
+ outputs: [
577
577
  {
578
- "name": "",
579
- "type": "bool"
580
- }
578
+ name: '',
579
+ type: 'bool',
580
+ },
581
581
  ],
582
- "stateMutability": "nonpayable",
583
- "type": "function"
582
+ stateMutability: 'nonpayable',
583
+ type: 'function',
584
584
  },
585
585
  {
586
- "inputs": [
586
+ inputs: [
587
587
  {
588
- "name": "_agent",
589
- "type": "address"
590
- }
588
+ name: '_agent',
589
+ type: 'address',
590
+ },
591
591
  ],
592
- "name": "finalizePendingAgentSubPrice",
593
- "outputs": [
592
+ name: 'finalizePendingAgentSubPrice',
593
+ outputs: [
594
594
  {
595
- "name": "",
596
- "type": "bool"
597
- }
595
+ name: '',
596
+ type: 'bool',
597
+ },
598
598
  ],
599
- "stateMutability": "nonpayable",
600
- "type": "function"
599
+ stateMutability: 'nonpayable',
600
+ type: 'function',
601
601
  },
602
602
  {
603
- "inputs": [
603
+ inputs: [
604
604
  {
605
- "name": "_agent",
606
- "type": "address"
607
- }
605
+ name: '_agent',
606
+ type: 'address',
607
+ },
608
608
  ],
609
- "name": "removeAgentSubPrice",
610
- "outputs": [
609
+ name: 'removeAgentSubPrice',
610
+ outputs: [
611
611
  {
612
- "name": "",
613
- "type": "bool"
614
- }
612
+ name: '',
613
+ type: 'bool',
614
+ },
615
615
  ],
616
- "stateMutability": "nonpayable",
617
- "type": "function"
616
+ stateMutability: 'nonpayable',
617
+ type: 'function',
618
618
  },
619
619
  {
620
- "inputs": [
620
+ inputs: [
621
621
  {
622
- "name": "_isEnabled",
623
- "type": "bool"
624
- }
622
+ name: '_isEnabled',
623
+ type: 'bool',
624
+ },
625
625
  ],
626
- "name": "setAgentSubPricingEnabled",
627
- "outputs": [
626
+ name: 'setAgentSubPricingEnabled',
627
+ outputs: [
628
628
  {
629
- "name": "",
630
- "type": "bool"
631
- }
629
+ name: '',
630
+ type: 'bool',
631
+ },
632
632
  ],
633
- "stateMutability": "nonpayable",
634
- "type": "function"
633
+ stateMutability: 'nonpayable',
634
+ type: 'function',
635
635
  },
636
636
  {
637
- "inputs": [
637
+ inputs: [
638
638
  {
639
- "name": "_asset",
640
- "type": "address"
639
+ name: '_asset',
640
+ type: 'address',
641
641
  },
642
642
  {
643
- "name": "_usdValue",
644
- "type": "uint256"
643
+ name: '_usdValue',
644
+ type: 'uint256',
645
645
  },
646
646
  {
647
- "name": "_trialPeriod",
648
- "type": "uint256"
647
+ name: '_trialPeriod',
648
+ type: 'uint256',
649
649
  },
650
650
  {
651
- "name": "_payPeriod",
652
- "type": "uint256"
653
- }
651
+ name: '_payPeriod',
652
+ type: 'uint256',
653
+ },
654
654
  ],
655
- "name": "setProtocolSubPrice",
656
- "outputs": [
655
+ name: 'setProtocolSubPrice',
656
+ outputs: [
657
657
  {
658
- "name": "",
659
- "type": "bool"
660
- }
658
+ name: '',
659
+ type: 'bool',
660
+ },
661
661
  ],
662
- "stateMutability": "nonpayable",
663
- "type": "function"
662
+ stateMutability: 'nonpayable',
663
+ type: 'function',
664
664
  },
665
665
  {
666
- "inputs": [],
667
- "name": "removeProtocolSubPrice",
668
- "outputs": [
666
+ inputs: [],
667
+ name: 'removeProtocolSubPrice',
668
+ outputs: [
669
669
  {
670
- "name": "",
671
- "type": "bool"
672
- }
670
+ name: '',
671
+ type: 'bool',
672
+ },
673
673
  ],
674
- "stateMutability": "nonpayable",
675
- "type": "function"
674
+ stateMutability: 'nonpayable',
675
+ type: 'function',
676
676
  },
677
677
  {
678
- "inputs": [
678
+ inputs: [
679
679
  {
680
- "name": "_user",
681
- "type": "address"
680
+ name: '_user',
681
+ type: 'address',
682
682
  },
683
683
  {
684
- "name": "_action",
685
- "type": "uint256"
686
- }
684
+ name: '_action',
685
+ type: 'uint256',
686
+ },
687
687
  ],
688
- "name": "getTransactionFeeData",
689
- "outputs": [
688
+ name: 'getTransactionFeeData',
689
+ outputs: [
690
690
  {
691
- "name": "",
692
- "type": "uint256"
691
+ name: '',
692
+ type: 'uint256',
693
693
  },
694
694
  {
695
- "name": "",
696
- "type": "address"
697
- }
695
+ name: '',
696
+ type: 'address',
697
+ },
698
698
  ],
699
- "stateMutability": "view",
700
- "type": "function"
699
+ stateMutability: 'view',
700
+ type: 'function',
701
701
  },
702
702
  {
703
- "inputs": [
703
+ inputs: [
704
704
  {
705
- "name": "_depositFee",
706
- "type": "uint256"
705
+ name: '_depositFee',
706
+ type: 'uint256',
707
707
  },
708
708
  {
709
- "name": "_withdrawalFee",
710
- "type": "uint256"
709
+ name: '_withdrawalFee',
710
+ type: 'uint256',
711
711
  },
712
712
  {
713
- "name": "_rebalanceFee",
714
- "type": "uint256"
713
+ name: '_rebalanceFee',
714
+ type: 'uint256',
715
715
  },
716
716
  {
717
- "name": "_transferFee",
718
- "type": "uint256"
717
+ name: '_transferFee',
718
+ type: 'uint256',
719
719
  },
720
720
  {
721
- "name": "_swapFee",
722
- "type": "uint256"
721
+ name: '_swapFee',
722
+ type: 'uint256',
723
723
  },
724
724
  {
725
- "name": "_addLiqFee",
726
- "type": "uint256"
725
+ name: '_addLiqFee',
726
+ type: 'uint256',
727
727
  },
728
728
  {
729
- "name": "_removeLiqFee",
730
- "type": "uint256"
729
+ name: '_removeLiqFee',
730
+ type: 'uint256',
731
731
  },
732
732
  {
733
- "name": "_claimRewardsFee",
734
- "type": "uint256"
733
+ name: '_claimRewardsFee',
734
+ type: 'uint256',
735
735
  },
736
736
  {
737
- "name": "_borrowFee",
738
- "type": "uint256"
737
+ name: '_borrowFee',
738
+ type: 'uint256',
739
739
  },
740
740
  {
741
- "name": "_repayFee",
742
- "type": "uint256"
743
- }
741
+ name: '_repayFee',
742
+ type: 'uint256',
743
+ },
744
744
  ],
745
- "name": "isValidTxPriceSheet",
746
- "outputs": [
745
+ name: 'isValidTxPriceSheet',
746
+ outputs: [
747
747
  {
748
- "name": "",
749
- "type": "bool"
750
- }
748
+ name: '',
749
+ type: 'bool',
750
+ },
751
751
  ],
752
- "stateMutability": "view",
753
- "type": "function"
752
+ stateMutability: 'view',
753
+ type: 'function',
754
754
  },
755
755
  {
756
- "inputs": [
756
+ inputs: [
757
757
  {
758
- "name": "_depositFee",
759
- "type": "uint256"
758
+ name: '_depositFee',
759
+ type: 'uint256',
760
760
  },
761
761
  {
762
- "name": "_withdrawalFee",
763
- "type": "uint256"
762
+ name: '_withdrawalFee',
763
+ type: 'uint256',
764
764
  },
765
765
  {
766
- "name": "_rebalanceFee",
767
- "type": "uint256"
766
+ name: '_rebalanceFee',
767
+ type: 'uint256',
768
768
  },
769
769
  {
770
- "name": "_transferFee",
771
- "type": "uint256"
770
+ name: '_transferFee',
771
+ type: 'uint256',
772
772
  },
773
773
  {
774
- "name": "_swapFee",
775
- "type": "uint256"
774
+ name: '_swapFee',
775
+ type: 'uint256',
776
776
  },
777
777
  {
778
- "name": "_addLiqFee",
779
- "type": "uint256"
778
+ name: '_addLiqFee',
779
+ type: 'uint256',
780
780
  },
781
781
  {
782
- "name": "_removeLiqFee",
783
- "type": "uint256"
782
+ name: '_removeLiqFee',
783
+ type: 'uint256',
784
784
  },
785
785
  {
786
- "name": "_claimRewardsFee",
787
- "type": "uint256"
786
+ name: '_claimRewardsFee',
787
+ type: 'uint256',
788
788
  },
789
789
  {
790
- "name": "_borrowFee",
791
- "type": "uint256"
790
+ name: '_borrowFee',
791
+ type: 'uint256',
792
792
  },
793
793
  {
794
- "name": "_repayFee",
795
- "type": "uint256"
796
- }
794
+ name: '_repayFee',
795
+ type: 'uint256',
796
+ },
797
797
  ],
798
- "name": "setProtocolTxPriceSheet",
799
- "outputs": [
798
+ name: 'setProtocolTxPriceSheet',
799
+ outputs: [
800
800
  {
801
- "name": "",
802
- "type": "bool"
803
- }
801
+ name: '',
802
+ type: 'bool',
803
+ },
804
804
  ],
805
- "stateMutability": "nonpayable",
806
- "type": "function"
805
+ stateMutability: 'nonpayable',
806
+ type: 'function',
807
807
  },
808
808
  {
809
- "inputs": [],
810
- "name": "removeProtocolTxPriceSheet",
811
- "outputs": [
809
+ inputs: [],
810
+ name: 'removeProtocolTxPriceSheet',
811
+ outputs: [
812
812
  {
813
- "name": "",
814
- "type": "bool"
815
- }
813
+ name: '',
814
+ type: 'bool',
815
+ },
816
816
  ],
817
- "stateMutability": "nonpayable",
818
- "type": "function"
817
+ stateMutability: 'nonpayable',
818
+ type: 'function',
819
819
  },
820
820
  {
821
- "inputs": [
821
+ inputs: [
822
822
  {
823
- "name": "_recipient",
824
- "type": "address"
825
- }
823
+ name: '_recipient',
824
+ type: 'address',
825
+ },
826
826
  ],
827
- "name": "setProtocolRecipient",
828
- "outputs": [
827
+ name: 'setProtocolRecipient',
828
+ outputs: [
829
829
  {
830
- "name": "",
831
- "type": "bool"
832
- }
830
+ name: '',
831
+ type: 'bool',
832
+ },
833
833
  ],
834
- "stateMutability": "nonpayable",
835
- "type": "function"
834
+ stateMutability: 'nonpayable',
835
+ type: 'function',
836
836
  },
837
837
  {
838
- "inputs": [
838
+ inputs: [
839
839
  {
840
- "name": "_delayBlocks",
841
- "type": "uint256"
842
- }
840
+ name: '_delayBlocks',
841
+ type: 'uint256',
842
+ },
843
843
  ],
844
- "name": "setPriceChangeDelay",
845
- "outputs": [
844
+ name: 'setPriceChangeDelay',
845
+ outputs: [
846
846
  {
847
- "name": "",
848
- "type": "bool"
849
- }
847
+ name: '',
848
+ type: 'bool',
849
+ },
850
850
  ],
851
- "stateMutability": "nonpayable",
852
- "type": "function"
851
+ stateMutability: 'nonpayable',
852
+ type: 'function',
853
853
  },
854
854
  {
855
- "inputs": [
855
+ inputs: [
856
856
  {
857
- "name": "_shouldActivate",
858
- "type": "bool"
859
- }
857
+ name: '_shouldActivate',
858
+ type: 'bool',
859
+ },
860
860
  ],
861
- "name": "activate",
862
- "outputs": [],
863
- "stateMutability": "nonpayable",
864
- "type": "function"
861
+ name: 'activate',
862
+ outputs: [],
863
+ stateMutability: 'nonpayable',
864
+ type: 'function',
865
865
  },
866
866
  {
867
- "inputs": [],
868
- "name": "protocolRecipient",
869
- "outputs": [
867
+ inputs: [],
868
+ name: 'protocolRecipient',
869
+ outputs: [
870
870
  {
871
- "name": "",
872
- "type": "address"
873
- }
871
+ name: '',
872
+ type: 'address',
873
+ },
874
874
  ],
875
- "stateMutability": "view",
876
- "type": "function"
875
+ stateMutability: 'view',
876
+ type: 'function',
877
877
  },
878
878
  {
879
- "inputs": [],
880
- "name": "protocolTxPriceData",
881
- "outputs": [
879
+ inputs: [],
880
+ name: 'protocolTxPriceData',
881
+ outputs: [
882
882
  {
883
- "components": [
883
+ components: [
884
884
  {
885
- "name": "depositFee",
886
- "type": "uint256"
885
+ name: 'depositFee',
886
+ type: 'uint256',
887
887
  },
888
888
  {
889
- "name": "withdrawalFee",
890
- "type": "uint256"
889
+ name: 'withdrawalFee',
890
+ type: 'uint256',
891
891
  },
892
892
  {
893
- "name": "rebalanceFee",
894
- "type": "uint256"
893
+ name: 'rebalanceFee',
894
+ type: 'uint256',
895
895
  },
896
896
  {
897
- "name": "transferFee",
898
- "type": "uint256"
897
+ name: 'transferFee',
898
+ type: 'uint256',
899
899
  },
900
900
  {
901
- "name": "swapFee",
902
- "type": "uint256"
901
+ name: 'swapFee',
902
+ type: 'uint256',
903
903
  },
904
904
  {
905
- "name": "addLiqFee",
906
- "type": "uint256"
905
+ name: 'addLiqFee',
906
+ type: 'uint256',
907
907
  },
908
908
  {
909
- "name": "removeLiqFee",
910
- "type": "uint256"
909
+ name: 'removeLiqFee',
910
+ type: 'uint256',
911
911
  },
912
912
  {
913
- "name": "claimRewardsFee",
914
- "type": "uint256"
913
+ name: 'claimRewardsFee',
914
+ type: 'uint256',
915
915
  },
916
916
  {
917
- "name": "borrowFee",
918
- "type": "uint256"
917
+ name: 'borrowFee',
918
+ type: 'uint256',
919
919
  },
920
920
  {
921
- "name": "repayFee",
922
- "type": "uint256"
923
- }
921
+ name: 'repayFee',
922
+ type: 'uint256',
923
+ },
924
924
  ],
925
- "name": "",
926
- "type": "tuple"
927
- }
925
+ name: '',
926
+ type: 'tuple',
927
+ },
928
928
  ],
929
- "stateMutability": "view",
930
- "type": "function"
929
+ stateMutability: 'view',
930
+ type: 'function',
931
931
  },
932
932
  {
933
- "inputs": [],
934
- "name": "protocolSubPriceData",
935
- "outputs": [
933
+ inputs: [],
934
+ name: 'protocolSubPriceData',
935
+ outputs: [
936
936
  {
937
- "components": [
937
+ components: [
938
938
  {
939
- "name": "asset",
940
- "type": "address"
939
+ name: 'asset',
940
+ type: 'address',
941
941
  },
942
942
  {
943
- "name": "usdValue",
944
- "type": "uint256"
943
+ name: 'usdValue',
944
+ type: 'uint256',
945
945
  },
946
946
  {
947
- "name": "trialPeriod",
948
- "type": "uint256"
947
+ name: 'trialPeriod',
948
+ type: 'uint256',
949
949
  },
950
950
  {
951
- "name": "payPeriod",
952
- "type": "uint256"
953
- }
951
+ name: 'payPeriod',
952
+ type: 'uint256',
953
+ },
954
954
  ],
955
- "name": "",
956
- "type": "tuple"
957
- }
955
+ name: '',
956
+ type: 'tuple',
957
+ },
958
958
  ],
959
- "stateMutability": "view",
960
- "type": "function"
959
+ stateMutability: 'view',
960
+ type: 'function',
961
961
  },
962
962
  {
963
- "inputs": [],
964
- "name": "isAgentSubPricingEnabled",
965
- "outputs": [
963
+ inputs: [],
964
+ name: 'isAgentSubPricingEnabled',
965
+ outputs: [
966
966
  {
967
- "name": "",
968
- "type": "bool"
969
- }
967
+ name: '',
968
+ type: 'bool',
969
+ },
970
970
  ],
971
- "stateMutability": "view",
972
- "type": "function"
971
+ stateMutability: 'view',
972
+ type: 'function',
973
973
  },
974
974
  {
975
- "inputs": [
975
+ inputs: [
976
976
  {
977
- "name": "arg0",
978
- "type": "address"
979
- }
977
+ name: 'arg0',
978
+ type: 'address',
979
+ },
980
980
  ],
981
- "name": "agentSubPriceData",
982
- "outputs": [
981
+ name: 'agentSubPriceData',
982
+ outputs: [
983
983
  {
984
- "components": [
984
+ components: [
985
985
  {
986
- "name": "asset",
987
- "type": "address"
986
+ name: 'asset',
987
+ type: 'address',
988
988
  },
989
989
  {
990
- "name": "usdValue",
991
- "type": "uint256"
990
+ name: 'usdValue',
991
+ type: 'uint256',
992
992
  },
993
993
  {
994
- "name": "trialPeriod",
995
- "type": "uint256"
994
+ name: 'trialPeriod',
995
+ type: 'uint256',
996
996
  },
997
997
  {
998
- "name": "payPeriod",
999
- "type": "uint256"
1000
- }
998
+ name: 'payPeriod',
999
+ type: 'uint256',
1000
+ },
1001
1001
  ],
1002
- "name": "",
1003
- "type": "tuple"
1004
- }
1002
+ name: '',
1003
+ type: 'tuple',
1004
+ },
1005
1005
  ],
1006
- "stateMutability": "view",
1007
- "type": "function"
1006
+ stateMutability: 'view',
1007
+ type: 'function',
1008
1008
  },
1009
1009
  {
1010
- "inputs": [
1010
+ inputs: [
1011
1011
  {
1012
- "name": "arg0",
1013
- "type": "address"
1014
- }
1012
+ name: 'arg0',
1013
+ type: 'address',
1014
+ },
1015
1015
  ],
1016
- "name": "pendingAgentSubPrices",
1017
- "outputs": [
1016
+ name: 'pendingAgentSubPrices',
1017
+ outputs: [
1018
1018
  {
1019
- "components": [
1019
+ components: [
1020
1020
  {
1021
- "components": [
1021
+ components: [
1022
1022
  {
1023
- "name": "asset",
1024
- "type": "address"
1023
+ name: 'asset',
1024
+ type: 'address',
1025
1025
  },
1026
1026
  {
1027
- "name": "usdValue",
1028
- "type": "uint256"
1027
+ name: 'usdValue',
1028
+ type: 'uint256',
1029
1029
  },
1030
1030
  {
1031
- "name": "trialPeriod",
1032
- "type": "uint256"
1031
+ name: 'trialPeriod',
1032
+ type: 'uint256',
1033
1033
  },
1034
1034
  {
1035
- "name": "payPeriod",
1036
- "type": "uint256"
1037
- }
1035
+ name: 'payPeriod',
1036
+ type: 'uint256',
1037
+ },
1038
1038
  ],
1039
- "name": "subInfo",
1040
- "type": "tuple"
1039
+ name: 'subInfo',
1040
+ type: 'tuple',
1041
1041
  },
1042
1042
  {
1043
- "name": "effectiveBlock",
1044
- "type": "uint256"
1045
- }
1043
+ name: 'effectiveBlock',
1044
+ type: 'uint256',
1045
+ },
1046
1046
  ],
1047
- "name": "",
1048
- "type": "tuple"
1049
- }
1047
+ name: '',
1048
+ type: 'tuple',
1049
+ },
1050
1050
  ],
1051
- "stateMutability": "view",
1052
- "type": "function"
1051
+ stateMutability: 'view',
1052
+ type: 'function',
1053
1053
  },
1054
1054
  {
1055
- "inputs": [],
1056
- "name": "priceChangeDelay",
1057
- "outputs": [
1055
+ inputs: [],
1056
+ name: 'priceChangeDelay',
1057
+ outputs: [
1058
1058
  {
1059
- "name": "",
1060
- "type": "uint256"
1061
- }
1059
+ name: '',
1060
+ type: 'uint256',
1061
+ },
1062
1062
  ],
1063
- "stateMutability": "view",
1064
- "type": "function"
1063
+ stateMutability: 'view',
1064
+ type: 'function',
1065
1065
  },
1066
1066
  {
1067
- "inputs": [],
1068
- "name": "ADDY_REGISTRY",
1069
- "outputs": [
1067
+ inputs: [],
1068
+ name: 'ADDY_REGISTRY',
1069
+ outputs: [
1070
1070
  {
1071
- "name": "",
1072
- "type": "address"
1073
- }
1071
+ name: '',
1072
+ type: 'address',
1073
+ },
1074
1074
  ],
1075
- "stateMutability": "view",
1076
- "type": "function"
1075
+ stateMutability: 'view',
1076
+ type: 'function',
1077
1077
  },
1078
1078
  {
1079
- "inputs": [],
1080
- "name": "isActivated",
1081
- "outputs": [
1079
+ inputs: [],
1080
+ name: 'isActivated',
1081
+ outputs: [
1082
1082
  {
1083
- "name": "",
1084
- "type": "bool"
1085
- }
1083
+ name: '',
1084
+ type: 'bool',
1085
+ },
1086
1086
  ],
1087
- "stateMutability": "view",
1088
- "type": "function"
1087
+ stateMutability: 'view',
1088
+ type: 'function',
1089
1089
  },
1090
1090
  {
1091
- "inputs": [],
1092
- "name": "MIN_TRIAL_PERIOD",
1093
- "outputs": [
1091
+ inputs: [],
1092
+ name: 'MIN_TRIAL_PERIOD',
1093
+ outputs: [
1094
1094
  {
1095
- "name": "",
1096
- "type": "uint256"
1097
- }
1095
+ name: '',
1096
+ type: 'uint256',
1097
+ },
1098
1098
  ],
1099
- "stateMutability": "view",
1100
- "type": "function"
1099
+ stateMutability: 'view',
1100
+ type: 'function',
1101
1101
  },
1102
1102
  {
1103
- "inputs": [],
1104
- "name": "MAX_TRIAL_PERIOD",
1105
- "outputs": [
1103
+ inputs: [],
1104
+ name: 'MAX_TRIAL_PERIOD',
1105
+ outputs: [
1106
1106
  {
1107
- "name": "",
1108
- "type": "uint256"
1109
- }
1107
+ name: '',
1108
+ type: 'uint256',
1109
+ },
1110
1110
  ],
1111
- "stateMutability": "view",
1112
- "type": "function"
1111
+ stateMutability: 'view',
1112
+ type: 'function',
1113
1113
  },
1114
1114
  {
1115
- "inputs": [],
1116
- "name": "MIN_PAY_PERIOD",
1117
- "outputs": [
1115
+ inputs: [],
1116
+ name: 'MIN_PAY_PERIOD',
1117
+ outputs: [
1118
1118
  {
1119
- "name": "",
1120
- "type": "uint256"
1121
- }
1119
+ name: '',
1120
+ type: 'uint256',
1121
+ },
1122
1122
  ],
1123
- "stateMutability": "view",
1124
- "type": "function"
1123
+ stateMutability: 'view',
1124
+ type: 'function',
1125
1125
  },
1126
1126
  {
1127
- "inputs": [],
1128
- "name": "MAX_PAY_PERIOD",
1129
- "outputs": [
1127
+ inputs: [],
1128
+ name: 'MAX_PAY_PERIOD',
1129
+ outputs: [
1130
1130
  {
1131
- "name": "",
1132
- "type": "uint256"
1133
- }
1131
+ name: '',
1132
+ type: 'uint256',
1133
+ },
1134
1134
  ],
1135
- "stateMutability": "view",
1136
- "type": "function"
1135
+ stateMutability: 'view',
1136
+ type: 'function',
1137
1137
  },
1138
1138
  {
1139
- "inputs": [],
1140
- "name": "MIN_PRICE_CHANGE_BUFFER",
1141
- "outputs": [
1139
+ inputs: [],
1140
+ name: 'MIN_PRICE_CHANGE_BUFFER',
1141
+ outputs: [
1142
1142
  {
1143
- "name": "",
1144
- "type": "uint256"
1145
- }
1143
+ name: '',
1144
+ type: 'uint256',
1145
+ },
1146
1146
  ],
1147
- "stateMutability": "view",
1148
- "type": "function"
1147
+ stateMutability: 'view',
1148
+ type: 'function',
1149
1149
  },
1150
1150
  {
1151
- "inputs": [
1151
+ inputs: [
1152
1152
  {
1153
- "name": "_minTrialPeriod",
1154
- "type": "uint256"
1153
+ name: '_minTrialPeriod',
1154
+ type: 'uint256',
1155
1155
  },
1156
1156
  {
1157
- "name": "_maxTrialPeriod",
1158
- "type": "uint256"
1157
+ name: '_maxTrialPeriod',
1158
+ type: 'uint256',
1159
1159
  },
1160
1160
  {
1161
- "name": "_minPayPeriod",
1162
- "type": "uint256"
1161
+ name: '_minPayPeriod',
1162
+ type: 'uint256',
1163
1163
  },
1164
1164
  {
1165
- "name": "_maxPayPeriod",
1166
- "type": "uint256"
1165
+ name: '_maxPayPeriod',
1166
+ type: 'uint256',
1167
1167
  },
1168
1168
  {
1169
- "name": "_minPriceChangeBuffer",
1170
- "type": "uint256"
1169
+ name: '_minPriceChangeBuffer',
1170
+ type: 'uint256',
1171
1171
  },
1172
1172
  {
1173
- "name": "_addyRegistry",
1174
- "type": "address"
1175
- }
1173
+ name: '_addyRegistry',
1174
+ type: 'address',
1175
+ },
1176
1176
  ],
1177
- "outputs": [],
1178
- "stateMutability": "nonpayable",
1179
- "type": "constructor"
1180
- }
1177
+ outputs: [],
1178
+ stateMutability: 'nonpayable',
1179
+ type: 'constructor',
1180
+ },
1181
1181
  ];
1182
- export const deployAddress = undefined;
1182
+ export const deployAddress = '0x59918c90eD44a3D7a72375f60C0148Ae18001ADC';
1183
1183
  function getRequest(method, args, contractAddressOrOptions) {
1184
1184
  const address = typeof contractAddressOrOptions === 'string' ? contractAddressOrOptions : contractAddressOrOptions?.contractAddress;
1185
1185
  const defaultValue = typeof contractAddressOrOptions === 'string' ? undefined : contractAddressOrOptions?.defaultValue;