tx · BGyVMh8ZbVuboEXgDFCZXzTj3s1BQoK9SMvDsvaAz4ZT 3MyBtJnMg6n7m1sDczbrijVyosLnRh4FFbc: -0.04000000 Waves 2022.07.14 12:03 [2139188] smart account 3MyBtJnMg6n7m1sDczbrijVyosLnRh4FFbc > SELF 0.00000000 Waves
{ "type": 13, "id": "BGyVMh8ZbVuboEXgDFCZXzTj3s1BQoK9SMvDsvaAz4ZT", "fee": 4000000, "feeAssetId": null, "timestamp": 1657789453579, "version": 1, "sender": "3MyBtJnMg6n7m1sDczbrijVyosLnRh4FFbc", "senderPublicKey": "H3EzJ6fSm7jHKo92xYdNTXaaQYKj9z5q2DJFovRDLJpf", "proofs": [ "2bX7a6qBfC3HQY8NSRuP5fDEeiGUjy6Qm2bZtswweL7VkTK3bYDPQfeF7fwWt14NVoPUdeoVz8QV47JxXtch1xRu" ], "script": "base64:AAIFAAAAAAAAACQIAhIECgIICBIECgIIARIDCgEIEgUKAwgBCBIDCgEIEgMKAQgAAAAJAAAAAANTRVACAAAAAl9fAQAAABFrZXlDb250cm9sQWRkcmVzcwAAAAACAAAAHCVzJXNfX2NvbmZpZ19fY29udHJvbEFkZHJlc3MBAAAADmtleVJlc3RBZGRyZXNzAAAAAAIAAAAZJXMlc19fY29uZmlnX19yZXN0QWRkcmVzcwEAAAAMZ2V0U3RyT3JGYWlsAAAAAQAAAANrZXkJAQAAABN2YWx1ZU9yRXJyb3JNZXNzYWdlAAAAAgkABB0AAAACBQAAAAR0aGlzBQAAAANrZXkJAAEsAAAAAgkAASwAAAACAgAAAA9NYW5kYXRvcnkgdGhpcy4FAAAAA2tleQIAAAAPIGlzIG5vdCBkZWZpbmVkAQAAABBnZXRBZGRyZXNzT3JGYWlsAAAAAQAAAANrZXkJAQAAABN2YWx1ZU9yRXJyb3JNZXNzYWdlAAAAAgkABCYAAAABCQEAAAAMZ2V0U3RyT3JGYWlsAAAAAQUAAAADa2V5CQABLAAAAAICAAAAH2ZhaWwgdG8gcGFyc2UgYWR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AAAAAAAAAAgAAAAAAAAAAAkAAAAAAAAAAAoJAAUUAAAAAgUAAAADbmlsCQEAAAALcHJvZHVjZUpzb24AAAABBQAAAA5pbnZva2VzUmVzdWx0cwAAAAAqGQQ8", "chainId": 84, "height": 2139188, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9KxkpVTYrrdqgD4PTBueH6qfqZuJqb8a1NMLErtf4nN4 Next: 6otPcs9LLoHhTo1g4YCzW8XcBeYZskvPKodwfJ9Vm89C Full:
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 H = g(invoke(z, "neutrinoStatsREADONLY", nil, nil)) | |
95 | 95 | let K = g(invoke(z, "buySurfREADONLY", [D, I, J], nil)) | |
96 | 96 | let L = g(invoke(z, "neutrinoConfigREADONLY", nil, nil)) | |
97 | 97 | $Tuple2(nil, k(["neutrinoStatsREADONLY", H, "buySurfREADONLY", K, "neutrinoConfigREADONLY", L])) | |
98 | 98 | } | |
99 | 99 | ||
100 | 100 | ||
101 | 101 | ||
102 | 102 | @Callable(A) | |
103 | 103 | func walletPageREADONLY (M) = { | |
104 | 104 | let N = g(invoke(z, "walletInfoREADONLY", [M], nil)) | |
105 | 105 | $Tuple2(nil, k(["walletInfoREADONLY", N])) | |
106 | 106 | } | |
107 | 107 | ||
108 | 108 | ||
109 | 109 | ||
110 | 110 | @Callable(A) | |
111 | 111 | func genericREADONLY (O) = { | |
112 | 112 | let P = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] | |
113 | 113 | let Q = [1, 3, 5, 7, 9, 11] | |
114 | 114 | let R = split(O, a) | |
115 | 115 | let S = size(R) | |
116 | 116 | func T (U,V) = if ((V >= S)) | |
117 | 117 | then U | |
118 | 118 | else { | |
119 | 119 | let W = R[V] | |
120 | 120 | let X = split(W, "+") | |
121 | 121 | let Y = addressFromStringValue(X[0]) | |
122 | 122 | let Z = X[1] | |
123 | 123 | let aa = split(X[2], ":") | |
124 | 124 | let ab = size(aa) | |
125 | 125 | func ac (ad,ae) = if ((ae >= ab)) | |
126 | 126 | then ad | |
127 | 127 | else { | |
128 | 128 | let af = if ((aa[(ae - 1)] == "s")) | |
129 | 129 | then aa[ae] | |
130 | 130 | else parseIntValue(aa[ae]) | |
131 | 131 | (ad :+ af) | |
132 | 132 | } | |
133 | 133 | ||
134 | 134 | let ag = { | |
135 | 135 | let r = Q | |
136 | 136 | let s = size(r) | |
137 | 137 | let t = nil | |
138 | 138 | func u (v,w) = if ((w >= s)) | |
139 | 139 | then v | |
140 | 140 | else ac(v, r[w]) | |
141 | 141 | ||
142 | 142 | func x (v,w) = if ((w >= s)) | |
143 | 143 | then v | |
144 | 144 | else throw("List size exceeds 6") | |
145 | 145 | ||
146 | 146 | x(u(u(u(u(u(u(t, 0), 1), 2), 3), 4), 5), 6) | |
147 | 147 | } | |
148 | 148 | let ah = g(invoke(Y, Z, ag, nil)) | |
149 | 149 | (U ++ [Z, ah]) | |
150 | 150 | } | |
151 | 151 | ||
152 | 152 | let ai = { | |
153 | 153 | let r = P | |
154 | 154 | let s = size(r) | |
155 | 155 | let t = nil | |
156 | 156 | func u (v,w) = if ((w >= s)) | |
157 | 157 | then v | |
158 | 158 | else T(v, r[w]) | |
159 | 159 | ||
160 | 160 | func x (v,w) = if ((w >= s)) | |
161 | 161 | then v | |
162 | 162 | else throw("List size exceeds 10") | |
163 | 163 | ||
164 | 164 | x(u(u(u(u(u(u(u(u(u(u(t, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
165 | 165 | } | |
166 | 166 | $Tuple2(nil, k(ai)) | |
167 | 167 | } | |
168 | 168 | ||
169 | 169 |
github/deemru/w8io/026f985 31.11 ms ◑