forked from trustwallet/wallet-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Breaking] Refactor Ethereum token transfer signing input (trustwalle…
…t#1210) * Factor out Transfer from Eth SigningInput. * Make with oneof, Transfer and ContractGeneric. * Remove amount from generic contract. * Special ERC20 contract type (empty so far) * Various factory methods for Transaction class. * Add new ERC20 test. * Add ERC20 handling, building. * ABI comment * Update iOS tests. * Add ERC20 iOS test * Update android tests * Update typescript test. * Special handling for invalid Address case. * Additional low-level signer test. * Small refactor in transaction building. * Support ERC721 * ERC20 kotlin test * Swift and Kotlin tests for ERC721 * iOS test fix * Rename in proto * Comment in proto, expose ERC20 call building * Add optional payload to plain Transfer. * ContractGeneric rename. * Minor exception leak fix in Solana * Payload -> Transaction rename. * Add ERC20 Approve * ERC20 approve iOS test * Rename, remove transfer_ prefix * Typescript test fix Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
- Loading branch information
1 parent
60c5207
commit b4e0b50
Showing
12 changed files
with
575 additions
and
62 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
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
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
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.