@raac/rpc 1.1.0-beta.66 → 1.1.0-beta.68

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.
@@ -17,7 +17,7 @@
17
17
  "raachouseprices": {
18
18
  "id": "raachouseprices",
19
19
  "name": "RAAC House Prices",
20
- "contract": "0x51F784aD035108a6Cc2EeD3209544F63fD9526B7"
20
+ "contract": "0x5B2b86931846A66C178725CFd8fCae4bf2A08617"
21
21
  },
22
22
  "auctionfactory": {
23
23
  "id": "auctionfactory",
@@ -37,12 +37,12 @@
37
37
  "feecollector": {
38
38
  "id": "feecollector",
39
39
  "name": "Fee Collector",
40
- "contract": "0xd33240f50fE9bc4FcD3CfF4361c23D47b321A686"
40
+ "contract": "0x66070bd2B077Dd3E0aced5d0c74188D1CBAaC6BF"
41
41
  },
42
42
  "treasury": {
43
43
  "id": "treasury",
44
44
  "name": "Treasury",
45
- "contract": "0x3a9155B273b3e645dAE14C5994f81a4658c2DF6a"
45
+ "contract": "0x1bCE0e1C1aB90936C5975d9755FBAc4a00c3f145"
46
46
  },
47
47
  "repairfund": {
48
48
  "id": "repairfund",
@@ -57,17 +57,17 @@
57
57
  "rwavault": {
58
58
  "id": "rwavault",
59
59
  "name": "RWA Vault",
60
- "contract": "0xb5dC159499c77E334C290c001a67EeF8afea64aE"
60
+ "contract": "0xeD8502C80753740ac4ADd5Caf10aC96aed01de69"
61
61
  },
62
62
  "complianceregistry": {
63
63
  "id": "complianceregistry",
64
64
  "name": "Compliance Registry",
65
- "contract": "0x8900603219B342994386D7d2fCAFa60f61389323"
65
+ "contract": "0x0cFF98a49D62541eBb990C2B397297d477D3Ef34"
66
66
  },
67
67
  "rwaindextokencollector": {
68
68
  "id": "rwaindextokencollector",
69
69
  "name": "RWA Index Token Collector",
70
- "contract": "0xB4655c3bd694A1b36325C2C3401aFd3AE1BDc0B8"
70
+ "contract": "0x59EFAae9b107d8B503e6CF1Cb7233CA359F8251C"
71
71
  },
72
72
  "raactokencollector": {
73
73
  "id": "raactokencollector",
@@ -77,31 +77,31 @@
77
77
  "raachousepriceoracle": {
78
78
  "id": "raachousepriceoracle",
79
79
  "name": "RAAC House Price Oracle",
80
- "contract": "0xB76b3b2B3C93F0E00cABE36841A0d3Fb8E940555"
80
+ "contract": "0xB1497d797c3c02e7e007bA0cB241aFDd70ab5249"
81
81
  },
82
82
  "raacprimerateoracle": {
83
83
  "id": "raacprimerateoracle",
84
84
  "name": "RAAC Prime Rate Oracle",
85
- "contract": "0x6b61186d23a8303a92F56301594d05ea7dcC24b9"
85
+ "contract": "0x685510e5921Da45a46D6348769910668C5a25B79"
86
86
  }
87
87
  },
88
88
  "pools": {
89
89
  "stabilitypool": {
90
90
  "id": "stabilitypool",
91
91
  "name": "Stability Pool",
92
- "contract": "0x7BDa7267213033db43664a3686fe17b93C760f18"
92
+ "contract": "0x2F03459d4CEdcD156C4f8071c0F4F8A7bAa53568"
93
93
  },
94
94
  "lendingpool": {
95
95
  "id": "lendingpool",
96
96
  "name": "Lending Pool",
97
- "contract": "0x410Dd45146cF8255078331e43D2b2748D2425B67"
97
+ "contract": "0xE281dB3E652f1c649F324aa621Fc1917f74a5243"
98
98
  }
99
99
  },
100
100
  "nfts": {
101
101
  "raacnft": {
102
102
  "id": "raacnft",
103
103
  "name": "RAAC NFT",
104
- "contract": "0x550970B27e0344Bd0Ec96a5Ca69Ec5Fe97c7a6DC"
104
+ "contract": "0x7421e594B65414d1b3eb5b798bc7bEeB2f834b6F"
105
105
  }
106
106
  },
107
107
  "assets": {
@@ -115,19 +115,19 @@
115
115
  "id": "crvusd",
116
116
  "name": "CRVUSD",
117
117
  "decimals": 18,
118
- "contract": "0x121C5c6bF495712213b622baF8d10D61FfEE8fce"
118
+ "contract": "0x990c1Aa9162d2c5B51378F86420f1752874e034B"
119
119
  },
120
120
  "rtoken": {
121
121
  "id": "rtoken",
122
122
  "name": "RToken",
123
123
  "decimals": 18,
124
- "contract": "0x049774bBec00B4b2E27eb0781F769b2F7F164678"
124
+ "contract": "0x062a641EF54810B321f123487fFf083cadB50989"
125
125
  },
126
126
  "detoken": {
127
127
  "id": "detoken",
128
128
  "name": "DEToken",
129
129
  "decimals": 18,
130
- "contract": "0xca3ba8883f5081C10BdD6CF9CFCc9148F6d4746A"
130
+ "contract": "0xE9594c6923a909528336009f0Ab916d72d28478e"
131
131
  },
132
132
  "raactoken": {
133
133
  "id": "raactoken",
@@ -145,13 +145,13 @@
145
145
  "id": "debttoken",
146
146
  "name": "Debt Token",
147
147
  "decimals": 18,
148
- "contract": "0xb549f7e7cC2df4417a04b4160055ee2dC3AD54Da"
148
+ "contract": "0xa4F93e2d2AFd4658e638a26dCE189acFd542fC0E"
149
149
  },
150
150
  "rwaindextoken": {
151
151
  "id": "rwaindextoken",
152
152
  "name": "RWA Index Token",
153
153
  "decimals": 18,
154
- "contract": "0xE6360bbAA1a322EfEB170965F8F1A627DFFBeF88"
154
+ "contract": "0x531b322933ebc65b4A139a11139534A3872bEB1a"
155
155
  }
156
156
  },
157
157
  "adapters": {
@@ -159,13 +159,13 @@
159
159
  "raacnftadapter": {
160
160
  "id": "raacnftadapter",
161
161
  "name": "RAAC NFT Adapter",
162
- "contract": "0x5aB19C3E0671A6dC6E30a7430C4B4C8d3646643A",
162
+ "contract": "0x151AB3Ae431978948559dE0E73Bad073CD3F8D68",
163
163
  "type": "ERC721"
164
164
  },
165
165
  "rwaindextokenadapter": {
166
166
  "id": "rwaindextokenadapter",
167
167
  "name": "RWA Index Token",
168
- "contract": "0x850caBB9C4C2f2f8EC2f207AD78592C6a1A14858",
168
+ "contract": "0x9899379d4d9B206A48F126F358ff4327414c0706",
169
169
  "type": "ERC20"
170
170
  }
171
171
  },
@@ -173,13 +173,13 @@
173
173
  "raacnftadapter": {
174
174
  "id": "raacnftadapter",
175
175
  "name": "RAAC NFT Adapter",
176
- "contract": "0xa8D4f23d1cB8E730B75f66A02bD5eD4569c60675",
176
+ "contract": "0x2a8AAca13E882e496c75068c33E72825d7B36843",
177
177
  "type": "ERC721"
178
178
  },
179
179
  "crvusdadapter": {
180
180
  "id": "crvusdadapter",
181
181
  "name": "CRVUSD Adapter",
182
- "contract": "0x0601a7b036F1894564757CEA3044Cf25d5cC82E2",
182
+ "contract": "0x9C731Cfc4161d8BF5fc38a7B2421ef0263d69AeE",
183
183
  "type": "ERC20"
184
184
  }
185
185
  }
