tx · 2N54abUa41mC4ktzXrbmpRLi2GccJ1p5gW9b7vsUWwct 3MyBtJnMg6n7m1sDczbrijVyosLnRh4FFbc: -0.04000000 Waves 2022.07.06 13:35 [2127710] smart account 3MyBtJnMg6n7m1sDczbrijVyosLnRh4FFbc > SELF 0.00000000 Waves
{ "type": 13, "id": "2N54abUa41mC4ktzXrbmpRLi2GccJ1p5gW9b7vsUWwct", "fee": 4000000, "feeAssetId": null, "timestamp": 1657103745041, "version": 1, "sender": "3MyBtJnMg6n7m1sDczbrijVyosLnRh4FFbc", "senderPublicKey": "H3EzJ6fSm7jHKo92xYdNTXaaQYKj9z5q2DJFovRDLJpf", "proofs": [ "5S8Foi8NKoZGNEzRecUCd33KWwAJk3bhNYVqrKKp8UxbX45rQMrzJqj9PgsoHLiqXvtprbKVjfGfcnRo8y5LS1im" ], "script": "base64:AAIFAAAAAAAAAB8IAhIECgIICBIECgIIARIDCgEIEgUKAwgBCBIDCgEIAAAACQAAAAADU0VQAgAAAAJfXwEAAAARa2V5Q29udHJvbEFkZHJlc3MAAAAAAgAAABwlcyVzX19jb25maWdfX2NvbnRyb2xBZGRyZXNzAQAAAA5rZXlSZXN0QWRkcmVzcwAAAAACAAAAGSVzJXNfX2NvbmZpZ19fcmVzdEFkZHJlc3MBAAAADGdldFN0ck9yRmFpbAAAAAEAAAADa2V5CQEAAAATdmFsdWVPckVycm9yTWVzc2FnZQAAAAIJAAQdAAAAAgUAAAAEdGhpcwUAAAADa2V5CQABLAAAAAIJAAEsAAAAAgIAAAAPTWFuZGF0b3J5IHRoaXMuBQAAAANrZXkCAAAADyBpcyBub3QgZGVmaW5lZAEAAAAQZ2V0QWRkcmVzc09yRmFpbAAAAAEAAAADa2V5CQEAAAATdmFsdWVPckVycm9yTWVzc2FnZQAAAAIJAAQmAAAAAQkBAAAADGdldFN0ck9yRmFpbAAAAAEFAAAAA2tleQkAASwAAAACAgAAAB9mYWlsIHRvIHBhcnNlIGFkZHJlc3MgZm9yIHRoaXMuB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AAZyZXN1bHQFAAAAA25pbAQAAAAOaW52b2tlc1Jlc3VsdHMKAAAAAAIkbAUAAAAMZnVuY3NJbmRleGVzCgAAAAACJHMJAAGQAAAAAQUAAAACJGwKAAAAAAUkYWNjMAUAAAADbmlsCgEAAAAFJGYwXzEAAAACAAAAAiRhAAAAAiRpAwkAAGcAAAACBQAAAAIkaQUAAAACJHMFAAAAAiRhCQEAAAAQaW52b2tlc0FncmVnYXRvcgAAAAIFAAAAAiRhCQABkQAAAAIFAAAAAiRsBQAAAAIkaQoBAAAABSRmMF8yAAAAAgAAAAIkYQAAAAIkaQMJAABnAAAAAgUAAAACJGkFAAAAAiRzBQAAAAIkYQkAAAIAAAABAgAAABRMaXN0IHNpemUgZXhjZWVkcyAxMAkBAAAABSRmMF8yAAAAAgkBAAAABSRmMF8xAAAAAgkBAAAABSRmMF8xAAAAAgkBAAAABSRmMF8xAAAAAgkBAAAABSRmMF8xAAAAAgkBAAAABSRmMF8xAAAAAgkBAAAABSRmMF8xAAAAAgkBAAAABSRmMF8xAAAAAgkBAAAABSRmMF8xAAAAAgkBAAAABSRmMF8xAAAAAgkBAAAABSRmMF8xAAAAAgUAAAAFJGFjYzAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAIAAAAAAAAAAAMAAAAAAAAAAAQAAAAAAAAAAAUAAAAAAAAAAAYAAAAAAAAAAAcAAAAAAAAAAAgAAAAAAAAAAAkAAAAAAAAAAAoJAAUUAAAAAgUAAAADbmlsCQEAAAALcHJvZHVjZUpzb24AAAABBQAAAA5pbnZva2VzUmVzdWx0cwAAAAB0muuH", "chainId": 84, "height": 2127710, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: CUptLKkkBKjEJMyZYNh8yrcDhYQbp1hRD9HvzX8Lq3pD Next: FHyT84G87XCHwkuN9rtemCuVBhaFtUxgKJ3xKCDcwioG Diff:
Old | New | Differences | |
---|---|---|---|
93 | 93 | func buySurfPageREADONLY (D,I,J) = { | |
94 | 94 | let F = g(invoke(z, "gnsbtInfoREADONLY", [D, 0], nil)) | |
95 | 95 | let H = g(invoke(z, "neutrinoStatsREADONLY", nil, nil)) | |
96 | - | let K = g(invoke(z, "buySurfREADONLY", [I, J], nil)) | |
96 | + | let K = g(invoke(z, "buySurfREADONLY", [D, I, J], nil)) | |
97 | 97 | $Tuple2(nil, k(["gnsbtInfoREADONLY", F, "neutrinoStatsREADONLY", H, "buySurfREADONLY", K])) | |
98 | 98 | } | |
99 | 99 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "__" | |
5 | 5 | ||
6 | 6 | func b () = "%s%s__config__controlAddress" | |
7 | 7 | ||
8 | 8 | ||
9 | 9 | func c () = "%s%s__config__restAddress" | |
10 | 10 | ||
11 | 11 | ||
12 | 12 | func d (e) = valueOrErrorMessage(getString(this, e), (("Mandatory this." + e) + " is not defined")) | |
13 | 13 | ||
14 | 14 | ||
15 | 15 | func f (e) = valueOrErrorMessage(addressFromString(d(e)), ("fail to parse address for this." + e)) | |
16 | 16 | ||
17 | 17 | ||
18 | 18 | func g (h) = { | |
19 | 19 | let i = h | |
20 | 20 | if ($isInstanceOf(i, "String")) | |
21 | 21 | then { | |
22 | 22 | let j = i | |
23 | 23 | j | |
24 | 24 | } | |
25 | 25 | else throw("fail to cast into String") | |
26 | 26 | } | |
27 | 27 | ||
28 | 28 | ||
29 | 29 | func k (l) = { | |
30 | 30 | let m = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19] | |
31 | 31 | let n = size(l) | |
32 | 32 | if (((n % 2) != 0)) | |
33 | 33 | then throw("only even args size is accepeted") | |
34 | 34 | else if ((n > size(m))) | |
35 | 35 | then throw(("strMap length is greater then " + toString(size(m)))) | |
36 | 36 | else { | |
37 | 37 | func k (o,p) = if (if (((p % 2) == 0)) | |
38 | 38 | then (n >= (p + 1)) | |
39 | 39 | else false) | |
40 | 40 | then (((((o + " | |
41 | 41 | \"") + l[p]) + "\": \"") + l[(p + 1)]) + "\",") | |
42 | 42 | else o | |
43 | 43 | ||
44 | 44 | let q = { | |
45 | 45 | let r = m | |
46 | 46 | let s = size(r) | |
47 | 47 | let t = "" | |
48 | 48 | func u (v,w) = if ((w >= s)) | |
49 | 49 | then v | |
50 | 50 | else k(v, r[w]) | |
51 | 51 | ||
52 | 52 | func x (v,w) = if ((w >= s)) | |
53 | 53 | then v | |
54 | 54 | else throw("List size exceeds 20") | |
55 | 55 | ||
56 | 56 | x(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(u(t, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20) | |
57 | 57 | } | |
58 | 58 | (("{" + dropRight(q, 1)) + "}") | |
59 | 59 | } | |
60 | 60 | } | |
61 | 61 | ||
62 | 62 | ||
63 | 63 | let y = f(b()) | |
64 | 64 | ||
65 | 65 | let z = f(c()) | |
66 | 66 | ||
67 | 67 | @Callable(A) | |
68 | 68 | func constructor (B,C) = if ((A.caller != this)) | |
69 | 69 | then throw("not authorized") | |
70 | 70 | else [StringEntry(b(), B), StringEntry(c(), C)] | |
71 | 71 | ||
72 | 72 | ||
73 | 73 | ||
74 | 74 | @Callable(A) | |
75 | 75 | func stakeNsbtPageREADONLY (D,E) = { | |
76 | 76 | let F = g(invoke(z, "gnsbtInfoREADONLY", [D, E], nil)) | |
77 | 77 | let G = g(invoke(z, "swapInfoREADONLY", [D], nil)) | |
78 | 78 | $Tuple2(nil, k(["gnsbtInfoREADONLY", F, "swapInfoREADONLY", G])) | |
79 | 79 | } | |
80 | 80 | ||
81 | 81 | ||
82 | 82 | ||
83 | 83 | @Callable(A) | |
84 | 84 | func buyNsbtPageREADONLY (D) = { | |
85 | 85 | let F = g(invoke(z, "gnsbtInfoREADONLY", [D, 0], nil)) | |
86 | 86 | let H = g(invoke(z, "neutrinoStatsREADONLY", nil, nil)) | |
87 | 87 | $Tuple2(nil, k(["gnsbtInfoREADONLY", F, "neutrinoStatsREADONLY", H])) | |
88 | 88 | } | |
89 | 89 | ||
90 | 90 | ||
91 | 91 | ||
92 | 92 | @Callable(A) | |
93 | 93 | func buySurfPageREADONLY (D,I,J) = { | |
94 | 94 | let F = g(invoke(z, "gnsbtInfoREADONLY", [D, 0], nil)) | |
95 | 95 | let H = g(invoke(z, "neutrinoStatsREADONLY", nil, nil)) | |
96 | - | let K = g(invoke(z, "buySurfREADONLY", [I, J], nil)) | |
96 | + | let K = g(invoke(z, "buySurfREADONLY", [D, I, J], nil)) | |
97 | 97 | $Tuple2(nil, k(["gnsbtInfoREADONLY", F, "neutrinoStatsREADONLY", H, "buySurfREADONLY", K])) | |
98 | 98 | } | |
99 | 99 | ||
100 | 100 | ||
101 | 101 | ||
102 | 102 | @Callable(A) | |
103 | 103 | func genericREADONLY (L) = { | |
104 | 104 | let M = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] | |
105 | 105 | let N = [1, 3, 5, 7, 9, 11] | |
106 | 106 | let O = split(L, a) | |
107 | 107 | let P = size(O) | |
108 | 108 | func Q (R,S) = if ((S >= P)) | |
109 | 109 | then R | |
110 | 110 | else { | |
111 | 111 | let T = O[S] | |
112 | 112 | let U = split(T, "+") | |
113 | 113 | let V = addressFromStringValue(U[0]) | |
114 | 114 | let W = U[1] | |
115 | 115 | let X = split(U[2], ":") | |
116 | 116 | let Y = size(X) | |
117 | 117 | func Z (aa,ab) = if ((ab >= Y)) | |
118 | 118 | then aa | |
119 | 119 | else { | |
120 | 120 | let ac = if ((X[(ab - 1)] == "s")) | |
121 | 121 | then X[ab] | |
122 | 122 | else parseIntValue(X[ab]) | |
123 | 123 | (aa :+ ac) | |
124 | 124 | } | |
125 | 125 | ||
126 | 126 | let ad = { | |
127 | 127 | let r = N | |
128 | 128 | let s = size(r) | |
129 | 129 | let t = nil | |
130 | 130 | func u (v,w) = if ((w >= s)) | |
131 | 131 | then v | |
132 | 132 | else Z(v, r[w]) | |
133 | 133 | ||
134 | 134 | func x (v,w) = if ((w >= s)) | |
135 | 135 | then v | |
136 | 136 | else throw("List size exceeds 6") | |
137 | 137 | ||
138 | 138 | x(u(u(u(u(u(u(t, 0), 1), 2), 3), 4), 5), 6) | |
139 | 139 | } | |
140 | 140 | let ae = g(invoke(V, W, ad, nil)) | |
141 | 141 | (R ++ [W, ae]) | |
142 | 142 | } | |
143 | 143 | ||
144 | 144 | let af = { | |
145 | 145 | let r = M | |
146 | 146 | let s = size(r) | |
147 | 147 | let t = nil | |
148 | 148 | func u (v,w) = if ((w >= s)) | |
149 | 149 | then v | |
150 | 150 | else Q(v, r[w]) | |
151 | 151 | ||
152 | 152 | func x (v,w) = if ((w >= s)) | |
153 | 153 | then v | |
154 | 154 | else throw("List size exceeds 10") | |
155 | 155 | ||
156 | 156 | x(u(u(u(u(u(u(u(u(u(u(t, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
157 | 157 | } | |
158 | 158 | $Tuple2(nil, k(af)) | |
159 | 159 | } | |
160 | 160 | ||
161 | 161 |
github/deemru/w8io/169f3d6 38.40 ms ◑