Skip to content

Draft: [APP LAYER]: Native Assets [fork]

Hans Code requested to merge codehans/thornode:native-assets into develop

Addresses and #2034

  • Bridge Handler creates Coin Units representing Coins Deposited to TC Vaults
  • Coin Units use Bank Module to mint Cosmos SDK Coins
  • Bridge Handler burns BA Coins for Bridge Out, with a pro-rata claim on the Vaulted Assets
  • Swap Handler Swaps Bridged Assets over Base Pools to Other Bridged Assets (Redeem, swap, Mint)
  • Swap Handler swaps Trade Assets to Bridge Assets
  • Swap from L1 to Bridge
  • Swap from Bridge to L1

  • Feature Parity with Trade Assets (Bridge In, Swap, Bridge Out)
  • Disable Trade Assets Minter trade+ handler
  • BRIDGEASSETSLIPMINBPS = 5

  • Streaming swaps
  • Refunds supported (trade protection breached)
  • Pause Swaps Mimirs supported
  • Affiliate Fees supported
Edited by Hans Code

Merge request reports

Loading