tx · 6Uud5jtgzJZTbJErU9DKuciqPrEQktz1oC1SWw3uAKgW

3MqnjEXWG6rvvRo2UDYRANN8iWLks7snDwj:  -0.01000000 Waves

2021.12.14 16:17 [1833975] smart account 3MqnjEXWG6rvvRo2UDYRANN8iWLks7snDwj > SELF 0.00000000 Waves

{ "type": 13, "id": "6Uud5jtgzJZTbJErU9DKuciqPrEQktz1oC1SWw3uAKgW", "fee": 1000000, "feeAssetId": null, "timestamp": 1639487940002, "version": 2, "chainId": 84, "sender": "3MqnjEXWG6rvvRo2UDYRANN8iWLks7snDwj", "senderPublicKey": "2XLAeeTTE4mSghbTZDq9wZiJkuqmdgCCAw4uy1QgYGtK", "proofs": [ "TeNtedyTVrFEGi8Mi9aYHXiCNCENjAHCYnRqyweUZnRdFKiv9SxvJCuadAvBhd2jRVqjwizLyPXqY5aavpee5w8" ], "script": "base64:AAIFAAAAAAAAAAkIAhIAEgMKAQgAAAAIAAAAAAltYXN0ZXJhZHICAAAAIzNOOGtGVHppU3B6N1NvZG9SeEsyWDkxTFlWc0F4aVAxaUNVAAAAAAZzZXBhcmMCAAAAAXwAAAAABnNlcGFycgkAASwAAAACBQAAAAZzZXBhcmMFAAAABnNlcGFyYwAAAAAJaW5jcnByaWNlAAAAAAAAAAAhAAAAAAlpbml0cHJpY2UCAAAABjEwMDAwMAAAAAAJbWFzdGVyZmVlAAAAAAAAAAABAAAAAAV0b2tlbgUAAAAEdW5pdAAAAAAJc3Rha2VyYXRlAAAAAAAAAAABAAAAAgAAAAFpAQAAAAVyZXNldAAAAAAJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAACmludGVyZXN0aWQAAAAAAAAAAAAJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAACmxhc3RwYWlkaWQAAAAAAAAAAAAFAAAAA25pbAAAAAFpAQAAAAVwYWludAAAAAEAAAAFaWRhdGEEAAAAAmN0BAAAAAckbWF0Y2gwCQAD7QAAAAEFAAAABmhlaWdodAM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3RlcmFkcgUAAAAKc2VydmljZWZlZQUAAAAFdG9rZW4JAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQkAASwAAAACBQAAAAxjYWxsZXJBZHJlc3MCAAAABl9lcnJvcgUAAAADbmlsAwUAAAAHaGF2ZXBtdAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAIFAAAADGNhbGxlckFkcmVzcwIAAAAGX2Vycm9yCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIFAAAACGVycm9ycG10AgAAAAEgBQAAAAplcnJvcnRva2VuAgAAAAEgBQAAAAtlcnJvcmVub3VnaAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIFAAAACXBtdGFtb3VudAgJAAGRAAAAAggFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAAAAAAHYXNzZXRJZAUAAAADbmlsCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAEsAAAAAgUAAAAMY2FsbGVyQWRyZXNzAgAAAAZfZXJyb3IJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIFAAAACGVycm9ycG10AgAAAAEgBQAAAAplcnJvcnRva2VuAgAAAAEgBQAAAAtlcnJvcmVub3VnaAIAAAABIAUAAAAIZXJyb3J1cmwFAAAAA25pbAAAAACadWGV", "height": 1833975, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3DJigWjTGaz5J2JkZt2wBpsRWc9GSioadDwHGgoPXFwM Next: 3kpKhe72Sc7PpF3LLY3MKhUgLzgvDKBDAvf8Sg1GxTU8 Diff:
OldNewDifferences
9090 then i.payments[0].amount
9191 else 0
9292 let tokencorrect = if (havepmt)
93- then if (isDefined(i.payments[0].assetId))
94- then if ((i.payments[0].assetId == token))
95- then true
96- else false
93+ then if ((i.payments[0].assetId == token))
94+ then true
9795 else false
9896 else false
9997 let pmtenough = if (if (tokencorrect)
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)]
8484 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)
93- then if (isDefined(i.payments[0].assetId))
94- then if ((i.payments[0].assetId == token))
95- then true
96- else false
93+ then if ((i.payments[0].assetId == token))
94+ then true
9795 else false
9896 else false
9997 let pmtenough = if (if (tokencorrect)
10098 then (pmtamount >= (payment + servicefee))
10199 else false)
102100 then true
103101 else false
104102 let errorpmt = if (!(havepmt))
105103 then (("Attached payment is required: " + toString((payment + servicefee))) + "; ")
106104 else ""
107105 let errortoken = if (!(tokencorrect))
108106 then "works with tokens only; "
109107 else ""
110108 let errorenough = if (!(pmtenough))
111109 then (((("you give: " + toString(pmtamount)) + ", but deal needs: ") + toString((payment + servicefee))) + "; ")
112110 else ""
113111 let errorurl = if (!(urlcorrect))
114112 then "url is incorrect; "
115113 else ""
116114 let interestid = getIntegerValue("interestid")
117115 let interestidnext = (interestid + 1)
118116 if (if (pmtenough)
119117 then urlcorrect
120118 else false)
121119 then [StringEntry(all[0][0], all[0][1]), ScriptTransfer(Address(fromBase58String(all[0][2])), parseIntValue(all[0][4]), token), StringEntry(all[1][0], all[1][1]), ScriptTransfer(Address(fromBase58String(all[1][2])), parseIntValue(all[1][4]), token), StringEntry(all[2][0], all[2][1]), ScriptTransfer(Address(fromBase58String(all[2][2])), parseIntValue(all[2][4]), token), StringEntry(all[3][0], all[3][1]), ScriptTransfer(Address(fromBase58String(all[3][2])), parseIntValue(all[3][4]), token), StringEntry(all[4][0], all[4][1]), ScriptTransfer(Address(fromBase58String(all[4][2])), parseIntValue(all[4][4]), token), StringEntry(all[5][0], all[5][1]), ScriptTransfer(Address(fromBase58String(all[5][2])), parseIntValue(all[5][4]), token), StringEntry(all[6][0], all[6][1]), ScriptTransfer(Address(fromBase58String(all[6][2])), parseIntValue(all[6][4]), token), StringEntry(all[7][0], all[7][1]), ScriptTransfer(Address(fromBase58String(all[7][2])), parseIntValue(all[7][4]), token), StringEntry(all[8][0], all[8][1]), ScriptTransfer(Address(fromBase58String(all[8][2])), parseIntValue(all[8][4]), token), StringEntry(all[9][0], all[9][1]), ScriptTransfer(Address(fromBase58String(all[9][2])), parseIntValue(all[9][4]), token), StringEntry(all[10][0], all[10][1]), ScriptTransfer(Address(fromBase58String(all[10][2])), parseIntValue(all[10][4]), token), StringEntry(all[11][0], all[11][1]), ScriptTransfer(Address(fromBase58String(all[11][2])), parseIntValue(all[11][4]), token), StringEntry(all[12][0], all[12][1]), ScriptTransfer(Address(fromBase58String(all[12][2])), parseIntValue(all[12][4]), token), StringEntry(all[13][0], all[13][1]), ScriptTransfer(Address(fromBase58String(all[13][2])), parseIntValue(all[13][4]), token), StringEntry(all[14][0], all[14][1]), ScriptTransfer(Address(fromBase58String(all[14][2])), parseIntValue(all[14][4]), token), StringEntry(all[15][0], all[15][1]), ScriptTransfer(Address(fromBase58String(all[15][2])), parseIntValue(all[15][4]), token), StringEntry(all[16][0], all[16][1]), ScriptTransfer(Address(fromBase58String(all[16][2])), parseIntValue(all[16][4]), token), StringEntry(all[17][0], all[17][1]), ScriptTransfer(Address(fromBase58String(all[17][2])), parseIntValue(all[17][4]), token), StringEntry(all[18][0], all[18][1]), ScriptTransfer(Address(fromBase58String(all[18][2])), parseIntValue(all[18][4]), token), StringEntry(all[19][0], all[19][1]), ScriptTransfer(Address(fromBase58String(all[19][2])), parseIntValue(all[19][4]), token), StringEntry(all[20][0], all[20][1]), ScriptTransfer(Address(fromBase58String(all[20][2])), parseIntValue(all[20][4]), token), StringEntry(all[21][0], all[21][1]), ScriptTransfer(Address(fromBase58String(all[21][2])), parseIntValue(all[21][4]), token), StringEntry(all[22][0], all[22][1]), ScriptTransfer(Address(fromBase58String(all[22][2])), parseIntValue(all[22][4]), token), StringEntry(all[23][0], all[23][1]), ScriptTransfer(Address(fromBase58String(all[23][2])), parseIntValue(all[23][4]), token), StringEntry(all[24][0], all[24][1]), ScriptTransfer(Address(fromBase58String(all[24][2])), parseIntValue(all[24][4]), token), StringEntry(all[25][0], all[25][1]), ScriptTransfer(Address(fromBase58String(all[25][2])), parseIntValue(all[25][4]), token), StringEntry(all[26][0], all[26][1]), ScriptTransfer(Address(fromBase58String(all[26][2])), parseIntValue(all[26][4]), token), StringEntry(all[27][0], all[27][1]), ScriptTransfer(Address(fromBase58String(all[27][2])), parseIntValue(all[27][4]), token), ScriptTransfer(i.caller, ((pmtamount - payment) - servicefee), token), ScriptTransfer(Address(fromBase58String(masteradr)), servicefee, token), DeleteEntry((callerAdress + "_error"))]
122120 else if (havepmt)
123121 then [StringEntry((callerAdress + "_error"), ((((errorpmt + " ") + errortoken) + " ") + errorenough)), ScriptTransfer(i.caller, pmtamount, i.payments[0].assetId)]
124122 else [StringEntry((callerAdress + "_error"), ((((((errorpmt + " ") + errortoken) + " ") + errorenough) + " ") + errorurl))]
125123 }
126124
127125

github/deemru/w8io/026f985 
46.01 ms