@raac/rpc 1.1.0-beta.47 → 1.1.0-beta.49

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.
@@ -1568,6 +1568,156 @@ declare const ABIS: {
1568
1568
  type: string;
1569
1569
  anonymous?: undefined;
1570
1570
  })[];
1571
+ treasury: ({
1572
+ inputs: {
1573
+ internalType: string;
1574
+ name: string;
1575
+ type: string;
1576
+ }[];
1577
+ stateMutability: string;
1578
+ type: string;
1579
+ name?: undefined;
1580
+ anonymous?: undefined;
1581
+ outputs?: undefined;
1582
+ } | {
1583
+ inputs: {
1584
+ internalType: string;
1585
+ name: string;
1586
+ type: string;
1587
+ }[];
1588
+ name: string;
1589
+ type: string;
1590
+ stateMutability?: undefined;
1591
+ anonymous?: undefined;
1592
+ outputs?: undefined;
1593
+ } | {
1594
+ anonymous: boolean;
1595
+ inputs: {
1596
+ indexed: boolean;
1597
+ internalType: string;
1598
+ name: string;
1599
+ type: string;
1600
+ }[];
1601
+ name: string;
1602
+ type: string;
1603
+ stateMutability?: undefined;
1604
+ outputs?: undefined;
1605
+ } | {
1606
+ inputs: {
1607
+ internalType: string;
1608
+ name: string;
1609
+ type: string;
1610
+ }[];
1611
+ name: string;
1612
+ outputs: {
1613
+ internalType: string;
1614
+ name: string;
1615
+ type: string;
1616
+ }[];
1617
+ stateMutability: string;
1618
+ type: string;
1619
+ anonymous?: undefined;
1620
+ })[];
1621
+ rwaindextokencollector: ({
1622
+ inputs: {
1623
+ internalType: string;
1624
+ name: string;
1625
+ type: string;
1626
+ }[];
1627
+ stateMutability: string;
1628
+ type: string;
1629
+ name?: undefined;
1630
+ anonymous?: undefined;
1631
+ outputs?: undefined;
1632
+ } | {
1633
+ inputs: {
1634
+ internalType: string;
1635
+ name: string;
1636
+ type: string;
1637
+ }[];
1638
+ name: string;
1639
+ type: string;
1640
+ stateMutability?: undefined;
1641
+ anonymous?: undefined;
1642
+ outputs?: undefined;
1643
+ } | {
1644
+ anonymous: boolean;
1645
+ inputs: {
1646
+ indexed: boolean;
1647
+ internalType: string;
1648
+ name: string;
1649
+ type: string;
1650
+ }[];
1651
+ name: string;
1652
+ type: string;
1653
+ stateMutability?: undefined;
1654
+ outputs?: undefined;
1655
+ } | {
1656
+ inputs: {
1657
+ internalType: string;
1658
+ name: string;
1659
+ type: string;
1660
+ }[];
1661
+ name: string;
1662
+ outputs: {
1663
+ internalType: string;
1664
+ name: string;
1665
+ type: string;
1666
+ }[];
1667
+ stateMutability: string;
1668
+ type: string;
1669
+ anonymous?: undefined;
1670
+ })[];
1671
+ raactokencollector: ({
1672
+ inputs: {
1673
+ internalType: string;
1674
+ name: string;
1675
+ type: string;
1676
+ }[];
1677
+ stateMutability: string;
1678
+ type: string;
1679
+ name?: undefined;
1680
+ anonymous?: undefined;
1681
+ outputs?: undefined;
1682
+ } | {
1683
+ inputs: {
1684
+ internalType: string;
1685
+ name: string;
1686
+ type: string;
1687
+ }[];
1688
+ name: string;
1689
+ type: string;
1690
+ stateMutability?: undefined;
1691
+ anonymous?: undefined;
1692
+ outputs?: undefined;
1693
+ } | {
1694
+ anonymous: boolean;
1695
+ inputs: {
1696
+ indexed: boolean;
1697
+ internalType: string;
1698
+ name: string;
1699
+ type: string;
1700
+ }[];
1701
+ name: string;
1702
+ type: string;
1703
+ stateMutability?: undefined;
1704
+ outputs?: undefined;
1705
+ } | {
1706
+ inputs: {
1707
+ internalType: string;
1708
+ name: string;
1709
+ type: string;
1710
+ }[];
1711
+ name: string;
1712
+ outputs: {
1713
+ internalType: string;
1714
+ name: string;
1715
+ type: string;
1716
+ }[];
1717
+ stateMutability: string;
1718
+ type: string;
1719
+ anonymous?: undefined;
1720
+ })[];
1571
1721
  };
