# Smartpad <> Aurora
## lAurora ERC20
- Decimals should be 0
- Only whitelisted accounts can transfer
- Aurora controlled account
- SmartPad controlled account
- Only whitelisted account can burn their own token
- SmartPad controlled account
- Aurora controlled account (maybe aurora can burn for others as well)
## Lottery contract
Lottery contract can be the same contract as lAurora token. We should be careful about all state (since these contracts may have too many entries).
Random number for lotter will be generated by Alex, and we are submitting the precommit.
SHA256(random number, known to AS only, 32Bytes) = 9881BE59DA5E0F6239BA041536008963FC0EF9B493DDE3565CC156CAFFE86382
- Redeem token
## Workflow
1. AuroraLab team mints 1,000,000 lAurora tokens.
2. AuroraLab sends 1,000,000 tokens to SmartPad address.
3. SmartPad runs the sale for 24 hours.
4. After sale is over, SmartPad sends all remaining lAurora tokens back to AuroraLab.
5. SmartPad sends max(X - 12.5, 0) eth to Lottery contract. X is the amount of eth received during the sale.
6. SmartPad sends 12.5 ETH to auroradao.sputnik-dao.near.
7. AuroraLab deposits 50,000 Aurora tokens into Lottery contract.
8. Users will redeem its tokens. They will get back either the initial Eth or the Aurora tokens.
## Action items
- [ ] (Ahmed) Implement lAurora contract
- [ ] (Marcelo) Implement Lottery contract (design + implementation)
- [X] (???) Implement interface to redeem the tokens (SmartPad done this)
- [ ] (Alex S.) Deposit 50,000 Aurora tokens into Lottery contract.
- [ ] (AuroraLab + SmartPad) Test whole sale workflow
## Notes
- Each lAurora token will be sold at a fixed price of 0.0125 eth (roughly 50$)
- We are selling unlimited amount of lAurora tokens, 1000 of which later can be exchanged into 50,000 Aurora tokens.
- There is a lottery that will run after the fact to select 1,000 winners.