Skip to content

Aada Token swap smart contract used to swap AADA v1 to AADA v2

License

Notifications You must be signed in to change notification settings

aadafinance/aada-tokens-swap

Repository files navigation

aada-tokens-exchange

Cardano smartcontract code for aada finance tokens exchange

Burn SC

Contract does no validation and always fails. This secures that old aada tokens may never be unlocked.

Exchange SC

New aada tokens are to be locked in this smartcontract for exchange with old aada tokens. Aada tokens can be exchanged only on these conditions:

  • rate of oldAADA tokens to newAADA tokens is 1 to 1000000
  • oldAADA tokens are sent to burnSC this way ensuring no one can use oldAADA tokens anymore after exchange
  • newAADA tokens must be sent to address provided by redeemer
  • remaining newAADA tokens from unlocking tx must be sent back to this same smartcontract

About

Aada Token swap smart contract used to swap AADA v1 to AADA v2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published