@underscore-finance/sdk 0.0.3 → 0.0.4

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,557 +5,557 @@
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": "asset",
13
- "type": "address"
11
+ indexed: true,
12
+ name: 'asset',
13
+ type: 'address',
14
14
  },
15
15
  {
16
- "indexed": true,
17
- "name": "feedId",
18
- "type": "bytes32"
19
- }
16
+ indexed: true,
17
+ name: 'feedId',
18
+ type: 'bytes32',
19
+ },
20
20
  ],
21
- "name": "StorkFeedAdded",
22
- "type": "event"
21
+ name: 'StorkFeedAdded',
22
+ type: 'event',
23
23
  },
24
24
  {
25
- "anonymous": false,
26
- "inputs": [
25
+ anonymous: false,
26
+ inputs: [
27
27
  {
28
- "indexed": true,
29
- "name": "asset",
30
- "type": "address"
31
- }
28
+ indexed: true,
29
+ name: 'asset',
30
+ type: 'address',
31
+ },
32
32
  ],
33
- "name": "StorkFeedDisabled",
34
- "type": "event"
33
+ name: 'StorkFeedDisabled',
34
+ type: 'event',
35
35
  },
36
36
  {
37
- "anonymous": false,
38
- "inputs": [
37
+ anonymous: false,
38
+ inputs: [
39
39
  {
40
- "indexed": false,
41
- "name": "payload",
42
- "type": "bytes"
40
+ indexed: false,
41
+ name: 'payload',
42
+ type: 'bytes',
43
43
  },
44
44
  {
45
- "indexed": false,
46
- "name": "feeAmount",
47
- "type": "uint256"
45
+ indexed: false,
46
+ name: 'feeAmount',
47
+ type: 'uint256',
48
48
  },
49
49
  {
50
- "indexed": true,
51
- "name": "caller",
52
- "type": "address"
53
- }
50
+ indexed: true,
51
+ name: 'caller',
52
+ type: 'address',
53
+ },
54
54
  ],
55
- "name": "StorkPriceUpdated",
56
- "type": "event"
55
+ name: 'StorkPriceUpdated',
56
+ type: 'event',
57
57
  },
58
58
  {
59
- "anonymous": false,
60
- "inputs": [
59
+ anonymous: false,
60
+ inputs: [
61
61
  {
62
- "indexed": true,
63
- "name": "recipient",
64
- "type": "address"
62
+ indexed: true,
63
+ name: 'recipient',
64
+ type: 'address',
65
65
  },
66
66
  {
67
- "indexed": false,
68
- "name": "amount",
69
- "type": "uint256"
70
- }
67
+ indexed: false,
68
+ name: 'amount',
69
+ type: 'uint256',
70
+ },
71
71
  ],
72
- "name": "EthRecoveredFromStork",
73
- "type": "event"
72
+ name: 'EthRecoveredFromStork',
73
+ type: 'event',
74
74
  },
75
75
  {
76
- "anonymous": false,
77
- "inputs": [
76
+ anonymous: false,
77
+ inputs: [
78
78
  {
79
- "indexed": true,
80
- "name": "addr",
81
- "type": "address"
82
- }
79
+ indexed: true,
80
+ name: 'addr',
81
+ type: 'address',
82
+ },
83
83
  ],
84
- "name": "LocalGovernorSet",
85
- "type": "event"
84
+ name: 'LocalGovernorSet',
85
+ type: 'event',
86
86
  },
87
87
  {
88
- "inputs": [
88
+ inputs: [
89
89
  {
90
- "name": "_address",
91
- "type": "address"
92
- }
90
+ name: '_address',
91
+ type: 'address',
92
+ },
93
93
  ],
94
- "name": "isGovernor",
95
- "outputs": [
94
+ name: 'isGovernor',
95
+ outputs: [
96
96
  {
97
- "name": "",
98
- "type": "bool"
99
- }
97
+ name: '',
98
+ type: 'bool',
99
+ },
100
100
  ],
101
- "stateMutability": "view",
102
- "type": "function"
101
+ stateMutability: 'view',
102
+ type: 'function',
103
103
  },