1572
1722
  export type AssetType = keyof typeof ABIS | string;
1573
1723
  export type ContractType = keyof typeof ABIS;
@@ -3064,5 +3214,152 @@ declare const getABI: (name: keyof typeof ABIS) => ({
3064
3214
  stateMutability: string;
3065
3215
  type: string;
3066
3216
  anonymous?: undefined;
3217
+ })[] | ({
3218
+ inputs: {
3219
+ internalType: string;
3220
+ name: string;
3221
+ type: string;
3222
+ }[];
3223
+ stateMutability: string;
3224
+ type: string;
3225
+ name?: undefined;
3226
+ anonymous?: undefined;
3227
+ outputs?: undefined;
3228
+ } | {
3229
+ inputs: {
3230
+ internalType: string;
3231
+ name: string;
3232
+ type: string;
3233
+ }[];
3234
+ name: string;
3235
+ type: string;
3236
+ stateMutability?: undefined;
3237
+ anonymous?: undefined;
3238
+ outputs?: undefined;
3239
+ } | {
3240
+ anonymous: boolean;
3241
+ inputs: {
3242
+ indexed: boolean;
3243
+ internalType: string;
3244
+ name: string;
3245
+ type: string;
3246
+ }[];
3247
+ name: string;
3248
+ type: string;
3249
+ stateMutability?: undefined;
3250
+ outputs?: undefined;
3251
+ } | {
3252
+ inputs: {
3253
+ internalType: string;
3254
+ name: string;
3255
+ type: string;
3256
+ }[];
3257
+ name: string;
3258
+ outputs: {
3259
+ internalType: string;
3260
+ name: string;
3261
+ type: string;
3262
+ }[];
3263
+ stateMutability: string;
3264
+ type: string;
3265
+ anonymous?: undefined;
3266
+ })[] | ({
3267
+ inputs: {
3268
+ internalType: string;
3269
+ name: string;
3270
+ type: string;
3271
+ }[];
3272
+ stateMutability: string;
3273
+ type: string;
3274
+ name?: undefined;
3275
+ anonymous?: undefined;
3276
+ outputs?: undefined;
3277
+ } | {
3278
+ inputs: {
3279
+ internalType: string;
3280
+ name: string;
3281
+ type: string;
3282
+ }[];
3283
+ name: string;
3284
+ type: string;
3285
+ stateMutability?: undefined;
3286
+ anonymous?: undefined;
3287
+ outputs?: undefined;
3288
+ } | {
3289
+ anonymous: boolean;
3290
+ inputs: {
3291
+ indexed: boolean;
3292
+ internalType: string;
3293
+ name: string;
3294
+ type: string;
3295
+ }[];
3296
+ name: string;
3297
+ type: string;
3298
+ stateMutability?: undefined;
3299
+ outputs?: undefined;
3300
+ } | {
3301
+ inputs: {
3302
+ internalType: string;
3303
+ name: string;
3304
+ type: string;
3305
+ }[];
3306
+ name: string;
3307
+ outputs: {
3308
+ internalType: string;
3309
+ name: string;
3310
+ type: string;
3311
+ }[];
3312
+ stateMutability: string;
3313
+ type: string;
3314
+ anonymous?: undefined;
3315
+ })[] | ({
3316
+ inputs: {
3317
+ internalType: string;
3318
+ name: string;
3319
+ type: string;
3320
+ }[];
3321
+ stateMutability: string;
3322
+ type: string;
3323
+ name?: undefined;
3324
+ anonymous?: undefined;
3325
+ outputs?: undefined;
3326
+ } | {
3327
+ inputs: {
3328
+ internalType: string;
3329
+ name: string;
3330
+ type: string;
3331
+ }[];
3332
+ name: string;
3333
+ type: string;
3334
+ stateMutability?: undefined;
3335
+ anonymous?: undefined;
3336
+ outputs?: undefined;
3337
+ } | {
3338
+ anonymous: boolean;
3339
+ inputs: {
3340
+ indexed: boolean;
3341
+ internalType: string;
3342
+ name: string;
3343
+ type: string;
3344
+ }[];
3345
+ name: string;
3346
+ type: string;
3347
+ stateMutability?: undefined;
3348
+ outputs?: undefined;
3349
+ } | {
3350
+ inputs: {
3351
+ internalType: string;
3352
+ name: string;
3353
+ type: string;
3354
+ }[];
3355
+ name: string;
3356
+ outputs: {
3357
+ internalType: string;
3358
+ name: string;
3359
+ type: string;
3360
+ }[];
3361
+ stateMutability: string;
3362
+ type: string;
3363
+ anonymous?: undefined;
3067
3364
  })[];
