Skip to content

The SWAP Contract

hems.io edited this page Mar 2, 2018 · 2 revisions

Feature #1:

  • The creator of the contract will be the Oracle

Feature #2:

  • The SWAP Contract can hold ALUNA TOKENS
  • We will deposit TOKENS on the SWAP

Feature #3:

  • The oracle is allow to register "EQT Deposits", the "EQT_deposit" method, will have 3 arguments ( the transaction id on the EQT chain, the amount of EQT tokens deposited, The ETH address that will receive the ALUNA tokens when we claim the swap )

  • We cannot deposit EQT before the initial deposite date

Feature #2:

  • We will have a "Claim" method on the SWAP contract, that can only be called after a certain BLOCK, this BLOCK should be roughly 1 month from the initial deposit date.
  • The claim will equaly divide X amount of ALUNA TOKENS among all the people that deposited EQT during the deposit phase
Clone this wiki locally