104
104
  {
105
- "inputs": [
105
+ inputs: [
106
106
  {
107
- "name": "_newGovernor",
108
- "type": "address"
109
- }
107
+ name: '_newGovernor',
108
+ type: 'address',
109
+ },
110
110
  ],
111
- "name": "isValidLocalGovernor",
112
- "outputs": [
111
+ name: 'isValidLocalGovernor',
112
+ outputs: [
113
113
  {
114
- "name": "",
115
- "type": "bool"
116
- }
114
+ name: '',
115
+ type: 'bool',
116
+ },
117
117
  ],
118
- "stateMutability": "view",
119
- "type": "function"
118
+ stateMutability: 'view',
119
+ type: 'function',
120
120
  },
121
121
  {
122
- "inputs": [
122
+ inputs: [
123
123
  {
124
- "name": "_newGovernor",
125
- "type": "address"
126
- }
124
+ name: '_newGovernor',
125
+ type: 'address',
126
+ },
127
127
  ],
128
- "name": "setLocalGovernor",
129
- "outputs": [
128
+ name: 'setLocalGovernor',
129
+ outputs: [
130
130
  {
131
- "name": "",
132
- "type": "bool"
133
- }
131
+ name: '',
132
+ type: 'bool',
133
+ },
134
134
  ],
135
- "stateMutability": "nonpayable",
136
- "type": "function"
135
+ stateMutability: 'nonpayable',
136
+ type: 'function',
137
137
  },
138
138
  {
139
- "inputs": [],
140
- "name": "localGovernor",
141
- "outputs": [
139
+ inputs: [],
140
+ name: 'localGovernor',
141
+ outputs: [
142
142
  {
143
- "name": "",
144
- "type": "address"
145
- }
143
+ name: '',
144
+ type: 'address',
145
+ },
146
146
  ],
147
- "stateMutability": "view",
148
- "type": "function"
147
+ stateMutability: 'view',
148
+ type: 'function',
149
149
  },
150
150
  {
151
- "inputs": [],
152
- "name": "getConfiguredAssets",
153
- "outputs": [
151
+ inputs: [],
152
+ name: 'getConfiguredAssets',
153
+ outputs: [
154
154
  {
155
- "name": "",
156
- "type": "address[]"
157
- }
155
+ name: '',
156
+ type: 'address[]',
157
+ },
158
158
  ],
159
- "stateMutability": "view",
160
- "type": "function"
159
+ stateMutability: 'view',
160
+ type: 'function',
161
161
  },
162
162
  {
163
- "inputs": [
163
+ inputs: [
164
164
  {
165
- "name": "arg0",
166
- "type": "uint256"
167
- }
165
+ name: 'arg0',
166
+ type: 'uint256',
167
+ },
168
168
  ],
169
- "name": "assets",
170
- "outputs": [
169
+ name: 'assets',
170
+ outputs: [
171
171
  {
172
- "name": "",
173
- "type": "address"
174
- }
172
+ name: '',
173
+ type: 'address',
174
+ },
175
175
  ],
176
- "stateMutability": "view",
177
- "type": "function"
176
+ stateMutability: 'view',
177
+ type: 'function',
178
178
  },
179
179
  {
180
- "inputs": [
180
+ inputs: [
181
181
  {
182
- "name": "arg0",
183
- "type": "address"
184
- }
182
+ name: 'arg0',
183
+ type: 'address',
184
+ },
185
185
  ],
186
- "name": "indexOfAsset",
187
- "outputs": [
186
+ name: 'indexOfAsset',
187
+ outputs: [
188
188
  {
189
- "name": "",
190
- "type": "uint256"
191
- }
189
+ name: '',
190
+ type: 'uint256',
191
+ },
192
192
  ],
193
- "stateMutability": "view",
194
- "type": "function"
193
+ stateMutability: 'view',
194
+ type: 'function',
195
195
  },
