@raac/rpc 1.1.0-beta.25 → 1.1.0-beta.26
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.
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
{
|
|
2
|
+
"chainId": 18453,
|
|
3
|
+
"name": "raac",
|
|
4
|
+
"rpcs": ["http://44.211.155.244:8545"],
|
|
5
|
+
"nativeCurrency": {
|
|
6
|
+
"name": "RAAC",
|
|
7
|
+
"symbol": "RAAC",
|
|
8
|
+
"decimals": 18
|
|
9
|
+
},
|
|
10
|
+
"blockExplorer": [
|
|
11
|
+
{
|
|
12
|
+
"name": "Etherscan",
|
|
13
|
+
"url": "https://etherscan.io"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"contracts": {
|
|
17
|
+
"raachouseprices": {
|
|
18
|
+
"id": "raachouseprices",
|
|
19
|
+
"name": "RAAC House Prices",
|
|
20
|
+
"contract": "0x0165878A594ca255338adfa4d48449f69242Eb8F"
|
|
21
|
+
},
|
|
22
|
+
"auctionfactory": {
|
|
23
|
+
"id": "auctionfactory",
|
|
24
|
+
"name": "Auction Factory",
|
|
25
|
+
"contract": "0xC644A84734A7329eE46d3B6704746179d272f990"
|
|
26
|
+
},
|
|
27
|
+
"zenofactory": {
|
|
28
|
+
"id": "zenofactory",
|
|
29
|
+
"name": "Zeno Factory",
|
|
30
|
+
"contract": "0xa9eE59A113bCB4B2CC10f802D1efF0Bae1Ab91D2"
|
|
31
|
+
},
|
|
32
|
+
"raacminter": {
|
|
33
|
+
"id": "raacminter",
|
|
34
|
+
"name": "RAAC Minter",
|
|
35
|
+
"contract": "0x322813Fd9A801c5507c9de605d63CEA4f2CE6c44"
|
|
36
|
+
},
|
|
37
|
+
"feecollector": {
|
|
38
|
+
"id": "feecollector",
|
|
39
|
+
"name": "Fee Collector",
|
|
40
|
+
"contract": "0x610178dA211FEF7D417bC0e6FeD39F05609AD788"
|
|
41
|
+
},
|
|
42
|
+
"treasury": {
|
|
43
|
+
"id": "treasury",
|
|
44
|
+
"name": "Treasury",
|
|
45
|
+
"contract": "0x8A791620dd6260079BF849Dc5567aDC3F2FdC318"
|
|
46
|
+
},
|
|
47
|
+
"repairfund": {
|
|
48
|
+
"id": "repairfund",
|
|
49
|
+
"name": "Repair Fund",
|
|
50
|
+
"contract": "0x59b670e9fA9D0A427751Af201D676719a970857b"
|
|
51
|
+
},
|
|
52
|
+
"releaseorchestrator": {
|
|
53
|
+
"id": "releaseorchestrator",
|
|
54
|
+
"name": "Release Orchestrator",
|
|
55
|
+
"contract": "0x0165878A594ca255338adfa4d48449f69242Eb8F"
|
|
56
|
+
},
|
|
57
|
+
"rwavault": {
|
|
58
|
+
"id": "rwavault",
|
|
59
|
+
"name": "RWA Vault",
|
|
60
|
+
"contract": "0xE6E340D132b5f46d1e472DebcD681B2aBc16e57E"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"pools": {
|
|
64
|
+
"stabilitypool": {
|
|
65
|
+
"id": "stabilitypool",
|
|
66
|
+
"name": "Stability Pool",
|
|
67
|
+
"contract": "0x09635F643e140090A9A8Dcd712eD6285858ceBef"
|
|
68
|
+
},
|
|
69
|
+
"lendingpool": {
|
|
70
|
+
"id": "lendingpool",
|
|
71
|
+
"name": "Lending Pool",
|
|
72
|
+
"contract": "0x59b670e9fA9D0A427751Af201D676719a970857b"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"nfts": {
|
|
76
|
+
"raacnft": {
|
|
77
|
+
"id": "raacnft",
|
|
78
|
+
"name": "RAAC NFT",
|
|
79
|
+
"contract": "0xf5059a5D33d5853360D16C683c16e67980206f36"
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"assets": {
|
|
83
|
+
"eth": {
|
|
84
|
+
"id": "eth",
|
|
85
|
+
"name": "ETH",
|
|
86
|
+
"decimals": 18,
|
|
87
|
+
"contract": "0x0000000000000000000000000000000000000000"
|
|
88
|
+
},
|
|
89
|
+
"crvusd": {
|
|
90
|
+
"id": "crvusd",
|
|
91
|
+
"name": "CRVUSD",
|
|
92
|
+
"decimals": 18,
|
|
93
|
+
"contract": "0x9fE46736679d2D9a65F0992F2272dE9f3c7fa6e0"
|
|
94
|
+
},
|
|
95
|
+
"rtoken": {
|
|
96
|
+
"id": "rtoken",
|
|
97
|
+
"name": "RToken",
|
|
98
|
+
"decimals": 18,
|
|
99
|
+
"contract": "0x9A9f2CCfdE556A7E9Ff0848998Aa4a0CFD8863AE"
|
|
100
|
+
},
|
|
101
|
+
"detoken": {
|
|
102
|
+
"id": "detoken",
|
|
103
|
+
"name": "DEToken",
|
|
104
|
+
"decimals": 18,
|
|
105
|
+
"contract": "0x4A679253410272dd5232B3Ff7cF5dbB88f295319"
|
|
106
|
+
},
|
|
107
|
+
"raactoken": {
|
|
108
|
+
"id": "raactoken",
|
|
109
|
+
"name": "RAAC",
|
|
110
|
+
"decimals": 18,
|
|
111
|
+
"contract": "0xDc64a140Aa3E981100a9becA4E685f962f0cF6C9"
|
|
112
|
+
},
|
|
113
|
+
"veraac": {
|
|
114
|
+
"id": "veraac",
|
|
115
|
+
"name": "VERAAC",
|
|
116
|
+
"decimals": 18,
|
|
117
|
+
"contract": "0xB7f8BC63BbcaD18155201308C8f3540b07f84F5e"
|
|
118
|
+
},
|
|
119
|
+
"debttoken": {
|
|
120
|
+
"id": "debttoken",
|
|
121
|
+
"name": "Debt Token",
|
|
122
|
+
"decimals": 18,
|
|
123
|
+
"contract": "0x68B1D87F95878fE05B998F19b66F4baba5De1aed"
|
|
124
|
+
},
|
|
125
|
+
"rwaindextoken": {
|
|
126
|
+
"id": "rwaindextoken",
|
|
127
|
+
"name": "Index Token",
|
|
128
|
+
"decimals": 18,
|
|
129
|
+
"contract": "0x67d269191c92Caf3cD7723F116c85e6E9bf55933"
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
"adapters": {
|
|
133
|
+
"lendingpool": {
|
|
134
|
+
"raacnftadapter": {
|
|
135
|
+
"id": "raacnftadapter",
|
|
136
|
+
"name": "RAAC NFT Adapter",
|
|
137
|
+
"contract": "0x998abeb3E57409262aE5b751f60747921B33613E",
|
|
138
|
+
"type": "ERC721"
|
|
139
|
+
},
|
|
140
|
+
"rwaindextokenadapter": {
|
|
141
|
+
"id": "rwaindextokenadapter",
|
|
142
|
+
"name": "RWA Index Token",
|
|
143
|
+
"contract": "0x95401dc811bb5740090279Ba06cfA8fcF6113778",
|
|
144
|
+
"type": "ERC20"
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
"rwavault": {
|
|
148
|
+
"raacnftadapter": {
|
|
149
|
+
"id": "raacnftadapter",
|
|
150
|
+
"name": "RAAC NFT Adapter",
|
|
151
|
+
"contract": "0x99bbA657f2BbC93c02D617f8bA121cB8Fc104Acf",
|
|
152
|
+
"type": "ERC721"
|
|
153
|
+
},
|
|
154
|
+
"crvusdadapter": {
|
|
155
|
+
"id": "crvusdadapter",
|
|
156
|
+
"name": "CRVUSD Adapter",
|
|
157
|
+
"contract": "0xc3e53F4d16Ae77Db1c982e75a937B9f60FE63690",
|
|
158
|
+
"type": "ERC20"
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
}
|
|
@@ -8,10 +8,12 @@ exports.configs = void 0;
|
|
|
8
8
|
const _8453_json_1 = __importDefault(require("./8453.json")); // assert { type: "json" };
|
|
9
9
|
const _17000_json_1 = __importDefault(require("./17000.json")); // assert { type: "json" };
|
|
10
10
|
const _11155111_json_1 = __importDefault(require("./11155111.json")); // assert { type: "json" };
|
|
11
|
+
const _18453_json_1 = __importDefault(require("./18453.json")); // assert { type: "json" };
|
|
11
12
|
const chains = {
|
|
12
13
|
8453: _8453_json_1.default,
|
|
13
14
|
17000: _17000_json_1.default, // the interface is the same for all the chains, so taking this
|
|
14
15
|
11155111: _11155111_json_1.default,
|
|
16
|
+
18453: _18453_json_1.default,
|
|
15
17
|
};
|
|
16
18
|
exports.default = chains;
|
|
17
19
|
exports.configs = chains;
|
package/dist/scripts/index.js
CHANGED
|
@@ -9,7 +9,7 @@ const chains_1 = __importDefault(require("../configs/chains"));
|
|
|
9
9
|
const RPCLibrary_1 = __importDefault(require("../RPCLibrary"));
|
|
10
10
|
const contracts_1 = require("../utils/contracts");
|
|
11
11
|
const artifacts_1 = require("../utils/artifacts");
|
|
12
|
-
const chainId =
|
|
12
|
+
const chainId = 18453;
|
|
13
13
|
const config = chains_1.default[chainId];
|
|
14
14
|
const TEST_MNEMONIC = process.env.TEST_MNEMONIC;
|
|
15
15
|
const TEST_PRIVATE_KEY = process.env.TEST_PRIVATE_KEY;
|
|
@@ -3,12 +3,14 @@ declare const chains: {
|
|
|
3
3
|
8453: Chain8453;
|
|
4
4
|
17000: Chain8453;
|
|
5
5
|
11155111: Chain11155111;
|
|
6
|
+
18453: Chain8453;
|
|
6
7
|
};
|
|
7
8
|
export default chains;
|
|
8
9
|
export declare const configs: {
|
|
9
10
|
8453: Chain8453;
|
|
10
11
|
17000: Chain8453;
|
|
11
12
|
11155111: Chain11155111;
|
|
13
|
+
18453: Chain8453;
|
|
12
14
|
};
|
|
13
15
|
export type Configs = typeof chains;
|
|
14
16
|
export type ConfigKeys = keyof Configs;
|
|
@@ -3,6 +3,7 @@ declare function getChainsConfig(): {
|
|
|
3
3
|
8453: import("./chains/chain").Chain8453;
|
|
4
4
|
17000: import("./chains/chain").Chain8453;
|
|
5
5
|
11155111: import("./chains/chain").Chain11155111;
|
|
6
|
+
18453: import("./chains/chain").Chain8453;
|
|
6
7
|
};
|
|
7
8
|
declare function setChainConfig(chainId: ChainId, config: any): void;
|
|
8
9
|
declare function getChainConfig(chainId: ChainId): any;
|
|
@@ -5,6 +5,7 @@ export declare const getConfigs: () => {
|
|
|
5
5
|
8453: import("../configs/chains/chain").Chain8453;
|
|
6
6
|
17000: import("../configs/chains/chain").Chain8453;
|
|
7
7
|
11155111: import("../configs/chains/chain").Chain11155111;
|
|
8
|
+
18453: import("../configs/chains/chain").Chain8453;
|
|
8
9
|
};
|
|
9
10
|
export declare const setOverrideConfig: (chainId: ChainId, newConfig: any) => void;
|
|
10
11
|
export declare const getConfig: (chainId: ChainId) => any;
|
|
@@ -19,6 +20,7 @@ declare const _default: {
|
|
|
19
20
|
8453: import("../configs/chains/chain").Chain8453;
|
|
20
21
|
17000: import("../configs/chains/chain").Chain8453;
|
|
21
22
|
11155111: import("../configs/chains/chain").Chain11155111;
|
|
23
|
+
18453: import("../configs/chains/chain").Chain8453;
|
|
22
24
|
};
|
|
23
25
|
};
|
|
24
26
|
export default _default;
|