@@ -17,7 +17,7 @@
17
17
  "raachouseprices": {
18
18
  "id": "raachouseprices",
19
19
  "name": "RAAC House Prices",
20
- "contract": "0xDc64a140Aa3E981100a9becA4E685f962f0cF6C9"
20
+ "contract": "0xCf7Ed3AccA5a467e9e704C703E8D87F634fB0Fc9"
21
21
  },
22
22
  "auctionfactory": {
23
23
  "id": "auctionfactory",
@@ -62,7 +62,7 @@
62
62
  "complianceregistry": {
63
63
  "id": "complianceregistry",
64
64
  "name": "Compliance Registry",
65
- "contract": "0x9fE46736679d2D9a65F0992F2272dE9f3c7fa6e0"
65
+ "contract": "0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512"
66
66
  },
67
67
  "rwaindextokencollector": {
68
68
  "id": "rwaindextokencollector",
@@ -101,7 +101,7 @@
101
101
  "raacnft": {
102
102
  "id": "raacnft",
103
103
  "name": "RAAC NFT",
104
- "contract": "0x3Aa5ebB10DC797CAC828524e59A333d0A371443c"
104
+ "contract": "0xDc64a140Aa3E981100a9becA4E685f962f0cF6C9"
105
105
  }
106
106
  },
107
107
  "assets": {
@@ -157,7 +157,7 @@
157
157
  "id": "complianceregistry",
158
158
  "name": "Compliance Registry",
159
159
  "decimals": 18,
160
- "contract": "0x9fE46736679d2D9a65F0992F2272dE9f3c7fa6e0"
160
+ "contract": "0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512"
161
161
  },
162
162
  "rwaindextokencollector": {
163
163
  "id": "rwaindextokencollector",
@@ -191,13 +191,13 @@
191
191
  "raacnftadapter": {
192
192
  "id": "raacnftadapter",
193
193
  "name": "RAAC NFT Adapter",
194
- "contract": "0x4ed7c70F96B99c776995fB64377f0d4aB3B0e1C1",
194
+ "contract": "0x59b670e9fA9D0A427751Af201D676719a970857b",
195
195
  "type": "ERC721"
196
196
  },
197
197
  "crvusdadapter": {
198
198
  "id": "crvusdadapter",
199
199
  "name": "CRVUSD Adapter",
200
- "contract": "0x59b670e9fA9D0A427751Af201D676719a970857b",
200
+ "contract": "0xc6e7DF5E7b4f2A278906862b61205850344D4e7d",
201
201
  "type": "ERC20"
202
202
  }
203
203
  }
@@ -11,8 +11,7 @@ const contracts_1 = require("../utils/contracts");
11
11
  const artifacts_1 = require("../utils/artifacts");
12
12
  const _helpers_1 = require("../pools/rwaVault/_helpers");
13
13
  const ethers5_1 = require("ethers5");
14
- const encryptSecretURLs_1 = require("../oracles/encryptSecretURLs");
15
- const chainId = 11155111;
14
+ const chainId = 8453;
16
15
  const config = chains_1.default[chainId];
17
16
  const TEST_MNEMONIC = process.env.TEST_MNEMONIC;
18
17
  const TEST_PRIVATE_KEY = process.env.TEST_PRIVATE_KEY;
@@ -72,8 +71,9 @@ async function setup() {
72
71
  // }, "encryptedFunctionsPrimeRateSecrets.json", signerV5);
73
72
  // console.log(secretsReference);
74
73
  // return;
75
- const encryptedURL = await (0, encryptSecretURLs_1.encryptSecretURLs)(chainId, ["https://emerald-many-grasshopper-318.mypinata.cloud/ipfs/bafkreifvuyg7rsfx2wbyeulc267mvg5nwak2ggaxnr723zbekuzycjiysa"], signerV5);
76
- console.log(encryptedURL);
74
+ await rpc.contracts.housePrices.setOracle(chainId, signer.address, signer);
75
+ // const encryptedURL = await encryptSecretURLs(chainId, ["https://emerald-many-grasshopper-318.mypinata.cloud/ipfs/bafkreifvuyg7rsfx2wbyeulc267mvg5nwak2ggaxnr723zbekuzycjiysa"], signerV5);
76
+ // console.log(encryptedURL);
77
77
  // const secretReference = await generateSecretReference(chainId, {
78
78
  // ATTESTATIONS_AUDITOR_BISCUIT: process.env.ATTESTATIONS_AUDITOR_BISCUIT as string,
79
79
  // ATTESTATION_BATCHES_BISCUIT: process.env.ATTESTATION_BATCHES_BISCUIT as string,
@@ -129,7 +129,6 @@ async function setup() {
129
129
  // );
130
130
  // set the base uri to instruxi data gateway
131
131
  await rpc.nfts.setBaseUri(chainId, "http://3.86.253.54:3000/v1/properties/", signer);
132
- // return;
133
132
  const RWAVaultAddress = (0, contracts_1.getContractAddress)(chainId, "rwavault");
134
133
  const RWAVaultABI = (0, artifacts_1.getABI)("rwavault");
135
134
  const RWAVaultContract = new ethers_1.ethers.Contract(RWAVaultAddress, RWAVaultABI, signer);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raac/rpc",
3
- "version": "1.1.0-beta.66",
3
+ "version": "1.1.0-beta.68",
4
4
  "description": "RPC Library for RAAC ",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/types/index.d.ts",