@underscore-finance/sdk 0.0.1

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 (84) hide show
  1. package/LICENSE +41 -0
  2. package/README.md +131 -0
  3. package/dist/contracts/AddyRegistry.d.ts +471 -0
  4. package/dist/contracts/AddyRegistry.d.ts.map +1 -0
  5. package/dist/contracts/AddyRegistry.js +592 -0
  6. package/dist/contracts/AgentFactory.d.ts +966 -0
  7. package/dist/contracts/AgentFactory.d.ts.map +1 -0
  8. package/dist/contracts/AgentFactory.js +1227 -0
  9. package/dist/contracts/AgentTemplate.d.ts +2629 -0
  10. package/dist/contracts/AgentTemplate.d.ts.map +1 -0
  11. package/dist/contracts/AgentTemplate.js +3370 -0
  12. package/dist/contracts/ChainlinkFeeds.d.ts +567 -0
  13. package/dist/contracts/ChainlinkFeeds.d.ts.map +1 -0
  14. package/dist/contracts/ChainlinkFeeds.js +735 -0
  15. package/dist/contracts/LegoAaveV3.d.ts +894 -0
  16. package/dist/contracts/LegoAaveV3.d.ts.map +1 -0
  17. package/dist/contracts/LegoAaveV3.js +1165 -0
  18. package/dist/contracts/LegoAeroClassic.d.ts +1065 -0
  19. package/dist/contracts/LegoAeroClassic.d.ts.map +1 -0
  20. package/dist/contracts/LegoAeroClassic.js +1381 -0
  21. package/dist/contracts/LegoAeroSlipstream.d.ts +1161 -0
  22. package/dist/contracts/LegoAeroSlipstream.d.ts.map +1 -0
  23. package/dist/contracts/LegoAeroSlipstream.js +1506 -0
  24. package/dist/contracts/LegoCompoundV3.d.ts +921 -0
  25. package/dist/contracts/LegoCompoundV3.d.ts.map +1 -0
  26. package/dist/contracts/LegoCompoundV3.js +1200 -0
  27. package/dist/contracts/LegoCurve.d.ts +1050 -0
  28. package/dist/contracts/LegoCurve.d.ts.map +1 -0
  29. package/dist/contracts/LegoCurve.js +1354 -0
  30. package/dist/contracts/LegoEuler.d.ts +935 -0
  31. package/dist/contracts/LegoEuler.d.ts.map +1 -0
  32. package/dist/contracts/LegoEuler.js +1218 -0
  33. package/dist/contracts/LegoFluid.d.ts +875 -0
  34. package/dist/contracts/LegoFluid.d.ts.map +1 -0
  35. package/dist/contracts/LegoFluid.js +1141 -0
  36. package/dist/contracts/LegoHelper.d.ts +1555 -0
  37. package/dist/contracts/LegoHelper.d.ts.map +1 -0
  38. package/dist/contracts/LegoHelper.js +1945 -0
  39. package/dist/contracts/LegoMoonwell.d.ts +903 -0
  40. package/dist/contracts/LegoMoonwell.d.ts.map +1 -0
  41. package/dist/contracts/LegoMoonwell.js +1177 -0
  42. package/dist/contracts/LegoMorpho.d.ts +935 -0
  43. package/dist/contracts/LegoMorpho.d.ts.map +1 -0
  44. package/dist/contracts/LegoMorpho.js +1218 -0
  45. package/dist/contracts/LegoRegistry.d.ts +589 -0
  46. package/dist/contracts/LegoRegistry.d.ts.map +1 -0
  47. package/dist/contracts/LegoRegistry.js +746 -0
  48. package/dist/contracts/LegoSky.d.ts +784 -0
  49. package/dist/contracts/LegoSky.d.ts.map +1 -0
  50. package/dist/contracts/LegoSky.js +1015 -0
  51. package/dist/contracts/LegoUniswapV2.d.ts +1065 -0
  52. package/dist/contracts/LegoUniswapV2.d.ts.map +1 -0
  53. package/dist/contracts/LegoUniswapV2.js +1381 -0
  54. package/dist/contracts/LegoUniswapV3.d.ts +1199 -0
  55. package/dist/contracts/LegoUniswapV3.d.ts.map +1 -0
  56. package/dist/contracts/LegoUniswapV3.js +1553 -0
  57. package/dist/contracts/OracleRegistry.d.ts +811 -0
  58. package/dist/contracts/OracleRegistry.d.ts.map +1 -0
  59. package/dist/contracts/OracleRegistry.js +1049 -0
  60. package/dist/contracts/PriceSheets.d.ts +1053 -0
  61. package/dist/contracts/PriceSheets.d.ts.map +1 -0
  62. package/dist/contracts/PriceSheets.js +1296 -0
  63. package/dist/contracts/PythFeeds.d.ts +501 -0
  64. package/dist/contracts/PythFeeds.d.ts.map +1 -0
  65. package/dist/contracts/PythFeeds.js +648 -0
  66. package/dist/contracts/StorkFeeds.d.ts +501 -0
  67. package/dist/contracts/StorkFeeds.d.ts.map +1 -0
  68. package/dist/contracts/StorkFeeds.js +648 -0
  69. package/dist/contracts/WalletConfig.d.ts +1398 -0
  70. package/dist/contracts/WalletConfig.d.ts.map +1 -0
  71. package/dist/contracts/WalletConfig.js +1674 -0
  72. package/dist/contracts/WalletFunds.d.ts +1978 -0
  73. package/dist/contracts/WalletFunds.d.ts.map +1 -0
  74. package/dist/contracts/WalletFunds.js +2579 -0
  75. package/dist/contracts/index.d.ts +25 -0
  76. package/dist/contracts/index.d.ts.map +1 -0
  77. package/dist/contracts/index.js +28 -0
  78. package/dist/contracts/sdk.d.ts +53 -0
  79. package/dist/contracts/sdk.d.ts.map +1 -0
  80. package/dist/contracts/sdk.js +56 -0
  81. package/dist/index.d.ts +15 -0
  82. package/dist/index.d.ts.map +1 -0
  83. package/dist/index.js +16 -0
  84. package/package.json +31 -0
