ewallet
ewallet copied to clipboard
feat: OMG Network deposits from the admin panel
Issue/Task Number:
Closes #1194 Closes #1221
Overview
This PR wires up the deposit flow for the admin panel – along with a few miscellaneous enhancements.
Changes
Enables deposits from the admin panel
Miscellaneous:
- Removes Metamask logic from the blockchain wallets page.
- Adds OMG network configurations to blockchain settings page and orders all settings according to backend position.
- Fixes "connected to Ethereum" message bug.
Implementation Details
Deposits:
- Deletes
HotWalletTransferChoser.js - Replaces it with a
BlockchainActionSelector.tsxcomponent refactored for extendability and reusability. - Refactors the blockchain wallet detail page (where
BlockchainActionSelectoris used) into TypeScript. - Refactors deposit action to send deposit amount as string type.
- Corrects root chain/child chain identifier sent from client in root chain/child chain balance requests
- Enable string
amountparameter on/blockchain_wallet.deposit_to_childchain(with added test)