forked from gyrostable/alpha-testnet
-
Notifications
You must be signed in to change notification settings - Fork 1
/
repl-startup.js
24 lines (19 loc) · 889 Bytes
/
repl-startup.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
const [signer] = await ethers.getSigners();
const {
CompoundPriceWrapper__factory,
} = require("./typechain/factories/CompoundPriceWrapper__factory");
const {
UniswapAnchoredView__factory,
} = require("./typechain/factories/UniswapAnchoredView__factory");
const { ERC20__factory } = require("./typechain/factories/ERC20__factory");
const { GyroFundV1__factory } = require("./typechain/factories/GyroFundV1__factory");
const { GyroFundV1__factory2 } = require("./typechain/factories/GyroFundV1__factory2");
const compoundPriceWrapper = CompoundPriceWrapper__factory.connect(
(await deployments.get("CompoundPriceWrapper")).address,
signer
);
const uniswapAnchor = UniswapAnchoredView__factory.connect(
(await deployments.get("UniswapAnchoredView")).address,
signer
);
const gyroFund = GyroFundV1__factory.connect((await deployments.get("Gyro_Proxy_New")).address, signer);