Skip to content

Commit

Permalink
use ERC20 interface instead of IERC20 interface for base currency
Browse files Browse the repository at this point in the history
  • Loading branch information
0xMayflower committed May 28, 2021
1 parent 002bb4c commit 41b044b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ import {
DividendPool__factory,
ERC1155StakeMiningV1Factory,
ERC1155StakeMiningV1Factory__factory,
ERC20,
ERC20__factory,
ERC20BurnMiningV1,
ERC20BurnMiningV1Factory,
ERC20BurnMiningV1Factory__factory,
Expand All @@ -22,8 +24,6 @@ import {
FounderShare__factory,
GnosisSafe,
GnosisSafe__factory,
IERC20,
IERC20__factory,
JobBoard,
JobBoard__factory,
Marketplace,
Expand Down Expand Up @@ -133,7 +133,7 @@ export const deployed: Deployed = deployedContract;

export type WorkhardDAO = {
multisig: GnosisSafe;
baseCurrency: IERC20;
baseCurrency: ERC20;
timelock: TimelockedGovernance;
vision: VISION;
commit: COMMIT;
Expand Down Expand Up @@ -269,7 +269,7 @@ export class WorkhardClient {
if (contracts.timelock === constants.AddressZero) return undefined;
const connector = option?.account || this.signer || this.workhard.provider;
let multisig = GnosisSafe__factory.connect(contracts.multisig, connector);
let baseCurrency = IERC20__factory.connect(
let baseCurrency = ERC20__factory.connect(
contracts.baseCurrency,
connector
);
Expand Down

0 comments on commit 41b044b

Please sign in to comment.