ain
ain copied to clipboard
Support token split on EVM
Summary
- Adds support to split tokens on EVM. There are three options available.
- Split tokens via a new precompile.
- Use the DFI Intrinsics V2 contract which makes use of the new precompile for the user.
- Use Transfer Domain to move the tokens out to DVM.
- For DFI Intrinsic usage please check the test in this PR. For precompile usage please check DFIIntrinsicsV2.sol.
Implications
-
Storage
- [ ] Database reindex required
- [ ] Database reindex optional
- [ ] Database reindex not required
- [x] None
-
Consensus
- [x] Network upgrade required
- [ ] Includes backward compatible changes
- [ ] Includes consensus workarounds
- [ ] Includes consensus refactors
- [ ] None