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