196
196
  {
197
- "inputs": [],
198
- "name": "numAssets",
199
- "outputs": [
197
+ inputs: [],
198
+ name: 'numAssets',
199
+ outputs: [
200
200
  {
201
- "name": "",
202
- "type": "uint256"
203
- }
201
+ name: '',
202
+ type: 'uint256',
203
+ },
204
204
  ],
205
- "stateMutability": "view",
206
- "type": "function"
205
+ stateMutability: 'view',
206
+ type: 'function',
207
207
  },
208
208
  {
209
- "stateMutability": "payable",
210
- "type": "fallback"
209
+ stateMutability: 'payable',
210
+ type: 'fallback',
211
211
  },
212
212
  {
213
- "inputs": [
213
+ inputs: [
214
214
  {
215
- "name": "_asset",
216
- "type": "address"
217
- }
215
+ name: '_asset',
216
+ type: 'address',
217
+ },
218
218
  ],
219
- "name": "getPrice",
220
- "outputs": [
219
+ name: 'getPrice',
220
+ outputs: [
221
221
  {
222
- "name": "",
223
- "type": "uint256"
224
- }
222
+ name: '',
223
+ type: 'uint256',
224
+ },
225
225
  ],
226
- "stateMutability": "view",
227
- "type": "function"
226
+ stateMutability: 'view',
227
+ type: 'function',
228
228
  },
229
229
  {
230
- "inputs": [
230
+ inputs: [
231
231
  {
232
- "name": "_asset",
233
- "type": "address"
232
+ name: '_asset',
233
+ type: 'address',
234
234
  },
235
235
  {
236
- "name": "_staleTime",
237
- "type": "uint256"
238
- }
236
+ name: '_staleTime',
237
+ type: 'uint256',
238
+ },
239
239
  ],
240
- "name": "getPrice",
241
- "outputs": [
240
+ name: 'getPrice',
241
+ outputs: [
242
242
  {
243
- "name": "",
244
- "type": "uint256"
245
- }
243
+ name: '',
244
+ type: 'uint256',
245
+ },
246
246
  ],
247
- "stateMutability": "view",
248
- "type": "function"
247
+ stateMutability: 'view',
248
+ type: 'function',
249
249
  },
250
250
  {
251
- "inputs": [
251
+ inputs: [
252
252
  {
253
- "name": "_asset",
254
- "type": "address"
253
+ name: '_asset',
254
+ type: 'address',
255
255
  },
256
256
  {
257
- "name": "_staleTime",
258
- "type": "uint256"
257
+ name: '_staleTime',
258
+ type: 'uint256',
259
259
  },
260
260
  {
261
- "name": "_oracleRegistry",
262
- "type": "address"
263
- }
261
+ name: '_oracleRegistry',
262
+ type: 'address',
263
+ },
264
264
  ],
265
- "name": "getPrice",
266
- "outputs": [
265
+ name: 'getPrice',
266
+ outputs: [
267
267
  {
268
- "name": "",
269
- "type": "uint256"
270
- }
268
+ name: '',
269
+ type: 'uint256',
270
+ },
271
271
  ],
272
- "stateMutability": "view",
273
- "type": "function"
272
+ stateMutability: 'view',
273
+ type: 'function',
274
274
  },
275
275
  {
276
- "inputs": [
276
+ inputs: [
277
277
  {
278
- "name": "_asset",
279
- "type": "address"
280
- }
278
+ name: '_asset',
279
+ type: 'address',
280
+ },
281
281
  ],
282
- "name": "getPriceAndHasFeed",
283
- "outputs": [
282
+ name: 'getPriceAndHasFeed',
283
+ outputs: [
284
284
  {
285
- "name": "",
286
- "type": "uint256"
285
+ name: '',
286
+ type: 'uint256',
287
287
  },
288
288
  {
289
- "name": "",
290
- "type": "bool"
291
- }
289
+ name: '',
290
+ type: 'bool',
291
+ },
292
292
  ],
293
- "stateMutability": "view",
294
- "type": "function"
293
+ stateMutability: 'view',
294
+ type: 'function',
295
295
  },
