mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
minor change
This commit is contained in:
parent
418c255fe0
commit
e27d41d309
|
@ -325,8 +325,7 @@ describe("Compound III Rewards", function () {
|
||||||
signer: masterSigner,
|
signer: masterSigner,
|
||||||
connectors: instaConnectorsV2
|
connectors: instaConnectorsV2
|
||||||
});
|
});
|
||||||
const amount = ethers.utils.parseUnits("400", 6); // 1 ETH
|
const amount = ethers.utils.parseUnits("400", 6);
|
||||||
console.log(new BigNumber(await baseContract.connect(signer).balanceOf(dsaWallet0.address)).toFixed(0));
|
|
||||||
const spells = [
|
const spells = [
|
||||||
{
|
{
|
||||||
connector: "COMPOUND-V3-TEST-A",
|
connector: "COMPOUND-V3-TEST-A",
|
||||||
|
@ -351,7 +350,7 @@ describe("Compound III Rewards", function () {
|
||||||
let rewardInterface = new ethers.Contract(reward, ABI);
|
let rewardInterface = new ethers.Contract(reward, ABI);
|
||||||
let owed_ = await cometReward.connect(signer).callStatic.getRewardOwed(market, dsaWallet0.address);
|
let owed_ = await cometReward.connect(signer).callStatic.getRewardOwed(market, dsaWallet0.address);
|
||||||
let amt: number = owed_.owed;
|
let amt: number = owed_.owed;
|
||||||
console.log(amt);
|
console.log(new BigNumber(amt).toFixed(0));
|
||||||
const spells = [
|
const spells = [
|
||||||
{
|
{
|
||||||
connector: connector_,
|
connector: connector_,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user