Skip to content

Instantly share code, notes, and snippets.

@maht0rz
Created February 17, 2021 16:54
Show Gist options
  • Save maht0rz/561a71a1be05f43c5952ec20c3702b29 to your computer and use it in GitHub Desktop.
Save maht0rz/561a71a1be05f43c5952ec20c3702b29 to your computer and use it in GitHub Desktop.
# Vault (originate account KT1)
- Balance (XTZ amount)
- Delegate (Bakery IL)
- Owner (tz1/KT1)
transaction -> KT1 code
KT1 Code %default {
take x% of received amount
}
x% given up staking rewards
y% stability fee (BKR -> ZAI)
1 BKR = 1$
1 ZAI = 1$
150% = 150XTZ
staking rewards lost = 7,5 XTZ = 30$
1 XTZ = 4$
y = 5%
100 ZAI
interest = 5 ZAI = 5 BKR = 5$
x -> up
y -> down
x = 0%
y = 100%
<>
x = 100%
y = 0%
Dexter LP pool (KT1)
- Balance (XTZ amount)
- Delegate
- Contributors
Baker uses TRD for rewards payout
contributors .forEach (contributor -> pay reward)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment