-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The client/asset/eth package was using geth like an RPC client. That's not crazy, considering we have still an *rpc.Client, but in reality, there is no RPC server, and the client is just a shortcut to RPC handlers that call functions that we already have access to through e.g. *les.LightEthereum or *keystore.KeyStore. This removes most "rpc" calls in favor of calling the underlying methods directly. Moves some common types to dex/networks/eth. As a general rule, if the client/asset/ imports from server/asset, we should just move it to dex/networks. Creates the Contractor interface, which serves as a clear boundary between dex-space and abigen-space. This also enables clean upgrades, implemented here.
- Loading branch information
Showing
14 changed files
with
1,076 additions
and
884 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.