import { IFormikFields , IReceiverAddress , WalletId } from '@types' ; import { fAccounts } from './account' ; import { fAssets } from './assets' ; import { fNetwork , fNetworks } from './network' ; const nonEIP1559Network = { ... fNetwork , supportsEIP1559 : false } ; export const fETHTxSendFormikFields = { asset : fAssets [ 0 ] , network : nonEIP1559Network , account : fAccounts [ 0 ] , txDataField : '0x' , gasPriceField : '65' , gasPriceSlider : '65' , gasLimitField : '21000' , nonceField : '1' , advancedTransaction : false , isAutoGasSet : true , address : { display : fAccounts [ 0 ] . label , value : fAccounts [ 0 ] . address } as IReceiverAddress , amount : '0.01' , maxFeePerGasField : '20' , maxPriorityFeePerGasField : '1' } ; export const fAdvancedETHTxSendFormikFields = { asset : fAssets [ 0 ] , network : nonEIP1559Network , account : fAccounts [ 0 ] , txDataField : '0x' , gasPriceField : '69' , gasPriceSlider : '65' , gasLimitField : '21000' , nonceField : '1' , advancedTransaction : true , isAutoGasSet : true , address : { display : fAccounts [ 0 ] . label , value : fAccounts [ 0 ] . address } as IReceiverAddress , amount : '0.01' , maxFeePerGasField : '20' , maxPriorityFeePerGasField : '1' } ; export const fERC20TxSendFormikFields = { asset : fAssets [ fAssets . length - 1 ] , network : fNetworks [ 1 ] , account : fAccounts [ 1 ] , txDataField : '0x' , gasPriceField : '65' , gasPriceSlider : '65' , gasLimitField : '35000' , nonceField : '1' , advancedTransaction : false , isAutoGasSet : true , address : { display : fAccounts [ 1 ] . label , value : fAccounts [ 1 ] . address } as IReceiverAddress , amount : '0.01' , maxFeePerGasField : '20' , maxPriorityFeePerGasField : '1' } ; export const fAdvancedERC20TxSendFormikFields = { asset : fAssets [ fAssets . length - 1 ] , network : fNetworks [ 1 ] , account : fAccounts [ 1 ] , txDataField : '0x' , gasPriceField : '69' , gasPriceSlider : '65' , gasLimitField : '35000' , nonceField : '1' , advancedTransaction : true , isAutoGasSet : true , address : { display : fAccounts [ 1 ] . label , value : fAccounts [ 1 ] . address } as IReceiverAddress , amount : '0.01' , maxFeePerGasField : '20' , maxPriorityFeePerGasField : '1' } ; export const fETHTxSendFormikFieldsEIP1559 = { asset : fAssets [ 1 ] , network : { ... fNetwork , supportsEIP1559 : true } , account : { ... fAccounts [ 0 ] , wallet : WalletId . LEDGER_NANO_S } , txDataField : '0x' , gasPriceField : '65' , gasPriceSlider : '65' , gasLimitField : '21000' , nonceField : '1' , advancedTransaction : false , isAutoGasSet : true , address : { display : fAccounts [ 0 ] . label , value : fAccounts [ 0 ] . address } as IReceiverAddress , amount : '0.01' , maxFeePerGasField : '20' , maxPriorityFeePerGasField : '1' } ;