tx · 3omCpbMpELMhuv3We3yxPCvfG1M28h446XmNdsMRMVuQ

3Muw1aRbeKgLqAS264AakECyQAvDsnweHLu:  -0.02900000 Waves

2022.06.09 16:30 [2088902] smart account 3Muw1aRbeKgLqAS264AakECyQAvDsnweHLu > SELF 0.00000000 Waves

{ "type": 13, "id": "3omCpbMpELMhuv3We3yxPCvfG1M28h446XmNdsMRMVuQ", "fee": 2900000, "feeAssetId": null, "timestamp": 1654781316462, "version": 1, "sender": "3Muw1aRbeKgLqAS264AakECyQAvDsnweHLu", "senderPublicKey": "668WwQVaWxezbvLEK3FccCSTbjst4zYAJDPrfLFRj9b9", "proofs": [ "3HJ5ZLjTGK7GPsUhrJdXv8dmbivCKLPD3hwxtTBLX6uYfBmHrjRGVZdANDq8pTdVjDH4AuvbXAPStBQqqL6qR4m8" ], "script": "base64:AAIFAAAAAAAAADQIAhIDCgEIEgkKBwgICAgBCAgSAwoBARIAEgASBQoDCAgIEgQKAggBEgMKAQgSAwoBCBIAAAAAOgAAAAADU0VQAgAAAAJfXwAAAAAFRU1QVFkCAAAAAAEAAAAPZ2V0U3RyaW5nT3JGYWlsAAAAAQAAAANrZXkJAQAAABN2YWx1ZU9yRXJyb3JNZXNzYWdlAAAAAgkABB0AAAACBQAAAAR0aGlzBQAAAANrZXkJAAEsAAAAAgIAAAAVTm8gZGF0YSBmb3IgdGhpcy5rZXk9BQAAAANrZXkBAAAAEGdldEJvb2xlYW5PckZhaWwAAAABAAAAA2tleQkBAAAAE3ZhbHVlT3JFcnJvck1lc3NhZ2UAAAACCQAEGwAAAAIFAAAABHRoaXMFAAAAA2tleQkAASwAAAACAgAAABVObyBkYXRhIGZvciB0aGlzLmtleT0FAAAAA2tleQEAAAATa2V5TWFuYWdlclB1YmxpY0tleQAAAAAJAAS5AAAAAgkABEwAAAACAgAAAAIlcwkABEwAAAACAgAAABBtYW5hZ2VyUHVibGljS2V5BQAAAANuaWwFAAAAA1NFUAEAAAAaa2V5UGVuZGluZ01hbmFnZ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Whhc1BNBAAAAAdjaGVja1BNAwkAAAAAAAACCAUAAAABaQAAAA9jYWxsZXJQdWJsaWNLZXkJAQAAAAV2YWx1ZQAAAAEFAAAAAnBtBgkAAAIAAAABAgAAABt5b3UgYXJlIG5vdCBwZW5kaW5nIG1hbmFnZXIDCQAAAAAAAAIFAAAAB2NoZWNrUE0FAAAAB2NoZWNrUE0JAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkBAAAAE2tleU1hbmFnZXJQdWJsaWNLZXkAAAAACQACWAAAAAEJAQAAAAV2YWx1ZQAAAAEFAAAAAnBtCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEJAQAAABprZXlQZW5kaW5nTWFuYWdlclB1YmxpY0tleQAAAAAFAAAAA25pbAkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAACAAAAAQIAAAAkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAPdGFyZ2V0UHVibGljS2V5BAAAAAckbWF0Y2gwCQEAAAAWbWFuYWdlclB1YmxpY0tleU9yVW5pdAAAAAADCQAAAQAAAAIFAAAAByRtYXRjaDACAAAACkJ5dGVWZWN0b3IEAAAAAnBrBQAAAAckbWF0Y2gwBQAAAAJwawMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAEVW5pdAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleQkAAAIAAAABAgAAAAtNYXRjaCBlcnJvcgkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAAD3RhcmdldFB1YmxpY0tleVuDxOw=", "chainId": 84, "height": 2088902, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Er2dBrBRRNEbQv8FtrU9wtyXaeZjJtnJKbeRcHXZRFpJ Next: aYuqjfiKWp22w92ZJDrRVYBCbvE18pgdUTRLUPMwoPQ Diff:
OldNewDifferences
181181 let price = if ((shareEmission == 0))
182182 then (1 * decimalsMultPrice)
183183 else fraction(baseAssetBalanceConsideringLock, decimalsMultPrice, shareEmission)
184- $Tuple5(price, baseAssetBalance, totalLockedBaseAmount, baseAssetBalanceConsideringLock, shareEmission)
184+ if (true)
185+ then throw(makeString([toString(price), toString(baseAssetBalance), toString(baseAssetBalanceConsideringLock), toString(shareEmission)], " "))
186+ else $Tuple5(price, baseAssetBalance, totalLockedBaseAmount, baseAssetBalanceConsideringLock, shareEmission)
185187 }
186188 }
187189
308310 else {
309311 let price = calcPrice(balanceOrZero(baseAssetStr), internalBaseAssetStr, baseAssetId, shareAssetId, decimalsMultBothAssets, decimalsMultPrice)._1
310312 let shareAssetAmount = fraction(pmt.amount, decimalsMultPrice, price)
311- let balance = valueOrElse(getInteger(keyBalance(baseAssetStr)), 0)
313+ let balance = balanceOrZero(baseAssetStr)
312314 [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))]
313315 }
314316 }
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
181181 let price = if ((shareEmission == 0))
182182 then (1 * decimalsMultPrice)
183183 else fraction(baseAssetBalanceConsideringLock, decimalsMultPrice, shareEmission)
184- $Tuple5(price, baseAssetBalance, totalLockedBaseAmount, baseAssetBalanceConsideringLock, shareEmission)
184+ if (true)
185+ then throw(makeString([toString(price), toString(baseAssetBalance), toString(baseAssetBalanceConsideringLock), toString(shareEmission)], " "))
186+ else $Tuple5(price, baseAssetBalance, totalLockedBaseAmount, baseAssetBalanceConsideringLock, shareEmission)
185187 }
186188 }
187189
188190
189191 func calcPrice (balance,internalBaseAssetStr,baseAssetId,shareAssetId,decimalsMultBothAssets,decimalsMultPrice) = genericCalcPrice(balance, internalBaseAssetStr, baseAssetId, 0, shareAssetId, decimalsMultBothAssets, decimalsMultPrice)
190192
191193
192194 func privateCurrentSysParamsREST (baseAssetStr) = {
193195 let baseAssetId = fromBase58String(baseAssetStr)
194196 let cfgArray = readAssetCfgOrFail(baseAssetStr)
195197 let shareAssetStr = cfgArray[IdxCfgShareAssetId]
196198 let shareAssetId = fromBase58String(shareAssetStr)
197199 let decimalsMultBothAssets = parseIntValue(cfgArray[IdxCfgDecimalsMultBothAssets])
198200 let decimalsMultPrice = parseIntValue(cfgArray[IdxCfgDecimalsMultPrice])
199201 let internalBaseAssetStr = cfgArray[IdxCfgInternalBaseAsset]
200202 let sysState = calcPrice(balanceOrZero(baseAssetStr), internalBaseAssetStr, baseAssetId, shareAssetId, decimalsMultBothAssets, decimalsMultPrice)
201203 $Tuple6(IntegerEntry("price", sysState._1), IntegerEntry("decimalsMultPrice", decimalsMultPrice), IntegerEntry("baseAssetBalance", sysState._2), IntegerEntry("totalLockedBaseAmount", sysState._3), IntegerEntry("baseAssetBalanceConsideringLock", sysState._4), IntegerEntry("shareEmission", sysState._5))
202204 }
203205
204206
205207 func mustManager (i) = {
206208 let pd = throw("permission denied")
207209 match managerPublicKeyOrUnit() {
208210 case pk: ByteVector =>
209211 if ((i.callerPublicKey == pk))
210212 then true
211213 else pd
212214 case _: Unit =>
213215 if ((i.caller == this))
214216 then true
215217 else pd
216218 case _ =>
217219 throw("Match error")
218220 }
219221 }
220222
221223
222224 func mustProxyAddress (i,assetId) = {
223225 let isProxy = (toString(i.caller) == valueOrElse(getString(keyProxyAddress(assetId)), EMPTY))
224226 if (isProxy)
225227 then true
226228 else {
227229 let checkCaller = mustManager(i)
228230 if ((checkCaller == checkCaller))
229231 then true
230232 else throw("Strict value is not equal to itself.")
231233 }
232234 }
233235
234236
235237 @Callable(i)
236238 func constructor (assetsStoreContract) = {
237239 let checkCaller = mustManager(i)
238240 if ((checkCaller == checkCaller))
239241 then [StringEntry(keyAssetsStoreContract(), assetsStoreContract)]
240242 else throw("Strict value is not equal to itself.")
241243 }
242244
243245
244246
245247 @Callable(i)
246248 func adminRegisterAsset (baseAssetStr,shareAssetName,shareAssetDescr,shareAssetLogo,getDelayinBlocks,shutdownManagerAddress,proxyAddress) = {
247249 let baseAssetId = fromBase58String(baseAssetStr)
248250 let decimals = value(assetInfo(baseAssetId)).decimals
249251 let check = mustManager(i)
250252 if ((check == check))
251253 then if ((toString(addressFromStringValue(shutdownManagerAddress)) != shutdownManagerAddress))
252254 then throw("invalid shutdownManagerAddress")
253255 else if ((0 > getDelayinBlocks))
254256 then throw(("invalid getDelayinBlocks=" + toString(getDelayinBlocks)))
255257 else {
256258 let shareAssetIssueAction = Issue(shareAssetName, shareAssetDescr, 1, decimals, true)
257259 let shareAssetId = calculateAssetId(shareAssetIssueAction)
258260 let shareAssetStr = toBase58String(shareAssetId)
259261 let decimalsMultPrice = ((100 * 1000) * 1000)
260262 let decimalsMultBothAssets = pow(10, 0, decimals, 0, 0, DOWN)
261263 let startPrice = (1 * decimalsMultPrice)
262264 let internalBaseAssettId = valueOrElse(getInteger(this, keyNextInternalAssetId()), 0)
263265 let internalBaseAssetStr = toString(internalBaseAssettId)
264266 let createOrUpdate = invoke(assetsStoreContract(), "createOrUpdate", [shareAssetStr, shareAssetLogo, false], nil)
265267 if ((createOrUpdate == createOrUpdate))
266268 then {
267269 let addLabel = invoke(assetsStoreContract(), "addLabel", [shareAssetStr, "DEFI"], nil)
268270 if ((addLabel == addLabel))
269271 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)]
270272 else throw("Strict value is not equal to itself.")
271273 }
272274 else throw("Strict value is not equal to itself.")
273275 }
274276 else throw("Strict value is not equal to itself.")
275277 }
276278
277279
278280
279281 @Callable(i)
280282 func shutdownPut (internalBaseAssetId) = {
281283 let internalBaseAssetIdStr = toString(internalBaseAssetId)
282284 let baseAssetIdStr = getStringOrFail(keyMappingsInternal2baseAssetId(internalBaseAssetId))
283285 let shutdownManagerAddress = getStringOrFail(keyShutdownManager(internalBaseAssetIdStr))
284286 if ((1 > size(baseAssetIdStr)))
285287 then throw("invalid internalBaseAssetId")
286288 else if ((toString(i.caller) != shutdownManagerAddress))
287289 then throw("access denied")
288290 else [BooleanEntry(keyShutdownPutOperation(toString(internalBaseAssetId)), true)]
289291 }
290292
291293
292294
293295 @Callable(i)
294296 func put () = {
295297 let pmt = value(i.payments[0])
296298 let baseAssetId = value(pmt.assetId)
297299 let baseAssetStr = toBase58String(baseAssetId)
298300 let userAddressStr = toString(i.caller)
299301 let cfgArray = readAssetCfgOrFail(baseAssetStr)
300302 let shareAssetStr = cfgArray[IdxCfgShareAssetId]
301303 let shareAssetId = fromBase58String(shareAssetStr)
302304 let decimalsMultBothAssets = parseIntValue(cfgArray[IdxCfgDecimalsMultBothAssets])
303305 let decimalsMultPrice = parseIntValue(cfgArray[IdxCfgDecimalsMultPrice])
304306 let internalBaseAssetStr = cfgArray[IdxCfgInternalBaseAsset]
305307 let isPutBlocked = getBooleanOrFail(keyShutdownPutOperation(internalBaseAssetStr))
306308 if (isPutBlocked)
307309 then throw("put operation is blocked")
308310 else {
309311 let price = calcPrice(balanceOrZero(baseAssetStr), internalBaseAssetStr, baseAssetId, shareAssetId, decimalsMultBothAssets, decimalsMultPrice)._1
310312 let shareAssetAmount = fraction(pmt.amount, decimalsMultPrice, price)
311- let balance = valueOrElse(getInteger(keyBalance(baseAssetStr)), 0)
313+ let balance = balanceOrZero(baseAssetStr)
312314 [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))]
313315 }
314316 }
315317
316318
317319
318320 @Callable(i)
319321 func submitGetRequest () = {
320322 let pmt = value(i.payments[0])
321323 let shareAssetId = value(pmt.assetId)
322324 let shareAssetStr = toBase58String(shareAssetId)
323325 let callerPubStr = toBase58String(i.callerPublicKey)
324326 let userAddress = i.caller
325327 let userAddressStr = toString(userAddress)
326328 let shareAssetAmount = pmt.amount
327329 let baseAssetStr = getStringOrFail(keyMappingsShare2baseAssetId(shareAssetStr))
328330 let baseAssetId = fromBase58String(baseAssetStr)
329331 let cfgArray = readAssetCfgOrFail(baseAssetStr)
330332 let decimalsMultBothAssets = parseIntValue(cfgArray[IdxCfgDecimalsMultBothAssets])
331333 let decimalsMultPrice = parseIntValue(cfgArray[IdxCfgDecimalsMultPrice])
332334 let getDelayBlocks = parseIntValue(cfgArray[IdxCfgGetDelayBlocks])
333335 let internalBaseAssetStr = cfgArray[IdxCfgInternalBaseAsset]
334336 let price = calcPrice(balanceOrZero(baseAssetStr), internalBaseAssetStr, baseAssetId, shareAssetId, decimalsMultBothAssets, decimalsMultPrice)._1
335337 let baseAssetAmount = fraction(shareAssetAmount, price, decimalsMultPrice)
336338 let operationKey = keyOperation("G", internalBaseAssetStr, userAddressStr, toBase58String(i.transactionId))
337339 let operationData = dataOperation("PENDING", shareAssetAmount, price, baseAssetAmount, height, lastBlock.timestamp, (height + getDelayBlocks), 0)
338340 let balance = balanceOrZero(baseAssetStr)
339341 let pendingWD = valueOrElse(getInteger(keyPendingWithdrawals(baseAssetStr)), 0)
340342 [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))]
341343 }
342344
343345
344346
345347 @Callable(i)
346348 func executeGetRequest (baseAssetStr,userAddressStr,getTxIdStr) = {
347349 let userAddress = addressFromStringValue(userAddressStr)
348350 let assetCfgArray = readAssetCfgOrFail(baseAssetStr)
349351 let shareAssetId = fromBase58String(assetCfgArray[IdxCfgShareAssetId])
350352 let baseAssetId = fromBase58String(baseAssetStr)
351353 let internalBaseAssetStr = assetCfgArray[IdxCfgInternalBaseAsset]
352354 let operationKey = keyOperation("G", internalBaseAssetStr, userAddressStr, getTxIdStr)
353355 let operationArray = split(getStringOrFail(operationKey), SEP)
354356 let status = operationArray[IdxOperStatus]
355357 let endHeight = parseIntValue(operationArray[IdxOperEndHeight])
356358 let inShareAmount = parseIntValue(operationArray[IdxOperInAmount])
357359 let outBaseAmount = parseIntValue(operationArray[IdxOperOutAmount])
358360 if ((status != "PENDING"))
359361 then failExecuteGet("Status is not PENDING", baseAssetStr, userAddressStr, getTxIdStr)
360362 else if ((endHeight > height))
361363 then failExecuteGet(((("EndHeight[" + toString(endHeight)) + "] > ") + toString(height)), baseAssetStr, userAddressStr, getTxIdStr)
362364 else [ScriptTransfer(userAddress, outBaseAmount, baseAssetId), StringEntry(operationKey, dataOperationExecutionUpdate(operationArray, "FINISHED", lastBlock.timestamp)), decrementTotalLocked(keyTotalLocked(internalBaseAssetStr), inShareAmount, outBaseAmount), decrementTotalLocked(keyTotalLockedByUser(internalBaseAssetStr, userAddressStr), inShareAmount, outBaseAmount)]
363365 }
364366
365367
366368
367369 @Callable(i)
368370 func topUpBalance (baseAssetStr,delta) = {
369371 let assetCfgArray = readAssetCfgOrFail(baseAssetStr)
370372 let pmt = value(i.payments[0])
371373 let pmtAssetId = value(pmt.assetId)
372374 let pmtAssetStr = toBase58String(pmtAssetId)
373375 let shareAssetId = fromBase58String(assetCfgArray[IdxCfgShareAssetId])
374376 let decimalsMultBothAssets = parseIntValue(assetCfgArray[IdxCfgDecimalsMultBothAssets])
375377 let decimalsMultPrice = parseIntValue(assetCfgArray[IdxCfgDecimalsMultPrice])
376378 let internalBaseAssetStr = assetCfgArray[IdxCfgInternalBaseAsset]
377379 let topUpLastHeightKEY = keyTopUpLastHeight(internalBaseAssetStr, toString(i.caller))
378380 let topUpLastHeight = valueOrElse(getInteger(this, topUpLastHeightKEY), 0)
379381 let checks = [mustProxyAddress(i, baseAssetStr), if ((pmt.amount == valueOrElse(getInteger(keyPendingWithdrawals(pmtAssetStr)), 0)))
380382 then true
381383 else throw("payment amount must be equal pendingWithdrawals")]
382384 if ((checks == checks))
383385 then if ((baseAssetStr != pmtAssetStr))
384386 then throw("attached payment's asset id is NOT matched passed baseAssetStr")
385387 else if ((size(i.payments) > 1))
386388 then throw("only one payment can be attached")
387389 else if ((100 > (height - topUpLastHeight)))
388390 then throw("1 topUp per 100 blocks from the same address is allowed")
389391 else {
390392 let newBalance = (balanceOrZero(pmtAssetStr) + delta)
391393 let price = genericCalcPrice(newBalance, internalBaseAssetStr, pmtAssetId, pmt.amount, shareAssetId, decimalsMultBothAssets, decimalsMultPrice)._1
392394 [IntegerEntry(keyPriceLast(internalBaseAssetStr), price), IntegerEntry(keyPriceHistory(internalBaseAssetStr, height, lastBlock.timestamp), price), IntegerEntry(topUpLastHeightKEY, height), IntegerEntry(keyBalance(pmtAssetStr), newBalance), IntegerEntry(keyPendingWithdrawals(pmtAssetStr), 0)]
393395 }
394396 else throw("Strict value is not equal to itself.")
395397 }
396398
397399
398400
399401 @Callable(i)
400402 func currentSysParamsREST (baseAssetStr) = {
401403 let sysStateTuple = privateCurrentSysParamsREST(baseAssetStr)
402404 let price = sysStateTuple._1.value
403405 let decimalsMultPrice = sysStateTuple._2.value
404406 let baseAssetBalance = sysStateTuple._3.value
405407 let totalLockedBaseAmount = sysStateTuple._4.value
406408 let baseAssetBalanceConsideringLock = sysStateTuple._5.value
407409 let shareEmission = sysStateTuple._6.value
408410 let restData = makeString(["startCurrentSysParamsREST", toString(price), toString(decimalsMultPrice), toString(baseAssetBalance), toString(totalLockedBaseAmount), toString(baseAssetBalanceConsideringLock), toString(shareEmission), "endCurrentSysParamsREST"], SEP)
409411 throw(restData)
410412 }
411413
412414
413415
414416 @Callable(i)
415417 func setManager (pendingManagerPublicKey) = {
416418 let checkCaller = mustManager(i)
417419 if ((checkCaller == checkCaller))
418420 then {
419421 let checkManagerPublicKey = fromBase58String(pendingManagerPublicKey)
420422 if ((checkManagerPublicKey == checkManagerPublicKey))
421423 then [StringEntry(keyPendingManagerPublicKey(), pendingManagerPublicKey)]
422424 else throw("Strict value is not equal to itself.")
423425 }
424426 else throw("Strict value is not equal to itself.")
425427 }
426428
427429
428430
429431 @Callable(i)
430432 func confirmManager () = {
431433 let pm = pendingManagerPublicKeyOrUnit()
432434 let hasPM = if (isDefined(pm))
433435 then true
434436 else throw("no pending manager")
435437 if ((hasPM == hasPM))
436438 then {
437439 let checkPM = if ((i.callerPublicKey == value(pm)))
438440 then true
439441 else throw("you are not pending manager")
440442 if ((checkPM == checkPM))
441443 then [StringEntry(keyManagerPublicKey(), toBase58String(value(pm))), DeleteEntry(keyPendingManagerPublicKey())]
442444 else throw("Strict value is not equal to itself.")
443445 }
444446 else throw("Strict value is not equal to itself.")
445447 }
446448
447449
448450 @Verifier(tx)
449451 func verify () = {
450452 let targetPublicKey = match managerPublicKeyOrUnit() {
451453 case pk: ByteVector =>
452454 pk
453455 case _: Unit =>
454456 tx.senderPublicKey
455457 case _ =>
456458 throw("Match error")
457459 }
458460 sigVerify(tx.bodyBytes, tx.proofs[0], targetPublicKey)
459461 }
460462

github/deemru/w8io/026f985 
80.82 ms