@thorswap-lib/types
Advanced tools
Comparing version 1.0.0-development.84 to 1.0.0-development.85
@@ -244,12 +244,6 @@ import { BigNumber } from '@ethersproject/bignumber'; | ||
export declare type EIP1559TxParams<T = BigNumberish> = { | ||
nonce?: number; | ||
from?: string; | ||
to?: string; | ||
data?: string; | ||
value?: T; | ||
gasLimit?: T; | ||
export declare type EIP1559TxParams<T = BigNumberish> = EVMTxBaseParams<T> & { | ||
type?: number; | ||
maxFeePerGas?: T; | ||
maxPriorityFeePerGas?: T; | ||
chainId?: number; | ||
}; | ||
@@ -375,2 +369,14 @@ | ||
declare type EVMTxBaseParams<T = BigNumberish> = { | ||
to?: string; | ||
from?: string; | ||
nonce?: number; | ||
gasLimit?: T; | ||
data?: string; | ||
value?: T; | ||
chainId?: number; | ||
}; | ||
export declare type EVMTxParams = EIP1559TxParams | LegacyEVMTxParams; | ||
export declare type EVMWalletOptions = WalletOption.BRAVE | WalletOption.METAMASK | WalletOption.TRUSTWALLET_WEB | WalletOption.COINBASE_WEB; | ||
@@ -440,2 +446,6 @@ | ||
export declare type LegacyEVMTxParams<T = BigNumberish> = EVMTxBaseParams<T> & { | ||
gasPrice?: T; | ||
}; | ||
export declare const MOCK_PHRASE = "image rally need wedding health address purse army antenna leopard sea gain"; | ||
@@ -442,0 +452,0 @@ |
@@ -36,3 +36,3 @@ { | ||
"types": "./dist/index.d.ts", | ||
"version": "1.0.0-development.84", | ||
"version": "1.0.0-development.85", | ||
"scripts": { | ||
@@ -39,0 +39,0 @@ "build": "echo 'Build types 🛠'; vite build && echo 'Build succeeded types ✅'", |
@@ -46,14 +46,24 @@ import { BigNumberish } from '@ethersproject/bignumber'; | ||
export type EIP1559TxParams<T = BigNumberish> = { | ||
type EVMTxBaseParams<T = BigNumberish> = { | ||
to?: string; | ||
from?: string; | ||
nonce?: number; | ||
from?: string; | ||
to?: string; | ||
gasLimit?: T; | ||
data?: string; | ||
value?: T; | ||
gasLimit?: T; | ||
chainId?: number; | ||
}; | ||
export type EIP1559TxParams<T = BigNumberish> = EVMTxBaseParams<T> & { | ||
type?: number; | ||
maxFeePerGas?: T; | ||
maxPriorityFeePerGas?: T; | ||
chainId?: number; | ||
}; | ||
export type LegacyEVMTxParams<T = BigNumberish> = EVMTxBaseParams<T> & { | ||
gasPrice?: T; | ||
}; | ||
export type EVMTxParams = EIP1559TxParams | LegacyEVMTxParams; | ||
export type DepositParams = TxParams & { | ||
@@ -60,0 +70,0 @@ router?: string; |
206579
2442