@ixily/activ
Version:
Alpha Capture Trade Idea Verification. Blockchain ownership proven trade ideas and strategies.
30 lines (26 loc) • 705 B
text/typescript
import { BigNumber } from 'ethers'
export interface ICryptoValue {
weiBigNumber: BigNumber
weiHex: string
weiDecimalNumber?: number
gWeiDecimalNumber?: number
fullDecimalNumber?: number
}
export interface IComputationalCostRecord {
costs: number[]
}
export interface IOperationalCost {
ixilyTax: ICryptoValue
walletBalancePrior: ICryptoValue
estimatedGasPrice: ICryptoValue
estimatedComputationalRawCost: number
costRecords: IComputationalCostRecord
estimatedTotalGasCost: ICryptoValue
estimatedTotalCost: ICryptoValue
haveEnoughForTry: boolean
walletBalanceAfter?: ICryptoValue
totalCost?: ICryptoValue
gasGost?: ICryptoValue
gasPrice?: ICryptoValue
computationalRawCost?: number
}