tx · 5n9JBwfNVokRdvfx1U1Jji6n5ZZCXP8HSJBhHXc7Gndf

3MqnjEXWG6rvvRo2UDYRANN8iWLks7snDwj:  -0.01000000 Waves

2021.12.14 19:21 [1834156] smart account 3MqnjEXWG6rvvRo2UDYRANN8iWLks7snDwj > SELF 0.00000000 Waves

{ "type": 13, "id": "5n9JBwfNVokRdvfx1U1Jji6n5ZZCXP8HSJBhHXc7Gndf", "fee": 1000000, "feeAssetId": null, "timestamp": 1639498911502, "version": 2, "chainId": 84, "sender": "3MqnjEXWG6rvvRo2UDYRANN8iWLks7snDwj", "senderPublicKey": "2XLAeeTTE4mSghbTZDq9wZiJkuqmdgCCAw4uy1QgYGtK", "proofs": [ "3GqwXRZWz1uXNTLCk3pmyyceVfJtRV8tRdZNpXX8GkTjyStLmLtmuvXPZbeaByYHu9d99RXr8QPG2nPaRBqrzeLJ" ], "script": "base64:AAIFAAAAAAAAAAcIAhIDCgEIAAAACAAAAAAJbWFzdGVyYWRyAgAAACMzTjhrRlR6aVNwejdTb2RvUnhLMlg5MUxZVnNBeGlQMWlDVQAAAAAGc2VwYXJjAgAAAAF8AAAAAAZzZXBhcnIJAAEsAAAAAgUAAAAGc2VwYXJjBQAAAAZzZXBhcmMAAAAACWluY3JwcmljZQAAAAAAAAAAIQAAAAAJaW5pdHByaWNlAgAAAAYxMDAwMDAAAAAACW1hc3RlcmZlZQAAAAAAAAAAAQAAAAAFdG9rZW4FAAAABHVuaXQAAAAACXN0YWtlcmF0ZQAAAAAAAAAAAQAAAAEAAAABaQEAAAAFcGFpbnQAAAABAAAABWlkYXRhBAAAAAJjdAQAAAAHJG1hdGNoMAkAA+0AAAABBQAAAAZoZWlnaHQDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAACUJsb2NrSW5mbwQAAAAFYmxvY2sFAAAAByRtYXRjaDAIBQAAAAVibG9jawAAAAl0aW1lc3RhbXAAAAAAAAAAAAAEAAAAC2N1cnJlbnR0aW1lCQEAAAANcGFyc2VJbnRWY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BtdAIAAAABIAUAAAAKZXJyb3J0b2tlbgIAAAABIAUAAAALZXJyb3Jlbm91Z2gJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyBQAAAAlwbXRhbW91bnQICQABkQAAAAIIBQAAAAFpAAAACHBheW1lbnRzAAAAAAAAAAAAAAAAB2Fzc2V0SWQFAAAAA25pbAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAIFAAAADGNhbGxlckFkcmVzcwIAAAAGX2Vycm9yCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACBQAAAAhlcnJvcnBtdAIAAAABIAUAAAAKZXJyb3J0b2tlbgIAAAABIAUAAAALZXJyb3Jlbm91Z2gCAAAAASAFAAAACGVycm9ydXJsBQAAAANuaWwAAAAA25HBPw==", "height": 1834156, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9dtBoYuLVuuFyGatEXgx1v7zNfyHgWt7TenTzAJdDowG Next: 7sfA9C7bdzyvg9zw6Gr9R6dtv1xVrvvYbAsTCtRQmrBk Diff:
OldNewDifferences
6666 else (0 > validxy(j)))
6767 then emptycommand
6868 else if ((getrecord(j) == ""))
69- then [pixxy[j], makeString(newrecord, separc), masteradr, initprice, "0"]
69+ then [pixxy[j], makeString(newrecord, separc), masteradr, initprice, initprice]
7070 else {
7171 let oldrecord = split(getStringValue(pixxy[j]), separc)
7272 let price = parseIntValue(oldrecord[1])
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 paint (idata) = {
2222 let ct = match blockInfoByHeight(height) {
2323 case block: BlockInfo =>
2424 block.timestamp
2525 case _ =>
2626 0
2727 }
2828 let currenttime = parseIntValue(toString(ct))
2929 let callerAdress = toBase58String(i.caller.bytes)
3030 let reqdata = split(idata, separr)
3131 let color = if ((size(reqdata) > 1))
3232 then reqdata[1]
3333 else "0"
3434 let url = if ((size(reqdata) > 2))
3535 then reqdata[2]
3636 else ""
3737 let urlcorrect = if ((indexOf(url, separc) == unit))
3838 then true
3939 else false
4040 let pixxy = if ((size(reqdata) > 0))
4141 then split(reqdata[0], separc)
4242 else nil
4343 let number = min([28, size(pixxy)])
4444 let emptycommand = ["--", "--", masteradr, "0", "0"]
4545 let newrecord = [callerAdress, initprice, toString(currenttime), color, url]
4646 func validxy (j) = match parseInt(pixxy[j]) {
4747 case a: Int =>
4848 if (if ((parseIntValue(pixxy[j]) > -1))
4949 then (1000 > parseIntValue(pixxy[j]))
5050 else false)
5151 then parseIntValue(pixxy[j])
5252 else -1
5353 case _ =>
5454 -1
5555 }
5656
5757 func getrecord (j) = match getString(pixxy[j]) {
5858 case a: String =>
5959 getStringValue(pixxy[j])
6060 case _ =>
6161 ""
6262 }
6363
6464 func command (j) = if (if ((j > (number - 1)))
6565 then true
6666 else (0 > validxy(j)))
6767 then emptycommand
6868 else if ((getrecord(j) == ""))
69- then [pixxy[j], makeString(newrecord, separc), masteradr, initprice, "0"]
69+ then [pixxy[j], makeString(newrecord, separc), masteradr, initprice, initprice]
7070 else {
7171 let oldrecord = split(getStringValue(pixxy[j]), separc)
7272 let price = parseIntValue(oldrecord[1])
7373 let stakeinterest = fraction(price, ((currenttime - parseIntValue(oldrecord[2])) * stakerate), 360000000)
7474 let oldowner = oldrecord[0]
7575 [pixxy[j], makeString([callerAdress, toString(fraction(price, (100 + incrprice), 100)), toString(currenttime), color, url], separc), oldowner, toString(price), toString((stakeinterest + price))]
7676 }
7777
7878 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)]
7979 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]))
8080 let servicefee = fraction(payment, masterfee, 100)
8181 let havepmt = if ((size(i.payments) == 1))
8282 then true
8383 else false
8484 let pmtamount = if (havepmt)
8585 then i.payments[0].amount
8686 else 0
8787 let tokencorrect = if (havepmt)
8888 then if ((i.payments[0].assetId == token))
8989 then true
9090 else false
9191 else false
9292 let pmtenough = if (if (tokencorrect)
9393 then (pmtamount >= (payment + servicefee))
9494 else false)
9595 then true
9696 else false
9797 let errorpmt = if (!(havepmt))
9898 then (("Attached payment is required: " + toString((payment + servicefee))) + "; ")
9999 else ""
100100 let errortoken = if (!(tokencorrect))
101101 then "works with tokens only; "
102102 else ""
103103 let errorenough = if (!(pmtenough))
104104 then (((("you give: " + toString(pmtamount)) + ", but deal needs: ") + toString((payment + servicefee))) + "; ")
105105 else ""
106106 let errorurl = if (!(urlcorrect))
107107 then "url is incorrect; "
108108 else ""
109109 if (if (pmtenough)
110110 then urlcorrect
111111 else false)
112112 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"))]
113113 else if (havepmt)
114114 then [StringEntry((callerAdress + "_error"), ((((errorpmt + " ") + errortoken) + " ") + errorenough)), ScriptTransfer(i.caller, pmtamount, i.payments[0].assetId)]
115115 else [StringEntry((callerAdress + "_error"), ((((((errorpmt + " ") + errortoken) + " ") + errorenough) + " ") + errorurl))]
116116 }
117117
118118

github/deemru/w8io/026f985 
47.04 ms