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