ewallet icon indicating copy to clipboard operation
ewallet copied to clipboard

feat: OMG Network deposits from the admin panel

Open kalouo opened this issue 5 years ago • 0 comments

Issue/Task Number:

Closes #1194 Closes #1221

Screen Shot 2563-11-25 at 11 34 20

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.tsx component refactored for extendability and reusability.
  • Refactors the blockchain wallet detail page (where BlockchainActionSelector is 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 amount parameter on /blockchain_wallet.deposit_to_childchain (with added test)

kalouo avatar Nov 25 '20 01:11 kalouo