tx · 3LEhnSG9CDkMB9rxKRdu8VeuAZjR1dkvu9pTiDUhGxG8 3N216NYttjnkMabJT2CKZSvP8rxoQEy7qZv: -0.01000000 Waves 2019.09.02 15:04 [658320] smart account 3N216NYttjnkMabJT2CKZSvP8rxoQEy7qZv > SELF 0.00000000 Waves
{ "type": 13, "id": "3LEhnSG9CDkMB9rxKRdu8VeuAZjR1dkvu9pTiDUhGxG8", "fee": 1000000, "feeAssetId": null, "timestamp": 1567425912599, "version": 1, "sender": "3N216NYttjnkMabJT2CKZSvP8rxoQEy7qZv", "senderPublicKey": "4CsN7vdrYYorDMa1jXE1ZPZMWHE2WAeZAdMwWsj8EtLQ", "proofs": [ "4GcPt9BqUnfYW3Whns8ppx8HKnXAWWYBUdSKGH5stMK7swaeHoNqSRLZrSSpUi6BoQ4bn9R81GkvnTkTHBJV8c1c" ], "script": "base64:AAIDAAAAAAAAAAAAAAAgAAAAAA1pc3N1ZXJBc3NldElkAQAAACASgOsRk9Q3uKmrlsEQ2O+hlJzecsAnRD2sWqOsXor+UQAAAAARaW52ZXN0bWVudEFzc2V0SWQBAAAAIMyghA9N/H6PKJXRf4vv09OPc6rJgvZXIaRGMYd/LPwxAAAAABhpbnZlc3RtZW50QXNzZXRJZElzV2F2ZXMHAAAAAA5vd25lclB1YmxpY0tleQEAAAAgon1NjQ3EjCEr8urgzZc1VlV8eymVMM5zpX1fQE5Ht3UAAAAADG93bmVyQWRkcmVzcwkBAAAAFGFkZHJlc3NGcm9tUHVibGljS2V5AAAAAQUAAAAOb3duZXJQdWJsaWNLZXkAAAAAEm93bmVyQWRkcmVzc1N0cmluZwIAAAAjM01wZmE2MUI1cVByYnBrNERHeXVIUkpSRVJWanduZ2dXem4AAAAAEHdoaXRlbGlzdEFkZHJlc3MJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVSy4ps+uwlECTaFaLiWJr0yF21GhUEUIDUAAAAAFGRBcHBXaGl0ZWxpc3RBZGRyZXNzCQEAAAAHQWRkcmVzcw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ldEFzc2V0U2NyaXB0VHJhbnNhY3Rpb24EAAAAAnR4BQAAAAckbWF0Y2gwCQAAAAAAAAIFAAAABHRoaXMIBQAAAAJ0eAAAAAZzZW5kZXIHRcRGOw==", "chainId": 84, "height": 658320, "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 3 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | let a = base58'2FEMZYbXvwjnB1FiMb7Sm79PZDABmPCLgPwFJg9cSwLL' | |
5 | + | ||
6 | + | let b = base58'Emn8cyGDFgnLCKLTXqVWhKJARhtR2muBUuZaSmqNzDfn' | |
7 | + | ||
8 | + | let c = false | |
9 | + | ||
10 | + | let d = base58'BwHsCqQVYGPWoTdHFhzeFNj6mUJBkQCSjSXWXwc7rY8U' | |
11 | + | ||
12 | + | let e = addressFromPublicKey(d) | |
13 | + | ||
14 | + | let f = "3Mpfa61B5qPrbpk4DGyuHRJRERVjwnggWzn" | |
15 | + | ||
16 | + | let g = Address(base58'3N6DwWxT82nGJUwBwd7L514r2u71gr7WhwJ') | |
17 | + | ||
18 | + | let h = Address(base58'3N1SPvLZgv6FMfe5WNUtnPzt3okYxcJhYnR') | |
19 | + | ||
20 | + | let i = 1000000 | |
21 | + | ||
22 | + | let j = 200000000 | |
23 | + | ||
24 | + | let k = 100000000 | |
25 | + | ||
26 | + | let l = 658318 | |
27 | + | ||
28 | + | let m = 662638 | |
29 | + | ||
30 | + | let n = 662638 | |
31 | + | ||
32 | + | let o = 1000000 | |
33 | + | ||
34 | + | let p = 1000000 | |
35 | + | ||
36 | + | let q = 100000000 | |
37 | + | ||
38 | + | let r = 200000000 | |
39 | + | ||
40 | + | let s = "sumAmount " | |
41 | + | ||
42 | + | let t = "paidAmount " | |
43 | + | ||
44 | + | let u = "sumAssets " | |
45 | + | ||
46 | + | let v = "allow " | |
47 | + | ||
48 | + | let w = "assets" | |
49 | + | ||
50 | + | let x = "amount" | |
51 | + | ||
52 | + | let y = "issuer" | |
53 | + | ||
54 | + | let z = addressFromString("3NCVDaT1ASbRd42hBSw4EG6ojGVRGtvMiz1") | |
55 | + | ||
56 | + | let A = addressFromString("3Ms2kTAxdrcXDxwedfbNjSi6ewGCUqt3heZ") | |
57 | + | ||
58 | + | let B = addressFromString("3N6ognm7xnQSFiownS1Df1LacJUQXvfDFLe") | |
59 | + | ||
60 | + | let C = addressFromString("3MtVCmN9MZbWf9qxiMFoEPBrdc2fLp3SvuC") | |
61 | + | ||
62 | + | let D = addressFromString("3MuWG8gsTK4RQBsm97sMCuUXW99JvRxwYSg") | |
63 | + | ||
64 | + | let E = "2.0.0-testnet" | |
65 | + | ||
66 | + | func F (G,H) = if ((G == false)) | |
67 | + | then H | |
68 | + | else unit | |
69 | + | ||
70 | + | ||
71 | + | @Callable(I) | |
72 | + | func deposit () = { | |
73 | + | let J = if ((m > height)) | |
74 | + | then o | |
75 | + | else p | |
76 | + | let K = { | |
77 | + | let L = getInteger(this, x) | |
78 | + | if ($isInstanceOf(L, "Int")) | |
79 | + | then { | |
80 | + | let M = L | |
81 | + | M | |
82 | + | } | |
83 | + | else 0 | |
84 | + | } | |
85 | + | if ((l > height)) | |
86 | + | then throw(((("The Tokensale works between " + toString(l)) + " and ") + toString(n))) | |
87 | + | else if (if ((height > n)) | |
88 | + | then true | |
89 | + | else (K >= r)) | |
90 | + | then throw("The required amount has already been accumulated. If you are an investor, you can withdraw your funds.") | |
91 | + | else { | |
92 | + | let N = { | |
93 | + | let L = I.payment | |
94 | + | if ($isInstanceOf(L, "AttachedPayment")) | |
95 | + | then { | |
96 | + | let O = L | |
97 | + | let P = { | |
98 | + | let Q = O.assetId | |
99 | + | if ($isInstanceOf(Q, "ByteVector")) | |
100 | + | then { | |
101 | + | let H = Q | |
102 | + | if (!(c)) | |
103 | + | then (H == b) | |
104 | + | else false | |
105 | + | } | |
106 | + | else (c == true) | |
107 | + | } | |
108 | + | if (P) | |
109 | + | then O.amount | |
110 | + | else throw("Invalid asset ID of investment") | |
111 | + | } | |
112 | + | else throw("Payment must be attached") | |
113 | + | } | |
114 | + | let R = toBase58String(I.caller.bytes) | |
115 | + | let S = { | |
116 | + | let L = getInteger(g, R) | |
117 | + | if ($isInstanceOf(L, "Int")) | |
118 | + | then { | |
119 | + | let M = L | |
120 | + | M | |
121 | + | } | |
122 | + | else -255 | |
123 | + | } | |
124 | + | if ((-1 > S)) | |
125 | + | then throw("Your account has no right to send funds.") | |
126 | + | else { | |
127 | + | let T = { | |
128 | + | let L = getInteger(this, w) | |
129 | + | if ($isInstanceOf(L, "Int")) | |
130 | + | then { | |
131 | + | let M = L | |
132 | + | M | |
133 | + | } | |
134 | + | else j | |
135 | + | } | |
136 | + | if ((0 > (T - ((N * i) / J)))) | |
137 | + | then throw((("Payment is too big. Maximum possible payment is " + toString(((T * J) / i))) + " wavelet")) | |
138 | + | else { | |
139 | + | let U = { | |
140 | + | let L = getInteger(this, (s + R)) | |
141 | + | if ($isInstanceOf(L, "Int")) | |
142 | + | then { | |
143 | + | let M = L | |
144 | + | M | |
145 | + | } | |
146 | + | else 0 | |
147 | + | } | |
148 | + | let V = (U + N) | |
149 | + | let W = { | |
150 | + | let L = getInteger(this, (u + R)) | |
151 | + | if ($isInstanceOf(L, "Int")) | |
152 | + | then { | |
153 | + | let M = L | |
154 | + | M | |
155 | + | } | |
156 | + | else 0 | |
157 | + | } | |
158 | + | let X = (W + ((N * i) / J)) | |
159 | + | let Y = (T - ((N * i) / J)) | |
160 | + | let Z = (K + N) | |
161 | + | WriteSet([DataEntry((s + R), V), DataEntry((u + R), X), DataEntry(w, Y), DataEntry(x, Z)]) | |
162 | + | } | |
163 | + | } | |
164 | + | } | |
165 | + | } | |
166 | + | ||
167 | + | ||
168 | + | ||
169 | + | @Callable(I) | |
170 | + | func withdrawal () = { | |
171 | + | let aa = { | |
172 | + | let L = getInteger(h, toString(this)) | |
173 | + | if ($isInstanceOf(L, "Int")) | |
174 | + | then { | |
175 | + | let M = L | |
176 | + | M | |
177 | + | } | |
178 | + | else 0 | |
179 | + | } | |
180 | + | if ((aa == 0)) | |
181 | + | then throw("Withdrawals are not available until the issuer passes verification") | |
182 | + | else { | |
183 | + | let R = toBase58String(I.caller.bytes) | |
184 | + | let W = { | |
185 | + | let L = getInteger(this, (u + R)) | |
186 | + | if ($isInstanceOf(L, "Int")) | |
187 | + | then { | |
188 | + | let M = L | |
189 | + | M | |
190 | + | } | |
191 | + | else 0 | |
192 | + | } | |
193 | + | let U = { | |
194 | + | let L = getInteger(this, (s + R)) | |
195 | + | if ($isInstanceOf(L, "Int")) | |
196 | + | then { | |
197 | + | let M = L | |
198 | + | M | |
199 | + | } | |
200 | + | else 0 | |
201 | + | } | |
202 | + | let K = { | |
203 | + | let L = getInteger(this, x) | |
204 | + | if ($isInstanceOf(L, "Int")) | |
205 | + | then { | |
206 | + | let M = L | |
207 | + | M | |
208 | + | } | |
209 | + | else 0 | |
210 | + | } | |
211 | + | let T = { | |
212 | + | let L = getInteger(this, w) | |
213 | + | if ($isInstanceOf(L, "Int")) | |
214 | + | then { | |
215 | + | let M = L | |
216 | + | M | |
217 | + | } | |
218 | + | else 0 | |
219 | + | } | |
220 | + | let ab = F(c, b) | |
221 | + | if (!(if ((height > n)) | |
222 | + | then true | |
223 | + | else (K >= r))) | |
224 | + | then throw(("The Tokensale end on block " + toString(n))) | |
225 | + | else if (if (if ((R == f)) | |
226 | + | then (K >= q) | |
227 | + | else false) | |
228 | + | then (aa == 1) | |
229 | + | else false) | |
230 | + | then { | |
231 | + | let ac = { | |
232 | + | let L = getInteger(this, y) | |
233 | + | if ($isInstanceOf(L, "Int")) | |
234 | + | then { | |
235 | + | let M = L | |
236 | + | M | |
237 | + | } | |
238 | + | else 0 | |
239 | + | } | |
240 | + | if ((ac == 0)) | |
241 | + | then ScriptResult(WriteSet([DataEntry(y, (T + k))]), TransferSet([ScriptTransfer(e, (T + k), a), ScriptTransfer(e, K, ab)])) | |
242 | + | else throw("The issuer has already taken its share!") | |
243 | + | } | |
244 | + | else if ((U == 0)) | |
245 | + | then throw("Don't have money") | |
246 | + | else if (if ((K >= q)) | |
247 | + | then (aa == 1) | |
248 | + | else false) | |
249 | + | then ScriptResult(WriteSet([DataEntry((s + R), 0), DataEntry((u + R), 0)]), TransferSet([ScriptTransfer(I.caller, W, a)])) | |
250 | + | else ScriptResult(WriteSet([DataEntry((s + R), 0), DataEntry((u + R), 0)]), TransferSet([ScriptTransfer(I.caller, U, ab)])) | |
251 | + | } | |
252 | + | } | |
253 | + | ||
254 | + | ||
255 | + | @Verifier(ad) | |
256 | + | func ae () = { | |
257 | + | let L = ad | |
258 | + | if ($isInstanceOf(L, "SetScriptTransaction")) | |
259 | + | then { | |
260 | + | let ad = L | |
261 | + | let af = if (isDefined(getInteger(extract(z), toBase58String(ad.id)))) | |
262 | + | then 1 | |
263 | + | else 0 | |
264 | + | let ag = if (isDefined(getInteger(extract(A), toBase58String(ad.id)))) | |
265 | + | then 1 | |
266 | + | else 0 | |
267 | + | let ah = if (isDefined(getInteger(extract(B), toBase58String(ad.id)))) | |
268 | + | then 1 | |
269 | + | else 0 | |
270 | + | let ai = if (isDefined(getInteger(extract(C), toBase58String(ad.id)))) | |
271 | + | then 1 | |
272 | + | else 0 | |
273 | + | let aj = if (isDefined(getInteger(extract(D), toBase58String(ad.id)))) | |
274 | + | then 1 | |
275 | + | else 0 | |
276 | + | (((((af + ag) + ah) + ai) + aj) >= 3) | |
277 | + | } | |
278 | + | else if ($isInstanceOf(L, "SetAssetScriptTransaction")) | |
279 | + | then { | |
280 | + | let ad = L | |
281 | + | (this == ad.sender) | |
282 | + | } | |
283 | + | else false | |
284 | + | } | |
285 | + |
github/deemru/w8io/169f3d6 25.46 ms ◑