-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstructions
21 lines (20 loc) · 1.14 KB
/
instructions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
load = async () => {
[dep, alice, bob, eve] = await ethers.getSigners();
comptroller = await ethers.getContractAt('ComptrollerG6', Comptroller, dep);
rif = await ethers.getContractAt('StandardToken', RIF, dep);
doc = await ethers.getContractAt('StandardToken', DOC, dep);
rdoc = await ethers.getContractAt('StandardToken', RDOC, dep);
usdt = await ethers.getContractAt('StandardToken', USDT, dep);
crif = await ethers.getContractAt('CErc20Immutable', cRIF, dep);
cdoc = await ethers.getContractAt('CErc20Immutable', cDOC, dep);
crdoc = await ethers.getContractAt('CRDOC', cRDOC, dep);
cusdt = await ethers.getContractAt('CErc20Immutable', cUSDT, dep);
crbtc = await ethers.getContractAt('CRBTC', cRBTC, dep);
csat = await ethers.getContractAt('CRBTC', cSAT, dep);
csatCompanion = await ethers.getContractAt('CRBTCCompanion', cRBTCCompanion, dep);
priceOracleProxy = await ethers.getContractAt('PriceOracleProxy', PriceOracleProxy, dep);
rbtcOracle = await ethers.getContractAt('MockPriceProviderMoC', RBTCOracle, dep);
mkts = await comptroller.getAllMarkets();
users = [dep, alice, bob, eve];
}
load();