@raac/rpc 1.1.0-beta.29 → 1.1.0-beta.30

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.
@@ -19,11 +19,6 @@
19
19
  "name": "RAAC House Prices",
20
20
  "contract": "0x3aD29bF120251BF7B2616B7460d38796535E0753"
21
21
  },
22
- "raacprimerateoracle": {
23
- "id": "raacprimerateoracle",
24
- "name": "RAAC Prime Rate Oracle",
25
- "contract": "0x755853680b66535067E436f218AF87f1C8Db961a"
26
- },
27
22
  "auctionfactory": {
28
23
  "id": "auctionfactory",
29
24
  "name": "Auction Factory",
@@ -133,5 +128,35 @@
133
128
  "decimals": 18,
134
129
  "contract": "0x1be9E0875edfbAE72D087500c502b5F84ca9E9Da"
135
130
  }
131
+ },
132
+ "adapters": {
133
+ "lendingpool": {
134
+ "raacnftadapter": {
135
+ "id": "raacnftadapter",
136
+ "name": "RAAC NFT Adapter",
137
+ "contract": "0x062a65756a436f9Ec04438046C7a1Fa481B1F804",
138
+ "type": "ERC721"
139
+ },
140
+ "rwaindextokenadapter": {
141
+ "id": "rwaindextokenadapter",
142
+ "name": "RWA Index Token",
143
+ "contract": "0x28Ca5D9D8429d76c800Bd076Cb267F7127176364",
144
+ "type": "ERC20"
145
+ }
146
+ },
147
+ "rwavault": {
148
+ "raacnftadapter": {
149
+ "id": "raacnftadapter",
150
+ "name": "RAAC NFT Adapter",
151
+ "contract": "0x87B61bbe2E64954654DB2536538Eaa67ccf45D95",
152
+ "type": "ERC721"
153
+ },
154
+ "crvusdadapter": {
155
+ "id": "crvusdadapter",
156
+ "name": "CRVUSD Adapter",
157
+ "contract": "0x37301c8D830BBa21b5e7CeDE1d25A541e49cDA9C",
158
+ "type": "ERC20"
159
+ }
160
+ }
136
161
  }
137
162
  }
@@ -8,8 +8,6 @@ async function getTokensByOwner(chainId, address, provider, pagination) {
8
8
  const raacNFTAddress = (0, contracts_1.getContractAddress)(chainId, "raacnft");
9
9
  const raacNFTABI = (0, artifacts_1.getABI)("raacnft");
10
10
  const raacNFTContract = new ethers_1.ethers.Contract(raacNFTAddress, raacNFTABI, provider);
11
- console.log(raacNFTContract);
12
- console.log(address);
13
11
  const balance = await raacNFTContract.balanceOf(address);
14
12
  if (balance === 0n) {
15
13
  return { address, tokens: [] };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raac/rpc",
3
- "version": "1.1.0-beta.29",
3
+ "version": "1.1.0-beta.30",
4
4
  "description": "RPC Library for RAAC ",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/types/index.d.ts",