tx · G46ViLSiKU6e4w5gUBU1GYAeXTfKKXuACsM2rWxXquz3

3MqnjEXWG6rvvRo2UDYRANN8iWLks7snDwj:  -0.01000000 Waves

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

{ "type": 13, "id": "G46ViLSiKU6e4w5gUBU1GYAeXTfKKXuACsM2rWxXquz3", "fee": 1000000, "feeAssetId": null, "timestamp": 1639488932880, "version": 2, "chainId": 84, "sender": "3MqnjEXWG6rvvRo2UDYRANN8iWLks7snDwj", "senderPublicKey": "2XLAeeTTE4mSghbTZDq9wZiJkuqmdgCCAw4uy1QgYGtK", "proofs": [ "4TZwCR5Yijb4ewUQYGJgXhTSE88dr1RVsGJnSvQDVg1iaffDynBjTD4T96KypF5XZvamcLKT1tv7JescbML9W7dR" ], "script": "base64:AAIFAAAAAAAAAAkIAhIAEgMKAQgAAAAIAAAAAAltYXN0ZXJhZHICAAAAIzNOOGtGVHppU3B6N1NvZG9SeEsyWDkxTFlWc0F4aVAxaUNVAAAAAAZzZXBhcmMCAAAAAXwAAAAABnNlcGFycgkAASwAAAACBQAAAAZzZXBhcmMFAAAABnNlcGFyYwAAAAAJaW5jcnByaWNlAAAAAAAAAAAhAAAAAAlpbml0cHJpY2UCAAAABjEwMDAwMAAAAAAJbWFzdGVyZmVlAAAAAAAAAAABAAAAAAV0b2tlbgUAAAAEdW5pdAAAAAAJc3Rha2VyYXRlAAAAAAAAAAABAAAAAgAAAAFpAQAAAAVyZXNldAAAAAAJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAACmludGVyZXN0aWQAAAAAAAAAAAAJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAACmxhc3RwYWlkaWQAAAAAAAAAAAAFAAAAA25pbAAAAAFpAQAAAAVwYWludAAAAAEAAAAFaWRhdGEEAAAAAmN0BAAAAAckbWF0Y2gwCQAD7QAAAAEFAAAABmhlaWdodAMJAA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AAACGVycm9ycG10AgAAAAEgBQAAAAplcnJvcnRva2VuAgAAAAEgBQAAAAtlcnJvcmVub3VnaAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIFAAAACXBtdGFtb3VudAgJAAGRAAAAAggFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAAAAAAHYXNzZXRJZAUAAAADbmlsCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAEsAAAAAgUAAAAMY2FsbGVyQWRyZXNzAgAAAAZfZXJyb3IJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIFAAAACGVycm9ycG10AgAAAAEgBQAAAAplcnJvcnRva2VuAgAAAAEgBQAAAAtlcnJvcmVub3VnaAIAAAABIAUAAAAIZXJyb3J1cmwFAAAAA25pbAAAAACY4IFj", "height": 1833993, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GExCmL9zpM3zikquBWTfh8sgjoQAMMu4jZZ279ZMdYaX Next: CAopTGHyJu92Xc7X8EJ8SmqEsZy6xRAKMw851gK1PPsr Diff:
OldNewDifferences
125125 if (if (M)
126126 then s
127127 else false)
128- then [StringEntry(G[0][0], G[0][1]), ScriptTransfer(Address(fromBase58String(G[0][2])), parseIntValue(G[0][4]), g), StringEntry(G[1][0], G[1][1]), ScriptTransfer(Address(fromBase58String(G[1][2])), parseIntValue(G[1][4]), g), StringEntry(G[2][0], G[2][1]), ScriptTransfer(Address(fromBase58String(G[2][2])), parseIntValue(G[2][4]), g), StringEntry(G[3][0], G[3][1]), ScriptTransfer(Address(fromBase58String(G[3][2])), parseIntValue(G[3][4]), g), StringEntry(G[4][0], G[4][1]), ScriptTransfer(Address(fromBase58String(G[4][2])), parseIntValue(G[4][4]), g), StringEntry(G[5][0], G[5][1]), ScriptTransfer(Address(fromBase58String(G[5][2])), parseIntValue(G[5][4]), g), StringEntry(G[6][0], G[6][1]), ScriptTransfer(Address(fromBase58String(G[6][2])), parseIntValue(G[6][4]), g), StringEntry(G[7][0], G[7][1]), ScriptTransfer(Address(fromBase58String(G[7][2])), parseIntValue(G[7][4]), g), StringEntry(G[8][0], G[8][1]), ScriptTransfer(Address(fromBase58String(G[8][2])), parseIntValue(G[8][4]), g), StringEntry(G[9][0], G[9][1]), ScriptTransfer(Address(fromBase58String(G[9][2])), parseIntValue(G[9][4]), g), StringEntry(G[10][0], G[10][1]), ScriptTransfer(Address(fromBase58String(G[10][2])), parseIntValue(G[10][4]), g), StringEntry(G[11][0], G[11][1]), ScriptTransfer(Address(fromBase58String(G[11][2])), parseIntValue(G[11][4]), g), StringEntry(G[12][0], G[12][1]), ScriptTransfer(Address(fromBase58String(G[12][2])), parseIntValue(G[12][4]), g), StringEntry(G[13][0], G[13][1]), ScriptTransfer(Address(fromBase58String(G[13][2])), parseIntValue(G[13][4]), g), StringEntry(G[14][0], G[14][1]), ScriptTransfer(Address(fromBase58String(G[14][2])), parseIntValue(G[14][4]), g), StringEntry(G[15][0], G[15][1]), ScriptTransfer(Address(fromBase58String(G[15][2])), parseIntValue(G[15][4]), g), StringEntry(G[16][0], G[16][1]), ScriptTransfer(Address(fromBase58String(G[16][2])), parseIntValue(G[16][4]), g), StringEntry(G[17][0], G[17][1]), ScriptTransfer(Address(fromBase58String(G[17][2])), parseIntValue(G[17][4]), g), StringEntry(G[18][0], G[18][1]), ScriptTransfer(Address(fromBase58String(G[18][2])), parseIntValue(G[18][4]), g), StringEntry(G[19][0], G[19][1]), ScriptTransfer(Address(fromBase58String(G[19][2])), parseIntValue(G[19][4]), g), StringEntry(G[20][0], G[20][1]), ScriptTransfer(Address(fromBase58String(G[20][2])), parseIntValue(G[20][4]), g), StringEntry(G[21][0], G[21][1]), ScriptTransfer(Address(fromBase58String(G[21][2])), parseIntValue(G[21][4]), g), StringEntry(G[22][0], G[22][1]), ScriptTransfer(Address(fromBase58String(G[22][2])), parseIntValue(G[22][4]), g), StringEntry(G[23][0], G[23][1]), ScriptTransfer(Address(fromBase58String(G[23][2])), parseIntValue(G[23][4]), g), StringEntry(G[24][0], G[24][1]), ScriptTransfer(Address(fromBase58String(G[24][2])), parseIntValue(G[24][4]), g), StringEntry(G[25][0], G[25][1]), ScriptTransfer(Address(fromBase58String(G[25][2])), parseIntValue(G[25][4]), g), StringEntry(G[26][0], G[26][1]), ScriptTransfer(Address(fromBase58String(G[26][2])), parseIntValue(G[26][4]), g), StringEntry(G[27][0], G[27][1]), ScriptTransfer(Address(fromBase58String(G[27][2])), parseIntValue(G[27][4]), g), ScriptTransfer(i.caller, ((K - H) - I), g), ScriptTransfer(Address(fromBase58String(a)), I, g), DeleteEntry((o + "_error"))]
128+ then [StringEntry(G[0][0], G[0][1]), ScriptTransfer(i.caller, ((K - H) - I), g), ScriptTransfer(Address(fromBase58String(a)), I, g), DeleteEntry((o + "_error"))]
129129 else if (J)
130130 then [StringEntry((o + "_error"), ((((N + " ") + O) + " ") + P)), ScriptTransfer(i.caller, K, i.payments[0].assetId)]
131131 else [StringEntry((o + "_error"), ((((((N + " ") + O) + " ") + P) + " ") + Q))]
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "3N8kFTziSpz7SodoRxK2X91LYVsAxiP1iCU"
55
66 let b = "|"
77
88 let c = (b + b)
99
1010 let d = 33
1111
1212 let e = "100000"
1313
1414 let f = 1
1515
1616 let g = unit
1717
1818 let h = 1
1919
2020 @Callable(i)
2121 func reset () = [IntegerEntry("interestid", 0), IntegerEntry("lastpaidid", 0)]
2222
2323
2424
2525 @Callable(i)
2626 func paint (j) = {
2727 let k = {
2828 let l = blockInfoByHeight(height)
2929 if ($isInstanceOf(l, "BlockInfo"))
3030 then {
3131 let m = l
3232 m.timestamp
3333 }
3434 else 0
3535 }
3636 let n = parseIntValue(toString(k))
3737 let o = toBase58String(i.caller.bytes)
3838 let p = split(j, c)
3939 let q = if ((size(p) > 1))
4040 then p[1]
4141 else "0"
4242 let r = if ((size(p) > 2))
4343 then p[2]
4444 else ""
4545 let s = if ((indexOf(r, b) == unit))
4646 then true
4747 else false
4848 let t = if ((size(p) > 0))
4949 then split(p[0], b)
5050 else nil
5151 let u = min([28, size(t)])
5252 let v = ["--", "--", a, "0", "0"]
5353 let w = [o, e, toString(n), q, r]
5454 func x (y) = {
5555 let l = parseInt(t[y])
5656 if ($isInstanceOf(l, "Int"))
5757 then {
5858 let z = l
5959 if (if ((parseIntValue(t[y]) > -1))
6060 then (1000 > parseIntValue(t[y]))
6161 else false)
6262 then parseIntValue(t[y])
6363 else -1
6464 }
6565 else -1
6666 }
6767
6868 func A (y) = {
6969 let l = getString(t[y])
7070 if ($isInstanceOf(l, "String"))
7171 then {
7272 let z = l
7373 getStringValue(t[y])
7474 }
7575 else ""
7676 }
7777
7878 func B (y) = if (if ((y > (u - 1)))
7979 then true
8080 else (0 > x(y)))
8181 then v
8282 else if ((A(y) == ""))
8383 then [t[y], makeString(w, b), a, e]
8484 else {
8585 let C = split(getStringValue(t[y]), b)
8686 let D = parseIntValue(C[1])
8787 let E = (((D * (n - parseIntValue(C[2]))) * h) % 360000000)
8888 let F = C[0]
8989 [t[y], makeString([o, toString(((D * (100 + d)) % 100)), toString(n), q, r], b), F, toString(D), toString((E + D))]
9090 }
9191
9292 let G = [B(0), B(1), B(2), B(3), B(4), B(5), B(6), B(7), B(8), B(9), B(10), B(11), B(12), B(13), B(14), B(15), B(16), B(17), B(18), B(19), B(20), B(21), B(22), B(23), B(24), B(25), B(26), B(27)]
9393 let H = parseIntValue(G[0][3])
9494 let I = fraction(H, f, 100)
9595 let J = if ((size(i.payments) == 1))
9696 then true
9797 else false
9898 let K = if (J)
9999 then i.payments[0].amount
100100 else 0
101101 let L = if (J)
102102 then if ((i.payments[0].assetId == g))
103103 then true
104104 else false
105105 else false
106106 let M = if (if (L)
107107 then (K >= (H + I))
108108 else false)
109109 then true
110110 else false
111111 let N = if (!(J))
112112 then (("Attached payment is required: " + toString((H + I))) + "; ")
113113 else ""
114114 let O = if (!(L))
115115 then "works with tokens only; "
116116 else ""
117117 let P = if (!(M))
118118 then (((("you give: " + toString(K)) + ", but deal needs: ") + toString((H + I))) + "; ")
119119 else ""
120120 let Q = if (!(s))
121121 then "url is incorrect; "
122122 else ""
123123 let R = getIntegerValue("interestid")
124124 let S = (R + 1)
125125 if (if (M)
126126 then s
127127 else false)
128- then [StringEntry(G[0][0], G[0][1]), ScriptTransfer(Address(fromBase58String(G[0][2])), parseIntValue(G[0][4]), g), StringEntry(G[1][0], G[1][1]), ScriptTransfer(Address(fromBase58String(G[1][2])), parseIntValue(G[1][4]), g), StringEntry(G[2][0], G[2][1]), ScriptTransfer(Address(fromBase58String(G[2][2])), parseIntValue(G[2][4]), g), StringEntry(G[3][0], G[3][1]), ScriptTransfer(Address(fromBase58String(G[3][2])), parseIntValue(G[3][4]), g), StringEntry(G[4][0], G[4][1]), ScriptTransfer(Address(fromBase58String(G[4][2])), parseIntValue(G[4][4]), g), StringEntry(G[5][0], G[5][1]), ScriptTransfer(Address(fromBase58String(G[5][2])), parseIntValue(G[5][4]), g), StringEntry(G[6][0], G[6][1]), ScriptTransfer(Address(fromBase58String(G[6][2])), parseIntValue(G[6][4]), g), StringEntry(G[7][0], G[7][1]), ScriptTransfer(Address(fromBase58String(G[7][2])), parseIntValue(G[7][4]), g), StringEntry(G[8][0], G[8][1]), ScriptTransfer(Address(fromBase58String(G[8][2])), parseIntValue(G[8][4]), g), StringEntry(G[9][0], G[9][1]), ScriptTransfer(Address(fromBase58String(G[9][2])), parseIntValue(G[9][4]), g), StringEntry(G[10][0], G[10][1]), ScriptTransfer(Address(fromBase58String(G[10][2])), parseIntValue(G[10][4]), g), StringEntry(G[11][0], G[11][1]), ScriptTransfer(Address(fromBase58String(G[11][2])), parseIntValue(G[11][4]), g), StringEntry(G[12][0], G[12][1]), ScriptTransfer(Address(fromBase58String(G[12][2])), parseIntValue(G[12][4]), g), StringEntry(G[13][0], G[13][1]), ScriptTransfer(Address(fromBase58String(G[13][2])), parseIntValue(G[13][4]), g), StringEntry(G[14][0], G[14][1]), ScriptTransfer(Address(fromBase58String(G[14][2])), parseIntValue(G[14][4]), g), StringEntry(G[15][0], G[15][1]), ScriptTransfer(Address(fromBase58String(G[15][2])), parseIntValue(G[15][4]), g), StringEntry(G[16][0], G[16][1]), ScriptTransfer(Address(fromBase58String(G[16][2])), parseIntValue(G[16][4]), g), StringEntry(G[17][0], G[17][1]), ScriptTransfer(Address(fromBase58String(G[17][2])), parseIntValue(G[17][4]), g), StringEntry(G[18][0], G[18][1]), ScriptTransfer(Address(fromBase58String(G[18][2])), parseIntValue(G[18][4]), g), StringEntry(G[19][0], G[19][1]), ScriptTransfer(Address(fromBase58String(G[19][2])), parseIntValue(G[19][4]), g), StringEntry(G[20][0], G[20][1]), ScriptTransfer(Address(fromBase58String(G[20][2])), parseIntValue(G[20][4]), g), StringEntry(G[21][0], G[21][1]), ScriptTransfer(Address(fromBase58String(G[21][2])), parseIntValue(G[21][4]), g), StringEntry(G[22][0], G[22][1]), ScriptTransfer(Address(fromBase58String(G[22][2])), parseIntValue(G[22][4]), g), StringEntry(G[23][0], G[23][1]), ScriptTransfer(Address(fromBase58String(G[23][2])), parseIntValue(G[23][4]), g), StringEntry(G[24][0], G[24][1]), ScriptTransfer(Address(fromBase58String(G[24][2])), parseIntValue(G[24][4]), g), StringEntry(G[25][0], G[25][1]), ScriptTransfer(Address(fromBase58String(G[25][2])), parseIntValue(G[25][4]), g), StringEntry(G[26][0], G[26][1]), ScriptTransfer(Address(fromBase58String(G[26][2])), parseIntValue(G[26][4]), g), StringEntry(G[27][0], G[27][1]), ScriptTransfer(Address(fromBase58String(G[27][2])), parseIntValue(G[27][4]), g), ScriptTransfer(i.caller, ((K - H) - I), g), ScriptTransfer(Address(fromBase58String(a)), I, g), DeleteEntry((o + "_error"))]
128+ then [StringEntry(G[0][0], G[0][1]), ScriptTransfer(i.caller, ((K - H) - I), g), ScriptTransfer(Address(fromBase58String(a)), I, g), DeleteEntry((o + "_error"))]
129129 else if (J)
130130 then [StringEntry((o + "_error"), ((((N + " ") + O) + " ") + P)), ScriptTransfer(i.caller, K, i.payments[0].assetId)]
131131 else [StringEntry((o + "_error"), ((((((N + " ") + O) + " ") + P) + " ") + Q))]
132132 }
133133
134134

github/deemru/w8io/026f985 
42.94 ms