tx · DS9uDiyad2U7oTiENX4LPjXA1viCpPnQ1SYaHjf7gTix 3MpXZvJfzJX8By5CGBqv1DnfVrMFkffJkCs: -0.01000000 Waves 2021.05.14 19:15 [1525571] smart account 3MpXZvJfzJX8By5CGBqv1DnfVrMFkffJkCs > SELF 0.00000000 Waves
{ "type": 13, "id": "DS9uDiyad2U7oTiENX4LPjXA1viCpPnQ1SYaHjf7gTix", "fee": 1000000, "feeAssetId": null, "timestamp": 1621008962128, "version": 1, "sender": "3MpXZvJfzJX8By5CGBqv1DnfVrMFkffJkCs", "senderPublicKey": "9WfBnw3wynZ1QZw2DADaa8cXN2V1fqUTUsbs7bQn6YCk", "proofs": [ "hPFEd2admiBmXzy98ZbuiVXJTpLfrU3LTmJP5Y8sbqxUmmRgEiSWNRUCatBeqbPfFrzr3KUS4JiCYcyTcMsRnTp" ], "script": "base64:AAIEAAAAAAAAADsIAhIQCg4ICAgBCAEBAQgBAQEBCBIDCgEBEgASABIFCgMICAgSBQoDCAgIEgMKAQgSBAoCCAESAwoBCAAAAE0AAAAAA1NFUAIAAAACX18BAAAAD2dldFN0cmluZ09yRmFpbAAAAAEAAAADa2V5CQEAAAATdmFsdWVPckVycm9yTWVzc2FnZQAAAAIJAAQdAAAAAgUAAAAEdGhpcwUAAAADa2V5CQABLAAAAAICAAAAFU5vIGRhdGEgZm9yIHRoaXMua2V5PQUAAAADa2V5AQAAABBnZXRCb29sZWFuT3JGYWlsAAAAAQAAAANrZXkJAQAAABN2YWx1ZU9yRXJyb3JNZXNzYWdlAAAAAgkABBsAAAACBQAAAAR0aGlzBQAAAANrZXkJAAEsAAAAAgIAAAAVTm8gZGF0YSBmb3IgdGhpcy5rZXk9BQAAAANrZXkBAAAADGdldEludE9yRmFpbAAAAAEAAAADa2V5CQEAAAATdmFsdWVPckVycm9yTWVzc2FnZQAAAAIJAAQaAAAAAgUAAAAEdGhpcwUAAAADa2V5CQABLAAAAAICAAAAFU5vIGRhdGEgZm9yIHRoaXMua2V5PQU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jdXJySXRlclRvdGFsSW5TaGFyZUFtb3VudAkABEwAAAACCQABpAAAAAEFAAAAGHRvdGFsTG9ja2VkT3V0QmFzZUFtb3VudAkABEwAAAACCQABpAAAAAEFAAAAGXRvdGFsTG9ja2VkT3V0U2hhcmVBbW91bnQJAARMAAAAAgkAAaQAAAABBQAAABZkZWNpbWFsc011bHRCb3RoQXNzZXRzCQAETAAAAAIJAAGkAAAAAQUAAAAIcHJpY2VBVEgJAARMAAAAAgkAAaQAAAABBQAAABFwcmljZVJlY2FsY3VsYXRlZAkABEwAAAACCQABpAAAAAEFAAAADXRvcHVwTGFzdFRpbWUJAARMAAAAAgIAAAAXZW5kQ3VycmVudFN5c1BhcmFtc1JFU1QFAAAAA25pbAUAAAADU0VQCQAAAgAAAAEFAAAACHJlc3REYXRhAAAAAIxkf/Y=", "chainId": 84, "height": 1525571, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 4 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | let SEP = "__" | |
5 | + | ||
6 | + | func getStringOrFail (key) = valueOrErrorMessage(getString(this, key), ("No data for this.key=" + key)) | |
7 | + | ||
8 | + | ||
9 | + | func getBooleanOrFail (key) = valueOrErrorMessage(getBoolean(this, key), ("No data for this.key=" + key)) | |
10 | + | ||
11 | + | ||
12 | + | func getIntOrFail (key) = valueOrErrorMessage(getInteger(this, key), ("No data for this.key=" + key)) | |
13 | + | ||
14 | + | ||
15 | + | func IntE (key,val) = IntegerEntry(key, val) | |
16 | + | ||
17 | + | ||
18 | + | func StrE (key,val) = StringEntry(key, val) | |
19 | + | ||
20 | + | ||
21 | + | func failExecuteGet (msg,baseAssetStr,userAddressStr,submitTxIdStr,operationType) = throw(((((((((msg + ": baseAsset=") + baseAssetStr) + " userAddress=") + userAddressStr) + " submitTxId=") + submitTxIdStr) + " operation=") + operationType)) | |
22 | + | ||
23 | + | ||
24 | + | func failSubmitLimitsExceeds (remainingBase,remainingShare,newRemainingBase,newRemainingShare) = throw((((((((("submit operation limits have been reached: " + " remainingBaseVal=") + toString(remainingBase)) + " remainingShareVal=") + toString(remainingShare)) + " newRemainingBaseVal=") + toString(newRemainingBase)) + " newRemainingShareVal=") + toString(newRemainingShare))) | |
25 | + | ||
26 | + | ||
27 | + | func failTopupManagerOnly (topupManagerAddress) = throw((("opertion denied: only topUpManager=" + topupManagerAddress) + " can send such transactions")) | |
28 | + | ||
29 | + | ||
30 | + | func convertShare2Base (shareAmount,price,priceMult) = fraction(shareAmount, price, priceMult) | |
31 | + | ||
32 | + | ||
33 | + | func convertBase2Share (baseAmount,price,priceMult) = fraction(baseAmount, priceMult, price) | |
34 | + | ||
35 | + | ||
36 | + | func keyAssetCfg (baseAssetStr) = ("%s%s%s__config__asset__" + baseAssetStr) | |
37 | + | ||
38 | + | ||
39 | + | func keyNextInternalAssetId () = "%s__nextInternalAssetId" | |
40 | + | ||
41 | + | ||
42 | + | func keyPriceLast (internalBasetAssetStr) = ("%s%s%d__price__last__" + internalBasetAssetStr) | |
43 | + | ||
44 | + | ||
45 | + | func keyPriceATH (internalBasetAssetStr) = ("%s%s%d__price__ath__" + internalBasetAssetStr) | |
46 | + | ||
47 | + | ||
48 | + | func keyPriceByTopUpIdx (internalBaseAssetStr,topUpIdx) = makeString(["%s%s%d%d__price__byTopUpIdx", internalBaseAssetStr, toString(topUpIdx)], SEP) | |
49 | + | ||
50 | + | ||
51 | + | func keyPriceHistory (internalBasetAssetStr,h,timestamp) = makeString(["%s%s%d%d%d__price__history", internalBasetAssetStr, toString(h), toString(timestamp)], SEP) | |
52 | + | ||
53 | + | ||
54 | + | func keyTotalLocked (internalBasetAssetStr) = ("%s%s%d__total__locked__" + internalBasetAssetStr) | |
55 | + | ||
56 | + | ||
57 | + | func keyTotalLockedByUser (internalBaseAssetStr,userAddressStr) = makeString(["%s%s%d%s__total__locked", internalBaseAssetStr, userAddressStr], SEP) | |
58 | + | ||
59 | + | ||
60 | + | func keyMappingsInternal2baseAssetId (internalBaseAsset) = ("%s%s%d__mappings__internal2baseAssetId__" + toString(internalBaseAsset)) | |
61 | + | ||
62 | + | ||
63 | + | func keyMappingsBaseAsset2internalId (baseAssetStr) = ("%s%s%s__mappings__baseAsset2internalId__" + baseAssetStr) | |
64 | + | ||
65 | + | ||
66 | + | func keyMappingsShare2baseAssetId (shareAssetStr) = ("%s%s%s__mappings__share2baseAssetId__" + shareAssetStr) | |
67 | + | ||
68 | + | ||
69 | + | func keyMappingsBaseAsset2shareId (baseAssetStr) = ("%s%s%s__mappings__baseAsset2shareId__" + baseAssetStr) | |
70 | + | ||
71 | + | ||
72 | + | func keyShutdownSubmitOperation (internalBaseAssetStr) = ("%s%s%d__shutdown__submit__" + internalBaseAssetStr) | |
73 | + | ||
74 | + | ||
75 | + | func keyShutdownManager (internalBaseAssetStr) = ("%s%s%d__shutdown__manager__" + internalBaseAssetStr) | |
76 | + | ||
77 | + | ||
78 | + | func keyTopUpCurrentIdx (internalBaseAssetStr) = ("%s%s%d__topup__currentIdx__" + internalBaseAssetStr) | |
79 | + | ||
80 | + | ||
81 | + | func keyTopUpLastHeight (internalBasetAssetStr,sender) = makeString(["%s%s%s%d%s__topup__last__height", internalBasetAssetStr, sender], SEP) | |
82 | + | ||
83 | + | ||
84 | + | func keyTopupMutext (internalBasetAssetStr) = ("%s%s%d__topup__mutex__" + internalBasetAssetStr) | |
85 | + | ||
86 | + | ||
87 | + | func keyTopupLastTimestamp (internalBasetAssetStr) = ("%s%s%s%d__topup__last__timestamp__" + internalBasetAssetStr) | |
88 | + | ||
89 | + | ||
90 | + | func keyTopupHistory (internalBasetAssetStr,topupIdx) = makeString(["%s%s%d%d__topup__history", internalBasetAssetStr, toString(topupIdx)], SEP) | |
91 | + | ||
92 | + | ||
93 | + | func keyLimitsRemaining (internalBasetAssetStr) = ("%s%s%d__limits__remaining__" + internalBasetAssetStr) | |
94 | + | ||
95 | + | ||
96 | + | let IdxCfgShareAssetId = 1 | |
97 | + | ||
98 | + | let IdxCfgInternalBaseAsset = 2 | |
99 | + | ||
100 | + | let IdxCfgDecimalsMultBothAssets = 3 | |
101 | + | ||
102 | + | let IdxCfgDecimalsMultPrice = 4 | |
103 | + | ||
104 | + | let IdxCfgGetDelayBlocks = 5 | |
105 | + | ||
106 | + | let IdxCfgTopupIntervalInBlocks = 6 | |
107 | + | ||
108 | + | let IdxCfgTopupMaxNegativePart = 7 | |
109 | + | ||
110 | + | let IdxCfgTopupManagerAddress = 8 | |
111 | + | ||
112 | + | let IdxCfgSubmitLimitsBaseMax = 9 | |
113 | + | ||
114 | + | let IdxCfgSubmitLimitsBaseReset = 10 | |
115 | + | ||
116 | + | let IdxCfgSubmitLimitsShareMax = 11 | |
117 | + | ||
118 | + | let IdxCfgSubmitLimitsShareReset = 12 | |
119 | + | ||
120 | + | let IdxCfgAdminAddress = 13 | |
121 | + | ||
122 | + | func dataAssetCfg (shareAssetStr,internalBaseAssetStr,decimalsMultBothAssets,decimalsMultPrice,getDelayInBlocks,topupIntervalInBlocks,topupMaxNegativePart,topupManagerAddress,submitLimitsBaseMax,submitLimitsBaseReset,submitLimitsShareMax,submitLimitsShareReset,adminAddress) = makeString(["%s%d%d%d%d%d%d%s%d%d%d%d", shareAssetStr, internalBaseAssetStr, toString(decimalsMultBothAssets), toString(decimalsMultPrice), toString(getDelayInBlocks), toString(topupIntervalInBlocks), toString(topupMaxNegativePart), topupManagerAddress, toString(submitLimitsBaseMax), toString(submitLimitsBaseReset), toString(submitLimitsShareMax), toString(submitLimitsShareReset), adminAddress], SEP) | |
123 | + | ||
124 | + | ||
125 | + | let IdxTotalLockedInShare = 1 | |
126 | + | ||
127 | + | let IdxTotalLockedOutBase = 2 | |
128 | + | ||
129 | + | let IdxTotalLockedInBase = 3 | |
130 | + | ||
131 | + | let IdxTotalLockedOutShare = 4 | |
132 | + | ||
133 | + | func dataTotalLocked (inShareAmount,outBaseAmount,inBaseAmount,outShareAmount) = makeString(["%d%d%d%d", toString(inShareAmount), toString(outBaseAmount), toString(inBaseAmount), toString(outShareAmount)], SEP) | |
134 | + | ||
135 | + | ||
136 | + | func dataTotalLockedInt (inShareAmount,outBaseAmount,inBaseAmount,outShareAmount) = [-1, inShareAmount, outBaseAmount, inBaseAmount, outShareAmount] | |
137 | + | ||
138 | + | ||
139 | + | func readTotalLocked (key) = { | |
140 | + | let totalLockedArray = split(valueOrElse(getString(this, key), dataTotalLocked(0, 0, 0, 0)), SEP) | |
141 | + | dataTotalLockedInt(parseIntValue(totalLockedArray[IdxTotalLockedInShare]), parseIntValue(totalLockedArray[IdxTotalLockedOutBase]), parseIntValue(totalLockedArray[IdxTotalLockedInBase]), parseIntValue(totalLockedArray[IdxTotalLockedOutShare])) | |
142 | + | } | |
143 | + | ||
144 | + | ||
145 | + | func calcTotalLockedDiff (direction,operationType,internalBaseAssetStr,price,priceMult,inAmount,baseAssetId,shareAssetId) = { | |
146 | + | let t = (direction + operationType) | |
147 | + | if ((t == "submitP")) | |
148 | + | then { | |
149 | + | let totalDiff = dataTotalLockedInt(0, 0, inAmount, 0) | |
150 | + | let userDiff = totalDiff | |
151 | + | $Tuple4(totalDiff, userDiff, 0, fromBase58String("")) | |
152 | + | } | |
153 | + | else if ((t == "submitG")) | |
154 | + | then { | |
155 | + | let totalDiff = dataTotalLockedInt(inAmount, 0, 0, 0) | |
156 | + | let userDiff = totalDiff | |
157 | + | $Tuple4(totalDiff, userDiff, 0, fromBase58String("")) | |
158 | + | } | |
159 | + | else if ((t == "executeP")) | |
160 | + | then { | |
161 | + | let outAmount = convertBase2Share(inAmount, price, priceMult) | |
162 | + | let totalDiff = dataTotalLockedInt(0, 0, 0, outAmount) | |
163 | + | let userDiff = dataTotalLockedInt(0, 0, inAmount, 0) | |
164 | + | $Tuple4(totalDiff, userDiff, outAmount, shareAssetId) | |
165 | + | } | |
166 | + | else if ((t == "executeG")) | |
167 | + | then { | |
168 | + | let outAmount = convertShare2Base(inAmount, price, priceMult) | |
169 | + | let totalDiff = dataTotalLockedInt(0, outAmount, 0, 0) | |
170 | + | let userDiff = dataTotalLockedInt(inAmount, 0, 0, 0) | |
171 | + | $Tuple4(totalDiff, userDiff, outAmount, baseAssetId) | |
172 | + | } | |
173 | + | else if ((t == "topup")) | |
174 | + | then { | |
175 | + | let totalLockedArray = readTotalLocked(keyTotalLocked(internalBaseAssetStr)) | |
176 | + | let totalLockedInBaseAmount = totalLockedArray[IdxTotalLockedInBase] | |
177 | + | let totalLockedInShareAmount = totalLockedArray[IdxTotalLockedInShare] | |
178 | + | let totalDiff = dataTotalLockedInt(totalLockedInShareAmount, (-1 * convertShare2Base(totalLockedInShareAmount, price, priceMult)), totalLockedInBaseAmount, (-1 * convertBase2Share(totalLockedInBaseAmount, price, priceMult))) | |
179 | + | $Tuple4(totalDiff, nil, 0, fromBase58String("")) | |
180 | + | } | |
181 | + | else throw(("Unsupported Type " + t)) | |
182 | + | } | |
183 | + | ||
184 | + | ||
185 | + | func TotalLockedStringEntry (action,key,diff) = { | |
186 | + | func UPDATE (a,b) = if ((action == "INCREMENT")) | |
187 | + | then (a + b) | |
188 | + | else if ((action == "DECREMENT")) | |
189 | + | then (a - b) | |
190 | + | else throw(("Unsupported action " + action)) | |
191 | + | ||
192 | + | let dataArray = readTotalLocked(key) | |
193 | + | StrE(key, dataTotalLocked(UPDATE(dataArray[IdxTotalLockedInShare], diff[IdxTotalLockedInShare]), UPDATE(dataArray[IdxTotalLockedOutBase], diff[IdxTotalLockedOutBase]), UPDATE(dataArray[IdxTotalLockedInBase], diff[IdxTotalLockedInBase]), UPDATE(dataArray[IdxTotalLockedOutShare], diff[IdxTotalLockedOutShare]))) | |
194 | + | } | |
195 | + | ||
196 | + | ||
197 | + | func keyOperation (operationType,internalBaseAssetStr,userAddress,txId) = makeString(["%s%d%s%s", operationType, internalBaseAssetStr, userAddress, txId], SEP) | |
198 | + | ||
199 | + | ||
200 | + | let IdxOperStatus = 1 | |
201 | + | ||
202 | + | let IdxOperInAmount = 2 | |
203 | + | ||
204 | + | let IdxOperPrice = 3 | |
205 | + | ||
206 | + | let IdxOperOutAmount = 4 | |
207 | + | ||
208 | + | let IdxOperStartHeight = 5 | |
209 | + | ||
210 | + | let IdxOperStartTimestamp = 6 | |
211 | + | ||
212 | + | let IdxOperEndHeight = 7 | |
213 | + | ||
214 | + | let IdxOperEndTimestamp = 8 | |
215 | + | ||
216 | + | let IdxOperTopupUnlockIdx = 9 | |
217 | + | ||
218 | + | func privateDataOperationAllStrings (status,inAssetAmount,price,outAssetAmount,startHeight,startTimestamp,endHeight,endTimestamp,lock) = makeString(["%s%d%d%d%d%d%d%d%d", status, inAssetAmount, price, outAssetAmount, startHeight, startTimestamp, endHeight, endTimestamp, lock], SEP) | |
219 | + | ||
220 | + | ||
221 | + | func dataOperation (status,inAssetAmount,price,outAssetAmount,startHeight,startTimestamp,endHeight,endTimestamp,topupUnlockIdx) = privateDataOperationAllStrings(status, toString(inAssetAmount), toString(price), toString(outAssetAmount), toString(startHeight), toString(startTimestamp), toString(endHeight), toString(endTimestamp), toString(topupUnlockIdx)) | |
222 | + | ||
223 | + | ||
224 | + | func dataOperationExecutionUpdate (currOperArray,newStatus,newPrice,newOutAmount) = privateDataOperationAllStrings(newStatus, currOperArray[IdxOperInAmount], toString(newPrice), toString(newOutAmount), currOperArray[IdxOperStartHeight], currOperArray[IdxOperStartTimestamp], toString(height), toString(lastBlock.timestamp), currOperArray[IdxOperTopupUnlockIdx]) | |
225 | + | ||
226 | + | ||
227 | + | func readAssetCfgOrFail (baseAssetStr) = { | |
228 | + | let key = keyAssetCfg(baseAssetStr) | |
229 | + | split(getStringOrFail(key), SEP) | |
230 | + | } | |
231 | + | ||
232 | + | ||
233 | + | let IdxLimitsRemainingBase = 1 | |
234 | + | ||
235 | + | let IdxLimitsRemainingShare = 2 | |
236 | + | ||
237 | + | func RemainingLimitsStringEntry (key,baseRemainingLimit,shareRemainingLimit) = StrE(key, makeString(["%d%d", toString(baseRemainingLimit), toString(shareRemainingLimit)], SEP)) | |
238 | + | ||
239 | + | ||
240 | + | func TopupMutexIntEntry (internalBaseAssetStr,acquiredHeight) = IntE(keyTopupMutext(internalBaseAssetStr), acquiredHeight) | |
241 | + | ||
242 | + | ||
243 | + | func genericCalcPrice (internalBaseAssetStr,baseAssetId,topUpBaseAmount,shareAssetId,decimalsMultPrice) = { | |
244 | + | let totalLockedArray = readTotalLocked(keyTotalLocked(internalBaseAssetStr)) | |
245 | + | let totalLockedOutBaseAmount = totalLockedArray[IdxTotalLockedOutBase] | |
246 | + | let currIterTotalInBaseAmount = totalLockedArray[IdxTotalLockedInBase] | |
247 | + | let baseAssetBalance = assetBalance(this, baseAssetId) | |
248 | + | let baseAssetBalanceWCO = (((baseAssetBalance + topUpBaseAmount) - currIterTotalInBaseAmount) - totalLockedOutBaseAmount) | |
249 | + | let totalLockedOutShareAmount = totalLockedArray[IdxTotalLockedOutShare] | |
250 | + | let currIterTotalInShareAmount = totalLockedArray[IdxTotalLockedInShare] | |
251 | + | let shareEmission = value(assetInfo(shareAssetId)).quantity | |
252 | + | if ((0 > baseAssetBalanceWCO)) | |
253 | + | then throw(((("baseAssetBalanceWco < 0: baseAssettBalance=" + toString(baseAssetBalance)) + " baseAssetBalanceWco=") + toString(baseAssetBalanceWCO))) | |
254 | + | else { | |
255 | + | let lastPrice = getIntOrFail(keyPriceLast(internalBaseAssetStr)) | |
256 | + | let price = if ((shareEmission == 0)) | |
257 | + | then lastPrice | |
258 | + | else fraction(baseAssetBalanceWCO, decimalsMultPrice, shareEmission) | |
259 | + | $Tuple9(price, baseAssetBalance, -1, baseAssetBalanceWCO, shareEmission, currIterTotalInBaseAmount, currIterTotalInShareAmount, totalLockedOutBaseAmount, totalLockedOutShareAmount) | |
260 | + | } | |
261 | + | } | |
262 | + | ||
263 | + | ||
264 | + | func calcPrice (internalBaseAssetStr,baseAssetId,shareAssetId,decimalsMultPrice) = genericCalcPrice(internalBaseAssetStr, baseAssetId, 0, shareAssetId, decimalsMultPrice) | |
265 | + | ||
266 | + | ||
267 | + | func commonSubmit (operationType,i,inAmount,inAssetId,baseAssetStr) = { | |
268 | + | let inAssetStr = toBase58String(inAssetId) | |
269 | + | let userAddressStr = toString(i.caller) | |
270 | + | let baseAssetId = fromBase58String(baseAssetStr) | |
271 | + | let cfgArray = readAssetCfgOrFail(baseAssetStr) | |
272 | + | let shareAssetStr = cfgArray[IdxCfgShareAssetId] | |
273 | + | let shareAssetId = fromBase58String(shareAssetStr) | |
274 | + | let decimalsMultBothAssets = parseIntValue(cfgArray[IdxCfgDecimalsMultBothAssets]) | |
275 | + | let internalBaseAssetStr = cfgArray[IdxCfgInternalBaseAsset] | |
276 | + | let limitsKEY = keyLimitsRemaining(internalBaseAssetStr) | |
277 | + | let limitsCfgArray = split(getStringOrFail(limitsKEY), SEP) | |
278 | + | let limitsRemainingBase = parseIntValue(limitsCfgArray[IdxLimitsRemainingBase]) | |
279 | + | let limitsRemainingShare = parseIntValue(limitsCfgArray[IdxLimitsRemainingShare]) | |
280 | + | let isSubmitBlocked = valueOrElse(getBoolean(this, keyShutdownSubmitOperation(internalBaseAssetStr)), false) | |
281 | + | if (isSubmitBlocked) | |
282 | + | then throw("submit operation is blocked") | |
283 | + | else { | |
284 | + | let operationsMutex = valueOrElse(getInteger(this, keyTopupMutext(internalBaseAssetStr)), 0) | |
285 | + | if (((operationsMutex + 60) > height)) | |
286 | + | then throw("submit operations are blocked by topup manager") | |
287 | + | else { | |
288 | + | let diffTuple = calcTotalLockedDiff("submit", operationType, internalBaseAssetStr, 0, 0, inAmount, baseAssetId, shareAssetId) | |
289 | + | let limitsRemainingBaseNew = (limitsRemainingBase - diffTuple._2[IdxTotalLockedInBase]) | |
290 | + | let limitsRemainingShareNew = (limitsRemainingShare - diffTuple._2[IdxTotalLockedInShare]) | |
291 | + | if (if ((0 > limitsRemainingBaseNew)) | |
292 | + | then true | |
293 | + | else (0 > limitsRemainingShareNew)) | |
294 | + | then failSubmitLimitsExceeds(limitsRemainingBase, limitsRemainingShare, limitsRemainingBaseNew, limitsRemainingShareNew) | |
295 | + | else { | |
296 | + | let topUpCurrentIdx = getIntOrFail(keyTopUpCurrentIdx(internalBaseAssetStr)) | |
297 | + | ((([StrE(keyOperation(operationType, internalBaseAssetStr, userAddressStr, toBase58String(i.transactionId)), dataOperation("PENDING", inAmount, 0, 0, height, lastBlock.timestamp, 0, 0, (topUpCurrentIdx + 1)))] :+ TotalLockedStringEntry("INCREMENT", keyTotalLocked(internalBaseAssetStr), diffTuple._1)) :+ TotalLockedStringEntry("INCREMENT", keyTotalLockedByUser(internalBaseAssetStr, userAddressStr), diffTuple._2)) :+ RemainingLimitsStringEntry(limitsKEY, limitsRemainingBaseNew, limitsRemainingShareNew)) | |
298 | + | } | |
299 | + | } | |
300 | + | } | |
301 | + | } | |
302 | + | ||
303 | + | ||
304 | + | func commonExecute (operationType,baseAssetStr,userAddressStr,submitTxIdStr) = { | |
305 | + | let userAddress = addressFromStringValue(userAddressStr) | |
306 | + | let assetCfgArray = readAssetCfgOrFail(baseAssetStr) | |
307 | + | let shareAssetId = fromBase58String(assetCfgArray[IdxCfgShareAssetId]) | |
308 | + | let internalBaseAssetStr = assetCfgArray[IdxCfgInternalBaseAsset] | |
309 | + | let decimalsMultPrice = parseIntValue(assetCfgArray[IdxCfgDecimalsMultPrice]) | |
310 | + | let baseAssetId = fromBase58String(baseAssetStr) | |
311 | + | let opKey = keyOperation(operationType, internalBaseAssetStr, userAddressStr, submitTxIdStr) | |
312 | + | let opArray = split(getStringOrFail(opKey), SEP) | |
313 | + | let status = opArray[IdxOperStatus] | |
314 | + | let inAmount = parseIntValue(opArray[IdxOperInAmount]) | |
315 | + | let topupUnlockIdx = parseIntValue(opArray[IdxOperTopupUnlockIdx]) | |
316 | + | let currTopUpIdx = getIntOrFail(keyTopUpCurrentIdx(internalBaseAssetStr)) | |
317 | + | let priceByTopUpId = getIntOrFail(keyPriceByTopUpIdx(internalBaseAssetStr, topupUnlockIdx)) | |
318 | + | if ((status != "PENDING")) | |
319 | + | then failExecuteGet("Status is not PENDING", baseAssetStr, userAddressStr, submitTxIdStr, operationType) | |
320 | + | else if ((topupUnlockIdx > currTopUpIdx)) | |
321 | + | then failExecuteGet(((("OperLock[" + toString(topupUnlockIdx)) + "] > ") + toString(currTopUpIdx)), baseAssetStr, userAddressStr, submitTxIdStr, operationType) | |
322 | + | else { | |
323 | + | let diffTuple = calcTotalLockedDiff("execute", operationType, internalBaseAssetStr, priceByTopUpId, decimalsMultPrice, inAmount, baseAssetId, shareAssetId) | |
324 | + | let outAmount = diffTuple._3 | |
325 | + | let outTransferData = if ((diffTuple._4 == baseAssetId)) | |
326 | + | then [ScriptTransfer(userAddress, outAmount, baseAssetId)] | |
327 | + | else [ScriptTransfer(userAddress, outAmount, shareAssetId)] | |
328 | + | (((outTransferData :+ StrE(opKey, dataOperationExecutionUpdate(opArray, "FINISHED", priceByTopUpId, outAmount))) :+ TotalLockedStringEntry("DECREMENT", keyTotalLocked(internalBaseAssetStr), diffTuple._1)) :+ TotalLockedStringEntry("DECREMENT", keyTotalLockedByUser(internalBaseAssetStr, userAddressStr), diffTuple._2)) | |
329 | + | } | |
330 | + | } | |
331 | + | ||
332 | + | ||
333 | + | func privateCurrentSysParamsREST (baseAssetStr) = { | |
334 | + | let baseAssetId = fromBase58String(baseAssetStr) | |
335 | + | let cfgArray = readAssetCfgOrFail(baseAssetStr) | |
336 | + | let shareAssetStr = cfgArray[IdxCfgShareAssetId] | |
337 | + | let shareAssetId = fromBase58String(shareAssetStr) | |
338 | + | let decimalsMultBothAssetsVal = parseIntValue(cfgArray[IdxCfgDecimalsMultBothAssets]) | |
339 | + | let decimalsMultPriceVal = parseIntValue(cfgArray[IdxCfgDecimalsMultPrice]) | |
340 | + | let internalBaseAssetStr = cfgArray[IdxCfgInternalBaseAsset] | |
341 | + | let priceAthKEY = keyPriceATH(internalBaseAssetStr) | |
342 | + | let priceAthVal = valueOrElse(getInteger(this, priceAthKEY), 0) | |
343 | + | let priceLastKEY = keyPriceLast(internalBaseAssetStr) | |
344 | + | let priceLastVal = valueOrElse(getInteger(this, priceLastKEY), 0) | |
345 | + | let topupLastTimeKEY = keyTopupLastTimestamp(internalBaseAssetStr) | |
346 | + | let topupLastTimeVal = valueOrElse(getInteger(this, topupLastTimeKEY), 0) | |
347 | + | let sysState = calcPrice(internalBaseAssetStr, baseAssetId, shareAssetId, decimalsMultPriceVal) | |
348 | + | $Tuple14(IntE("price", priceLastVal), IntE("decimalsMultPrice", decimalsMultPriceVal), IntE("baseAssetBalance", sysState._2), IntE("-1", sysState._3), IntE("baseAssetBalanceWCO", sysState._4), IntE("shareEmission", sysState._5), IntE("currIterTotalInBaseAmount", sysState._6), IntE("currIterTotalInShareAmount", sysState._7), IntE("totalLockedOutBaseAmount", sysState._8), IntE("totalLockedOutShareAmount", sysState._9), IntE("decimalsMultBothAssets", decimalsMultBothAssetsVal), IntE("priceATH", priceAthVal), IntE("priceRecalculated", sysState._1), IntE("topupLastTimestamp", topupLastTimeVal)) | |
349 | + | } | |
350 | + | ||
351 | + | ||
352 | + | @Callable(i) | |
353 | + | func adminRegisterAsset (baseAssetStr,shareAssetName,shareAssetDescr,getDelayinBlocks,shutdownManagerAddress,startPrice,topupIntervalInBlocks,topupMaxNegativePart,topupManagerAddress,submitLimitsBaseMax,submitLimitsBaseReset,submitLimitsShareMax,submitLimitsShareReset,adminAddress) = { | |
354 | + | let baseAssetId = fromBase58String(baseAssetStr) | |
355 | + | let bothAssetsDecimals = value(assetInfo(baseAssetId)).decimals | |
356 | + | let decimalsMultBothAssets = pow(10, 0, bothAssetsDecimals, 0, 0, DOWN) | |
357 | + | let decimalsMultPrice = ((100 * 1000) * 1000) | |
358 | + | let topupMaxNegativePercents = fraction(topupMaxNegativePart, 100, decimalsMultBothAssets) | |
359 | + | let baseAssetBalance = assetBalance(this, baseAssetId) | |
360 | + | if ((i.caller != this)) | |
361 | + | then throw("permissions denied") | |
362 | + | else if ((baseAssetBalance == 0)) | |
363 | + | then throw(((toString(this) + " must have any initial balance of ") + baseAssetStr)) | |
364 | + | else if (isDefined(getString(this, keyAssetCfg(baseAssetStr)))) | |
365 | + | then throw((baseAssetStr + " has been already registered")) | |
366 | + | else if ((toString(addressFromStringValue(shutdownManagerAddress)) != shutdownManagerAddress)) | |
367 | + | then throw("invalid shutdownManagerAddress") | |
368 | + | else if ((toString(addressFromStringValue(topupManagerAddress)) != topupManagerAddress)) | |
369 | + | then throw("invalid topupManagerAddress") | |
370 | + | else if ((0 > getDelayinBlocks)) | |
371 | + | then throw(("invalid getDelayinBlocks=" + toString(getDelayinBlocks))) | |
372 | + | else if (if ((0 >= topupMaxNegativePercents)) | |
373 | + | then true | |
374 | + | else (topupMaxNegativePercents >= 99)) | |
375 | + | then throw("invalid topupMaxNegativePart parameter") | |
376 | + | else { | |
377 | + | let shareInitAmount = convertBase2Share(baseAssetBalance, startPrice, decimalsMultPrice) | |
378 | + | let shareAssetIssueAction = Issue(shareAssetName, shareAssetDescr, shareInitAmount, bothAssetsDecimals, true) | |
379 | + | let shareAssetId = calculateAssetId(shareAssetIssueAction) | |
380 | + | let shareAssetStr = toBase58String(shareAssetId) | |
381 | + | let internalBaseAssetId = valueOrElse(getInteger(this, keyNextInternalAssetId()), 0) | |
382 | + | let internalBaseAssetStr = toString(internalBaseAssetId) | |
383 | + | [StrE(keyAssetCfg(baseAssetStr), dataAssetCfg(shareAssetStr, internalBaseAssetStr, decimalsMultBothAssets, decimalsMultPrice, getDelayinBlocks, topupIntervalInBlocks, topupMaxNegativePart, topupManagerAddress, submitLimitsBaseMax, submitLimitsBaseReset, submitLimitsShareMax, submitLimitsShareReset, adminAddress)), StrE(keyMappingsInternal2baseAssetId(internalBaseAssetId), baseAssetStr), StrE(keyMappingsBaseAsset2internalId(baseAssetStr), internalBaseAssetStr), StrE(keyMappingsShare2baseAssetId(shareAssetStr), baseAssetStr), StrE(keyMappingsBaseAsset2shareId(baseAssetStr), shareAssetStr), BooleanEntry(keyShutdownSubmitOperation(internalBaseAssetStr), false), StrE(keyShutdownManager(internalBaseAssetStr), shutdownManagerAddress), IntE(keyNextInternalAssetId(), (internalBaseAssetId + 1)), IntE(keyPriceLast(internalBaseAssetStr), startPrice), IntE(keyPriceHistory(internalBaseAssetStr, height, lastBlock.timestamp), startPrice), IntE(keyTopUpCurrentIdx(internalBaseAssetStr), 0), RemainingLimitsStringEntry(keyLimitsRemaining(internalBaseAssetStr), submitLimitsBaseMax, submitLimitsShareMax), shareAssetIssueAction, ScriptTransfer(addressFromStringValue(topupManagerAddress), shareInitAmount, shareAssetId)] | |
384 | + | } | |
385 | + | } | |
386 | + | ||
387 | + | ||
388 | + | ||
389 | + | @Callable(i) | |
390 | + | func shutdownSubmits (internalBaseAssetId) = { | |
391 | + | let internalBaseAssetIdStr = toString(internalBaseAssetId) | |
392 | + | let baseAssetIdStr = getStringOrFail(keyMappingsInternal2baseAssetId(internalBaseAssetId)) | |
393 | + | let shutdownManagerAddress = getStringOrFail(keyShutdownManager(internalBaseAssetIdStr)) | |
394 | + | if ((1 > size(baseAssetIdStr))) | |
395 | + | then throw("invalid internalBaseAssetId") | |
396 | + | else if ((toString(i.caller) != shutdownManagerAddress)) | |
397 | + | then throw("access denied") | |
398 | + | else [BooleanEntry(keyShutdownSubmitOperation(toString(internalBaseAssetId)), true)] | |
399 | + | } | |
400 | + | ||
401 | + | ||
402 | + | ||
403 | + | @Callable(i) | |
404 | + | func submitPut () = { | |
405 | + | let pmt = value(i.payments[0]) | |
406 | + | let inAmount = pmt.amount | |
407 | + | let inAssetId = value(pmt.assetId) | |
408 | + | let baseAssetStr = toBase58String(inAssetId) | |
409 | + | commonSubmit("P", i, inAmount, inAssetId, baseAssetStr) | |
410 | + | } | |
411 | + | ||
412 | + | ||
413 | + | ||
414 | + | @Callable(i) | |
415 | + | func submitGet () = { | |
416 | + | let pmt = value(i.payments[0]) | |
417 | + | let inAmount = pmt.amount | |
418 | + | let inAssetId = value(pmt.assetId) | |
419 | + | let shareAssetStr = toBase58String(inAssetId) | |
420 | + | let baseAssetStr = getStringOrFail(keyMappingsShare2baseAssetId(shareAssetStr)) | |
421 | + | commonSubmit("G", i, inAmount, inAssetId, baseAssetStr) | |
422 | + | } | |
423 | + | ||
424 | + | ||
425 | + | ||
426 | + | @Callable(i) | |
427 | + | func executePut (baseAssetStr,userAddressStr,submitTxIdStr) = commonExecute("P", baseAssetStr, userAddressStr, submitTxIdStr) | |
428 | + | ||
429 | + | ||
430 | + | ||
431 | + | @Callable(i) | |
432 | + | func executeGet (baseAssetStr,userAddressStr,submitTxIdStr) = commonExecute("G", baseAssetStr, userAddressStr, submitTxIdStr) | |
433 | + | ||
434 | + | ||
435 | + | ||
436 | + | @Callable(i) | |
437 | + | func operationsMutex (baseAssetStr) = { | |
438 | + | let assetCfgArray = readAssetCfgOrFail(baseAssetStr) | |
439 | + | let topUpManagerAddressStr = assetCfgArray[IdxCfgTopupManagerAddress] | |
440 | + | let internalBaseAssetStr = assetCfgArray[IdxCfgInternalBaseAsset] | |
441 | + | if ((toString(i.caller) != topUpManagerAddressStr)) | |
442 | + | then failTopupManagerOnly(topUpManagerAddressStr) | |
443 | + | else [TopupMutexIntEntry(internalBaseAssetStr, height)] | |
444 | + | } | |
445 | + | ||
446 | + | ||
447 | + | ||
448 | + | @Callable(i) | |
449 | + | func topUpBalance (baseAssetStr,income) = { | |
450 | + | let baseAssetId = fromBase58String(baseAssetStr) | |
451 | + | let cfg = readAssetCfgOrFail(baseAssetStr) | |
452 | + | let shareAssetId = fromBase58String(cfg[IdxCfgShareAssetId]) | |
453 | + | let priceMult = parseIntValue(cfg[IdxCfgDecimalsMultPrice]) | |
454 | + | let bothAssetMult = parseIntValue(cfg[IdxCfgDecimalsMultBothAssets]) | |
455 | + | let topupIntervalInBlocks = parseIntValue(cfg[IdxCfgTopupIntervalInBlocks]) | |
456 | + | let topupMaxNegativePart = parseIntValue(cfg[IdxCfgTopupMaxNegativePart]) | |
457 | + | let internalBaseAssetStr = cfg[IdxCfgInternalBaseAsset] | |
458 | + | let topUpManagerAddressStr = cfg[IdxCfgTopupManagerAddress] | |
459 | + | let submitLimitsBaseMax = parseIntValue(cfg[IdxCfgSubmitLimitsBaseMax]) | |
460 | + | let submitLimitsShareMax = parseIntValue(cfg[IdxCfgSubmitLimitsShareMax]) | |
461 | + | let topUpCurrentIdxKEY = keyTopUpCurrentIdx(internalBaseAssetStr) | |
462 | + | let prevTopUpIdx = getIntOrFail(topUpCurrentIdxKEY) | |
463 | + | let currentTopUpIdx = (prevTopUpIdx + 1) | |
464 | + | let valid = if ((income > 0)) | |
465 | + | then { | |
466 | + | let pmt = value(i.payments[0]) | |
467 | + | let pmtAssetId = value(pmt.assetId) | |
468 | + | if ((baseAssetId != pmtAssetId)) | |
469 | + | then throw("attached payment's asset id is NOT matched passed baseAssetStr") | |
470 | + | else if ((size(i.payments) > 1)) | |
471 | + | then throw("only one payment can be attached") | |
472 | + | else if ((pmt.amount != income)) | |
473 | + | then throw("attached payment.amount is NOT matched passed income argument") | |
474 | + | else true | |
475 | + | } | |
476 | + | else if ((0 > income)) | |
477 | + | then { | |
478 | + | let baseBalance = assetBalance(this, baseAssetId) | |
479 | + | let allowedAmount = fraction(topupMaxNegativePart, baseBalance, bothAssetMult) | |
480 | + | if ((-(income) > allowedAmount)) | |
481 | + | then throw(("topup negative income couldn't be greater than " + toString(allowedAmount))) | |
482 | + | else true | |
483 | + | } | |
484 | + | else throw("zero income is not allowed") | |
485 | + | let topUpLastHeightKEY = keyTopUpLastHeight(internalBaseAssetStr, toString(i.caller)) | |
486 | + | let topUpLastHeight = (height - 100) | |
487 | + | if ((toString(i.caller) != topUpManagerAddressStr)) | |
488 | + | then failTopupManagerOnly(topUpManagerAddressStr) | |
489 | + | else if (!(valid)) | |
490 | + | then throw("validation failed") | |
491 | + | else if ((topupIntervalInBlocks > (height - topUpLastHeight))) | |
492 | + | then throw((("1 topup per " + toString(topupIntervalInBlocks)) + " blocks from the same address is allowed")) | |
493 | + | else { | |
494 | + | let price = genericCalcPrice(internalBaseAssetStr, baseAssetId, income, shareAssetId, priceMult)._1 | |
495 | + | let diffTuple = calcTotalLockedDiff("topup", "", internalBaseAssetStr, price, priceMult, 0, baseAssetId, shareAssetId) | |
496 | + | let topupTotalDiff = diffTuple._1 | |
497 | + | let priceAthKEY = keyPriceATH(internalBaseAssetStr) | |
498 | + | let prevPriceATH = valueOrElse(getInteger(this, priceAthKEY), 0) | |
499 | + | ((((((([IntE(keyPriceLast(internalBaseAssetStr), price), IntE(keyPriceHistory(internalBaseAssetStr, height, lastBlock.timestamp), price), IntE(keyPriceByTopUpIdx(internalBaseAssetStr, currentTopUpIdx), price), IntE(topUpCurrentIdxKEY, currentTopUpIdx), IntE(priceAthKEY, if ((price > prevPriceATH)) | |
500 | + | then price | |
501 | + | else prevPriceATH), IntE(topUpLastHeightKEY, height)] :+ TotalLockedStringEntry("DECREMENT", keyTotalLocked(internalBaseAssetStr), topupTotalDiff)) :+ TopupMutexIntEntry(internalBaseAssetStr, 0)) :+ IntE(keyTopupLastTimestamp(internalBaseAssetStr), lastBlock.timestamp)) :+ RemainingLimitsStringEntry(keyLimitsRemaining(internalBaseAssetStr), submitLimitsBaseMax, submitLimitsShareMax)) :+ Burn(shareAssetId, topupTotalDiff[IdxTotalLockedInShare])) :+ Reissue(shareAssetId, -(topupTotalDiff[IdxTotalLockedOutShare]), true)) ++ (if ((0 > income)) | |
502 | + | then [ScriptTransfer(i.caller, -(income), baseAssetId)] | |
503 | + | else nil)) | |
504 | + | } | |
505 | + | } | |
506 | + | ||
507 | + | ||
508 | + | ||
509 | + | @Callable(i) | |
510 | + | func currentSysParamsREST (baseAssetStr) = { | |
511 | + | let sysStateTuple = privateCurrentSysParamsREST(baseAssetStr) | |
512 | + | let price = sysStateTuple._1.value | |
513 | + | let decimalsMultPrice = sysStateTuple._2.value | |
514 | + | let baseAssetBalance = sysStateTuple._3.value | |
515 | + | let totalLockedBaseAmount = sysStateTuple._4.value | |
516 | + | let baseAssetBalanceWCO = sysStateTuple._5.value | |
517 | + | let shareEmission = sysStateTuple._6.value | |
518 | + | let currIterTotalInBaseAmount = sysStateTuple._7.value | |
519 | + | let currIterTotalInShareAmount = sysStateTuple._8.value | |
520 | + | let totalLockedOutBaseAmount = sysStateTuple._9.value | |
521 | + | let totalLockedOutShareAmount = sysStateTuple._10.value | |
522 | + | let decimalsMultBothAssets = sysStateTuple._11.value | |
523 | + | let priceATH = sysStateTuple._12.value | |
524 | + | let priceRecalculated = sysStateTuple._13.value | |
525 | + | let topupLastTime = sysStateTuple._14.value | |
526 | + | let restData = makeString(["startCurrentSysParamsREST", toString(price), toString(decimalsMultPrice), toString(baseAssetBalance), toString(totalLockedBaseAmount), toString(baseAssetBalanceWCO), toString(shareEmission), toString(currIterTotalInBaseAmount), toString(currIterTotalInShareAmount), toString(totalLockedOutBaseAmount), toString(totalLockedOutShareAmount), toString(decimalsMultBothAssets), toString(priceATH), toString(priceRecalculated), toString(topupLastTime), "endCurrentSysParamsREST"], SEP) | |
527 | + | throw(restData) | |
528 | + | } | |
529 | + | ||
530 | + |
github/deemru/w8io/026f985 52.42 ms ◑