tx · F69RQ8RPSuLThqXiqBsEtMxXph9jRYqf78eTixLePs6u

3NCroKxpCWCYijwjiVBg6hc2T7DaajrHuBr:  -0.02900000 Waves

2022.06.17 12:45 [2100208] smart account 3NCroKxpCWCYijwjiVBg6hc2T7DaajrHuBr > SELF 0.00000000 Waves

{ "type": 13, "id": "F69RQ8RPSuLThqXiqBsEtMxXph9jRYqf78eTixLePs6u", "fee": 2900000, "feeAssetId": null, "timestamp": 1655459171962, "version": 1, "sender": "3NCroKxpCWCYijwjiVBg6hc2T7DaajrHuBr", "senderPublicKey": "4j5ighurrUZ2WcdBTRGqBfXs5fz9YDA76D4gtpZ9basj", "proofs": [ "5yryJsWi8PKEirbiJLQEsihMQkfTCL13YDZgBsMhb4W4imHVgrh7hqRTMHkfUvmZxZSnBVny3VU5sZivXHDeAK2L" ], "script": "base64:AAIFAAAAAAAAADQIAhIDCgEIEgkKBwgICAgBCAgSAwoBARIAEgASBQoDCAgIEgQKAggBEgMKAQgSAwoBCBIAAAAAOQAAAAADU0VQAgAAAAJfXwAAAAAFRU1QVFkCAAAAAAEAAAAPZ2V0U3RyaW5nT3JGYWlsAAAAAQAAAANrZXkJAQAAABN2YWx1ZU9yRXJyb3JNZXNzYWdlAAAAAgkABB0AAAACBQAAAAR0aGlzBQAAAANrZXkJAAEsAAAAAgIAAAAVTm8gZGF0YSBmb3IgdGhpcy5rZXk9BQAAAANrZXkBAAAAEGdldEJvb2xlYW5PckZhaWwAAAABAAAAA2tleQkBAAAAE3ZhbHVlT3JFcnJvck1lc3NhZ2UAAAACCQAEGwAAAAIFAAAABHRoaXMFAAAAA2tleQkAASwAAAACAgAAABVObyBkYXRhIGZvciB0aGlzLmtleT0FAAAAA2tleQEAAAATa2V5TWFuYWdlclB1YmxpY0tleQAAAAAJAAS5AAAAAgkABEwAAAACAgAAAAIlcwkABEwAAAACAgAAABBtYW5hZ2VyUHVibGljS2V5BQAAAANuaWwFAAAAA1NFUAEAAAAaa2V5UGVuZGluZ01hbmFn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IFAAAAByRtYXRjaDACAAAABFVuaXQIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkJAAACAAAAAQIAAAALTWF0Y2ggZXJyb3IJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAA90YXJnZXRQdWJsaWNLZXlJ58Oh", "chainId": 84, "height": 2100208, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4gPXPAfr3Z1ZZTc1DhPNL7V3Xz96BWKSC6Nj31Wod5dY Next: D2Qiay2g9v7NPG8CgT4Byq92ZVNdJCmCYx3riJJWbSMF Diff:
OldNewDifferences
313313 else {
314314 let newBalance = (balanceOrZero(baseAssetStr) + pmt.amount)
315315 let price = getPrice(internalBaseAssetStr, baseAssetId, shareAssetId, decimalsMultBothAssets, decimalsMultPrice)._1
316- let shareAssetAmount = (pmt.amount / price)
316+ let shareAssetAmount = fraction(pmt.amount, decimalsMultPrice, price)
317317 [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), newBalance)]
318318 }
319319 }
337337 let getDelayBlocks = parseIntValue(cfgArray[IdxCfgGetDelayBlocks])
338338 let internalBaseAssetStr = cfgArray[IdxCfgInternalBaseAsset]
339339 let price = getPrice(internalBaseAssetStr, baseAssetId, shareAssetId, decimalsMultBothAssets, decimalsMultPrice)._1
340- let baseAssetAmount = (shareAssetAmount * price)
340+ let baseAssetAmount = fraction(shareAssetAmount, price, decimalsMultPrice)
341341 let operationKey = keyOperation("G", internalBaseAssetStr, userAddressStr, toBase58String(i.transactionId))
342342 let operationData = dataOperation("PENDING", shareAssetAmount, price, baseAssetAmount, height, lastBlock.timestamp, (height + getDelayBlocks), 0)
343343 [Burn(shareAssetId, shareAssetAmount), StringEntry(operationKey, operationData), incrementTotalLocked(keyTotalLocked(internalBaseAssetStr), shareAssetAmount, baseAssetAmount), incrementTotalLocked(keyTotalLockedByUser(internalBaseAssetStr, userAddressStr), shareAssetAmount, baseAssetAmount), IntegerEntry(keyBalance(baseAssetStr), (balanceOrZero(baseAssetStr) - baseAssetAmount))]
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 keyProxyAddress (assetId) = makeString(["%s%s", "proxyAddress", assetId], SEP)
3030
3131
3232 func keyBalance (assetId) = makeString(["%s%s", "balance", assetId], SEP)
3333
3434
3535 func keyNextInternalAssetId () = "%s__nextInternalAssetId"
3636
3737
3838 func keyPriceLast (internalBasetAssetStr) = ("%s%s%d__price__last__" + internalBasetAssetStr)
3939
4040
4141 func keyTopUpLastHeight (internalBasetAssetStr,sender) = makeString(["%s%s%s%d%s__topup__last__height", internalBasetAssetStr, sender], SEP)
4242
4343
4444 func keyPriceHistory (internalBasetAssetStr,h,timestamp) = makeString(["%s%s%d%d%d__price__history", internalBasetAssetStr, toString(h), toString(timestamp)], SEP)
4545
4646
4747 func keyTotalLocked (internalBasetAssetStr) = ("%s%s%d__total__locked__" + internalBasetAssetStr)
4848
4949
5050 func keyTotalLockedByUser (internalBaseAssetStr,userAddressStr) = makeString(["%s%s%d%s__total__locked", internalBaseAssetStr, userAddressStr], SEP)
5151
5252
5353 func keyMappingsInternal2baseAssetId (internalBaseAsset) = ("%s%s%d__mappings__internal2baseAssetId__" + toString(internalBaseAsset))
5454
5555
5656 func keyMappingsBaseAsset2internalId (baseAssetStr) = ("%s%s%s__mappings__baseAsset2internalId__" + baseAssetStr)
5757
5858
5959 func keyMappingsShare2baseAssetId (shareAssetStr) = ("%s%s%s__mappings__share2baseAssetId__" + shareAssetStr)
6060
6161
6262 func keyMappingsBaseAsset2shareId (baseAssetStr) = ("%s%s%s__mappings__baseAsset2shareId__" + baseAssetStr)
6363
6464
6565 func keyShutdownPutOperation (internalBaseAssetStr) = ("%s%s%d__shutdown__put__" + internalBaseAssetStr)
6666
6767
6868 func keyShutdownManager (internalBaseAssetStr) = ("%s%s%d__shutdown__manager__" + internalBaseAssetStr)
6969
7070
7171 func assetsStoreContract () = addressFromStringValue(value(getString(keyAssetsStoreContract())))
7272
7373
7474 let IdxCfgShareAssetId = 1
7575
7676 let IdxCfgInternalBaseAsset = 2
7777
7878 let IdxCfgDecimalsMultBothAssets = 3
7979
8080 let IdxCfgDecimalsMultPrice = 4
8181
8282 let IdxCfgGetDelayBlocks = 5
8383
8484 func dataAssetCfg (shareAssetStr,internalBaseAssetStr,decimalsMultBothAssets,decimalsMultPrice,getDelayInBlocks) = makeString(["%s%d%d%d%d", shareAssetStr, internalBaseAssetStr, toString(decimalsMultBothAssets), toString(decimalsMultPrice), toString(getDelayInBlocks)], SEP)
8585
8686
8787 let IdxTotalLockedShare = 1
8888
8989 let IdxTotalLockedBase = 2
9090
9191 func dataTotalLocked (shareAssetAmount,baseAssetAmount) = makeString(["%d%d", toString(shareAssetAmount), toString(baseAssetAmount)], SEP)
9292
9393
9494 func readTotalLocked (key) = {
9595 let totalLockedArray = split(valueOrElse(getString(this, key), dataTotalLocked(0, 0)), SEP)
9696 [-1, parseIntValue(totalLockedArray[IdxTotalLockedShare]), parseIntValue(totalLockedArray[IdxTotalLockedBase])]
9797 }
9898
9999
100100 func keyOperation (operationType,internalBaseAssetStr,userAddress,txId) = makeString(["%s%d%s%s", operationType, internalBaseAssetStr, userAddress, txId], SEP)
101101
102102
103103 let IdxOperStatus = 1
104104
105105 let IdxOperInAmount = 2
106106
107107 let IdxOperPrice = 3
108108
109109 let IdxOperOutAmount = 4
110110
111111 let IdxOperStartHeight = 5
112112
113113 let IdxOperStartTimestamp = 6
114114
115115 let IdxOperEndHeight = 7
116116
117117 let IdxOperEndTimestamp = 8
118118
119119 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)
120120
121121
122122 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))
123123
124124
125125 func dataOperationExecutionUpdate (currOperArray,newStatus,newEndTimestamp) = privateDataOperationAllStrings(newStatus, currOperArray[IdxOperInAmount], currOperArray[IdxOperPrice], currOperArray[IdxOperOutAmount], currOperArray[IdxOperStartHeight], currOperArray[IdxOperStartTimestamp], currOperArray[IdxOperEndHeight], toString(newEndTimestamp))
126126
127127
128128 func readAssetCfgOrFail (baseAssetStr) = {
129129 let key = keyAssetCfg(baseAssetStr)
130130 split(getStringOrFail(key), SEP)
131131 }
132132
133133
134134 func incrementTotalLocked (key,shareAssetAmount,baseAssetAmount) = {
135135 let dataArray = readTotalLocked(key)
136136 StringEntry(key, dataTotalLocked((dataArray[IdxTotalLockedShare] + shareAssetAmount), (dataArray[IdxTotalLockedBase] + baseAssetAmount)))
137137 }
138138
139139
140140 func decrementTotalLocked (key,shareAssetAmount,baseAssetAmount) = {
141141 let dataArray = readTotalLocked(key)
142142 StringEntry(key, dataTotalLocked((dataArray[IdxTotalLockedShare] - shareAssetAmount), (dataArray[IdxTotalLockedBase] - baseAssetAmount)))
143143 }
144144
145145
146146 func managerPublicKeyOrUnit () = match getString(keyManagerPublicKey()) {
147147 case s: String =>
148148 fromBase58String(s)
149149 case _: Unit =>
150150 unit
151151 case _ =>
152152 throw("Match error")
153153 }
154154
155155
156156 func pendingManagerPublicKeyOrUnit () = match getString(keyPendingManagerPublicKey()) {
157157 case s: String =>
158158 fromBase58String(s)
159159 case _: Unit =>
160160 unit
161161 case _ =>
162162 throw("Match error")
163163 }
164164
165165
166166 func balanceOrZero (assetId) = valueOrElse(getInteger(keyBalance(assetId)), 0)
167167
168168
169169 func calcPrice (internalBaseAssetStr,baseAssetId,topUpBaseAmount,shareAssetId,decimalsMultBothAssets,decimalsMultPrice) = {
170170 let totalLockedArray = readTotalLocked(keyTotalLocked(internalBaseAssetStr))
171171 let totalLockedBaseAmount = totalLockedArray[IdxTotalLockedBase]
172172 let baseAssetBalance = balanceOrZero(toBase58String(baseAssetId))
173173 let baseAssetBalanceConsideringLock = (baseAssetBalance + topUpBaseAmount)
174174 if ((0 > baseAssetBalanceConsideringLock))
175175 then throw(((("baseAssetBalanceConsideringLock < 0: baseAssetBalance=" + toString(baseAssetBalance)) + " baseAssetBalanceConsideringLock=") + toString(baseAssetBalanceConsideringLock)))
176176 else {
177177 let shareEmission = value(assetInfo(shareAssetId)).quantity
178178 let price = if ((shareEmission == 0))
179179 then (1 * decimalsMultPrice)
180180 else fraction(baseAssetBalanceConsideringLock, decimalsMultPrice, shareEmission)
181181 $Tuple5(price, baseAssetBalance, totalLockedBaseAmount, baseAssetBalanceConsideringLock, shareEmission)
182182 }
183183 }
184184
185185
186186 func getPrice (internalBaseAssetStr,baseAssetId,shareAssetId,decimalsMultBothAssets,decimalsMultPrice) = {
187187 let totalLockedArray = readTotalLocked(keyTotalLocked(internalBaseAssetStr))
188188 let totalLockedBaseAmount = totalLockedArray[IdxTotalLockedBase]
189189 let baseAssetBalance = balanceOrZero(toBase58String(baseAssetId))
190190 let baseAssetBalanceConsideringLock = baseAssetBalance
191191 let shareEmission = value(assetInfo(shareAssetId)).quantity
192192 let price = value(getInteger(keyPriceLast(internalBaseAssetStr)))
193193 $Tuple5(price, baseAssetBalance, totalLockedBaseAmount, baseAssetBalanceConsideringLock, shareEmission)
194194 }
195195
196196
197197 func privateCurrentSysParamsREST (baseAssetStr) = {
198198 let baseAssetId = fromBase58String(baseAssetStr)
199199 let cfgArray = readAssetCfgOrFail(baseAssetStr)
200200 let shareAssetStr = cfgArray[IdxCfgShareAssetId]
201201 let shareAssetId = fromBase58String(shareAssetStr)
202202 let decimalsMultBothAssets = parseIntValue(cfgArray[IdxCfgDecimalsMultBothAssets])
203203 let decimalsMultPrice = parseIntValue(cfgArray[IdxCfgDecimalsMultPrice])
204204 let internalBaseAssetStr = cfgArray[IdxCfgInternalBaseAsset]
205205 let sysState = getPrice(internalBaseAssetStr, baseAssetId, shareAssetId, decimalsMultBothAssets, decimalsMultPrice)
206206 $Tuple6(IntegerEntry("price", sysState._1), IntegerEntry("decimalsMultPrice", decimalsMultPrice), IntegerEntry("baseAssetBalance", sysState._2), IntegerEntry("totalLockedBaseAmount", sysState._3), IntegerEntry("baseAssetBalanceConsideringLock", sysState._4), IntegerEntry("shareEmission", sysState._5))
207207 }
208208
209209
210210 func mustManager (i) = {
211211 let pd = throw("permission denied")
212212 match managerPublicKeyOrUnit() {
213213 case pk: ByteVector =>
214214 if ((i.callerPublicKey == pk))
215215 then true
216216 else pd
217217 case _: Unit =>
218218 if ((i.caller == this))
219219 then true
220220 else pd
221221 case _ =>
222222 throw("Match error")
223223 }
224224 }
225225
226226
227227 func mustProxyAddress (i,assetId) = {
228228 let isProxy = (toString(i.caller) == valueOrElse(getString(keyProxyAddress(assetId)), EMPTY))
229229 if (isProxy)
230230 then true
231231 else {
232232 let checkCaller = mustManager(i)
233233 if ((checkCaller == checkCaller))
234234 then true
235235 else throw("Strict value is not equal to itself.")
236236 }
237237 }
238238
239239
240240 @Callable(i)
241241 func constructor (assetsStoreContract) = {
242242 let checkCaller = mustManager(i)
243243 if ((checkCaller == checkCaller))
244244 then [StringEntry(keyAssetsStoreContract(), assetsStoreContract)]
245245 else throw("Strict value is not equal to itself.")
246246 }
247247
248248
249249
250250 @Callable(i)
251251 func adminRegisterAsset (baseAssetStr,shareAssetName,shareAssetDescr,shareAssetLogo,getDelayinBlocks,shutdownManagerAddress,proxyAddress) = {
252252 let baseAssetId = fromBase58String(baseAssetStr)
253253 let decimals = value(assetInfo(baseAssetId)).decimals
254254 let check = mustManager(i)
255255 if ((check == check))
256256 then if ((toString(addressFromStringValue(shutdownManagerAddress)) != shutdownManagerAddress))
257257 then throw("invalid shutdownManagerAddress")
258258 else if ((0 > getDelayinBlocks))
259259 then throw(("invalid getDelayinBlocks=" + toString(getDelayinBlocks)))
260260 else {
261261 let shareAssetIssueAction = Issue(shareAssetName, shareAssetDescr, 1, decimals, true)
262262 let shareAssetId = calculateAssetId(shareAssetIssueAction)
263263 let shareAssetStr = toBase58String(shareAssetId)
264264 let decimalsMultPrice = ((100 * 1000) * 1000)
265265 let decimalsMultBothAssets = pow(10, 0, decimals, 0, 0, DOWN)
266266 let startPrice = (1 * decimalsMultPrice)
267267 let internalBaseAssettId = valueOrElse(getInteger(this, keyNextInternalAssetId()), 0)
268268 let internalBaseAssetStr = toString(internalBaseAssettId)
269269 let createOrUpdate = invoke(assetsStoreContract(), "createOrUpdate", [shareAssetStr, shareAssetLogo, false], nil)
270270 if ((createOrUpdate == createOrUpdate))
271271 then {
272272 let addLabel = invoke(assetsStoreContract(), "addLabel", [shareAssetStr, "DEFI"], nil)
273273 if ((addLabel == addLabel))
274274 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)]
275275 else throw("Strict value is not equal to itself.")
276276 }
277277 else throw("Strict value is not equal to itself.")
278278 }
279279 else throw("Strict value is not equal to itself.")
280280 }
281281
282282
283283
284284 @Callable(i)
285285 func shutdownPut (internalBaseAssetId) = {
286286 let internalBaseAssetIdStr = toString(internalBaseAssetId)
287287 let baseAssetIdStr = getStringOrFail(keyMappingsInternal2baseAssetId(internalBaseAssetId))
288288 let shutdownManagerAddress = getStringOrFail(keyShutdownManager(internalBaseAssetIdStr))
289289 if ((1 > size(baseAssetIdStr)))
290290 then throw("invalid internalBaseAssetId")
291291 else if ((toString(i.caller) != shutdownManagerAddress))
292292 then throw("access denied")
293293 else [BooleanEntry(keyShutdownPutOperation(toString(internalBaseAssetId)), true)]
294294 }
295295
296296
297297
298298 @Callable(i)
299299 func put () = {
300300 let pmt = value(i.payments[0])
301301 let baseAssetId = value(pmt.assetId)
302302 let baseAssetStr = toBase58String(baseAssetId)
303303 let userAddressStr = toString(i.caller)
304304 let cfgArray = readAssetCfgOrFail(baseAssetStr)
305305 let shareAssetStr = cfgArray[IdxCfgShareAssetId]
306306 let shareAssetId = fromBase58String(shareAssetStr)
307307 let decimalsMultBothAssets = parseIntValue(cfgArray[IdxCfgDecimalsMultBothAssets])
308308 let decimalsMultPrice = parseIntValue(cfgArray[IdxCfgDecimalsMultPrice])
309309 let internalBaseAssetStr = cfgArray[IdxCfgInternalBaseAsset]
310310 let isPutBlocked = getBooleanOrFail(keyShutdownPutOperation(internalBaseAssetStr))
311311 if (isPutBlocked)
312312 then throw("put operation is blocked")
313313 else {
314314 let newBalance = (balanceOrZero(baseAssetStr) + pmt.amount)
315315 let price = getPrice(internalBaseAssetStr, baseAssetId, shareAssetId, decimalsMultBothAssets, decimalsMultPrice)._1
316- let shareAssetAmount = (pmt.amount / price)
316+ let shareAssetAmount = fraction(pmt.amount, decimalsMultPrice, price)
317317 [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), newBalance)]
318318 }
319319 }
320320
321321
322322
323323 @Callable(i)
324324 func submitGetRequest () = {
325325 let pmt = value(i.payments[0])
326326 let shareAssetId = value(pmt.assetId)
327327 let shareAssetStr = toBase58String(shareAssetId)
328328 let callerPubStr = toBase58String(i.callerPublicKey)
329329 let userAddress = i.caller
330330 let userAddressStr = toString(userAddress)
331331 let shareAssetAmount = pmt.amount
332332 let baseAssetStr = getStringOrFail(keyMappingsShare2baseAssetId(shareAssetStr))
333333 let baseAssetId = fromBase58String(baseAssetStr)
334334 let cfgArray = readAssetCfgOrFail(baseAssetStr)
335335 let decimalsMultBothAssets = parseIntValue(cfgArray[IdxCfgDecimalsMultBothAssets])
336336 let decimalsMultPrice = parseIntValue(cfgArray[IdxCfgDecimalsMultPrice])
337337 let getDelayBlocks = parseIntValue(cfgArray[IdxCfgGetDelayBlocks])
338338 let internalBaseAssetStr = cfgArray[IdxCfgInternalBaseAsset]
339339 let price = getPrice(internalBaseAssetStr, baseAssetId, shareAssetId, decimalsMultBothAssets, decimalsMultPrice)._1
340- let baseAssetAmount = (shareAssetAmount * price)
340+ let baseAssetAmount = fraction(shareAssetAmount, price, decimalsMultPrice)
341341 let operationKey = keyOperation("G", internalBaseAssetStr, userAddressStr, toBase58String(i.transactionId))
342342 let operationData = dataOperation("PENDING", shareAssetAmount, price, baseAssetAmount, height, lastBlock.timestamp, (height + getDelayBlocks), 0)
343343 [Burn(shareAssetId, shareAssetAmount), StringEntry(operationKey, operationData), incrementTotalLocked(keyTotalLocked(internalBaseAssetStr), shareAssetAmount, baseAssetAmount), incrementTotalLocked(keyTotalLockedByUser(internalBaseAssetStr, userAddressStr), shareAssetAmount, baseAssetAmount), IntegerEntry(keyBalance(baseAssetStr), (balanceOrZero(baseAssetStr) - baseAssetAmount))]
344344 }
345345
346346
347347
348348 @Callable(i)
349349 func executeGetRequest (baseAssetStr,userAddressStr,getTxIdStr) = {
350350 let userAddress = addressFromStringValue(userAddressStr)
351351 let assetCfgArray = readAssetCfgOrFail(baseAssetStr)
352352 let shareAssetId = fromBase58String(assetCfgArray[IdxCfgShareAssetId])
353353 let baseAssetId = fromBase58String(baseAssetStr)
354354 let internalBaseAssetStr = assetCfgArray[IdxCfgInternalBaseAsset]
355355 let operationKey = keyOperation("G", internalBaseAssetStr, userAddressStr, getTxIdStr)
356356 let operationArray = split(getStringOrFail(operationKey), SEP)
357357 let status = operationArray[IdxOperStatus]
358358 let endHeight = parseIntValue(operationArray[IdxOperEndHeight])
359359 let inShareAmount = parseIntValue(operationArray[IdxOperInAmount])
360360 let outBaseAmount = parseIntValue(operationArray[IdxOperOutAmount])
361361 if ((status != "PENDING"))
362362 then failExecuteGet("Status is not PENDING", baseAssetStr, userAddressStr, getTxIdStr)
363363 else if ((endHeight > height))
364364 then failExecuteGet(((("EndHeight[" + toString(endHeight)) + "] > ") + toString(height)), baseAssetStr, userAddressStr, getTxIdStr)
365365 else [ScriptTransfer(userAddress, outBaseAmount, baseAssetId), StringEntry(operationKey, dataOperationExecutionUpdate(operationArray, "FINISHED", lastBlock.timestamp)), decrementTotalLocked(keyTotalLocked(internalBaseAssetStr), inShareAmount, outBaseAmount), decrementTotalLocked(keyTotalLockedByUser(internalBaseAssetStr, userAddressStr), inShareAmount, outBaseAmount)]
366366 }
367367
368368
369369
370370 @Callable(i)
371371 func topUpBalance (baseAssetStr,delta) = {
372372 let assetCfgArray = readAssetCfgOrFail(baseAssetStr)
373373 let pmt = value(i.payments[0])
374374 let pmtAssetId = value(pmt.assetId)
375375 let pmtAssetStr = toBase58String(pmtAssetId)
376376 let shareAssetId = fromBase58String(assetCfgArray[IdxCfgShareAssetId])
377377 let decimalsMultBothAssets = parseIntValue(assetCfgArray[IdxCfgDecimalsMultBothAssets])
378378 let decimalsMultPrice = parseIntValue(assetCfgArray[IdxCfgDecimalsMultPrice])
379379 let internalBaseAssetStr = assetCfgArray[IdxCfgInternalBaseAsset]
380380 let topUpLastHeightKEY = keyTopUpLastHeight(internalBaseAssetStr, toString(i.caller))
381381 let topUpLastHeight = valueOrElse(getInteger(this, topUpLastHeightKEY), 0)
382382 let checks = [mustProxyAddress(i, baseAssetStr), if ((topUpLastHeight != height))
383383 then true
384384 else throw("only one topUp per block is allowed"), if ((delta > 0))
385385 then true
386386 else throw("only positive delta is allowed")]
387387 if ((checks == checks))
388388 then if ((baseAssetStr != pmtAssetStr))
389389 then throw("attached payment's asset id is NOT matched passed baseAssetStr")
390390 else if ((size(i.payments) > 1))
391391 then throw("only one payment can be attached")
392392 else {
393393 let price = calcPrice(internalBaseAssetStr, pmtAssetId, delta, shareAssetId, decimalsMultBothAssets, decimalsMultPrice)._1
394394 [IntegerEntry(keyPriceLast(internalBaseAssetStr), price), IntegerEntry(keyPriceHistory(internalBaseAssetStr, height, lastBlock.timestamp), price), IntegerEntry(topUpLastHeightKEY, height), IntegerEntry(keyBalance(pmtAssetStr), (balanceOrZero(pmtAssetStr) + delta))]
395395 }
396396 else throw("Strict value is not equal to itself.")
397397 }
398398
399399
400400
401401 @Callable(i)
402402 func currentSysParamsREST (baseAssetStr) = {
403403 let sysStateTuple = privateCurrentSysParamsREST(baseAssetStr)
404404 let price = sysStateTuple._1.value
405405 let decimalsMultPrice = sysStateTuple._2.value
406406 let baseAssetBalance = sysStateTuple._3.value
407407 let totalLockedBaseAmount = sysStateTuple._4.value
408408 let baseAssetBalanceConsideringLock = sysStateTuple._5.value
409409 let shareEmission = sysStateTuple._6.value
410410 let restData = makeString(["startCurrentSysParamsREST", toString(price), toString(decimalsMultPrice), toString(baseAssetBalance), toString(totalLockedBaseAmount), toString(baseAssetBalanceConsideringLock), toString(shareEmission), "endCurrentSysParamsREST"], SEP)
411411 throw(restData)
412412 }
413413
414414
415415
416416 @Callable(i)
417417 func setManager (pendingManagerPublicKey) = {
418418 let checkCaller = mustManager(i)
419419 if ((checkCaller == checkCaller))
420420 then {
421421 let checkManagerPublicKey = fromBase58String(pendingManagerPublicKey)
422422 if ((checkManagerPublicKey == checkManagerPublicKey))
423423 then [StringEntry(keyPendingManagerPublicKey(), pendingManagerPublicKey)]
424424 else throw("Strict value is not equal to itself.")
425425 }
426426 else throw("Strict value is not equal to itself.")
427427 }
428428
429429
430430
431431 @Callable(i)
432432 func confirmManager () = {
433433 let pm = pendingManagerPublicKeyOrUnit()
434434 let hasPM = if (isDefined(pm))
435435 then true
436436 else throw("no pending manager")
437437 if ((hasPM == hasPM))
438438 then {
439439 let checkPM = if ((i.callerPublicKey == value(pm)))
440440 then true
441441 else throw("you are not pending manager")
442442 if ((checkPM == checkPM))
443443 then [StringEntry(keyManagerPublicKey(), toBase58String(value(pm))), DeleteEntry(keyPendingManagerPublicKey())]
444444 else throw("Strict value is not equal to itself.")
445445 }
446446 else throw("Strict value is not equal to itself.")
447447 }
448448
449449
450450 @Verifier(tx)
451451 func verify () = {
452452 let targetPublicKey = match managerPublicKeyOrUnit() {
453453 case pk: ByteVector =>
454454 pk
455455 case _: Unit =>
456456 tx.senderPublicKey
457457 case _ =>
458458 throw("Match error")
459459 }
460460 sigVerify(tx.bodyBytes, tx.proofs[0], targetPublicKey)
461461 }
462462

github/deemru/w8io/169f3d6 
74.14 ms