tx · 8bxSoE3BFHW5yhmBk4UFG2f92VBKrdstuk8FjpoFSsM4 3MsSWdwKubqp6ZRX3X6dJLzPRXpQmuR227w: -0.01000000 Waves 2019.10.29 15:16 [741423] smart account 3MsSWdwKubqp6ZRX3X6dJLzPRXpQmuR227w > SELF 0.00000000 Waves
{ "type": 13, "id": "8bxSoE3BFHW5yhmBk4UFG2f92VBKrdstuk8FjpoFSsM4", "fee": 1000000, "feeAssetId": null, "timestamp": 1572351446635, "version": 1, "sender": "3MsSWdwKubqp6ZRX3X6dJLzPRXpQmuR227w", "senderPublicKey": "FgEmVdj87k3XnYaw6nyJLajVyLrKWSsrEKu6ByX2vNeB", "proofs": [ "3iPjjewPTbHX5FrzrhgtKnw6nUyXc7t5z9LWeP2DEbHWkC3Az5XyNCoqYa2j5q4FuF6Ha2apbAY6byA1idmaYDc7" ], "script": "base64:AAIDAAAAAAAAAAYIARIAEgAAAAAnAAAAAA1pc3N1ZXJBc3NldElkAQAAACCAjX9LGyif79Z270EpZUfqoTXwVkeY+K1j1LBMDa83qwAAAAARaW52ZXN0bWVudEFzc2V0SWQBAAAAIK85SEfvrxIJ4Do+tFOddCar+T1vBUuIXRUPqSc1Z4RYAAAAABhpbnZlc3RtZW50QXNzZXRJZElzV2F2ZXMHAAAAAA5vd25lclB1YmxpY0tleQEAAAAgBO49G50Cs/VmWMrUtFgYeltEqWJHx6h7uinFz04ZGTsAAAAADG93bmVyQWRkcmVzcwkBAAAAFGFkZHJlc3NGcm9tUHVibGljS2V5AAAAAQUAAAAOb3duZXJQdWJsaWNLZXkAAAAAEm93bmVyQWRkcmVzc1N0cmluZwIAAAAjM04xdWRCTEJ1bWZYcXNCRFF0eXRRQnF6Yjg5REFxRk5kd1YAAAAAE2Fzc2V0RGVjaW1hbHNPZmZzZXQAAAAAAAAAAAEAAAAAEHN1bUFjY291bnRBc3NldHMAAAAAAAAAAGQAAAAADGlzc3VlckFzc2V0cwAAAAAAAAAAAAAAAAAKc3RhcnRCbG9jawA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S2V5MVNpZ25lZAUAAAALcEtleTJTaWduZWQFAAAAC3BLZXkzU2lnbmVkBQAAAAtwS2V5NFNpZ25lZAUAAAALcEtleTVTaWduZWQAAAAAAAAAAAMHac1A7g==", "chainId": 84, "height": 741423, "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'9epKvJWLMuAoW44j5eXPKgxEET8wmJvNJffvtKE2Wa2N' | |
5 | + | ||
6 | + | let b = base58'Co11Tbj83TeZCnuXrZQwv6Bs4XG2sm1vGQiQ4FLDjJWs' | |
7 | + | ||
8 | + | let c = false | |
9 | + | ||
10 | + | let d = base58'LFLA9vjGZ2W7qKCMzLgZyKr8awo3akH6TTQ5F9QveDQ' | |
11 | + | ||
12 | + | let e = addressFromPublicKey(d) | |
13 | + | ||
14 | + | let f = "3N1udBLBumfXqsBDQtytQBqzb89DAqFNdwV" | |
15 | + | ||
16 | + | let g = 1 | |
17 | + | ||
18 | + | let h = 100 | |
19 | + | ||
20 | + | let i = 0 | |
21 | + | ||
22 | + | let j = 741422 | |
23 | + | ||
24 | + | let k = 754382 | |
25 | + | ||
26 | + | let l = 754382 | |
27 | + | ||
28 | + | let m = 1000000 | |
29 | + | ||
30 | + | let n = 1000000 | |
31 | + | ||
32 | + | let o = 100000000 | |
33 | + | ||
34 | + | let p = 100000000 | |
35 | + | ||
36 | + | let q = 1000000 | |
37 | + | ||
38 | + | let r = "sumAmount " | |
39 | + | ||
40 | + | let s = "paidAmount " | |
41 | + | ||
42 | + | let t = "sumAssets " | |
43 | + | ||
44 | + | let u = "allow " | |
45 | + | ||
46 | + | let v = "assets" | |
47 | + | ||
48 | + | let w = "amount" | |
49 | + | ||
50 | + | let x = "issuer" | |
51 | + | ||
52 | + | let y = Address(base58'3N6DwWxT82nGJUwBwd7L514r2u71gr7WhwJ') | |
53 | + | ||
54 | + | let z = Address(base58'3N1SPvLZgv6FMfe5WNUtnPzt3okYxcJhYnR') | |
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 = "2.0.1-testnet" | |
67 | + | ||
68 | + | let G = 1000 | |
69 | + | ||
70 | + | func H (I,J) = if ((I == false)) | |
71 | + | then J | |
72 | + | else unit | |
73 | + | ||
74 | + | ||
75 | + | func K () = if ((k > height)) | |
76 | + | then m | |
77 | + | else n | |
78 | + | ||
79 | + | ||
80 | + | func L (M) = { | |
81 | + | let N = getInteger(this, M) | |
82 | + | if ($isInstanceOf(N, "Int")) | |
83 | + | then { | |
84 | + | let O = N | |
85 | + | O | |
86 | + | } | |
87 | + | else 0 | |
88 | + | } | |
89 | + | ||
90 | + | ||
91 | + | func P () = (j > height) | |
92 | + | ||
93 | + | ||
94 | + | func Q (R) = if ((height > l)) | |
95 | + | then true | |
96 | + | else (R >= p) | |
97 | + | ||
98 | + | ||
99 | + | func S (T) = { | |
100 | + | let N = T.payment | |
101 | + | if ($isInstanceOf(N, "AttachedPayment")) | |
102 | + | then { | |
103 | + | let U = N | |
104 | + | let V = { | |
105 | + | let W = U.assetId | |
106 | + | if ($isInstanceOf(W, "ByteVector")) | |
107 | + | then { | |
108 | + | let J = W | |
109 | + | if (!(c)) | |
110 | + | then (J == b) | |
111 | + | else false | |
112 | + | } | |
113 | + | else (c == true) | |
114 | + | } | |
115 | + | if (V) | |
116 | + | then if ((g == 1)) | |
117 | + | then if (((U.amount % m) == 0)) | |
118 | + | then U.amount | |
119 | + | else throw("payment amount must be a multiple of token price") | |
120 | + | else U.amount | |
121 | + | else throw("Invalid asset ID of investment") | |
122 | + | } | |
123 | + | else throw("Payment must be attached") | |
124 | + | } | |
125 | + | ||
126 | + | ||
127 | + | @Callable(T) | |
128 | + | func deposit () = { | |
129 | + | let X = K() | |
130 | + | let Y = L(w) | |
131 | + | if (P()) | |
132 | + | then throw(((("The Tokensale works between " + toString(j)) + " and ") + toString(l))) | |
133 | + | else if (Q(Y)) | |
134 | + | then throw("The required amount has already been accumulated. If you are an investor, you can withdraw your funds.") | |
135 | + | else { | |
136 | + | let Z = S(T) | |
137 | + | let aa = toBase58String(T.caller.bytes) | |
138 | + | let ab = { | |
139 | + | let N = getInteger(y, aa) | |
140 | + | if ($isInstanceOf(N, "Int")) | |
141 | + | then { | |
142 | + | let O = N | |
143 | + | O | |
144 | + | } | |
145 | + | else -255 | |
146 | + | } | |
147 | + | if ((G > ab)) | |
148 | + | then throw("Your account has no right to send funds.") | |
149 | + | else { | |
150 | + | let ac = { | |
151 | + | let N = getInteger(this, v) | |
152 | + | if ($isInstanceOf(N, "Int")) | |
153 | + | then { | |
154 | + | let O = N | |
155 | + | O | |
156 | + | } | |
157 | + | else h | |
158 | + | } | |
159 | + | let ad = ((Z * g) / X) | |
160 | + | let ae = ((q * g) / X) | |
161 | + | if (if (if ((0 > (ac - ad))) | |
162 | + | then true | |
163 | + | else (ae > ad)) | |
164 | + | then true | |
165 | + | else if ((ad != ac)) | |
166 | + | then (ad > (ac - ae)) | |
167 | + | else false) | |
168 | + | then throw("Incorrect payment amount.") | |
169 | + | else { | |
170 | + | let af = (L((r + aa)) + Z) | |
171 | + | let ag = (L((t + aa)) + ad) | |
172 | + | let ah = (ac - ad) | |
173 | + | let ai = (Y + Z) | |
174 | + | WriteSet([DataEntry((r + aa), af), DataEntry((t + aa), ag), DataEntry(v, ah), DataEntry(w, ai)]) | |
175 | + | } | |
176 | + | } | |
177 | + | } | |
178 | + | } | |
179 | + | ||
180 | + | ||
181 | + | ||
182 | + | @Callable(T) | |
183 | + | func withdrawal () = { | |
184 | + | let aj = { | |
185 | + | let N = getInteger(z, toString(this)) | |
186 | + | if ($isInstanceOf(N, "Int")) | |
187 | + | then { | |
188 | + | let O = N | |
189 | + | O | |
190 | + | } | |
191 | + | else 0 | |
192 | + | } | |
193 | + | if ((aj == 0)) | |
194 | + | then throw("The issuer is not allowed to withdraw funds until they pass verification") | |
195 | + | else { | |
196 | + | let aa = toBase58String(T.caller.bytes) | |
197 | + | let ak = L((t + aa)) | |
198 | + | let al = L((r + aa)) | |
199 | + | let Y = L(w) | |
200 | + | let ac = L(v) | |
201 | + | let am = H(c, b) | |
202 | + | if (!(Q(Y))) | |
203 | + | then throw(("The Tokensale end on block " + toString(l))) | |
204 | + | else if (if (if ((aa == f)) | |
205 | + | then (Y >= o) | |
206 | + | else false) | |
207 | + | then (aj == 1) | |
208 | + | else false) | |
209 | + | then { | |
210 | + | let an = L(x) | |
211 | + | if ((an == 0)) | |
212 | + | then ScriptResult(WriteSet([DataEntry(x, (ac + i))]), TransferSet([ScriptTransfer(e, (ac + i), a), ScriptTransfer(e, Y, am)])) | |
213 | + | else throw("The issuer has already taken its share!") | |
214 | + | } | |
215 | + | else if ((al == 0)) | |
216 | + | then throw("Don't have money") | |
217 | + | else if (if ((Y >= o)) | |
218 | + | then (aj == 1) | |
219 | + | else false) | |
220 | + | then ScriptResult(WriteSet([DataEntry((r + aa), 0), DataEntry((t + aa), 0)]), TransferSet([ScriptTransfer(T.caller, ak, a)])) | |
221 | + | else ScriptResult(WriteSet([DataEntry((r + aa), 0), DataEntry((t + aa), 0)]), TransferSet([ScriptTransfer(T.caller, al, am)])) | |
222 | + | } | |
223 | + | } | |
224 | + | ||
225 | + | ||
226 | + | @Verifier(ao) | |
227 | + | func ap () = { | |
228 | + | let N = ao | |
229 | + | if (if ($isInstanceOf(N, "SetAssetScriptTransaction")) | |
230 | + | then true | |
231 | + | else $isInstanceOf(N, "SetScriptTransaction")) | |
232 | + | then { | |
233 | + | let ao = N | |
234 | + | let aq = if (isDefined(getInteger(extract(A), toBase58String(ao.id)))) | |
235 | + | then 1 | |
236 | + | else 0 | |
237 | + | let ar = if (isDefined(getInteger(extract(B), toBase58String(ao.id)))) | |
238 | + | then 1 | |
239 | + | else 0 | |
240 | + | let as = if (isDefined(getInteger(extract(C), toBase58String(ao.id)))) | |
241 | + | then 1 | |
242 | + | else 0 | |
243 | + | let at = if (isDefined(getInteger(extract(D), toBase58String(ao.id)))) | |
244 | + | then 1 | |
245 | + | else 0 | |
246 | + | let au = if (isDefined(getInteger(extract(E), toBase58String(ao.id)))) | |
247 | + | then 1 | |
248 | + | else 0 | |
249 | + | (((((aq + ar) + as) + at) + au) >= 3) | |
250 | + | } | |
251 | + | else false | |
252 | + | } | |
253 | + |
github/deemru/w8io/169f3d6 24.35 ms ◑