diff --git a/src/actions/public/L1/simulateDepositETH.ts b/src/actions/public/L1/simulateDepositETH.ts index d32855a..d43fc4d 100644 --- a/src/actions/public/L1/simulateDepositETH.ts +++ b/src/actions/public/L1/simulateDepositETH.ts @@ -20,13 +20,16 @@ export type SimulateDepositETHParameters< _chainId = TChain extends Chain ? TChain['id'] : number, > = & { args: DepositETHParameters; portal: RawOrContractAddress<_chainId> } - & L1SimulateActionBaseType< - typeof ABI, - typeof FUNCTION, - ContractFunctionArgs, - TChain, - TChainOverride, - TAccountOverride + & Omit< + L1SimulateActionBaseType< + typeof ABI, + typeof FUNCTION, + ContractFunctionArgs, + TChain, + TChainOverride, + TAccountOverride + >, + 'value' > export type SimulateDepositETHReturnType< diff --git a/src/actions/wallet/L1/writeDepositETH.ts b/src/actions/wallet/L1/writeDepositETH.ts index f4a8f8e..be18e53 100644 --- a/src/actions/wallet/L1/writeDepositETH.ts +++ b/src/actions/wallet/L1/writeDepositETH.ts @@ -15,13 +15,16 @@ export type WriteDepositETHParameters< _chainId = TChain extends Chain ? TChain['id'] : number, > = & { args: DepositETHParameters; portal: RawOrContractAddress<_chainId> } - & L1WriteActionBaseType< - typeof ABI, - typeof FUNCTION, - ContractFunctionArgs, - TChain, - TAccount, - TChainOverride + & Omit< + L1WriteActionBaseType< + typeof ABI, + typeof FUNCTION, + ContractFunctionArgs, + TChain, + TAccount, + TChainOverride + >, + 'value' > /** diff --git a/src/actions/wallet/L1/writeDepositTransaction.ts b/src/actions/wallet/L1/writeDepositTransaction.ts index b72fb69..13ee340 100644 --- a/src/actions/wallet/L1/writeDepositTransaction.ts +++ b/src/actions/wallet/L1/writeDepositTransaction.ts @@ -30,16 +30,18 @@ export type WriteDepositTransactionParameters< TChain extends Chain | undefined = Chain, TAccount extends Account | undefined = Account | undefined, TChainOverride extends Chain | undefined = Chain | undefined, -> // _chainId = TChain extends Chain ? TChain['id'] : number, - = +> = & { args: DepositTransactionParameters; portal: RawOrContractAddress } - & L1WriteActionBaseType< - typeof ABI, - typeof FUNCTION, - ContractFunctionArgs, - TChain, - TAccount, - TChainOverride + & Omit< + L1WriteActionBaseType< + typeof ABI, + typeof FUNCTION, + ContractFunctionArgs, + TChain, + TAccount, + TChainOverride + >, + 'value' > /**