@@ -0,0 +1,735 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /* @ts-nocheck */
5
+ import { singleQuery, mutate } from '@dappql/async';
6
+ export const abi = [
7
+ {
8
+ "anonymous": false,
9
+ "inputs": [
10
+ {
11
+ "indexed": true,
12
+ "name": "asset",
13
+ "type": "address"
14
+ },
15
+ {
16
+ "indexed": true,
17
+ "name": "chainlinkFeed",
18
+ "type": "address"
19
+ },
20
+ {
21
+ "indexed": false,
22
+ "name": "needsEthToUsd",
23
+ "type": "bool"
24
+ },
25
+ {
26
+ "indexed": false,
27
+ "name": "needsBtcToUsd",
28
+ "type": "bool"
29
+ }
30
+ ],
31
+ "name": "ChainlinkFeedAdded",
32
+ "type": "event"
33
+ },
34
+ {
35
+ "anonymous": false,
36
+ "inputs": [
37
+ {
38
+ "indexed": true,
39
+ "name": "asset",
40
+ "type": "address"
41
+ }
42
+ ],
43
+ "name": "ChainlinkFeedDisabled",
44
+ "type": "event"
45
+ },
46
+ {
47
+ "anonymous": false,
48
+ "inputs": [
49
+ {
50
+ "indexed": true,
51
+ "name": "addr",
52
+ "type": "address"
53
+ }
54
+ ],
55
+ "name": "LocalGovernorSet",
56
+ "type": "event"
57
+ },
58
+ {
59
+ "inputs": [
60
+ {
61
+ "name": "_address",
62
+ "type": "address"
63
+ }
64
+ ],
65
+ "name": "isGovernor",
66
+ "outputs": [
67
+ {
68
+ "name": "",
69
+ "type": "bool"
70
+ }
71
+ ],
72
+ "stateMutability": "view",
73
+ "type": "function"
74
+ },
75
+ {
76
+ "inputs": [
77
+ {
78
+ "name": "_newGovernor",
79
+ "type": "address"
80
+ }
81
+ ],
82
+ "name": "isValidLocalGovernor",
83
+ "outputs": [
84
+ {
85
+ "name": "",
86
+ "type": "bool"
87
+ }
88
+ ],
89
+ "stateMutability": "view",
90
+ "type": "function"
91
+ },
92
+ {
93
+ "inputs": [
94
+ {
95
+ "name": "_newGovernor",
96
+ "type": "address"
97
+ }
98
+ ],
99
+ "name": "setLocalGovernor",
100
+ "outputs": [
101
+ {
102
+ "name": "",
103
+ "type": "bool"
104
+ }
105
+ ],
106
+ "stateMutability": "nonpayable",
107
+ "type": "function"
108
+ },
109
+ {
110
+ "inputs": [],
111
+ "name": "localGovernor",
112
+ "outputs": [
113
+ {
114
+ "name": "",
115
+ "type": "address"
116
+ }
117
+ ],
118
+ "stateMutability": "view",
119
+ "type": "function"
120
+ },
121
+ {
122
+ "inputs": [],
123
+ "name": "getConfiguredAssets",
124
+ "outputs": [
125
+ {
126
+ "name": "",
127
+ "type": "address[]"
128
+ }
129
+ ],
130
+ "stateMutability": "view",
131
+ "type": "function"
132
+ },
133
+ {
134
+ "inputs": [
135
+ {
136
+ "name": "arg0",
137
+ "type": "uint256"
138
+ }
139
+ ],
140
+ "name": "assets",
141
+ "outputs": [
142
+ {
143
+ "name": "",
144
+ "type": "address"
145
+ }
146
+ ],
147
+ "stateMutability": "view",
148
+ "type": "function"
149
+ },
150
+ {
151
+ "inputs": [
152
+ {
153
+ "name": "arg0",
154
+ "type": "address"
155
+ }
156
+ ],
157
+ "name": "indexOfAsset",
158
+ "outputs": [
159
+ {
160
+ "name": "",
161
+ "type": "uint256"
162
+ }
163
+ ],
164
+ "stateMutability": "view",
165
+ "type": "function"
166
+ },
167
+ {
168
+ "inputs": [],
169
+ "name": "numAssets",
170
+ "outputs": [
171
+ {
172
+ "name": "",
173
+ "type": "uint256"
174
+ }
175
+ ],
176
+ "stateMutability": "view",
177
+ "type": "function"
178
+ },
179
+ {
180
+ "inputs": [
181
+ {
182
+ "name": "_asset",
183
+ "type": "address"
184
+ }
185
+ ],
186
+ "name": "getPrice",
187
+ "outputs": [
188
+ {
189
+ "name": "",
190
+ "type": "uint256"
191
+ }
192
+ ],
193
+ "stateMutability": "view",
194
+ "type": "function"
195
+ },
196
+ {
197
+ "inputs": [
198
+ {
199
+ "name": "_asset",
200
+ "type": "address"
201
+ },
202
+ {
203
+ "name": "_staleTime",
204
+ "type": "uint256"
205
+ }
206
+ ],
207
+ "name": "getPrice",
208
+ "outputs": [
209
+ {
210
+ "name": "",
211
+ "type": "uint256"
212
+ }
213
+ ],
214
+ "stateMutability": "view",
215
+ "type": "function"
216
+ },
217
+ {
218
+ "inputs": [
219
+ {
220
+ "name": "_asset",
221
+ "type": "address"
222
+ },
223
+ {
224
+ "name": "_staleTime",
225
+ "type": "uint256"
226
+ },
227
+ {
228
+ "name": "_oracleRegistry",
229
+ "type": "address"
230
+ }
231
+ ],
232
+ "name": "getPrice",
233
+ "outputs": [
234
+ {
235
+ "name": "",
236
+ "type": "uint256"
237
+ }
238
+ ],
239
+ "stateMutability": "view",
240
+ "type": "function"
241
+ },
242
+ {
243
+ "inputs": [
244
+ {
245
+ "name": "_asset",
246
+ "type": "address"
247
+ }
248
+ ],
249
+ "name": "getPriceAndHasFeed",
250
+ "outputs": [
251
+ {
252
+ "name": "",
253
+ "type": "uint256"
254
+ },
255
+ {
256
+ "name": "",
257
+ "type": "bool"
258
+ }
259
+ ],
260
+ "stateMutability": "view",
261
+ "type": "function"
262
+ },
263
+ {
264
+ "inputs": [
265
+ {
266
+ "name": "_asset",
267
+ "type": "address"
268
+ },
269
+ {
270
+ "name": "_staleTime",
271
+ "type": "uint256"
272
+ }
273
+ ],
274
+ "name": "getPriceAndHasFeed",
275
+ "outputs": [
276
+ {
277
+ "name": "",
278
+ "type": "uint256"
279
+ },
280
+ {
281
+ "name": "",
282
+ "type": "bool"
283
+ }
284
+ ],
285
+ "stateMutability": "view",
286
+ "type": "function"
287
+ },
288
+ {
289
+ "inputs": [
290
+ {
291
+ "name": "_asset",
292
+ "type": "address"
293
+ },
294
+ {
295
+ "name": "_staleTime",
296
+ "type": "uint256"
297
+ },
298
+ {
299
+ "name": "_oracleRegistry",
300
+ "type": "address"
301
+ }
302
+ ],
303
+ "name": "getPriceAndHasFeed",
304
+ "outputs": [
305
+ {
306
+ "name": "",
307
+ "type": "uint256"
308
+ },
309
+ {
310
+ "name": "",
311
+ "type": "bool"
312
+ }
313
+ ],
314
+ "stateMutability": "view",
315
+ "type": "function"
316
+ },
317
+ {
318
+ "inputs": [
319
+ {
320
+ "name": "_feed",
321
+ "type": "address"
322
+ },
323
+ {
324
+ "name": "_decimals",
325
+ "type": "uint256"
326
+ }
327
+ ],
328
+ "name": "getChainlinkData",
329
+ "outputs": [
330
+ {
331
+ "name": "",
332
+ "type": "uint256"
333
+ }
334
+ ],
335
+ "stateMutability": "view",
336
+ "type": "function"
337
+ },
338
+ {
339
+ "inputs": [
340
+ {
341
+ "name": "_feed",
342
+ "type": "address"
343
+ },
344
+ {
345
+ "name": "_decimals",
346
+ "type": "uint256"
347
+ },
348
+ {
349
+ "name": "_staleTime",
350
+ "type": "uint256"
351
+ }
352
+ ],
353
+ "name": "getChainlinkData",
354
+ "outputs": [
355
+ {
356
+ "name": "",
357
+ "type": "uint256"
358
+ }
359
+ ],
360
+ "stateMutability": "view",
361
+ "type": "function"
362
+ },
363
+ {
364
+ "inputs": [
365
+ {
366
+ "name": "_asset",
367
+ "type": "address"
368
+ }
369
+ ],
370
+ "name": "hasPriceFeed",
371
+ "outputs": [
372
+ {
373
+ "name": "",
374
+ "type": "bool"
375
+ }
376
+ ],
377
+ "stateMutability": "view",
378
+ "type": "function"
379
+ },
380
+ {
381
+ "inputs": [
382
+ {
383
+ "name": "_asset",
384
+ "type": "address"
385
+ },
386
+ {
387
+ "name": "_feed",
388
+ "type": "address"
389
+ },
390
+ {
391
+ "name": "_needsEthToUsd",
392
+ "type": "bool"
393
+ },
394
+ {
395
+ "name": "_needsBtcToUsd",
396
+ "type": "bool"
397
+ }
398
+ ],
399
+ "name": "isValidChainlinkFeed",
400
+ "outputs": [
401
+ {
402
+ "name": "",
403
+ "type": "bool"
404
+ }
405
+ ],
406
+ "stateMutability": "view",
407
+ "type": "function"
408
+ },
409
+ {
410
+ "inputs": [
411
+ {
412
+ "name": "_asset",
413
+ "type": "address"
414
+ },
415
+ {
416
+ "name": "_feed",
417
+ "type": "address"
418
+ }
419
+ ],
420
+ "name": "setChainlinkFeed",
421
+ "outputs": [
422
+ {
423
+ "name": "",
424
+ "type": "bool"
425
+ }
426
+ ],
427
+ "stateMutability": "nonpayable",
428
+ "type": "function"
429
+ },
430
+ {
431
+ "inputs": [
432
+ {
433
+ "name": "_asset",
434
+ "type": "address"
435
+ },
436
+ {
437
+ "name": "_feed",
438
+ "type": "address"
439
+ },
440
+ {
441
+ "name": "_needsEthToUsd",
442
+ "type": "bool"
443
+ }
444
+ ],
445
+ "name": "setChainlinkFeed",
446
+ "outputs": [
447
+ {
448
+ "name": "",
449
+ "type": "bool"
450
+ }
451
+ ],
452
+ "stateMutability": "nonpayable",
453
+ "type": "function"
454
+ },
455
+ {
456
+ "inputs": [
457
+ {
458
+ "name": "_asset",
459
+ "type": "address"
460
+ },
461
+ {
462
+ "name": "_feed",
463
+ "type": "address"
464
+ },
465
+ {
466
+ "name": "_needsEthToUsd",
467
+ "type": "bool"
468
+ },
469
+ {
470
+ "name": "_needsBtcToUsd",
471
+ "type": "bool"
472
+ }
473
+ ],
474
+ "name": "setChainlinkFeed",
475
+ "outputs": [
476
+ {
477
+ "name": "",
478
+ "type": "bool"
479
+ }
480
+ ],
481
+ "stateMutability": "nonpayable",
482
+ "type": "function"
483
+ },
484
+ {
485
+ "inputs": [
486
+ {
487
+ "name": "_asset",
488
+ "type": "address"
489
+ }
490
+ ],
491
+ "name": "disableChainlinkPriceFeed",
492
+ "outputs": [
493
+ {
494
+ "name": "",
495
+ "type": "bool"
496
+ }
497
+ ],
498
+ "stateMutability": "nonpayable",
499
+ "type": "function"
500
+ },
501
+ {
502
+ "inputs": [
503
+ {
504
+ "name": "_oracleId",
505
+ "type": "uint256"
506
+ }
507
+ ],
508
+ "name": "setOraclePartnerId",
509
+ "outputs": [
510
+ {
511
+ "name": "",
512
+ "type": "bool"
513
+ }
514
+ ],
515
+ "stateMutability": "nonpayable",
516
+ "type": "function"
517
+ },
518
+ {
519
+ "inputs": [
520
+ {
521
+ "name": "arg0",
522
+ "type": "address"
523
+ }
524
+ ],
525
+ "name": "feedConfig",
526
+ "outputs": [
527
+ {
528
+ "components": [
529
+ {
530
+ "name": "feed",
531
+ "type": "address"
532
+ },
533
+ {
534
+ "name": "decimals",
535
+ "type": "uint256"
536
+ },
537
+ {
538
+ "name": "needsEthToUsd",
539
+ "type": "bool"
540
+ },
541
+ {
542
+ "name": "needsBtcToUsd",
543
+ "type": "bool"
544
+ }
545
+ ],
546
+ "name": "",
547
+ "type": "tuple"
548
+ }
549
+ ],
550
+ "stateMutability": "view",
551
+ "type": "function"
552
+ },
553
+ {
554
+ "inputs": [],
555
+ "name": "oraclePartnerId",
556
+ "outputs": [
557
+ {
558
+ "name": "",
559
+ "type": "uint256"
560
+ }
561
+ ],
562
+ "stateMutability": "view",
563
+ "type": "function"
564
+ },
565
+ {
566
+ "inputs": [],
567
+ "name": "ADDY_REGISTRY",
568
+ "outputs": [
569
+ {
570
+ "name": "",
571
+ "type": "address"
572
+ }
573
+ ],
574
+ "stateMutability": "view",
575
+ "type": "function"
576
+ },
577
+ {
578
+ "inputs": [],
579
+ "name": "WETH",
580
+ "outputs": [
581
+ {
582
+ "name": "",
583
+ "type": "address"
584
+ }
585
+ ],
586
+ "stateMutability": "view",
587
+ "type": "function"
588
+ },
589
+ {
590
+ "inputs": [],
591
+ "name": "ETH",
592
+ "outputs": [
593
+ {
594
+ "name": "",
595
+ "type": "address"
596
+ }
597
+ ],
598
+ "stateMutability": "view",
599
+ "type": "function"
600
+ },
601
+ {
602
+ "inputs": [],
603
+ "name": "BTC",
604
+ "outputs": [
605
+ {
606
+ "name": "",
607
+ "type": "address"
608
+ }
609
+ ],
610
+ "stateMutability": "view",
611
+ "type": "function"
612
+ },
613
+ {
614
+ "inputs": [
615
+ {
616
+ "name": "_wethAddr",
617
+ "type": "address"
618
+ },
619
+ {
620
+ "name": "_ethAddr",
621
+ "type": "address"
622
+ },
623
+ {
624
+ "name": "_btcAddr",
625
+ "type": "address"
626
+ },
627
+ {
628
+ "name": "_ethUsdFeed",
629
+ "type": "address"
630
+ },
631
+ {
632
+ "name": "_btcUsdFeed",
633
+ "type": "address"
634
+ },
635
+ {
636
+ "name": "_addyRegistry",
637
+ "type": "address"
638
+ }
639
+ ],
640
+ "outputs": [],
641
+ "stateMutability": "nonpayable",
642
+ "type": "constructor"
643
+ }
644
+ ];
645
+ export const deployAddress = undefined;
646
+ function getRequest(method, args, contractAddressOrOptions) {
647
+ const address = typeof contractAddressOrOptions === 'string' ? contractAddressOrOptions : contractAddressOrOptions?.contractAddress;
648
+ const defaultValue = typeof contractAddressOrOptions === 'string' ? undefined : contractAddressOrOptions?.defaultValue;
649
+ const call = {
650
+ contractName: 'ChainlinkFeeds',
651
+ method,
652
+ args,
653
+ address,
654
+ deployAddress,
655
+ defaultValue,
656
+ getAbi: () => abi,
657
+ with: (options) => {
658
+ call.address = options.contractAddress;
659
+ call.defaultValue = options.defaultValue;
660
+ return call;
661
+ },
662
+ defaultTo: (defaultValue) => {
663
+ call.defaultValue = defaultValue;
664
+ return call;
665
+ },
666
+ at: (address) => {
667
+ call.address = address;
668
+ return call;
669
+ },
670
+ };
671
+ return call;
672
+ }
673
+ export const call = {
674
+ isGovernor: (...args) => getRequest('isGovernor', args),
675
+ isValidLocalGovernor: (...args) => getRequest('isValidLocalGovernor', args),
676
+ localGovernor: (...args) => getRequest('localGovernor', args),
677
+ getConfiguredAssets: (...args) => getRequest('getConfiguredAssets', args),
678
+ assets: (...args) => getRequest('assets', args),
679
+ indexOfAsset: (...args) => getRequest('indexOfAsset', args),
680
+ numAssets: (...args) => getRequest('numAssets', args),
681
+ getPrice: (...args) => getRequest('getPrice', args),
682
+ getPriceAndHasFeed: (...args) => getRequest('getPriceAndHasFeed', args),
683
+ getChainlinkData: (...args) => getRequest('getChainlinkData', args),
684
+ hasPriceFeed: (...args) => getRequest('hasPriceFeed', args),
685
+ isValidChainlinkFeed: (...args) => getRequest('isValidChainlinkFeed', args),
686
+ feedConfig: (...args) => getRequest('feedConfig', args),
687
+ oraclePartnerId: (...args) => getRequest('oraclePartnerId', args),
688
+ ADDY_REGISTRY: (...args) => getRequest('ADDY_REGISTRY', args),
689
+ WETH: (...args) => getRequest('WETH', args),
690
+ ETH: (...args) => getRequest('ETH', args),
691
+ BTC: (...args) => getRequest('BTC', args),
692
+ };
693
+ function getMutation(functionName) {
694
+ return {
695
+ contractName: 'ChainlinkFeeds',
696
+ functionName,
697
+ deployAddress,
698
+ argsType: undefined,
699
+ getAbi: () => abi,
700
+ };
701
+ }
702
+ export const mutation = {
703
+ setLocalGovernor: getMutation('setLocalGovernor'),
704
+ setChainlinkFeed: getMutation('setChainlinkFeed'),
705
+ disableChainlinkPriceFeed: getMutation('disableChainlinkPriceFeed'),
706
+ setOraclePartnerId: getMutation('setOraclePartnerId'),
707
+ };
708
+ export function toSdk(publicClient, walletClient) {
709
+ return {
710
+ // Queries
711
+ isGovernor: (...args) => singleQuery(publicClient, call.isGovernor(...args)),
712
+ isValidLocalGovernor: (...args) => singleQuery(publicClient, call.isValidLocalGovernor(...args)),
713
+ localGovernor: (...args) => singleQuery(publicClient, call.localGovernor(...args)),
714
+ getConfiguredAssets: (...args) => singleQuery(publicClient, call.getConfiguredAssets(...args)),
715
+ assets: (...args) => singleQuery(publicClient, call.assets(...args)),
716
+ indexOfAsset: (...args) => singleQuery(publicClient, call.indexOfAsset(...args)),
717
+ numAssets: (...args) => singleQuery(publicClient, call.numAssets(...args)),
718
+ getPrice: (...args) => singleQuery(publicClient, call.getPrice(...args)),
719
+ getPriceAndHasFeed: (...args) => singleQuery(publicClient, call.getPriceAndHasFeed(...args)),
720
+ getChainlinkData: (...args) => singleQuery(publicClient, call.getChainlinkData(...args)),
721
+ hasPriceFeed: (...args) => singleQuery(publicClient, call.hasPriceFeed(...args)),
722
+ isValidChainlinkFeed: (...args) => singleQuery(publicClient, call.isValidChainlinkFeed(...args)),
723
+ feedConfig: (...args) => singleQuery(publicClient, call.feedConfig(...args)),
724
+ oraclePartnerId: (...args) => singleQuery(publicClient, call.oraclePartnerId(...args)),
725
+ ADDY_REGISTRY: (...args) => singleQuery(publicClient, call.ADDY_REGISTRY(...args)),
726
+ WETH: (...args) => singleQuery(publicClient, call.WETH(...args)),
727
+ ETH: (...args) => singleQuery(publicClient, call.ETH(...args)),
728
+ BTC: (...args) => singleQuery(publicClient, call.BTC(...args)),
729
+ // Mutations
730
+ setLocalGovernor: (...args) => mutate(walletClient, mutation.setLocalGovernor)(...args),
731
+ setChainlinkFeed: (...args) => mutate(walletClient, mutation.setChainlinkFeed)(...args),
732
+ disableChainlinkPriceFeed: (...args) => mutate(walletClient, mutation.disableChainlinkPriceFeed)(...args),
733
+ setOraclePartnerId: (...args) => mutate(walletClient, mutation.setOraclePartnerId)(...args),
734
+ };
735
+ }