tx · 4WAtGQGcVKHkVnmvUufbKWDY8sogrvwDUu1GLPEwfoCr

3Mtzn1SRUhygEXMVpHNMckc8HKCWjq2fTiG:  -0.01400000 Waves

2020.08.03 17:28 [1116308] smart account 3Mtzn1SRUhygEXMVpHNMckc8HKCWjq2fTiG > SELF 0.00000000 Waves

{ "type": 13, "id": "4WAtGQGcVKHkVnmvUufbKWDY8sogrvwDUu1GLPEwfoCr", "fee": 1400000, "feeAssetId": null, "timestamp": 1596464897170, "version": 1, "sender": "3Mtzn1SRUhygEXMVpHNMckc8HKCWjq2fTiG", "senderPublicKey": "2WHjsmTCwLeerJuc5YMaJNou8UGSHuy4TE3F6DneRaJt", "proofs": [ "42c6kUtpagEWu7saTWkRgAsZgNcFg6ThBwUWd9EyPvrxwgm1FbdMiLgphgTmboZpJroRbhM1wzCd8x7abxYh4xMr" ], "script": "base64:AAIDAAAAAAAAACIIARIHCgUICAgICBIHCgUBAQEBBBIDCgEIEgASAwoBCBIAAAAAMgAAAAAHQlVMTEtleQIAAAAGQlVMTElkAAAAAAdCRUFSS2V5AgAAAAZCRUFSSWQAAAAADG1haW5Ub2tlbktleQIAAAALbWFpblRva2VuSWQAAAAAEmlzc3VlUGVyY2VudGlsZUtleQIAAAAPaXNzdWVQZXJjZW50aWxlAAAAABNyZWRlZW1QZXJjZW50aWxlS2V5AgAAABByZWRlZW1QZXJjZW50aWxlAAAAAAttaW5Jc3N1ZUtleQIAAAAIbWluSXNzdWUAAAAADG1pblJlZGVlbUtleQIAAAAJbWluUmVkZWVtAAAAABB3aGl0ZWxpc3RPbmx5S2V5AgAAAA13aGl0ZWxpc3RPbmx5AAAAAAtvcmFjbGVQS0tleQIAAAAGb3JhY2xlAAAAABFsYXN0UHJpY2VJbmRleEtleQIAAAALcHJpY2VfaW5kZXgAAAAAEHByaWNlSW5kZXhQcmVmaXgCAAAADHByaWNlX2luZGV4XwAAAAARcHJpY2VIZWlnaHRQcmVmaXgCAAAABnByaWNlXwAAAAAab3JhY2xl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dIGFsbCBkb25lLCBjYXJyeSBvbgQAAAAEZGF0YQkABLUAAAACCQEAAAATdmFsdWVPckVycm9yTWVzc2FnZQAAAAIJAAQdAAAAAgUAAAAEdGhpcwUAAAALaGVhZFBvaW50ZXICAAAAEGJhZCBoZWFkIHBvaW50ZXICAAAAAXwEAAAACnByaWNlSW5kZXgJAQAAAA1wYXJzZUludFZhbHVlAAAAAQkAAZEAAAACBQAAAARkYXRhAAAAAAAAAAADAwkAAGYAAAACBQAAAApwcmljZUluZGV4BQAAABRyZWJhbGFuY2VkUHJpY2VJbmRleAMFAAAADGNhblJlYmFsYW5jZQkBAAAACXJlYmFsYW5jZQAAAAAJAAACAAAAAQIAAAARW09LXSBuZWVkIHRvIHdhaXQDCQAAAAAAAAIFAAAACnByaWNlSW5kZXgFAAAAFHJlYmFsYW5jZWRQcmljZUluZGV4CQEAAAAHZGVxdWV1ZQAAAAAJAAACAAAAAQIAAAAwY29ycnVwdCBkYXRhLCBmdXR1cmUgcHJpY2UgaWQgYWxyZWFkeSByZWJhbGFuY2VkAAAAAHq5j2w=", "chainId": 84, "height": 1116308, "spentComplexity": 0 } View: original | compacted Prev: C1Q5XwVgGf6BBHdYevvLsPYnd6Y7LhDdKMGDfhhee56W Next: none Diff:
OldNewDifferences
134134 else bullCol
135135 let circ = if ((assetId == BEAR))
136136 then bearCirc
137- else bearCirc
137+ else bullCirc
138138 let estimated = fraction(col, attachedAmount, circ)
139139 if ((minRedeem > estimated))
140140 then throw((((((((((("Attached payment too small. Min redeem amount is " + toString((minRedeem / 1000000))) + " USDN, ") + "attached amount: ") + toString(attachedAmount)) + ", col: ") + toString(col)) + ", circ: ") + toString(circ)) + ", estimated: ") + toString(estimated)))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let BULLKey = "BULLId"
55
66 let BEARKey = "BEARId"
77
88 let mainTokenKey = "mainTokenId"
99
1010 let issuePercentileKey = "issuePercentile"
1111
1212 let redeemPercentileKey = "redeemPercentile"
1313
1414 let minIssueKey = "minIssue"
1515
1616 let minRedeemKey = "minRedeem"
1717
1818 let whitelistOnlyKey = "whitelistOnly"
1919
2020 let oraclePKKey = "oracle"
2121
2222 let lastPriceIndexKey = "price_index"
2323
2424 let priceIndexPrefix = "price_index_"
2525
2626 let priceHeightPrefix = "price_"
2727
2828 let oracleCurrentPriceIndexKey = "price_index"
2929
3030 let lastRebalancePriceIndexKey = "lastSettlementPriceId"
3131
3232 let bullCollateralKey = "bullCollateral"
3333
3434 let bearCollateralKey = "bearCollateral"
3535
3636 let bullCirculationKey = "bullCirculation"
3737
3838 let bearCirculationKey = "bearCirculation"
3939
4040 let whitelistKey = "issueWhiteList"
4141
4242 let whitelist = valueOrErrorMessage(getString(this, whitelistKey), "no bullCollateralKey")
4343
4444 let bullCol = valueOrErrorMessage(getInteger(this, bullCollateralKey), "no bullCollateralKey")
4545
4646 let bearCol = valueOrErrorMessage(getInteger(this, bearCollateralKey), "no bearCollateralKey")
4747
4848 let bullCirc = valueOrErrorMessage(getInteger(this, bullCirculationKey), "no bullCirculationKey")
4949
5050 let bearCirc = valueOrErrorMessage(getInteger(this, bearCirculationKey), "no bearCirculationKey")
5151
5252 let BULL = valueOrErrorMessage(getString(this, BULLKey), "no BULLKey")
5353
5454 let BEAR = valueOrErrorMessage(getString(this, BEARKey), "no BEARKey")
5555
5656 let mainToken = valueOrErrorMessage(getString(this, mainTokenKey), "no mainTokenKey")
5757
5858 let issuePercentile = valueOrErrorMessage(getInteger(this, issuePercentileKey), "no issuePercentileKey")
5959
6060 let redeemPercentile = valueOrErrorMessage(getInteger(this, redeemPercentileKey), "no redeemPercentileKey")
6161
6262 let minIssue = valueOrErrorMessage(getInteger(this, minIssueKey), "no minIssueKey")
6363
6464 let minRedeem = valueOrErrorMessage(getInteger(this, minRedeemKey), "no minRedeemKey")
6565
6666 let whitelistOnly = valueOrErrorMessage(getBoolean(this, whitelistOnlyKey), "no whitelistOnlyKey")
6767
6868 let oracle = valueOrErrorMessage(addressFromPublicKey(fromBase58String(valueOrErrorMessage(getString(this, oraclePKKey), "no oraclePKKey"))), "bad oracle address")
6969
7070 let rebalancedPriceIndex = valueOrErrorMessage(getInteger(this, lastRebalancePriceIndexKey), "no last rebalance price")
7171
7272 let oraclePriceIndex = valueOrErrorMessage(getInteger(oracle, lastPriceIndexKey), ((("bad oracle data at " + toString(oracle)) + ": no integer at ") + lastPriceIndexKey))
7373
7474 let headPointerKey = "headPointer"
7575
7676 let tailPointerKey = "tailPointer"
7777
7878 let queueSizeKey = "queueSize"
7979
8080 let queueSize = match getInteger(this, queueSizeKey) {
8181 case i: Int =>
8282 i
8383 case _ =>
8484 0
8585 }
8686
8787 let headPointer = match getString(this, headPointerKey) {
8888 case s: String =>
8989 s
9090 case _ =>
9191 ""
9292 }
9393
9494 let tailPointer = match getString(this, tailPointerKey) {
9595 case s: String =>
9696 s
9797 case _ =>
9898 ""
9999 }
100100
101101 let feesAccumulatedKey = "feesAccumulated"
102102
103103 let feesAccumulated = match getInteger(this, feesAccumulatedKey) {
104104 case i: Int =>
105105 i
106106 case _ =>
107107 0
108108 }
109109
110110 let ISSUE = "ISSUE"
111111
112112 let REDEEM = "REDEEM"
113113
114114 func buildNewItem (action,amt,token,priceIndex,invoker) = (((((((((action + "|") + toString(amt)) + "|") + token) + "|") + toString(priceIndex)) + "|") + invoker) + "|")
115115
116116
117117 func validateEnqueue (inv) = if ((inv.caller == this))
118118 then throw("can't do")
119119 else {
120120 func errorMessage (got) = throw(((((("only BULL(" + BULL) + ") or BEAR(") + BEAR) + ") tokens are accepted, received: ") + got))
121121
122122 if (!(isDefined(inv.payment)))
123123 then errorMessage("no attached payment")
124124 else {
125125 let assetId = toBase58String(valueOrErrorMessage(value(inv.payment).assetId, "waves are not accepted here"))
126126 if (if ((assetId != BEAR))
127127 then (assetId != BULL)
128128 else false)
129129 then errorMessage(assetId)
130130 else {
131131 let attachedAmount = value(inv.payment).amount
132132 let col = if ((assetId == BEAR))
133133 then bearCol
134134 else bullCol
135135 let circ = if ((assetId == BEAR))
136136 then bearCirc
137- else bearCirc
137+ else bullCirc
138138 let estimated = fraction(col, attachedAmount, circ)
139139 if ((minRedeem > estimated))
140140 then throw((((((((((("Attached payment too small. Min redeem amount is " + toString((minRedeem / 1000000))) + " USDN, ") + "attached amount: ") + toString(attachedAmount)) + ", col: ") + toString(col)) + ", circ: ") + toString(circ)) + ", estimated: ") + toString(estimated)))
141141 else unit
142142 }
143143 }
144144 }
145145
146146
147147 func enqueue (id,action,amt,token,priceIndex,invoker) = {
148148 let increaseQueueSize = DataEntry(queueSizeKey, (queueSize + 1))
149149 let itm = buildNewItem(action, amt, token, priceIndex, invoker)
150150 if ((queueSize == 0))
151151 then WriteSet([DataEntry(headPointerKey, id), DataEntry(tailPointerKey, id), DataEntry(id, itm), increaseQueueSize])
152152 else {
153153 let prevId = valueOrErrorMessage(getString(this, tailPointerKey), "can't get tail pointer")
154154 let prevItm = split(valueOrErrorMessage(getString(this, prevId), "can't resolve pointer"), "|")
155155 let updatedPrevItm = ((((((((((prevItm[0] + "|") + prevItm[1]) + "|") + prevItm[2]) + "|") + prevItm[3]) + "|") + prevItm[4]) + "|") + id)
156156 WriteSet([DataEntry(prevId, updatedPrevItm), DataEntry(id, itm), DataEntry(tailPointerKey, id), increaseQueueSize])
157157 }
158158 }
159159
160160
161161 func dequeue () = if ((queueSize == 0))
162162 then throw("nothing to settle")
163163 else {
164164 func collectFee (fees) = DataEntry(feesAccumulatedKey, (feesAccumulated + fees))
165165
166166 let decreaseQueueSize = DataEntry(queueSizeKey, (queueSize - 1))
167167 let isLastElement = (headPointer == tailPointer)
168168 let overwriteTail = DataEntry(tailPointerKey, "")
169169 let data = split(valueOrErrorMessage(getString(this, headPointer), "bad head pointer"), "|")
170170 let action = data[0]
171171 let amt = parseIntValue(data[1])
172172 let token = data[2]
173173 let priceIndex = parseIntValue(data[3])
174174 let invoker = addressFromStringValue(data[4])
175175 let next = data[5]
176176 if ((rebalancedPriceIndex > priceIndex))
177177 then throw(((("corrupt state, rebalancedPriceIndex=" + toString(rebalancedPriceIndex)) + ", request price id=") + toString(priceIndex)))
178178 else if ((priceIndex > rebalancedPriceIndex))
179179 then throw("can't dequeue, too early, rebalance first")
180180 else if ((action == ISSUE))
181181 then {
182182 let feeSize = fraction(amt, issuePercentile, 10000)
183183 let addedCollateral = (amt - feeSize)
184184 if ((token == BULL))
185185 then {
186186 let addedToCirculation = fraction(bullCirc, addedCollateral, bullCol)
187187 let items = [DataEntry(bullCollateralKey, (bullCol + addedCollateral)), DataEntry(bullCirculationKey, (bullCirc + addedToCirculation)), DataEntry(headPointerKey, next), collectFee(feeSize), decreaseQueueSize]
188188 ScriptResult(WriteSet(if (isLastElement)
189189 then overwriteTail :: items
190190 else items), TransferSet([ScriptTransfer(invoker, addedToCirculation, fromBase58String(BULL))]))
191191 }
192192 else if ((token == BEAR))
193193 then {
194194 let addedToCirculation = fraction(bearCirc, addedCollateral, bearCol)
195195 let items = [DataEntry(bearCollateralKey, (bearCol + addedCollateral)), DataEntry(bearCirculationKey, (bearCirc + addedToCirculation)), DataEntry(headPointerKey, next), collectFee(feeSize), decreaseQueueSize]
196196 ScriptResult(WriteSet(if (isLastElement)
197197 then overwriteTail :: items
198198 else items), TransferSet([ScriptTransfer(invoker, addedToCirculation, fromBase58String(BEAR))]))
199199 }
200200 else throw("bad token id")
201201 }
202202 else if ((action == REDEEM))
203203 then {
204204 let removedTokens = amt
205205 if ((token == BULL))
206206 then {
207207 let removedCollateral = fraction(bullCol, removedTokens, bullCirc)
208208 let feeSize = fraction(removedCollateral, redeemPercentile, 10000)
209209 let payout = if ((removedCollateral > feeSize))
210210 then (removedCollateral - feeSize)
211211 else 0
212212 let items = [DataEntry(bullCollateralKey, (bullCol - removedCollateral)), DataEntry(bullCirculationKey, (bullCirc - removedTokens)), DataEntry(headPointerKey, next), collectFee(feeSize), decreaseQueueSize]
213213 ScriptResult(WriteSet(if (isLastElement)
214214 then overwriteTail :: items
215215 else items), TransferSet([ScriptTransfer(invoker, payout, fromBase58String(mainToken))]))
216216 }
217217 else if ((token == BEAR))
218218 then {
219219 let removedCollateral = fraction(bearCol, removedTokens, bearCirc)
220220 let feeSize = fraction(removedCollateral, redeemPercentile, 10000)
221221 let payout = if ((removedCollateral > feeSize))
222222 then (removedCollateral - feeSize)
223223 else 0
224224 let items = [DataEntry(bearCollateralKey, (bearCol - removedCollateral)), DataEntry(bearCirculationKey, (bearCirc - removedTokens)), DataEntry(headPointerKey, next), collectFee(feeSize), decreaseQueueSize]
225225 ScriptResult(WriteSet(if (isLastElement)
226226 then overwriteTail :: items
227227 else items), TransferSet([ScriptTransfer(invoker, payout, fromBase58String(mainToken))]))
228228 }
229229 else throw("bad token id")
230230 }
231231 else throw(("bad action: " + action))
232232 }
233233
234234
235235 func rebalance () = {
236236 func LV (v,p0,p1) = {
237237 let denom = 100
238238 let pmax = ((if ((p1 > p0))
239239 then p1
240240 else p0) / denom)
241241 let pmin = ((if ((p0 > p1))
242242 then p1
243243 else p0) / denom)
244244 let a = (pmin * pmin)
245245 let b = (((9 * pmax) * pmax) - ((15 * pmax) * pmin))
246246 fraction(v, ((6 * a) + b), ((7 * a) + b))
247247 }
248248
249249 let settledPriceIndex = valueOrErrorMessage(getInteger(this, lastRebalancePriceIndexKey), "inconsistent data")
250250 let unsettledPriceIndex = (settledPriceIndex + 1)
251251 let settledPriceHeight = valueOrErrorMessage(getInteger(oracle, ("price_index_" + toString(settledPriceIndex))), "bad oracle data for settled price height")
252252 let settledPrice = valueOrErrorMessage(getInteger(oracle, ("price_" + toString(settledPriceHeight))), "bad oracle data for price")
253253 let nextPriceHeight = valueOrErrorMessage(getInteger(oracle, ("price_index_" + toString(unsettledPriceIndex))), "no next price height")
254254 let nextPrice = valueOrErrorMessage(getInteger(oracle, ("price_" + toString(nextPriceHeight))), "no next price")
255255 let minVol = if ((bearCol > bullCol))
256256 then bullCol
257257 else bearCol
258258 let redist = LV(minVol, settledPrice, nextPrice)
259259 if ((nextPrice > settledPrice))
260260 then WriteSet([DataEntry(bullCollateralKey, (bullCol + redist)), DataEntry(bearCollateralKey, (bearCol - redist)), DataEntry(lastRebalancePriceIndexKey, unsettledPriceIndex)])
261261 else if ((settledPrice > nextPrice))
262262 then WriteSet([DataEntry(bullCollateralKey, (bullCol - redist)), DataEntry(bearCollateralKey, (bearCol + redist)), DataEntry(lastRebalancePriceIndexKey, unsettledPriceIndex)])
263263 else WriteSet([DataEntry(lastRebalancePriceIndexKey, unsettledPriceIndex)])
264264 }
265265
266266
267267 @Callable(inv)
268268 func init (bullId,bearId,mainTokenId,oraclePK,whitelisted) = if (isDefined(getString(this, BULLKey)))
269269 then throw("already initialized")
270270 else if (!(isDefined(inv.payment)))
271271 then throw("neutrino payment required")
272272 else if ((toBase58String(valueOrErrorMessage(value(inv.payment).assetId, "neutrino payment required")) != mainTokenId))
273273 then throw("payment not in neutrino")
274274 else {
275275 let totalOwnedMainToken = value(inv.payment).amount
276276 let bulls = (totalOwnedMainToken / 2)
277277 let bears = (totalOwnedMainToken - bulls)
278278 if (if ((bears == 0))
279279 then true
280280 else (bulls == 0))
281281 then throw("can't init balances")
282282 else {
283283 let oracleCurrentPriceIndex = valueOrErrorMessage(getInteger(valueOrErrorMessage(addressFromPublicKey(fromBase58String(oraclePK)), "bad oracle address"), lastPriceIndexKey), "can't find last oracle price index")
284284 ScriptResult(WriteSet([DataEntry(BULLKey, bullId), DataEntry(BEARKey, bearId), DataEntry(mainTokenKey, mainTokenId), DataEntry(oraclePKKey, oraclePK), DataEntry(bullCollateralKey, bulls), DataEntry(bearCollateralKey, bears), DataEntry(bullCirculationKey, bulls), DataEntry(bearCirculationKey, bears), DataEntry(lastRebalancePriceIndexKey, oracleCurrentPriceIndex), DataEntry(whitelistKey, whitelisted), DataEntry(issuePercentileKey, 0), DataEntry(redeemPercentileKey, 0), DataEntry(minIssueKey, 0), DataEntry(minRedeemKey, 0), DataEntry(whitelistOnlyKey, true)]), TransferSet([ScriptTransfer(inv.caller, bulls, fromBase58String(bullId)), ScriptTransfer(inv.caller, bears, fromBase58String(bearId))]))
285285 }
286286 }
287287
288288
289289
290290 @Callable(i)
291291 func setParams (iP,rP,mI,mR,wl) = if ((i.caller != this))
292292 then throw("only self can change whitelist")
293293 else WriteSet([DataEntry(issuePercentileKey, iP), DataEntry(redeemPercentileKey, rP), DataEntry(minIssueKey, mI), DataEntry(minRedeemKey, mR), DataEntry(whitelistOnlyKey, wl)])
294294
295295
296296
297297 @Callable(i)
298298 func setWhitelist (l) = if ((i.caller != this))
299299 then throw("only self can change whitelist")
300300 else WriteSet([DataEntry(whitelistKey, l)])
301301
302302
303303
304304 @Callable(inv)
305305 func requestRedeem () = if ((validateEnqueue(inv) == unit))
306306 then {
307307 let assetId = toBase58String(valueOrErrorMessage(value(inv.payment).assetId, "waves are not accepted here"))
308308 enqueue(toBase58String(inv.transactionId), REDEEM, value(inv.payment).amount, assetId, (oraclePriceIndex + 1), toString(inv.caller))
309309 }
310310 else throw("doesn't happen")
311311
312312
313313
314314 @Callable(inv)
315315 func requestIssue (tokenId) = if ((inv.caller == this))
316316 then throw("can't do")
317317 else if (if (whitelistOnly)
318318 then !(isDefined(indexOf(whitelist, toString(inv.caller))))
319319 else false)
320320 then throw("only whitelisted can do")
321321 else {
322322 let errorMessage = throw((((((("only BULL(" + BULL) + ") or BEAR(") + BEAR) + ") tokens are available in exchange for USDN(") + mainToken) + ")"))
323323 if (if ((tokenId != BULL))
324324 then (tokenId != BEAR)
325325 else false)
326326 then errorMessage
327327 else if (!(isDefined(inv.payment)))
328328 then errorMessage
329329 else if ((value(inv.payment).assetId != fromBase58String(mainToken)))
330330 then errorMessage
331331 else if ((minIssue > value(inv.payment).amount))
332332 then throw((("Attached payment too small. Min required: " + toString((minIssue / 1000000))) + " USDN"))
333333 else enqueue(toBase58String(inv.transactionId), ISSUE, value(inv.payment).amount, tokenId, (oraclePriceIndex + 1), toString(inv.caller))
334334 }
335335
336336
337337
338338 @Callable(inv)
339339 func settle () = {
340340 let queueEmpty = (headPointer == "")
341341 let canRebalance = (oraclePriceIndex > rebalancedPriceIndex)
342342 if (queueEmpty)
343343 then if (canRebalance)
344344 then rebalance()
345345 else throw("[OK] all done, carry on")
346346 else {
347347 let data = split(valueOrErrorMessage(getString(this, headPointer), "bad head pointer"), "|")
348348 let priceIndex = parseIntValue(data[3])
349349 if ((priceIndex > rebalancedPriceIndex))
350350 then if (canRebalance)
351351 then rebalance()
352352 else throw("[OK] need to wait")
353353 else if ((priceIndex == rebalancedPriceIndex))
354354 then dequeue()
355355 else throw("corrupt data, future price id already rebalanced")
356356 }
357357 }
358358
359359

github/deemru/w8io/026f985 
63.20 ms