This repository has been archived by the owner on Apr 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update dependencies * regenerate types * more hacks for ExtendedContract * 0.3.1-RC.0 * fix subscription return type * export contract events as a map for ease of use * 0.3.1-RC.1
- Loading branch information
Showing
13 changed files
with
820 additions
and
525 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
// Doesn't use ContractEvent on purpose since the mapping of events in typechain is broken | ||
// TODO: Update when typechain fix the issue | ||
import { BatchExchange } from './gen/BatchExchange' | ||
import { ExtendedContract } from './types' | ||
import { ExtendedContract, EventMap } from './types' | ||
|
||
export type BatchExchangeContract = ExtendedContract<BatchExchange> | ||
export type BatchExchangeEvents = EventMap<BatchExchange> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
// Doesn't use ContractEvent on purpose since the mapping of events in typechain is broken | ||
// TODO: Update when typechain fix the issue | ||
import { Erc20 } from './gen/Erc20.d' | ||
import { ExtendedContract } from './types' | ||
import { ExtendedContract, EventMap } from './types' | ||
|
||
export type Erc20Contract = ExtendedContract<Erc20> | ||
export type Erc20Events = EventMap<Erc20> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
// Doesn't use ContractEvent on purpose since the mapping of events in typechain is broken | ||
// TODO: Update when typechain fix the issue | ||
import { Tcr } from './gen/Tcr' | ||
import { ExtendedContract } from './types' | ||
import { ExtendedContract, EventMap } from './types' | ||
|
||
export type TcrContract = ExtendedContract<Tcr> | ||
export type TcrEvents = EventMap<Tcr> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
// Doesn't use ContractEvent on purpose since the mapping of events in typechain is broken | ||
// TODO: Update when typechain fix the issue | ||
import { Weth } from './gen/Weth' | ||
import { ExtendedContract } from './types' | ||
import { ExtendedContract, EventMap } from './types' | ||
|
||
export type WethContract = ExtendedContract<Weth> | ||
export type WethEvents = EventMap<Weth> |
Oops, something went wrong.