ain icon indicating copy to clipboard operation
ain copied to clipboard

Support token split on EVM

Open Bushstar opened this issue 1 year ago • 0 comments

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

Bushstar avatar Mar 07 '24 07:03 Bushstar