Skip to content

Commit

Permalink
fix: rendered gasCosts properties non-optional (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
H3xept committed Mar 22, 2023
1 parent 9b57614 commit 02414a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/step.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ export interface FeeCost {
export interface GasCost {
type: 'SUM' | 'APPROVE' | 'SEND' | 'FEE'
price: string // suggested current standard price for chain
estimate?: string // estimate how much gas will be needed
limit?: string // suggested gas limit (estimate +25%)
estimate: string // estimate how much gas will be needed
limit: string // suggested gas limit (estimate +25%)
amount: string // estimate * price = amount of tokens that will be needed
amountUSD?: string // usd value of token amount
amountUSD: string // usd value of token amount
token: Token // the used gas token
}

Expand Down

0 comments on commit 02414a2

Please sign in to comment.