Skip to content

Commit

Permalink
feat(TokenAmount): add blockNumbers to TokenAmounts (#14)
Browse files Browse the repository at this point in the history
* feat(TokenAmount): add blockNumbers to TokenAmounts

* feat: make blockNumber optional
  • Loading branch information
mathiasmoeller committed Jan 4, 2022
1 parent 904b734 commit 703b8d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ export interface Token {

export interface TokenAmount extends Token {
amount: string
blockNumber?: number
}

export interface Coin {
Expand Down

0 comments on commit 703b8d1

Please sign in to comment.