3068
3365
  export { getABI, ABIS };
@@ -31,6 +31,9 @@ const ERC721VaultAdapter_json_1 = __importDefault(require("../artifacts/core/vau
31
31
  const RWAIndexToken_json_1 = __importDefault(require("../artifacts/core/tokens/RWAIndexToken.sol/RWAIndexToken.json"));
32
32
  const RAACHousePriceOracle_json_1 = __importDefault(require("../artifacts/core/oracles/RAACHousePriceOracle.sol/RAACHousePriceOracle.json"));
33
33
  const ComplianceRegistry_json_1 = __importDefault(require("../artifacts/core/primitives/ComplianceRegistry.sol/ComplianceRegistry.json"));
34
+ const Treasury_json_1 = __importDefault(require("../artifacts/core/collectors/Treasury.sol/Treasury.json"));
35
+ const RWAIndexTokenCollector_json_1 = __importDefault(require("../artifacts/core/collectors/RWAIndexTokenCollector.sol/RWAIndexTokenCollector.json"));
36
+ const RAACTokenCollector_json_1 = __importDefault(require("../artifacts/core/collectors/RAACTokenCollector.sol/RAACTokenCollector.json"));
34
37
  const CRVUSD_ABI = crvUSDToken_json_1.default.abi;
35
38
  const RToken_json_2 = __importDefault(require("../artifacts/core/tokens/RToken.sol/RToken.json")); // assert { type: "json" }; // TODO: Isnt this same as rcrvusd?
36
39
  const RTOKEN_ABI = RToken_json_2.default.abi;
@@ -86,6 +89,9 @@ const ABIS = {
86
89
  erc721vaultadapter: ERC721VaultAdapter_json_1.default.abi,
87
90
  rwaindextoken: RWAINDEXTOKEN_ABI,
88
91
  complianceregistry: ComplianceRegistry_json_1.default.abi,
92
+ treasury: Treasury_json_1.default.abi,
93
+ rwaindextokencollector: RWAIndexTokenCollector_json_1.default.abi,
94
+ raactokencollector: RAACTokenCollector_json_1.default.abi,
89
95
  };
90
96
  exports.ABIS = ABIS;
91
97
  const getABI = (name) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raac/rpc",
3
- "version": "1.1.0-beta.47",
3
+ "version": "1.1.0-beta.49",
4
4
  "description": "RPC Library for RAAC ",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/types/index.d.ts",