Superhero is a multi-blockchain wallet to manage crypto assets and navigate the web3 and DeFi space. Currently supporting Bitcoin, Ethereum and æternity blockchains.
Passing the transaction reference to the transactionData composable instead using setActiveTransaction method.
Updating the dex related states in the transactionData composable.
Affected places:
ConfirmTransactionSign modal - establishing the type of swap method
SwapRates modal - establishing the tokens involved
SwapRoute modal - same as above
TransactionDetails page - establishing the tokens when swapping/pool on DEX, establishing the tags at the top of the page
TransactionListItem - establishing the transaction direction
MultisigProposalDetails - small tweaks on how the transactionData composable is used here (check if nothing is broken)
As this task is about refactoring logic no visual change was done. Tests should check if there are differences between this branch and the develop within mentioned places.
This task is about changing the way how we pass the transaction informations to
transactionData
composable. Those changes are required to proceed with WalletConnect task: https://github.com/superhero-com/superhero-wallet/issues/2664List of changes:
transaction
reference to thetransactionData
composable instead usingsetActiveTransaction
method.transactionData
composable.Affected places:
transactionData
composable is used here (check if nothing is broken)As this task is about refactoring logic no visual change was done. Tests should check if there are differences between this branch and the develop within mentioned places.