Skip to content

Commit

Permalink
feat(api)!: use TransactionRequest on Step (#212)
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasmoeller committed Jan 3, 2024
1 parent 26f4c48 commit 39fa8eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export type BigIntish = string
export type TransactionRequest = {
to?: string
from?: string
nonce?: BigIntish
nonce?: number

gasLimit?: BigIntish
gasPrice?: BigIntish
Expand Down
4 changes: 2 additions & 2 deletions src/step.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-disable @typescript-eslint/no-explicit-any */
import { providers } from 'ethers'
import { Substatus } from '.'
import { Substatus, TransactionRequest } from '.'
import { Token } from './base'
import { Bridge } from './bridges'
import { Exchange, ExchangeAggregator } from './exchanges'
Expand Down Expand Up @@ -138,7 +138,7 @@ export interface StepBase {
action: Action
estimate?: Estimate
execution?: Execution
transactionRequest?: providers.TransactionRequest
transactionRequest?: TransactionRequest
}

export interface DestinationCallInfo {
Expand Down

0 comments on commit 39fa8eb

Please sign in to comment.