tx · D5Td2rbPe6mDS8JpFxjA4iKjmL2Eh7q69gtXFsJkT3FZ

3MuS6qVvhBR6wSynFRdcE3fVqmGBjoc7Hhx:  -0.01400000 Waves

2023.08.07 15:47 [2700185] smart account 3MuS6qVvhBR6wSynFRdcE3fVqmGBjoc7Hhx > SELF 0.00000000 Waves

{ "type": 13, "id": "D5Td2rbPe6mDS8JpFxjA4iKjmL2Eh7q69gtXFsJkT3FZ", "fee": 1400000, "feeAssetId": null, "timestamp": 1691412554344, "version": 2, "chainId": 84, "sender": "3MuS6qVvhBR6wSynFRdcE3fVqmGBjoc7Hhx", "senderPublicKey": "62CHk4MqTdq3LqeUycy7TPnpvwrjgerSa2FqAY2EafXn", "proofs": [ "bQSuYtZ5qCcjGcZabzcrsPGVRzzV6XxnbiEnZfVgp2heCLhWKvs7r7eQqrmC88Z6iRFGqsaF1jhjxwxvXPbLANp" ], "script": "base64:BwJuCAISBAoCCAgSBAoCCAESBAoCCAQSBAoCCAISAwoBCBIDCgEBEgMKAQESBQoDAgECEgUKAwIYGBIECgICARIECgICARIFCgMBAQESBQoDAQEBEgASAwoBCBIAEgASAwoBCBIAEgQKAggIEgMKAQgxAANTRVACAl9fAAVXQVZFUwIFV0FWRVMAEGNvbnRyYWN0RmlsZW5hbWUCDGZhY3RvcnkucmlkZQEHd3JhcEVycgEBcwkArAICCQCsAgIFEGNvbnRyYWN0RmlsZW5hbWUCAjogBQFzAQh0aHJvd0VycgEBcwkAAgEJAQd3cmFwRXJyAQUBcwEPc3RyaW5nVG9Bc3NldElkAQFzAwkAAAIFAXMFBVdBVkVTBQR1bml0CQDZBAEFAXMAD0FETUlOX0xJU1RfU0laRQAFAAZRVU9SVU0AAwARVFhJRF9CWVRFU19MRU5HVEgAIAEYa2V5QWxsb3dlZFR4SWRWb3RlUHJlZml4AQR0eElkCQC5CQIJAMwIAgIGJXMlcyVzCQDMCAICCWFsbG93VHhJZAkAzAgCBQR0eElkBQNuaWwFA1NFUAEQa2V5RnVsbEFk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185, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: FnjdA9Rj9FxjWAKpa45AtPk5xfNBPzmKCN2dqmAzu8xx Next: EP1UgKEVvxPxEhFsGZUbi8MrsVjuyR7Xbp1w4fdE1Pd3 Diff:
OldNewDifferences
414414
415415
416416 @Callable(i)
417+func claimCollateralREADONLY (userAddress,txIdStr) = $Tuple2(nil, reentrantInvoke(calculatorAddressOrFail, "claimCollateralREADONLY", [fromBase58String(userAddress), fromBase58String(txIdStr)], nil))
418+
419+
420+
421+@Callable(i)
417422 func voteForTxId (txId) = {
418423 let callerAddressString = toBase58String(i.caller.bytes)
419424 let keyPrefix = keyAllowedTxIdVotePrefix(txId)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 7 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let SEP = "__"
55
66 let WAVES = "WAVES"
77
88 let contractFilename = "factory.ride"
99
1010 func wrapErr (s) = ((contractFilename + ": ") + s)
1111
1212
1313 func throwErr (s) = throw(wrapErr(s))
1414
1515
1616 func stringToAssetId (s) = if ((s == WAVES))
1717 then unit
1818 else fromBase58String(s)
1919
2020
2121 let ADMIN_LIST_SIZE = 5
2222
2323 let QUORUM = 3
2424
2525 let TXID_BYTES_LENGTH = 32
2626
2727 func keyAllowedTxIdVotePrefix (txId) = makeString(["%s%s%s", "allowTxId", txId], SEP)
2828
2929
3030 func keyFullAdminVote (prefix,adminAddress) = makeString([prefix, adminAddress], SEP)
3131
3232
3333 func keyAdminAddressList () = makeString(["%s", "adminAddressList"], SEP)
3434
3535
3636 func keyAllowedTxId () = makeString(["%s", "txId"], SEP)
3737
3838
3939 func getAdminVote (prefix,admin) = {
4040 let voteKey = keyFullAdminVote(prefix, admin)
4141 valueOrElse(getInteger(voteKey), 0)
4242 }
4343
4444
4545 func getAdminsList () = match getString(this, keyAdminAddressList()) {
4646 case s: String =>
4747 split(s, SEP)
4848 case _ =>
4949 nil
5050 }
5151
5252
5353 func isInAdminList (address) = containsElement(getAdminsList(), address)
5454
5555
5656 func genVotesKeysHelper (a,adminAddress) = {
5757 let $t013751399 = a
5858 let result = $t013751399._1
5959 let prefix = $t013751399._2
6060 $Tuple2((result :+ keyFullAdminVote(prefix, adminAddress)), prefix)
6161 }
6262
6363
6464 func genVotesKeys (keyPrefix) = {
6565 let adminList = keyAdminAddressList()
6666 let $t015461630 = {
6767 let $l = getAdminsList()
6868 let $s = size($l)
6969 let $acc0 = $Tuple2(nil, keyPrefix)
7070 func $f0_1 ($a,$i) = if (($i >= $s))
7171 then $a
7272 else genVotesKeysHelper($a, $l[$i])
7373
7474 func $f0_2 ($a,$i) = if (($i >= $s))
7575 then $a
7676 else throw("List size exceeds 5")
7777
7878 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5)
7979 }
8080 let result = $t015461630._1
8181 let prefix = $t015461630._2
8282 result
8383 }
8484
8585
8686 func countVotesHelper (result,voteKey) = (result + valueOrElse(getInteger(voteKey), 0))
8787
8888
8989 func countVotes (prefix) = {
9090 let votes = genVotesKeys(prefix)
9191 let $l = votes
9292 let $s = size($l)
9393 let $acc0 = 0
9494 func $f0_1 ($a,$i) = if (($i >= $s))
9595 then $a
9696 else countVotesHelper($a, $l[$i])
9797
9898 func $f0_2 ($a,$i) = if (($i >= $s))
9999 then $a
100100 else throw("List size exceeds 5")
101101
102102 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5)
103103 }
104104
105105
106106 func clearVotesHelper (result,key) = (result :+ DeleteEntry(key))
107107
108108
109109 func getClearVoteEntries (prefix) = {
110110 let votes = genVotesKeys(prefix)
111111 let $l = votes
112112 let $s = size($l)
113113 let $acc0 = nil
114114 func $f0_1 ($a,$i) = if (($i >= $s))
115115 then $a
116116 else clearVotesHelper($a, $l[$i])
117117
118118 func $f0_2 ($a,$i) = if (($i >= $s))
119119 then $a
120120 else throw("List size exceeds 5")
121121
122122 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5)
123123 }
124124
125125
126126 func voteINTERNAL (callerAddressString,keyPrefix,minVotes,voteResult) = {
127127 let voteKey = keyFullAdminVote(keyPrefix, callerAddressString)
128128 let adminCurrentVote = getAdminVote(keyPrefix, callerAddressString)
129129 let err = if (!(isInAdminList(callerAddressString)))
130130 then throwErr((("Address: " + callerAddressString) + " not in Admin list"))
131131 else if ((adminCurrentVote == 1))
132132 then throwErr((voteKey + " you already voted"))
133133 else unit
134134 if ((err == err))
135135 then {
136136 let votes = countVotes(keyPrefix)
137137 if (((votes + 1) >= minVotes))
138138 then {
139139 let clearVoteEntries = getClearVoteEntries(keyPrefix)
140140 (clearVoteEntries ++ voteResult)
141141 }
142142 else [IntegerEntry(voteKey, 1)]
143143 }
144144 else throw("Strict value is not equal to itself.")
145145 }
146146
147147
148148 func keyCalculatorAddress () = "%s__calculator"
149149
150150
151151 func keyProxyTreasuryAddress () = "%s__proxyTreasury"
152152
153153
154154 func keyChildAddress () = "%s__child"
155155
156156
157157 func keyBlockProcessingReward () = "%s__blockProcessingReward"
158158
159159
160160 func keyNextBlockToProcess () = "%s__nextBlockToProcess"
161161
162162
163163 func keyLpAssetId () = "%s__lpAssetId"
164164
165165
166166 let calculatorAddressOption = match getString(this, keyCalculatorAddress()) {
167167 case s: String =>
168168 addressFromString(s)
169169 case _: Unit =>
170170 unit
171171 case _ =>
172172 throw("Match error")
173173 }
174174
175175 let calculatorAddressOrFail = valueOrErrorMessage(calculatorAddressOption, wrapErr("invalid calculator address"))
176176
177177 let proxyTreasuryAddressOption = match getString(this, keyProxyTreasuryAddress()) {
178178 case s: String =>
179179 addressFromString(s)
180180 case _: Unit =>
181181 unit
182182 case _ =>
183183 throw("Match error")
184184 }
185185
186186 let proxyTreasuryAddressOrFail = valueOrErrorMessage(proxyTreasuryAddressOption, wrapErr("invalid proxy treasury address"))
187187
188188 func keyConfigAddress () = "%s__config"
189189
190190
191191 func keyChildrenAddress () = "contract_children"
192192
193193
194194 func keyVotingResultAddress () = "contract_voting_result"
195195
196196
197197 func keyProposalAllowBroadcast (address,txId) = ((("proposal_allow_broadcast_" + toString(address)) + "_") + toBase58String(txId))
198198
199199
200200 func keyInvestedByUser (childAddress,userAddress) = makeString(["investor", toString(childAddress), toString(userAddress)], "_")
201201
202202
203203 let configAddressOption = match getString(this, keyConfigAddress()) {
204204 case s: String =>
205205 addressFromString(s)
206206 case _: Unit =>
207207 unit
208208 case _ =>
209209 throw("Match error")
210210 }
211211
212212 let configAddressOrFail = valueOrErrorMessage(configAddressOption, wrapErr("invalid config address"))
213213
214214 let votingResultAddressOption = match configAddressOption {
215215 case a: Address =>
216216 match getString(a, keyVotingResultAddress()) {
217217 case s: String =>
218218 addressFromString(s)
219219 case _: Unit =>
220220 unit
221221 case _ =>
222222 throw("Match error")
223223 }
224224 case _: Unit =>
225225 unit
226226 case _ =>
227227 throw("Match error")
228228 }
229229
230230 let votingResultAddressOrFail = valueOrErrorMessage(votingResultAddressOption, wrapErr("invalid voting result address"))
231231
232232 let childrenAddressOption = match configAddressOption {
233233 case a: Address =>
234234 match getString(a, keyChildrenAddress()) {
235235 case s: String =>
236236 addressFromString(s)
237237 case _: Unit =>
238238 unit
239239 case _ =>
240240 throw("Match error")
241241 }
242242 case _: Unit =>
243243 unit
244244 case _ =>
245245 throw("Match error")
246246 }
247247
248248 let childrenAddressOrFail = valueOrErrorMessage(childrenAddressOption, wrapErr("invalid children address"))
249249
250250 let lpAssetIdOption = match getString(this, keyLpAssetId()) {
251251 case s: String =>
252252 fromBase58String(s)
253253 case _: Unit =>
254254 unit
255255 case _ =>
256256 throw("Match error")
257257 }
258258
259259 let lpAssetIdOrFail = valueOrErrorMessage(lpAssetIdOption, wrapErr("invalid lpAssetId"))
260260
261261 func onlyAddress (i,address) = if ((i.caller == address))
262262 then true
263263 else throwErr("permission denied")
264264
265265
266266 func onlyThis (i) = onlyAddress(i, this)
267267
268268
269269 func onlyCalculator (i) = onlyAddress(i, calculatorAddressOrFail)
270270
271271
272272 @Callable(i)
273273 func stringEntry (key,val) = if (onlyCalculator(i))
274274 then $Tuple2([StringEntry(key, val)], key)
275275 else $Tuple2(nil, unit)
276276
277277
278278
279279 @Callable(i)
280280 func integerEntry (key,val) = if (onlyCalculator(i))
281281 then $Tuple2([IntegerEntry(key, val)], key)
282282 else $Tuple2(nil, unit)
283283
284284
285285
286286 @Callable(i)
287287 func booleanEntry (key,val) = if (onlyCalculator(i))
288288 then $Tuple2([BooleanEntry(key, val)], key)
289289 else $Tuple2(nil, unit)
290290
291291
292292
293293 @Callable(i)
294294 func binaryEntry (key,val) = if (onlyCalculator(i))
295295 then $Tuple2([BinaryEntry(key, val)], key)
296296 else $Tuple2(nil, unit)
297297
298298
299299
300300 @Callable(i)
301301 func deleteEntry (key) = if (onlyCalculator(i))
302302 then $Tuple2([DeleteEntry(key)], key)
303303 else $Tuple2(nil, unit)
304304
305305
306306
307307 @Callable(i)
308308 func reissue (amount) = if (onlyCalculator(i))
309309 then $Tuple2([Reissue(lpAssetIdOrFail, amount, true)], amount)
310310 else $Tuple2(nil, unit)
311311
312312
313313
314314 @Callable(i)
315315 func burn (amount) = if (onlyCalculator(i))
316316 then $Tuple2([Burn(lpAssetIdOrFail, amount)], amount)
317317 else $Tuple2(nil, unit)
318318
319319
320320
321321 @Callable(i)
322322 func transferAsset (recepientBytes,amount,assetId) = if (onlyCalculator(i))
323323 then $Tuple2([ScriptTransfer(Address(recepientBytes), amount, assetId)], amount)
324324 else $Tuple2(nil, unit)
325325
326326
327327
328328 @Callable(i)
329329 func transferAssets (recepientBytes,assetsList,amountsList) = if (onlyCalculator(i))
330330 then {
331331 func addNewTransfer (accum,nextAssetId) = {
332332 let $t074577483 = accum
333333 let transfers = $t074577483._1
334334 let j = $t074577483._2
335335 let newTransfer = ScriptTransfer(Address(recepientBytes), parseIntValue(amountsList[j]), stringToAssetId(assetsList[j]))
336336 let updatedTransfers = (transfers :+ newTransfer)
337337 $Tuple2(updatedTransfers, (j + 1))
338338 }
339339
340340 let $t077437824 = {
341341 let $l = assetsList
342342 let $s = size($l)
343343 let $acc0 = $Tuple2(nil, 0)
344344 func $f0_1 ($a,$i) = if (($i >= $s))
345345 then $a
346346 else addNewTransfer($a, $l[$i])
347347
348348 func $f0_2 ($a,$i) = if (($i >= $s))
349349 then $a
350350 else throw("List size exceeds 10")
351351
352352 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
353353 }
354354 let assetsTransfers = $t077437824._1
355355 let _lastIndex = $t077437824._2
356356 $Tuple2(assetsTransfers, unit)
357357 }
358358 else $Tuple2(nil, unit)
359359
360360
361361
362362 @Callable(i)
363363 func transferWaves (recepientBytes,amount) = if (onlyCalculator(i))
364364 then $Tuple2([ScriptTransfer(Address(recepientBytes), amount, unit)], amount)
365365 else $Tuple2(nil, unit)
366366
367367
368368
369369 @Callable(i)
370370 func transferFromProxyTreasury (recipientBytes,rewardsAmount) = if (onlyCalculator(i))
371371 then $Tuple2(nil, invoke(proxyTreasuryAddressOrFail, "transferWaves", [recipientBytes, rewardsAmount], nil))
372372 else $Tuple2(nil, unit)
373373
374374
375375
376376 @Callable(i)
377377 func finalize (newTreasuryVolumeInWaves,pwrManagersBonusInWaves,treasuryVolumeDiffAllocationCoef) = $Tuple2(nil, reentrantInvoke(calculatorAddressOrFail, "finalize", [i.caller.bytes, newTreasuryVolumeInWaves, pwrManagersBonusInWaves, treasuryVolumeDiffAllocationCoef], i.payments))
378378
379379
380380
381381 @Callable(i)
382382 func finalizeREADONLY (newTreasuryVolumeInWaves,pwrManagersBonusInWaves,treasuryVolumeDiffAllocationCoef) = $Tuple2(nil, reentrantInvoke(calculatorAddressOrFail, "finalizeREADONLY", [newTreasuryVolumeInWaves, pwrManagersBonusInWaves, treasuryVolumeDiffAllocationCoef], nil))
383383
384384
385385
386386 @Callable(i)
387387 func claimLP () = $Tuple2(nil, reentrantInvoke(calculatorAddressOrFail, "claimLP", [i.caller.bytes], i.payments))
388388
389389
390390
391391 @Callable(i)
392392 func claimCollateral (txIdStr) = $Tuple2(nil, reentrantInvoke(calculatorAddressOrFail, "claimCollateral", [i.caller.bytes, fromBase58String(txIdStr)], i.payments))
393393
394394
395395
396396 @Callable(i)
397397 func invest () = $Tuple2(nil, reentrantInvoke(calculatorAddressOrFail, "invest", [i.caller.bytes], i.payments))
398398
399399
400400
401401 @Callable(i)
402402 func withdraw () = $Tuple2(nil, reentrantInvoke(calculatorAddressOrFail, "withdraw", [i.caller.bytes], i.payments))
403403
404404
405405
406406 @Callable(i)
407407 func cancelWithdraw (txIdStr) = $Tuple2(nil, reentrantInvoke(calculatorAddressOrFail, "cancelWithdraw", [i.caller.bytes, fromBase58String(txIdStr)], i.payments))
408408
409409
410410
411411 @Callable(i)
412412 func processBlocks () = $Tuple2(nil, reentrantInvoke(calculatorAddressOrFail, "processBlocks", [i.caller.bytes], i.payments))
413413
414414
415415
416416 @Callable(i)
417+func claimCollateralREADONLY (userAddress,txIdStr) = $Tuple2(nil, reentrantInvoke(calculatorAddressOrFail, "claimCollateralREADONLY", [fromBase58String(userAddress), fromBase58String(txIdStr)], nil))
418+
419+
420+
421+@Callable(i)
417422 func voteForTxId (txId) = {
418423 let callerAddressString = toBase58String(i.caller.bytes)
419424 let keyPrefix = keyAllowedTxIdVotePrefix(txId)
420425 let result = [StringEntry(keyAllowedTxId(), txId)]
421426 let allowedTxIdOption = getString(this, keyAllowedTxId())
422427 let err = [if ((size(fromBase58String(txId)) == TXID_BYTES_LENGTH))
423428 then true
424429 else throwErr((txId + " is not valid txId")), if (if ((allowedTxIdOption == unit))
425430 then true
426431 else (value(allowedTxIdOption) != txId))
427432 then true
428433 else throwErr((txId + " is already allowed"))]
429434 if ((err == err))
430435 then voteINTERNAL(callerAddressString, keyPrefix, QUORUM, result)
431436 else throw("Strict value is not equal to itself.")
432437 }
433438
434439
435440 @Verifier(tx)
436441 func verify () = {
437442 let byProposal = match votingResultAddressOption {
438443 case proposalAddress: Address =>
439444 valueOrElse(getBoolean(proposalAddress, keyProposalAllowBroadcast(this, tx.id)), false)
440445 case _ =>
441446 false
442447 }
443448 let byAdmins = (tx.id == fromBase58String(valueOrElse(getString(this, keyAllowedTxId()), "")))
444449 let byOwner = if ((size(getAdminsList()) >= QUORUM))
445450 then false
446451 else sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
447452 if (if (byProposal)
448453 then true
449454 else byAdmins)
450455 then true
451456 else byOwner
452457 }
453458

github/deemru/w8io/026f985 
101.52 ms