tx · aYuqjfiKWp22w92ZJDrRVYBCbvE18pgdUTRLUPMwoPQ

3Muw1aRbeKgLqAS264AakECyQAvDsnweHLu:  -0.02900000 Waves

2022.06.09 16:48 [2088920] smart account 3Muw1aRbeKgLqAS264AakECyQAvDsnweHLu > SELF 0.00000000 Waves

{ "type": 13, "id": "aYuqjfiKWp22w92ZJDrRVYBCbvE18pgdUTRLUPMwoPQ", "fee": 2900000, "feeAssetId": null, "timestamp": 1654782519381, "version": 1, "sender": "3Muw1aRbeKgLqAS264AakECyQAvDsnweHLu", "senderPublicKey": "668WwQVaWxezbvLEK3FccCSTbjst4zYAJDPrfLFRj9b9", "proofs": [ "2mhprdMF5s7MJ65XvFfZhepQDJ2v7ZSAbHrjZFhvKLP7Fsrfy1Gun2ua1RieBFWgbdEbWMe3zJ4CoFtMjTws9JXs" ], "script": "base64:AAIFAAAAAAAAADQIAhIDCgEIEgkKBwgICAgBCAgSAwoBARIAEgASBQoDCAgIEgQKAggBEgMKAQgSAwoBCBIAAAAAOgAAAAADU0VQAgAAAAJfXwAAAAAFRU1QVFkCAAAAAAEAAAAPZ2V0U3RyaW5nT3JGYWlsAAAAAQAAAANrZXkJAQAAABN2YWx1ZU9yRXJyb3JNZXNzYWdlAAAAAgkABB0AAAACBQAAAAR0aGlzBQAAAANrZXkJAAEsAAAAAgIAAAAVTm8gZGF0YSBmb3IgdGhpcy5rZXk9BQAAAANrZXkBAAAAEGdldEJvb2xlYW5PckZhaWwAAAABAAAAA2tleQkBAAAAE3ZhbHVlT3JFcnJvck1lc3NhZ2UAAAACCQAEGwAAAAIFAAAABHRoaXMFAAAAA2tleQkAASwAAAACAgAAABVObyBkYXRhIGZvciB0aGlzLmtleT0FAAAAA2tleQEAAAATa2V5TWFuYWdlclB1YmxpY0tleQAAAAAJAAS5AAAAAgkABEwAAAACAgAAAAIlcwkABEwAAAACAgAAABBtYW5hZ2VyUHVibGljS2V5BQAAAANuaWwFAAAAA1NFUAEAAAAaa2V5UGVuZGluZ01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AgAAAAECAAAAG3lvdSBhcmUgbm90IHBlbmRpbmcgbWFuYWdlcgMJAAAAAAAAAgUAAAAHY2hlY2tQTQUAAAAHY2hlY2tQTQkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQEAAAATa2V5TWFuYWdlclB1YmxpY0tleQAAAAAJAAJYAAAAAQkBAAAABXZhbHVlAAAAAQUAAAACcG0JAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQkBAAAAGmtleVBlbmRpbmdNYW5hZ2VyUHVibGljS2V5AAAAAAUAAAADbmlsCQAAAgAAAAECAAAAJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4AAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABAAAAA90YXJnZXRQdWJsaWNLZXkEAAAAByRtYXRjaDAJAQAAABZtYW5hZ2VyUHVibGljS2V5T3JVbml0AAAAAAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAKQnl0ZVZlY3RvcgQAAAACcGsFAAAAByRtYXRjaDAFAAAAAnBrAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAARVbml0CAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5CQAAAgAAAAECAAAAC01hdGNoIGVycm9yCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAAPdGFyZ2V0UHVibGljS2V5QMftgg==", "chainId": 84, "height": 2088920, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3omCpbMpELMhuv3We3yxPCvfG1M28h446XmNdsMRMVuQ Next: 5msQNBPagJRNj4i3gs7XAq218wmnsWcjUd6C6hGXv9gd Diff:
OldNewDifferences
178178 then throw(((("baseAssetBalanceConsideringLock < 0: baseAssetBalance=" + toString(baseAssetBalance)) + " baseAssetBalanceConsideringLock=") + toString(baseAssetBalanceConsideringLock)))
179179 else {
180180 let shareEmission = value(assetInfo(shareAssetId)).quantity
181+ let currentBalance = valueOrElse(getInteger(keyBalance(toBase58String(baseAssetId))), 0)
181182 let price = if ((shareEmission == 0))
182183 then (1 * decimalsMultPrice)
183- else fraction(baseAssetBalanceConsideringLock, decimalsMultPrice, shareEmission)
184- if (true)
185- then throw(makeString([toString(price), toString(baseAssetBalance), toString(baseAssetBalanceConsideringLock), toString(shareEmission)], " "))
186- else $Tuple5(price, baseAssetBalance, totalLockedBaseAmount, baseAssetBalanceConsideringLock, shareEmission)
184+ else fraction(currentBalance, decimalsMultPrice, shareEmission)
185+ $Tuple5(price, baseAssetBalance, totalLockedBaseAmount, baseAssetBalanceConsideringLock, shareEmission)
187186 }
188187 }
189188
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let SEP = "__"
55
66 let EMPTY = ""
77
88 func getStringOrFail (key) = valueOrErrorMessage(getString(this, key), ("No data for this.key=" + key))
99
1010
1111 func getBooleanOrFail (key) = valueOrErrorMessage(getBoolean(this, key), ("No data for this.key=" + key))
1212
1313
1414 func keyManagerPublicKey () = makeString(["%s", "managerPublicKey"], SEP)
1515
1616
1717 func keyPendingManagerPublicKey () = makeString(["%s", "pendingManagerPublicKey"], SEP)
1818
1919
2020 func failExecuteGet (msg,baseAssetStr,userAddressStr,getTxIdStr) = throw(((((((msg + ": baseAssetStr=") + baseAssetStr) + " userAddressStr=") + userAddressStr) + " getTxIdStr=") + getTxIdStr))
2121
2222
2323 func keyAssetsStoreContract () = makeString(["%s", "assetsStoreContract"], SEP)
2424
2525
2626 func keyAssetCfg (baseAssetStr) = ("%s%s%s__config__asset__" + baseAssetStr)
2727
2828
2929 func keyPendingWithdrawals (assetId) = makeString(["%s%s", "pendingWithdrawals", assetId], SEP)
3030
3131
3232 func keyProxyAddress (assetId) = makeString(["%s%s", "proxyAddress", assetId], SEP)
3333
3434
3535 func keyBalance (assetId) = makeString(["%s%s", "balance", assetId], SEP)
3636
3737
3838 func keyNextInternalAssetId () = "%s__nextInternalAssetId"
3939
4040
4141 func keyPriceLast (internalBasetAssetStr) = ("%s%s%d__price__last__" + internalBasetAssetStr)
4242
4343
4444 func keyTopUpLastHeight (internalBasetAssetStr,sender) = makeString(["%s%s%s%d%s__topup__last__height", internalBasetAssetStr, sender], SEP)
4545
4646
4747 func keyPriceHistory (internalBasetAssetStr,h,timestamp) = makeString(["%s%s%d%d%d__price__history", internalBasetAssetStr, toString(h), toString(timestamp)], SEP)
4848
4949
5050 func keyTotalLocked (internalBasetAssetStr) = ("%s%s%d__total__locked__" + internalBasetAssetStr)
5151
5252
5353 func keyTotalLockedByUser (internalBaseAssetStr,userAddressStr) = makeString(["%s%s%d%s__total__locked", internalBaseAssetStr, userAddressStr], SEP)
5454
5555
5656 func keyMappingsInternal2baseAssetId (internalBaseAsset) = ("%s%s%d__mappings__internal2baseAssetId__" + toString(internalBaseAsset))
5757
5858
5959 func keyMappingsBaseAsset2internalId (baseAssetStr) = ("%s%s%s__mappings__baseAsset2internalId__" + baseAssetStr)
6060
6161
6262 func keyMappingsShare2baseAssetId (shareAssetStr) = ("%s%s%s__mappings__share2baseAssetId__" + shareAssetStr)
6363
6464
6565 func keyMappingsBaseAsset2shareId (baseAssetStr) = ("%s%s%s__mappings__baseAsset2shareId__" + baseAssetStr)
6666
6767
6868 func keyShutdownPutOperation (internalBaseAssetStr) = ("%s%s%d__shutdown__put__" + internalBaseAssetStr)
6969
7070
7171 func keyShutdownManager (internalBaseAssetStr) = ("%s%s%d__shutdown__manager__" + internalBaseAssetStr)
7272
7373
7474 func assetsStoreContract () = addressFromStringValue(value(getString(keyAssetsStoreContract())))
7575
7676
7777 let IdxCfgShareAssetId = 1
7878
7979 let IdxCfgInternalBaseAsset = 2
8080
8181 let IdxCfgDecimalsMultBothAssets = 3
8282
8383 let IdxCfgDecimalsMultPrice = 4
8484
8585 let IdxCfgGetDelayBlocks = 5
8686
8787 func dataAssetCfg (shareAssetStr,internalBaseAssetStr,decimalsMultBothAssets,decimalsMultPrice,getDelayInBlocks) = makeString(["%s%d%d%d%d", shareAssetStr, internalBaseAssetStr, toString(decimalsMultBothAssets), toString(decimalsMultPrice), toString(getDelayInBlocks)], SEP)
8888
8989
9090 let IdxTotalLockedShare = 1
9191
9292 let IdxTotalLockedBase = 2
9393
9494 func dataTotalLocked (shareAssetAmount,baseAssetAmount) = makeString(["%d%d", toString(shareAssetAmount), toString(baseAssetAmount)], SEP)
9595
9696
9797 func readTotalLocked (key) = {
9898 let totalLockedArray = split(valueOrElse(getString(this, key), dataTotalLocked(0, 0)), SEP)
9999 [-1, parseIntValue(totalLockedArray[IdxTotalLockedShare]), parseIntValue(totalLockedArray[IdxTotalLockedBase])]
100100 }
101101
102102
103103 func keyOperation (operationType,internalBaseAssetStr,userAddress,txId) = makeString(["%s%d%s%s", operationType, internalBaseAssetStr, userAddress, txId], SEP)
104104
105105
106106 let IdxOperStatus = 1
107107
108108 let IdxOperInAmount = 2
109109
110110 let IdxOperPrice = 3
111111
112112 let IdxOperOutAmount = 4
113113
114114 let IdxOperStartHeight = 5
115115
116116 let IdxOperStartTimestamp = 6
117117
118118 let IdxOperEndHeight = 7
119119
120120 let IdxOperEndTimestamp = 8
121121
122122 func privateDataOperationAllStrings (status,inAssetAmount,price,outAssetAmount,startHeight,startTimestamp,endHeight,endTimestamp) = makeString(["%s%d%d%d%d%d%d%d", status, inAssetAmount, price, outAssetAmount, startHeight, startTimestamp, endHeight, endTimestamp], SEP)
123123
124124
125125 func dataOperation (status,inAssetAmount,price,outAssetAmount,startHeight,startTimestamp,endHeight,endTimestamp) = privateDataOperationAllStrings(status, toString(inAssetAmount), toString(price), toString(outAssetAmount), toString(startHeight), toString(startTimestamp), toString(endHeight), toString(endTimestamp))
126126
127127
128128 func dataOperationExecutionUpdate (currOperArray,newStatus,newEndTimestamp) = privateDataOperationAllStrings(newStatus, currOperArray[IdxOperInAmount], currOperArray[IdxOperPrice], currOperArray[IdxOperOutAmount], currOperArray[IdxOperStartHeight], currOperArray[IdxOperStartTimestamp], currOperArray[IdxOperEndHeight], toString(newEndTimestamp))
129129
130130
131131 func readAssetCfgOrFail (baseAssetStr) = {
132132 let key = keyAssetCfg(baseAssetStr)
133133 split(getStringOrFail(key), SEP)
134134 }
135135
136136
137137 func incrementTotalLocked (key,shareAssetAmount,baseAssetAmount) = {
138138 let dataArray = readTotalLocked(key)
139139 StringEntry(key, dataTotalLocked((dataArray[IdxTotalLockedShare] + shareAssetAmount), (dataArray[IdxTotalLockedBase] + baseAssetAmount)))
140140 }
141141
142142
143143 func decrementTotalLocked (key,shareAssetAmount,baseAssetAmount) = {
144144 let dataArray = readTotalLocked(key)
145145 StringEntry(key, dataTotalLocked((dataArray[IdxTotalLockedShare] - shareAssetAmount), (dataArray[IdxTotalLockedBase] - baseAssetAmount)))
146146 }
147147
148148
149149 func managerPublicKeyOrUnit () = match getString(keyManagerPublicKey()) {
150150 case s: String =>
151151 fromBase58String(s)
152152 case _: Unit =>
153153 unit
154154 case _ =>
155155 throw("Match error")
156156 }
157157
158158
159159 func pendingManagerPublicKeyOrUnit () = match getString(keyPendingManagerPublicKey()) {
160160 case s: String =>
161161 fromBase58String(s)
162162 case _: Unit =>
163163 unit
164164 case _ =>
165165 throw("Match error")
166166 }
167167
168168
169169 func balanceOrZero (assetId) = valueOrElse(getInteger(keyBalance(assetId)), 0)
170170
171171
172172 func genericCalcPrice (balance,internalBaseAssetStr,baseAssetId,topUpBaseAmount,shareAssetId,decimalsMultBothAssets,decimalsMultPrice) = {
173173 let totalLockedArray = readTotalLocked(keyTotalLocked(internalBaseAssetStr))
174174 let totalLockedBaseAmount = totalLockedArray[IdxTotalLockedBase]
175175 let baseAssetBalance = balance
176176 let baseAssetBalanceConsideringLock = ((baseAssetBalance - totalLockedBaseAmount) + topUpBaseAmount)
177177 if ((0 > baseAssetBalanceConsideringLock))
178178 then throw(((("baseAssetBalanceConsideringLock < 0: baseAssetBalance=" + toString(baseAssetBalance)) + " baseAssetBalanceConsideringLock=") + toString(baseAssetBalanceConsideringLock)))
179179 else {
180180 let shareEmission = value(assetInfo(shareAssetId)).quantity
181+ let currentBalance = valueOrElse(getInteger(keyBalance(toBase58String(baseAssetId))), 0)
181182 let price = if ((shareEmission == 0))
182183 then (1 * decimalsMultPrice)
183- else fraction(baseAssetBalanceConsideringLock, decimalsMultPrice, shareEmission)
184- if (true)
185- then throw(makeString([toString(price), toString(baseAssetBalance), toString(baseAssetBalanceConsideringLock), toString(shareEmission)], " "))
186- else $Tuple5(price, baseAssetBalance, totalLockedBaseAmount, baseAssetBalanceConsideringLock, shareEmission)
184+ else fraction(currentBalance, decimalsMultPrice, shareEmission)
185+ $Tuple5(price, baseAssetBalance, totalLockedBaseAmount, baseAssetBalanceConsideringLock, shareEmission)
187186 }
188187 }
189188
190189
191190 func calcPrice (balance,internalBaseAssetStr,baseAssetId,shareAssetId,decimalsMultBothAssets,decimalsMultPrice) = genericCalcPrice(balance, internalBaseAssetStr, baseAssetId, 0, shareAssetId, decimalsMultBothAssets, decimalsMultPrice)
192191
193192
194193 func privateCurrentSysParamsREST (baseAssetStr) = {
195194 let baseAssetId = fromBase58String(baseAssetStr)
196195 let cfgArray = readAssetCfgOrFail(baseAssetStr)
197196 let shareAssetStr = cfgArray[IdxCfgShareAssetId]
198197 let shareAssetId = fromBase58String(shareAssetStr)
199198 let decimalsMultBothAssets = parseIntValue(cfgArray[IdxCfgDecimalsMultBothAssets])
200199 let decimalsMultPrice = parseIntValue(cfgArray[IdxCfgDecimalsMultPrice])
201200 let internalBaseAssetStr = cfgArray[IdxCfgInternalBaseAsset]
202201 let sysState = calcPrice(balanceOrZero(baseAssetStr), internalBaseAssetStr, baseAssetId, shareAssetId, decimalsMultBothAssets, decimalsMultPrice)
203202 $Tuple6(IntegerEntry("price", sysState._1), IntegerEntry("decimalsMultPrice", decimalsMultPrice), IntegerEntry("baseAssetBalance", sysState._2), IntegerEntry("totalLockedBaseAmount", sysState._3), IntegerEntry("baseAssetBalanceConsideringLock", sysState._4), IntegerEntry("shareEmission", sysState._5))
204203 }
205204
206205
207206 func mustManager (i) = {
208207 let pd = throw("permission denied")
209208 match managerPublicKeyOrUnit() {
210209 case pk: ByteVector =>
211210 if ((i.callerPublicKey == pk))
212211 then true
213212 else pd
214213 case _: Unit =>
215214 if ((i.caller == this))
216215 then true
217216 else pd
218217 case _ =>
219218 throw("Match error")
220219 }
221220 }
222221
223222
224223 func mustProxyAddress (i,assetId) = {
225224 let isProxy = (toString(i.caller) == valueOrElse(getString(keyProxyAddress(assetId)), EMPTY))
226225 if (isProxy)
227226 then true
228227 else {
229228 let checkCaller = mustManager(i)
230229 if ((checkCaller == checkCaller))
231230 then true
232231 else throw("Strict value is not equal to itself.")
233232 }
234233 }
235234
236235
237236 @Callable(i)
238237 func constructor (assetsStoreContract) = {
239238 let checkCaller = mustManager(i)
240239 if ((checkCaller == checkCaller))
241240 then [StringEntry(keyAssetsStoreContract(), assetsStoreContract)]
242241 else throw("Strict value is not equal to itself.")
243242 }
244243
245244
246245
247246 @Callable(i)
248247 func adminRegisterAsset (baseAssetStr,shareAssetName,shareAssetDescr,shareAssetLogo,getDelayinBlocks,shutdownManagerAddress,proxyAddress) = {
249248 let baseAssetId = fromBase58String(baseAssetStr)
250249 let decimals = value(assetInfo(baseAssetId)).decimals
251250 let check = mustManager(i)
252251 if ((check == check))
253252 then if ((toString(addressFromStringValue(shutdownManagerAddress)) != shutdownManagerAddress))
254253 then throw("invalid shutdownManagerAddress")
255254 else if ((0 > getDelayinBlocks))
256255 then throw(("invalid getDelayinBlocks=" + toString(getDelayinBlocks)))
257256 else {
258257 let shareAssetIssueAction = Issue(shareAssetName, shareAssetDescr, 1, decimals, true)
259258 let shareAssetId = calculateAssetId(shareAssetIssueAction)
260259 let shareAssetStr = toBase58String(shareAssetId)
261260 let decimalsMultPrice = ((100 * 1000) * 1000)
262261 let decimalsMultBothAssets = pow(10, 0, decimals, 0, 0, DOWN)
263262 let startPrice = (1 * decimalsMultPrice)
264263 let internalBaseAssettId = valueOrElse(getInteger(this, keyNextInternalAssetId()), 0)
265264 let internalBaseAssetStr = toString(internalBaseAssettId)
266265 let createOrUpdate = invoke(assetsStoreContract(), "createOrUpdate", [shareAssetStr, shareAssetLogo, false], nil)
267266 if ((createOrUpdate == createOrUpdate))
268267 then {
269268 let addLabel = invoke(assetsStoreContract(), "addLabel", [shareAssetStr, "DEFI"], nil)
270269 if ((addLabel == addLabel))
271270 then [StringEntry(keyAssetCfg(baseAssetStr), dataAssetCfg(shareAssetStr, internalBaseAssetStr, decimalsMultBothAssets, decimalsMultPrice, getDelayinBlocks)), StringEntry(keyMappingsInternal2baseAssetId(internalBaseAssettId), baseAssetStr), StringEntry(keyMappingsBaseAsset2internalId(baseAssetStr), internalBaseAssetStr), StringEntry(keyMappingsShare2baseAssetId(shareAssetStr), baseAssetStr), StringEntry(keyMappingsBaseAsset2shareId(baseAssetStr), shareAssetStr), BooleanEntry(keyShutdownPutOperation(internalBaseAssetStr), false), StringEntry(keyShutdownManager(internalBaseAssetStr), shutdownManagerAddress), IntegerEntry(keyNextInternalAssetId(), (internalBaseAssettId + 1)), IntegerEntry(keyPriceLast(internalBaseAssetStr), startPrice), IntegerEntry(keyPriceHistory(internalBaseAssetStr, height, lastBlock.timestamp), startPrice), shareAssetIssueAction, Burn(shareAssetId, 1), StringEntry(keyProxyAddress(baseAssetStr), proxyAddress)]
272271 else throw("Strict value is not equal to itself.")
273272 }
274273 else throw("Strict value is not equal to itself.")
275274 }
276275 else throw("Strict value is not equal to itself.")
277276 }
278277
279278
280279
281280 @Callable(i)
282281 func shutdownPut (internalBaseAssetId) = {
283282 let internalBaseAssetIdStr = toString(internalBaseAssetId)
284283 let baseAssetIdStr = getStringOrFail(keyMappingsInternal2baseAssetId(internalBaseAssetId))
285284 let shutdownManagerAddress = getStringOrFail(keyShutdownManager(internalBaseAssetIdStr))
286285 if ((1 > size(baseAssetIdStr)))
287286 then throw("invalid internalBaseAssetId")
288287 else if ((toString(i.caller) != shutdownManagerAddress))
289288 then throw("access denied")
290289 else [BooleanEntry(keyShutdownPutOperation(toString(internalBaseAssetId)), true)]
291290 }
292291
293292
294293
295294 @Callable(i)
296295 func put () = {
297296 let pmt = value(i.payments[0])
298297 let baseAssetId = value(pmt.assetId)
299298 let baseAssetStr = toBase58String(baseAssetId)
300299 let userAddressStr = toString(i.caller)
301300 let cfgArray = readAssetCfgOrFail(baseAssetStr)
302301 let shareAssetStr = cfgArray[IdxCfgShareAssetId]
303302 let shareAssetId = fromBase58String(shareAssetStr)
304303 let decimalsMultBothAssets = parseIntValue(cfgArray[IdxCfgDecimalsMultBothAssets])
305304 let decimalsMultPrice = parseIntValue(cfgArray[IdxCfgDecimalsMultPrice])
306305 let internalBaseAssetStr = cfgArray[IdxCfgInternalBaseAsset]
307306 let isPutBlocked = getBooleanOrFail(keyShutdownPutOperation(internalBaseAssetStr))
308307 if (isPutBlocked)
309308 then throw("put operation is blocked")
310309 else {
311310 let price = calcPrice(balanceOrZero(baseAssetStr), internalBaseAssetStr, baseAssetId, shareAssetId, decimalsMultBothAssets, decimalsMultPrice)._1
312311 let shareAssetAmount = fraction(pmt.amount, decimalsMultPrice, price)
313312 let balance = balanceOrZero(baseAssetStr)
314313 [Reissue(shareAssetId, shareAssetAmount, true), ScriptTransfer(i.caller, shareAssetAmount, shareAssetId), StringEntry(keyOperation("P", internalBaseAssetStr, userAddressStr, toBase58String(i.transactionId)), dataOperation("FINISHED", pmt.amount, price, shareAssetAmount, height, lastBlock.timestamp, height, lastBlock.timestamp)), ScriptTransfer(addressFromStringValue(value(getString(keyProxyAddress(baseAssetStr)))), pmt.amount, baseAssetId), IntegerEntry(keyBalance(baseAssetStr), (balance + pmt.amount))]
315314 }
316315 }
317316
318317
319318
320319 @Callable(i)
321320 func submitGetRequest () = {
322321 let pmt = value(i.payments[0])
323322 let shareAssetId = value(pmt.assetId)
324323 let shareAssetStr = toBase58String(shareAssetId)
325324 let callerPubStr = toBase58String(i.callerPublicKey)
326325 let userAddress = i.caller
327326 let userAddressStr = toString(userAddress)
328327 let shareAssetAmount = pmt.amount
329328 let baseAssetStr = getStringOrFail(keyMappingsShare2baseAssetId(shareAssetStr))
330329 let baseAssetId = fromBase58String(baseAssetStr)
331330 let cfgArray = readAssetCfgOrFail(baseAssetStr)
332331 let decimalsMultBothAssets = parseIntValue(cfgArray[IdxCfgDecimalsMultBothAssets])
333332 let decimalsMultPrice = parseIntValue(cfgArray[IdxCfgDecimalsMultPrice])
334333 let getDelayBlocks = parseIntValue(cfgArray[IdxCfgGetDelayBlocks])
335334 let internalBaseAssetStr = cfgArray[IdxCfgInternalBaseAsset]
336335 let price = calcPrice(balanceOrZero(baseAssetStr), internalBaseAssetStr, baseAssetId, shareAssetId, decimalsMultBothAssets, decimalsMultPrice)._1
337336 let baseAssetAmount = fraction(shareAssetAmount, price, decimalsMultPrice)
338337 let operationKey = keyOperation("G", internalBaseAssetStr, userAddressStr, toBase58String(i.transactionId))
339338 let operationData = dataOperation("PENDING", shareAssetAmount, price, baseAssetAmount, height, lastBlock.timestamp, (height + getDelayBlocks), 0)
340339 let balance = balanceOrZero(baseAssetStr)
341340 let pendingWD = valueOrElse(getInteger(keyPendingWithdrawals(baseAssetStr)), 0)
342341 [Burn(shareAssetId, shareAssetAmount), StringEntry(operationKey, operationData), incrementTotalLocked(keyTotalLocked(internalBaseAssetStr), shareAssetAmount, baseAssetAmount), incrementTotalLocked(keyTotalLockedByUser(internalBaseAssetStr, userAddressStr), shareAssetAmount, baseAssetAmount), IntegerEntry(keyPendingWithdrawals(baseAssetStr), (pendingWD + baseAssetAmount)), IntegerEntry(keyBalance(baseAssetStr), (balance - baseAssetAmount))]
343342 }
344343
345344
346345
347346 @Callable(i)
348347 func executeGetRequest (baseAssetStr,userAddressStr,getTxIdStr) = {
349348 let userAddress = addressFromStringValue(userAddressStr)
350349 let assetCfgArray = readAssetCfgOrFail(baseAssetStr)
351350 let shareAssetId = fromBase58String(assetCfgArray[IdxCfgShareAssetId])
352351 let baseAssetId = fromBase58String(baseAssetStr)
353352 let internalBaseAssetStr = assetCfgArray[IdxCfgInternalBaseAsset]
354353 let operationKey = keyOperation("G", internalBaseAssetStr, userAddressStr, getTxIdStr)
355354 let operationArray = split(getStringOrFail(operationKey), SEP)
356355 let status = operationArray[IdxOperStatus]
357356 let endHeight = parseIntValue(operationArray[IdxOperEndHeight])
358357 let inShareAmount = parseIntValue(operationArray[IdxOperInAmount])
359358 let outBaseAmount = parseIntValue(operationArray[IdxOperOutAmount])
360359 if ((status != "PENDING"))
361360 then failExecuteGet("Status is not PENDING", baseAssetStr, userAddressStr, getTxIdStr)
362361 else if ((endHeight > height))
363362 then failExecuteGet(((("EndHeight[" + toString(endHeight)) + "] > ") + toString(height)), baseAssetStr, userAddressStr, getTxIdStr)
364363 else [ScriptTransfer(userAddress, outBaseAmount, baseAssetId), StringEntry(operationKey, dataOperationExecutionUpdate(operationArray, "FINISHED", lastBlock.timestamp)), decrementTotalLocked(keyTotalLocked(internalBaseAssetStr), inShareAmount, outBaseAmount), decrementTotalLocked(keyTotalLockedByUser(internalBaseAssetStr, userAddressStr), inShareAmount, outBaseAmount)]
365364 }
366365
367366
368367
369368 @Callable(i)
370369 func topUpBalance (baseAssetStr,delta) = {
371370 let assetCfgArray = readAssetCfgOrFail(baseAssetStr)
372371 let pmt = value(i.payments[0])
373372 let pmtAssetId = value(pmt.assetId)
374373 let pmtAssetStr = toBase58String(pmtAssetId)
375374 let shareAssetId = fromBase58String(assetCfgArray[IdxCfgShareAssetId])
376375 let decimalsMultBothAssets = parseIntValue(assetCfgArray[IdxCfgDecimalsMultBothAssets])
377376 let decimalsMultPrice = parseIntValue(assetCfgArray[IdxCfgDecimalsMultPrice])
378377 let internalBaseAssetStr = assetCfgArray[IdxCfgInternalBaseAsset]
379378 let topUpLastHeightKEY = keyTopUpLastHeight(internalBaseAssetStr, toString(i.caller))
380379 let topUpLastHeight = valueOrElse(getInteger(this, topUpLastHeightKEY), 0)
381380 let checks = [mustProxyAddress(i, baseAssetStr), if ((pmt.amount == valueOrElse(getInteger(keyPendingWithdrawals(pmtAssetStr)), 0)))
382381 then true
383382 else throw("payment amount must be equal pendingWithdrawals")]
384383 if ((checks == checks))
385384 then if ((baseAssetStr != pmtAssetStr))
386385 then throw("attached payment's asset id is NOT matched passed baseAssetStr")
387386 else if ((size(i.payments) > 1))
388387 then throw("only one payment can be attached")
389388 else if ((100 > (height - topUpLastHeight)))
390389 then throw("1 topUp per 100 blocks from the same address is allowed")
391390 else {
392391 let newBalance = (balanceOrZero(pmtAssetStr) + delta)
393392 let price = genericCalcPrice(newBalance, internalBaseAssetStr, pmtAssetId, pmt.amount, shareAssetId, decimalsMultBothAssets, decimalsMultPrice)._1
394393 [IntegerEntry(keyPriceLast(internalBaseAssetStr), price), IntegerEntry(keyPriceHistory(internalBaseAssetStr, height, lastBlock.timestamp), price), IntegerEntry(topUpLastHeightKEY, height), IntegerEntry(keyBalance(pmtAssetStr), newBalance), IntegerEntry(keyPendingWithdrawals(pmtAssetStr), 0)]
395394 }
396395 else throw("Strict value is not equal to itself.")
397396 }
398397
399398
400399
401400 @Callable(i)
402401 func currentSysParamsREST (baseAssetStr) = {
403402 let sysStateTuple = privateCurrentSysParamsREST(baseAssetStr)
404403 let price = sysStateTuple._1.value
405404 let decimalsMultPrice = sysStateTuple._2.value
406405 let baseAssetBalance = sysStateTuple._3.value
407406 let totalLockedBaseAmount = sysStateTuple._4.value
408407 let baseAssetBalanceConsideringLock = sysStateTuple._5.value
409408 let shareEmission = sysStateTuple._6.value
410409 let restData = makeString(["startCurrentSysParamsREST", toString(price), toString(decimalsMultPrice), toString(baseAssetBalance), toString(totalLockedBaseAmount), toString(baseAssetBalanceConsideringLock), toString(shareEmission), "endCurrentSysParamsREST"], SEP)
411410 throw(restData)
412411 }
413412
414413
415414
416415 @Callable(i)
417416 func setManager (pendingManagerPublicKey) = {
418417 let checkCaller = mustManager(i)
419418 if ((checkCaller == checkCaller))
420419 then {
421420 let checkManagerPublicKey = fromBase58String(pendingManagerPublicKey)
422421 if ((checkManagerPublicKey == checkManagerPublicKey))
423422 then [StringEntry(keyPendingManagerPublicKey(), pendingManagerPublicKey)]
424423 else throw("Strict value is not equal to itself.")
425424 }
426425 else throw("Strict value is not equal to itself.")
427426 }
428427
429428
430429
431430 @Callable(i)
432431 func confirmManager () = {
433432 let pm = pendingManagerPublicKeyOrUnit()
434433 let hasPM = if (isDefined(pm))
435434 then true
436435 else throw("no pending manager")
437436 if ((hasPM == hasPM))
438437 then {
439438 let checkPM = if ((i.callerPublicKey == value(pm)))
440439 then true
441440 else throw("you are not pending manager")
442441 if ((checkPM == checkPM))
443442 then [StringEntry(keyManagerPublicKey(), toBase58String(value(pm))), DeleteEntry(keyPendingManagerPublicKey())]
444443 else throw("Strict value is not equal to itself.")
445444 }
446445 else throw("Strict value is not equal to itself.")
447446 }
448447
449448
450449 @Verifier(tx)
451450 func verify () = {
452451 let targetPublicKey = match managerPublicKeyOrUnit() {
453452 case pk: ByteVector =>
454453 pk
455454 case _: Unit =>
456455 tx.senderPublicKey
457456 case _ =>
458457 throw("Match error")
459458 }
460459 sigVerify(tx.bodyBytes, tx.proofs[0], targetPublicKey)
461460 }
462461

github/deemru/w8io/026f985 
75.81 ms