296
296
  {
297
- "inputs": [
297
+ inputs: [
298
298
  {
299
- "name": "_asset",
300
- "type": "address"
299
+ name: '_asset',
300
+ type: 'address',
301
301
  },
302
302
  {
303
- "name": "_staleTime",
304
- "type": "uint256"
305
- }
303
+ name: '_staleTime',
304
+ type: 'uint256',
305
+ },
306
306
  ],
307
- "name": "getPriceAndHasFeed",
308
- "outputs": [
307
+ name: 'getPriceAndHasFeed',
308
+ outputs: [
309
309
  {
310
- "name": "",
311
- "type": "uint256"
310
+ name: '',
311
+ type: 'uint256',
312
312
  },
313
313
  {
314
- "name": "",
315
- "type": "bool"
316
- }
314
+ name: '',
315
+ type: 'bool',
316
+ },
317
317
  ],
318
- "stateMutability": "view",
319
- "type": "function"
318
+ stateMutability: 'view',
319
+ type: 'function',
320
320
  },
321
321
  {
322
- "inputs": [
322
+ inputs: [
323
323
  {
324
- "name": "_asset",
325
- "type": "address"
324
+ name: '_asset',
325
+ type: 'address',
326
326
  },
327
327
  {
328
- "name": "_staleTime",
329
- "type": "uint256"
328
+ name: '_staleTime',
329
+ type: 'uint256',
330
330
  },
331
331
  {
332
- "name": "_oracleRegistry",
333
- "type": "address"
334
- }
332
+ name: '_oracleRegistry',
333
+ type: 'address',
334
+ },
335
335
  ],
336
- "name": "getPriceAndHasFeed",
337
- "outputs": [
336
+ name: 'getPriceAndHasFeed',
337
+ outputs: [
338
338
  {
339
- "name": "",
340
- "type": "uint256"
339
+ name: '',
340
+ type: 'uint256',
341
341
  },
342
342
  {
343
- "name": "",
344
- "type": "bool"
345
- }
343
+ name: '',
344
+ type: 'bool',
345
+ },
346
346
  ],
347
- "stateMutability": "view",
348
- "type": "function"
347
+ stateMutability: 'view',
348
+ type: 'function',
349
349
  },
350
350
  {
351
- "inputs": [
351
+ inputs: [
352
352
  {
353
- "name": "_asset",
354
- "type": "address"
355
- }
353
+ name: '_asset',
354
+ type: 'address',
355
+ },
356
356
  ],
357
- "name": "hasPriceFeed",
358
- "outputs": [
357
+ name: 'hasPriceFeed',
358
+ outputs: [
359
359
  {
360
- "name": "",
361
- "type": "bool"
362
- }
360
+ name: '',
361
+ type: 'bool',
362
+ },
363
363
  ],
364
- "stateMutability": "view",
365
- "type": "function"
364
+ stateMutability: 'view',
365
+ type: 'function',
366
366
  },
367
367
  {
368
- "inputs": [
368
+ inputs: [
369
369
  {
370
- "name": "_payloads",
371
- "type": "bytes[]"
372
- }
370
+ name: '_payloads',
371
+ type: 'bytes[]',
372
+ },
373
373
  ],
374
- "name": "updateStorkPrices",
375
- "outputs": [],
376
- "stateMutability": "nonpayable",
377
- "type": "function"
374
+ name: 'updateStorkPrices',
375
+ outputs: [],
376
+ stateMutability: 'nonpayable',
377
+ type: 'function',
378
378
  },
