tx · 5SK4p1x2EHngCfHPjcQTPDFfouJkr4W2Dx9SxYzqMTG9 3NASpBKQc8WXK6SAyvfbtuE2kwiJkY21tAS: -0.01400000 Waves 2019.10.10 13:59 [713662] smart account 3NASpBKQc8WXK6SAyvfbtuE2kwiJkY21tAS > SELF 0.00000000 Waves
{ "type": 13, "id": "5SK4p1x2EHngCfHPjcQTPDFfouJkr4W2Dx9SxYzqMTG9", "fee": 1400000, "feeAssetId": null, "timestamp": 1570705184683, "version": 1, "sender": "3NASpBKQc8WXK6SAyvfbtuE2kwiJkY21tAS", "senderPublicKey": "G5sPQotxGaroKXnhfRbWXoGgBponD7RQFH4bg1PS9mJE", "proofs": [ "5rQBZC6vGxoETJ9Jt8zQ1rkZa4uHc3it3XkHVEbJRrWsvDPTxotwx8Lpo821WUQwfzBMTZPZB5BVyyskeJGF5Fkt" ], "script": "base64:AAIDAAAAAAAAAAAAAAArAQAAAA5nZXROdW1iZXJCeUtleQAAAAEAAAADa2V5BAAAAAckbWF0Y2gwCQAEGgAAAAIFAAAABHRoaXMFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAADSW50BAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhAAAAAAAAAAAAAQAAAA5nZXRTdHJpbmdCeUtleQAAAAEAAAADa2V5BAAAAAckbWF0Y2gwCQAEHQAAAAIFAAAABHRoaXMFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAGU3RyaW5nBAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhAgAAAAABAAAADGdldEJvb2xCeUtleQAAAAEAAAADa2V5BAAAAAckbWF0Y2gwCQAEGwAAAAIFAAAABHRoaXMFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAHQm9vbGVhbgQAAAABYQUAAAAHJG1hdGNoMAUAAAABYQcBAAAAGGdldE51bWJlckJ5QWRkcmVzc0FuZEtleQAAAAIAAAAHYWRkcmVzcwAAAANrZXkEAAAAByRt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AAAAGcHJvZml0BQAAAA9uZXV0cmlub0Fzc2V0SWQFAAAAA25pbAAAAAD1nWY0", "chainId": 84, "height": 713662, "spentComplexity": 0 } View: original | compacted Prev: 2tQEmTBPPmdfkYjSy6sWrb7hpbBVDYdoWSHXpTZ9p6So Next: none Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | func a (b) = { | |
5 | 5 | let c = getInteger(this, b) | |
6 | 6 | if ($isInstanceOf(c, "Int")) | |
7 | 7 | then { | |
8 | 8 | let d = c | |
9 | 9 | d | |
10 | 10 | } | |
11 | 11 | else 0 | |
12 | 12 | } | |
13 | 13 | ||
14 | 14 | ||
15 | 15 | func e (b) = { | |
16 | 16 | let c = getString(this, b) | |
17 | 17 | if ($isInstanceOf(c, "String")) | |
18 | 18 | then { | |
19 | 19 | let d = c | |
20 | 20 | d | |
21 | 21 | } | |
22 | 22 | else "" | |
23 | 23 | } | |
24 | 24 | ||
25 | 25 | ||
26 | 26 | func f (b) = { | |
27 | 27 | let c = getBoolean(this, b) | |
28 | 28 | if ($isInstanceOf(c, "Boolean")) | |
29 | 29 | then { | |
30 | 30 | let d = c | |
31 | 31 | d | |
32 | 32 | } | |
33 | 33 | else false | |
34 | 34 | } | |
35 | 35 | ||
36 | 36 | ||
37 | 37 | func g (h,b) = { | |
38 | 38 | let c = getInteger(addressFromStringValue(h), b) | |
39 | 39 | if ($isInstanceOf(c, "Int")) | |
40 | 40 | then { | |
41 | 41 | let d = c | |
42 | 42 | d | |
43 | 43 | } | |
44 | 44 | else 0 | |
45 | 45 | } | |
46 | 46 | ||
47 | 47 | ||
48 | 48 | func i (h,b) = { | |
49 | 49 | let c = getString(addressFromStringValue(h), b) | |
50 | 50 | if ($isInstanceOf(c, "String")) | |
51 | 51 | then { | |
52 | 52 | let d = c | |
53 | 53 | d | |
54 | 54 | } | |
55 | 55 | else "" | |
56 | 56 | } | |
57 | 57 | ||
58 | 58 | ||
59 | 59 | let j = "_" | |
60 | 60 | ||
61 | 61 | let k = 10000 | |
62 | 62 | ||
63 | 63 | let l = "neutrino_asset_id" | |
64 | 64 | ||
65 | 65 | let m = "neutrino_contract" | |
66 | 66 | ||
67 | 67 | let n = "node_address" | |
68 | 68 | ||
69 | 69 | let o = "rpd_balance" | |
70 | 70 | ||
71 | 71 | let p = "rpd_sync_index" | |
72 | 72 | ||
73 | 73 | let q = "rpd_profit" | |
74 | 74 | ||
75 | 75 | let r = "balance_history" | |
76 | 76 | ||
77 | 77 | let s = "is_claimed" | |
78 | 78 | ||
79 | 79 | let t = "leasetx" | |
80 | 80 | ||
81 | 81 | let u = "leasetx_amount" | |
82 | 82 | ||
83 | 83 | func v (w) = ((r + "_") + w) | |
84 | 84 | ||
85 | 85 | ||
86 | 86 | func x (w,y) = ((((o + "_") + y) + "_") + w) | |
87 | 87 | ||
88 | 88 | ||
89 | 89 | func z (w,A,y) = ((x(w, y) + "_") + toString(A)) | |
90 | 90 | ||
91 | 91 | ||
92 | 92 | func B (w,A) = ((((s + "_") + w) + "_") + toString(A)) | |
93 | 93 | ||
94 | 94 | ||
95 | 95 | func C (w) = ((t + "_") + w) | |
96 | 96 | ||
97 | 97 | ||
98 | 98 | func D (E) = ((t + "_") + E) | |
99 | 99 | ||
100 | 100 | ||
101 | 101 | func F (w) = ((u + "_") + w) | |
102 | 102 | ||
103 | 103 | ||
104 | 104 | func G (y) = ((o + "_") + y) | |
105 | 105 | ||
106 | 106 | ||
107 | 107 | func H (A,y) = ((((o + "_") + y) + "_") + toString(A)) | |
108 | 108 | ||
109 | 109 | ||
110 | 110 | func I (A) = ((q + "_") + toString(A)) | |
111 | 111 | ||
112 | 112 | ||
113 | 113 | func J (w) = e(C(w)) | |
114 | 114 | ||
115 | 115 | ||
116 | 116 | func K (w) = a(F(w)) | |
117 | 117 | ||
118 | 118 | ||
119 | 119 | func L (E) = e(D(E)) | |
120 | 120 | ||
121 | 121 | ||
122 | 122 | let M = e(n) | |
123 | 123 | ||
124 | 124 | let N = e(m) | |
125 | 125 | ||
126 | 126 | let O = fromBase58String(i(N, l)) | |
127 | 127 | ||
128 | 128 | let P = g(N, p) | |
129 | 129 | ||
130 | 130 | func Q (y) = a(G(y)) | |
131 | 131 | ||
132 | 132 | ||
133 | 133 | func R (A,y) = g(N, H(A, y)) | |
134 | 134 | ||
135 | 135 | ||
136 | 136 | func S (A) = g(N, I(A)) | |
137 | 137 | ||
138 | 138 | ||
139 | 139 | func T (w,y) = a(x(w, y)) | |
140 | 140 | ||
141 | 141 | ||
142 | 142 | func U (w,A,y) = a(z(w, A, y)) | |
143 | 143 | ||
144 | 144 | ||
145 | 145 | func V (w) = e(v(w)) | |
146 | 146 | ||
147 | 147 | ||
148 | 148 | func W (w,A) = f(B(w, A)) | |
149 | 149 | ||
150 | 150 | ||
151 | 151 | func X (A) = (toString(A) + j) | |
152 | 152 | ||
153 | 153 | ||
154 | 154 | func Y (Z,aa) = (Z + aa) | |
155 | 155 | ||
156 | 156 | ||
157 | 157 | @Callable(ab) | |
158 | 158 | func lockNeutrino () = { | |
159 | 159 | let ac = extract(ab.payment) | |
160 | 160 | if ((ac.assetId != O)) | |
161 | 161 | then throw("can use neutrino") | |
162 | 162 | else { | |
163 | 163 | let ad = toString(ab.caller) | |
164 | 164 | let ae = toBase58String(value(ac.assetId)) | |
165 | 165 | let af = (T(ad, ae) + ac.amount) | |
166 | 166 | let ag = V(ad) | |
167 | 167 | let Z = split(ag, j) | |
168 | 168 | let ah = (size(Z) - 2) | |
169 | 169 | let ai = if (if ((ag != "")) | |
170 | 170 | then (parseIntValue(Z[ah]) == P) | |
171 | 171 | else false) | |
172 | 172 | then ag | |
173 | 173 | else Y(ag, X(P)) | |
174 | 174 | WriteSet([DataEntry(G(ae), (Q(ae) + ac.amount)), DataEntry(x(ad, ae), af), DataEntry(z(ad, P, ae), af), DataEntry(v(ad), ai)]) | |
175 | 175 | } | |
176 | 176 | } | |
177 | 177 | ||
178 | 178 | ||
179 | 179 | ||
180 | 180 | @Callable(ab) | |
181 | 181 | func registrationLeaseTx (aj,ak,al,am) = { | |
182 | 182 | let an = ab.callerPublicKey | |
183 | 183 | let h = toString(ab.caller) | |
184 | 184 | let ao = (((((base58'3h1H' + fromBase58String(N)) + fromBase58String(M)) + toBytes(aj)) + toBytes(ak)) + toBytes(al)) | |
185 | 185 | let ap = sigVerify(ao, fromBase58String(am), an) | |
186 | 186 | let af = T(h, toBase58String(O)) | |
187 | 187 | if (!(ap)) | |
188 | 188 | then throw("sign is not valid") | |
189 | 189 | else if ((ak > 500000)) | |
190 | 190 | then throw("invalid fee") | |
191 | 191 | else if (if ((aj != af)) | |
192 | 192 | then true | |
193 | 193 | else (aj == 0)) | |
194 | 194 | then throw("invalid amount") | |
195 | 195 | else if ((J(h) != "")) | |
196 | 196 | then throw("leaseTx is exist") | |
197 | 197 | else { | |
198 | 198 | let aq = toBase58String(blake2b256(ao)) | |
199 | 199 | WriteSet([DataEntry(C(h), aq), DataEntry(F(h), af), DataEntry(L(aq), an)]) | |
200 | 200 | } | |
201 | 201 | } | |
202 | 202 | ||
203 | 203 | ||
204 | 204 | ||
205 | 205 | @Callable(ab) | |
206 | 206 | func registrationUnleaseTx (ar,ak,al,am) = { | |
207 | 207 | let an = ab.callerPublicKey | |
208 | 208 | let h = toString(ab.caller) | |
209 | 209 | let as = J(h) | |
210 | 210 | let ao = (((((base58'gm' + fromBase64String(ar)) + fromBase58String(N)) + toBytes(ak)) + toBytes(al)) + fromBase58String(as)) | |
211 | 211 | let ap = sigVerify(ao, fromBase58String(am), an) | |
212 | 212 | let aq = blake2b256(ao) | |
213 | 213 | if (!(ap)) | |
214 | 214 | then throw("sign is not valid") | |
215 | 215 | else if ((transactionHeightById(aq) == 0)) | |
216 | 216 | then throw("blockchain does not contain this transaction") | |
217 | 217 | else if ((ak > 500000)) | |
218 | 218 | then throw("invalid fee") | |
219 | 219 | else if ((J(h) != "")) | |
220 | 220 | then throw("leaseTx is exist") | |
221 | 221 | else WriteSet([DataEntry(C(h), ""), DataEntry(F(h), 0)]) | |
222 | 222 | } | |
223 | 223 | ||
224 | 224 | ||
225 | 225 | ||
226 | 226 | @Callable(ab) | |
227 | 227 | func unlockNeutrino (at,ae) = { | |
228 | 228 | let ad = toString(ab.caller) | |
229 | 229 | let y = fromBase58String(ae) | |
230 | 230 | let af = (T(ad, ae) - at) | |
231 | 231 | let au = (af - K(ad)) | |
232 | 232 | if ((0 > au)) | |
233 | 233 | then throw("invalid amount") | |
234 | 234 | else if ((y != O)) | |
235 | 235 | then throw("can use neutrino") | |
236 | 236 | else { | |
237 | 237 | let ag = V(ad) | |
238 | 238 | let Z = split(ag, j) | |
239 | 239 | let ah = (size(Z) - 2) | |
240 | 240 | let ai = if (if ((ag != "")) | |
241 | 241 | then (parseIntValue(Z[ah]) == P) | |
242 | 242 | else false) | |
243 | 243 | then ag | |
244 | 244 | else Y(ag, X(P)) | |
245 | 245 | ScriptResult(WriteSet([DataEntry(o, (Q(ae) - at)), DataEntry(x(ad, ae), af), DataEntry(z(ad, P, ae), af), DataEntry(v(ad), ai)]), TransferSet([ScriptTransfer(addressFromStringValue(ad), at, O)])) | |
246 | 246 | } | |
247 | 247 | } | |
248 | 248 | ||
249 | 249 | ||
250 | 250 | ||
251 | 251 | @Callable(ab) | |
252 | 252 | func withdraw (av,aw) = { | |
253 | 253 | let ad = toString(ab.caller) | |
254 | 254 | let ag = V(ad) | |
255 | 255 | let Z = split(ag, j) | |
256 | 256 | let ax = parseIntValue(Z[aw]) | |
257 | 257 | if (W(ad, av)) | |
258 | 258 | then throw(("account is claimed rpd_count:" + toString(av))) | |
259 | 259 | else if (if ((ax > av)) | |
260 | 260 | then true | |
261 | 261 | else if ((size(Z) > (aw + 2))) | |
262 | 262 | then (av >= parseIntValue(Z[(aw + 1)])) | |
263 | 263 | else false) | |
264 | 264 | then throw("invalid history index") | |
265 | 265 | else { | |
266 | 266 | let ay = toBase58String(O) | |
267 | 267 | let af = U(ad, ax, ay) | |
268 | 268 | let az = (((af * k) * 100) / R(av, ay)) | |
269 | 269 | let aA = (((az * S(av)) / 100) / k) | |
270 | 270 | ScriptResult(WriteSet([DataEntry(B(ad, av), true)]), TransferSet([ScriptTransfer(addressFromStringValue(ad), aA, O)])) | |
271 | 271 | } | |
272 | 272 | } | |
273 | 273 | ||
274 | 274 |
github/deemru/w8io/169f3d6 37.80 ms ◑