---
# System prepended metadata

title: xToken Raid Notes
tags: [xToken]

---

---
tags: xToken
--- 

# xToken Raid Notes

## Ops

### Multisig
0x8B3376D25be6853aeCE0a4210ceEdfaA950ACB66
https://gnosis-safe.io/app/#/safes/0x8B3376D25be6853aeCE0a4210ceEdfaA950ACB66/


### Meeting Cadence
1st: 16/11/2020
Then Biweekly (TODO: setup recurring with invites)

### Fund Distribution 
**25000 Total**
Heavychain: $16250
Tarun: $5000
Finder (5%): $1250 => Ameen
Coordination (10%): $2500 => Ven

**1st Distro**
12,500 Dai Received 10.11.20
Heavychain: $8125
Tarun: $2500
Remaining Balance: $1875

-- Spoils

Guild Spoils (10% from each Raider): ~$2500 => Guild

---

#### Notes

One token to start. Focus on simplicity.

Should we allow adding/removing tokens?
Analyze the complexity:
- Would raise the complexity

Separate instance for diff tokens
- fractured liquidity?

Use multiple contracts?
- Could use an indexer

Remain cognizant for elegant solution

Meets
- Then
9am PST Monday

---

Diff interest rates
Diff ratio of tokens ()

USDC For collateral token
interest rate for that collateral
accrue the interest at that rate

--

Compromise?

3 assets
3 diff loans

$500 at 2% => returnA
$1000 at 5% => returnB
$1200 at 12% => returnC

returnA/y + returnB/y + returnC/y => xToken

claim -> collects all yield from xToken

--

### Aave

multiple collateral assets
multiple borrow assets
Launching V2 

-- 

xToken will differ from synthetic pricing
xToken will have their own pricing formula

Chainlink -> Synthetic oracles

Chainlink
To get KNC -> USD, might have to:
KNC -> ETH -> USD

xKNC
KNC per xKNC

--

Pricing ?

--

Const kncFundBal = await xkncContract.getFundKncBalanceTwei() const xkncSupply = await xkncContract.totalSupply() const kncPerXknc = kncFundBal.mul(1e18).div(xkncSupply) Const xkncValuePErToken = kncPerXknc.mul(kncUsdPrice).div(1e18)


--

## Audit Prep

Priorities
Tests
Deployment Script

ETA -> EOD wednesday

send flowmap

-- 

which framework -> Hardhat & Truffle

--

end/mid of the week - check back in
Send code on Wednesday -> get flowmap