379
379
  {
380
- "inputs": [
380
+ inputs: [
381
381
  {
382
- "name": "_asset",
383
- "type": "address"
382
+ name: '_asset',
383
+ type: 'address',
384
384
  },
385
385
  {
386
- "name": "_feedId",
387
- "type": "bytes32"
388
- }
386
+ name: '_feedId',
387
+ type: 'bytes32',
388
+ },
389
389
  ],
390
- "name": "isValidStorkFeed",
391
- "outputs": [
390
+ name: 'isValidStorkFeed',
391
+ outputs: [
392
392
  {
393
- "name": "",
394
- "type": "bool"
395
- }
393
+ name: '',
394
+ type: 'bool',
395
+ },
396
396
  ],
397
- "stateMutability": "view",
398
- "type": "function"
397
+ stateMutability: 'view',
398
+ type: 'function',
399
399
  },
400
400
  {
401
- "inputs": [
401
+ inputs: [
402
402
  {
403
- "name": "_asset",
404
- "type": "address"
403
+ name: '_asset',
404
+ type: 'address',
405
405
  },
406
406
  {
407
- "name": "_feedId",
408
- "type": "bytes32"
409
- }
407
+ name: '_feedId',
408
+ type: 'bytes32',
409
+ },
410
410
  ],
411
- "name": "setStorkFeed",
412
- "outputs": [
411
+ name: 'setStorkFeed',
412
+ outputs: [
413
413
  {
414
- "name": "",
415
- "type": "bool"
416
- }
414
+ name: '',
415
+ type: 'bool',
416
+ },
417
417
  ],
418
- "stateMutability": "nonpayable",
419
- "type": "function"
418
+ stateMutability: 'nonpayable',
419
+ type: 'function',
420
420
  },
421
421
  {
422
- "inputs": [
422
+ inputs: [
423
423
  {
424
- "name": "_asset",
425
- "type": "address"
426
- }
424
+ name: '_asset',
425
+ type: 'address',
426
+ },
427
427
  ],
428
- "name": "disableStorkPriceFeed",
429
- "outputs": [
428
+ name: 'disableStorkPriceFeed',
429
+ outputs: [
430
430
  {
431
- "name": "",
432
- "type": "bool"
433
- }
431
+ name: '',
432
+ type: 'bool',
433
+ },
434
434
  ],
435
- "stateMutability": "nonpayable",
436
- "type": "function"
435
+ stateMutability: 'nonpayable',
436
+ type: 'function',
437
437
  },
438
438
  {
439
- "inputs": [
439
+ inputs: [
440
440
  {
441
- "name": "_recipient",
442
- "type": "address"
443
- }
441
+ name: '_recipient',
442
+ type: 'address',
443
+ },
444
444
  ],
445
- "name": "isValidEthRecovery",
446
- "outputs": [
445
+ name: 'isValidEthRecovery',
446
+ outputs: [
447
447
  {
448
- "name": "",
449
- "type": "bool"
450
- }
448
+ name: '',
449
+ type: 'bool',
450
+ },
451
451
  ],
452
- "stateMutability": "view",
453
- "type": "function"
452
+ stateMutability: 'view',
453
+ type: 'function',
454
454
  },
455
455
  {
456
- "inputs": [
456
+ inputs: [
457
457
  {
458
- "name": "_recipient",
459
- "type": "address"
460
- }
458
+ name: '_recipient',
459
+ type: 'address',
460
+ },
461
461
  ],
462
- "name": "recoverEthBalance",
463
- "outputs": [
462
+ name: 'recoverEthBalance',
463
+ outputs: [
464
464
  {
465
- "name": "",
466
- "type": "bool"
467
- }
465
+ name: '',
466
+ type: 'bool',
467
+ },
468
468
  ],
469
- "stateMutability": "nonpayable",
470
- "type": "function"
469
+ stateMutability: 'nonpayable',
470
+ type: 'function',
471
471
  },
