tx · CAopTGHyJu92Xc7X8EJ8SmqEsZy6xRAKMw851gK1PPsr

3MqnjEXWG6rvvRo2UDYRANN8iWLks7snDwj:  -0.01000000 Waves

2021.12.14 16:35 [1833993] smart account 3MqnjEXWG6rvvRo2UDYRANN8iWLks7snDwj > SELF 0.00000000 Waves

{ "type": 13, "id": "CAopTGHyJu92Xc7X8EJ8SmqEsZy6xRAKMw851gK1PPsr", "fee": 1000000, "feeAssetId": null, "timestamp": 1639488981680, "version": 2, "chainId": 84, "sender": "3MqnjEXWG6rvvRo2UDYRANN8iWLks7snDwj", "senderPublicKey": "2XLAeeTTE4mSghbTZDq9wZiJkuqmdgCCAw4uy1QgYGtK", "proofs": [ "PY9tvcPcgiT6Nt6etmGemp3PVAtwEa245cLQchVdzTxvJxbqEEKLZhkbW36oHZ93axPDZuDymEX17184BNRo3JQ" ], "script": "base64:AAIFAAAAAAAAAAkIAhIAEgMKAQgAAAAIAAAAAAltYXN0ZXJhZHICAAAAIzNOOGtGVHppU3B6N1NvZG9SeEsyWDkxTFlWc0F4aVAxaUNVAAAAAAZzZXBhcmMCAAAAAXwAAAAABnNlcGFycgkAASwAAAACBQAAAAZzZXBhcmMFAAAABnNlcGFyYwAAAAAJaW5jcnByaWNlAAAAAAAAAAAhAAAAAAlpbml0cHJpY2UCAAAABjEwMDAwMAAAAAAJbWFzdGVyZmVlAAAAAAAAAAABAAAAAAV0b2tlbgUAAAAEdW5pdAAAAAAJc3Rha2VyYXRlAAAAAAAAAAABAAAAAgAAAAFpAQAAAAVyZXNldAAAAAAJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAACmludGVyZXN0aWQAAAAAAAAAAAAJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAACmxhc3RwYWlkaWQAAAAAAAAAAAAFAAAAA25pbAAAAAFpAQAAAAVwYWludAAAAAEAAAAFaWRhdGEEAAAAAmN0BAAAAAckbWF0Y2gwCQAD7QAAAAEFAAAABmhlaWdodAMJA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mNhbGxlcgkAAGUAAAACCQAAZQAAAAIFAAAACXBtdGFtb3VudAUAAAAHcGF5bWVudAUAAAAKc2VydmljZWZlZQUAAAAFdG9rZW4JAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwkBAAAAB0FkZHJlc3MAAAABCQACWQAAAAEFAAAACW1hc3RlcmFkcgUAAAAKc2VydmljZWZlZQUAAAAFdG9rZW4JAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQkAASwAAAACBQAAAAxjYWxsZXJBZHJlc3MCAAAABl9lcnJvcgUAAAADbmlsAwUAAAAHaGF2ZXBtdAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAIFAAAADGNhbGxlckFkcmVzcwIAAAAGX2Vycm9yCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIFAAAACGVycm9ycG10AgAAAAEgBQAAAAplcnJvcnRva2VuAgAAAAEgBQAAAAtlcnJvcmVub3VnaAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIFAAAACXBtdGFtb3VudAgJAAGRAAAAAggFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAAAAAAHYXNzZXRJZAUAAAADbmlsCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAEsAAAAAgUAAAAMY2FsbGVyQWRyZXNzAgAAAAZfZXJyb3IJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIFAAAACGVycm9ycG10AgAAAAEgBQAAAAplcnJvcnRva2VuAgAAAAEgBQAAAAtlcnJvcmVub3VnaAIAAAABIAUAAAAIZXJyb3J1cmwFAAAAA25pbAAAAADxqpti", "height": 1833993, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: G46ViLSiKU6e4w5gUBU1GYAeXTfKKXuACsM2rWxXquz3 Next: GN8j1jScVCgDpx7EyamdU7fdZdV2y6gEo5gjGVoTsnHo Diff:
OldNewDifferences
8181 }
8282
8383 let all = [command(0), command(1), command(2), command(3), command(4), command(5), command(6), command(7), command(8), command(9), command(10), command(11), command(12), command(13), command(14), command(15), command(16), command(17), command(18), command(19), command(20), command(21), command(22), command(23), command(24), command(25), command(26), command(27)]
84- let payment = parseIntValue(all[0][3])
84+ let payment = (((((((((((((((((((((((((((parseIntValue(all[0][3]) + parseIntValue(all[1][3])) + parseIntValue(all[2][3])) + parseIntValue(all[3][3])) + parseIntValue(all[4][3])) + parseIntValue(all[5][3])) + parseIntValue(all[6][3])) + parseIntValue(all[7][3])) + parseIntValue(all[8][3])) + parseIntValue(all[9][3])) + parseIntValue(all[10][3])) + parseIntValue(all[11][3])) + parseIntValue(all[12][3])) + parseIntValue(all[13][3])) + parseIntValue(all[14][3])) + parseIntValue(all[15][3])) + parseIntValue(all[16][3])) + parseIntValue(all[17][3])) + parseIntValue(all[18][3])) + parseIntValue(all[19][3])) + parseIntValue(all[20][3])) + parseIntValue(all[21][3])) + parseIntValue(all[22][3])) + parseIntValue(all[23][3])) + parseIntValue(all[24][3])) + parseIntValue(all[25][3])) + parseIntValue(all[26][3])) + parseIntValue(all[27][3]))
8585 let servicefee = fraction(payment, masterfee, 100)
8686 let havepmt = if ((size(i.payments) == 1))
8787 then true
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let masteradr = "3N8kFTziSpz7SodoRxK2X91LYVsAxiP1iCU"
55
66 let separc = "|"
77
88 let separr = (separc + separc)
99
1010 let incrprice = 33
1111
1212 let initprice = "100000"
1313
1414 let masterfee = 1
1515
1616 let token = unit
1717
1818 let stakerate = 1
1919
2020 @Callable(i)
2121 func reset () = [IntegerEntry("interestid", 0), IntegerEntry("lastpaidid", 0)]
2222
2323
2424
2525 @Callable(i)
2626 func paint (idata) = {
2727 let ct = match blockInfoByHeight(height) {
2828 case block: BlockInfo =>
2929 block.timestamp
3030 case _ =>
3131 0
3232 }
3333 let currenttime = parseIntValue(toString(ct))
3434 let callerAdress = toBase58String(i.caller.bytes)
3535 let reqdata = split(idata, separr)
3636 let color = if ((size(reqdata) > 1))
3737 then reqdata[1]
3838 else "0"
3939 let url = if ((size(reqdata) > 2))
4040 then reqdata[2]
4141 else ""
4242 let urlcorrect = if ((indexOf(url, separc) == unit))
4343 then true
4444 else false
4545 let pixxy = if ((size(reqdata) > 0))
4646 then split(reqdata[0], separc)
4747 else nil
4848 let number = min([28, size(pixxy)])
4949 let emptycommand = ["--", "--", masteradr, "0", "0"]
5050 let newrecord = [callerAdress, initprice, toString(currenttime), color, url]
5151 func validxy (j) = match parseInt(pixxy[j]) {
5252 case a: Int =>
5353 if (if ((parseIntValue(pixxy[j]) > -1))
5454 then (1000 > parseIntValue(pixxy[j]))
5555 else false)
5656 then parseIntValue(pixxy[j])
5757 else -1
5858 case _ =>
5959 -1
6060 }
6161
6262 func getrecord (j) = match getString(pixxy[j]) {
6363 case a: String =>
6464 getStringValue(pixxy[j])
6565 case _ =>
6666 ""
6767 }
6868
6969 func command (j) = if (if ((j > (number - 1)))
7070 then true
7171 else (0 > validxy(j)))
7272 then emptycommand
7373 else if ((getrecord(j) == ""))
7474 then [pixxy[j], makeString(newrecord, separc), masteradr, initprice]
7575 else {
7676 let oldrecord = split(getStringValue(pixxy[j]), separc)
7777 let price = parseIntValue(oldrecord[1])
7878 let stakeinterest = (((price * (currenttime - parseIntValue(oldrecord[2]))) * stakerate) % 360000000)
7979 let oldowner = oldrecord[0]
8080 [pixxy[j], makeString([callerAdress, toString(((price * (100 + incrprice)) % 100)), toString(currenttime), color, url], separc), oldowner, toString(price), toString((stakeinterest + price))]
8181 }
8282
8383 let all = [command(0), command(1), command(2), command(3), command(4), command(5), command(6), command(7), command(8), command(9), command(10), command(11), command(12), command(13), command(14), command(15), command(16), command(17), command(18), command(19), command(20), command(21), command(22), command(23), command(24), command(25), command(26), command(27)]
84- let payment = parseIntValue(all[0][3])
84+ let payment = (((((((((((((((((((((((((((parseIntValue(all[0][3]) + parseIntValue(all[1][3])) + parseIntValue(all[2][3])) + parseIntValue(all[3][3])) + parseIntValue(all[4][3])) + parseIntValue(all[5][3])) + parseIntValue(all[6][3])) + parseIntValue(all[7][3])) + parseIntValue(all[8][3])) + parseIntValue(all[9][3])) + parseIntValue(all[10][3])) + parseIntValue(all[11][3])) + parseIntValue(all[12][3])) + parseIntValue(all[13][3])) + parseIntValue(all[14][3])) + parseIntValue(all[15][3])) + parseIntValue(all[16][3])) + parseIntValue(all[17][3])) + parseIntValue(all[18][3])) + parseIntValue(all[19][3])) + parseIntValue(all[20][3])) + parseIntValue(all[21][3])) + parseIntValue(all[22][3])) + parseIntValue(all[23][3])) + parseIntValue(all[24][3])) + parseIntValue(all[25][3])) + parseIntValue(all[26][3])) + parseIntValue(all[27][3]))
8585 let servicefee = fraction(payment, masterfee, 100)
8686 let havepmt = if ((size(i.payments) == 1))
8787 then true
8888 else false
8989 let pmtamount = if (havepmt)
9090 then i.payments[0].amount
9191 else 0
9292 let tokencorrect = if (havepmt)
9393 then if ((i.payments[0].assetId == token))
9494 then true
9595 else false
9696 else false
9797 let pmtenough = if (if (tokencorrect)
9898 then (pmtamount >= (payment + servicefee))
9999 else false)
100100 then true
101101 else false
102102 let errorpmt = if (!(havepmt))
103103 then (("Attached payment is required: " + toString((payment + servicefee))) + "; ")
104104 else ""
105105 let errortoken = if (!(tokencorrect))
106106 then "works with tokens only; "
107107 else ""
108108 let errorenough = if (!(pmtenough))
109109 then (((("you give: " + toString(pmtamount)) + ", but deal needs: ") + toString((payment + servicefee))) + "; ")
110110 else ""
111111 let errorurl = if (!(urlcorrect))
112112 then "url is incorrect; "
113113 else ""
114114 let interestid = getIntegerValue("interestid")
115115 let interestidnext = (interestid + 1)
116116 if (if (pmtenough)
117117 then urlcorrect
118118 else false)
119119 then [StringEntry(all[0][0], all[0][1]), ScriptTransfer(i.caller, ((pmtamount - payment) - servicefee), token), ScriptTransfer(Address(fromBase58String(masteradr)), servicefee, token), DeleteEntry((callerAdress + "_error"))]
120120 else if (havepmt)
121121 then [StringEntry((callerAdress + "_error"), ((((errorpmt + " ") + errortoken) + " ") + errorenough)), ScriptTransfer(i.caller, pmtamount, i.payments[0].assetId)]
122122 else [StringEntry((callerAdress + "_error"), ((((((errorpmt + " ") + errortoken) + " ") + errorenough) + " ") + errorurl))]
123123 }
124124
125125

github/deemru/w8io/026f985 
30.65 ms