472
472
  {
473
- "inputs": [
473
+ inputs: [
474
474
  {
475
- "name": "_oracleId",
476
- "type": "uint256"
477
- }
475
+ name: '_oracleId',
476
+ type: 'uint256',
477
+ },
478
478
  ],
479
- "name": "setOraclePartnerId",
480
- "outputs": [
479
+ name: 'setOraclePartnerId',
480
+ outputs: [
481
481
  {
482
- "name": "",
483
- "type": "bool"
484
- }
482
+ name: '',
483
+ type: 'bool',
484
+ },
485
485
  ],
486
- "stateMutability": "nonpayable",
487
- "type": "function"
486
+ stateMutability: 'nonpayable',
487
+ type: 'function',
488
488
  },
489
489
  {
490
- "inputs": [],
491
- "name": "STORK",
492
- "outputs": [
490
+ inputs: [],
491
+ name: 'STORK',
492
+ outputs: [
493
493
  {
494
- "name": "",
495
- "type": "address"
496
- }
494
+ name: '',
495
+ type: 'address',
496
+ },
497
497
  ],
498
- "stateMutability": "view",
499
- "type": "function"
498
+ stateMutability: 'view',
499
+ type: 'function',
500
500
  },
501
501
  {
502
- "inputs": [
502
+ inputs: [
503
503
  {
504
- "name": "arg0",
505
- "type": "address"
506
- }
504
+ name: 'arg0',
505
+ type: 'address',
506
+ },
507
507
  ],
508
- "name": "feedConfig",
509
- "outputs": [
508
+ name: 'feedConfig',
509
+ outputs: [
510
510
  {
511
- "name": "",
512
- "type": "bytes32"
513
- }
511
+ name: '',
512
+ type: 'bytes32',
513
+ },
514
514
  ],
515
- "stateMutability": "view",
516
- "type": "function"
515
+ stateMutability: 'view',
516
+ type: 'function',
517
517
  },
518
518
  {
519
- "inputs": [],
520
- "name": "oraclePartnerId",
521
- "outputs": [
519
+ inputs: [],
520
+ name: 'oraclePartnerId',
521
+ outputs: [
522
522
  {
523
- "name": "",
524
- "type": "uint256"
525
- }
523
+ name: '',
524
+ type: 'uint256',
525
+ },
526
526
  ],
527
- "stateMutability": "view",
528
- "type": "function"
527
+ stateMutability: 'view',
528
+ type: 'function',
529
529
  },
530
530
  {
531
- "inputs": [],
532
- "name": "ADDY_REGISTRY",
533
- "outputs": [
531
+ inputs: [],
532
+ name: 'ADDY_REGISTRY',
533
+ outputs: [
534
534
  {
535
- "name": "",
536
- "type": "address"
537
- }
535
+ name: '',
536
+ type: 'address',
537
+ },
538
538
  ],
539
- "stateMutability": "view",
540
- "type": "function"
539
+ stateMutability: 'view',
540
+ type: 'function',
541
541
  },
542
542
  {
543
- "inputs": [
543
+ inputs: [
544
544
  {
545
- "name": "_stork",
546
- "type": "address"
545
+ name: '_stork',
546
+ type: 'address',
547
547
  },
548
548
  {
549
- "name": "_addyRegistry",
550
- "type": "address"
551
- }
549
+ name: '_addyRegistry',
550
+ type: 'address',
551
+ },
552
552
  ],
553
- "outputs": [],
554
- "stateMutability": "nonpayable",
555
- "type": "constructor"
556
- }
553
+ outputs: [],
554
+ stateMutability: 'nonpayable',
555
+ type: 'constructor',
556
+ },
557
557
  ];
558
- export const deployAddress = undefined;
558
+ export const deployAddress = '0x389e7d981A74cd957bf56d83cCB85e6fc9e9d9bD';
559
559
  function getRequest(method, args, contractAddressOrOptions) {
560
560
  const address = typeof contractAddressOrOptions === 'string' ? contractAddressOrOptions : contractAddressOrOptions?.contractAddress;
561
561
  const defaultValue = typeof contractAddressOrOptions === 'string' ? undefined : contractAddressOrOptions?.defaultValue;