tx · YLNuyTbzcVX4Rfy1ifmgqJuooALTeRVGAaFfRRSkQyJ

3N1BabWCmcTCQWWMuWbLFPoY4VfpuUsAyq1:  -0.01400000 Waves

2020.01.21 18:11 [864173] smart account 3N1BabWCmcTCQWWMuWbLFPoY4VfpuUsAyq1 > SELF 0.00000000 Waves

{ "type": 13, "id": "YLNuyTbzcVX4Rfy1ifmgqJuooALTeRVGAaFfRRSkQyJ", "fee": 1400000, "feeAssetId": null, "timestamp": 1579619413479, "version": 1, "sender": "3N1BabWCmcTCQWWMuWbLFPoY4VfpuUsAyq1", "senderPublicKey": "7ovV8A4Am8Lw7FJ3mP7C2YWX6CSR52H4DyepL62fEhjX", "proofs": [], "script": "base64:AAIDAAAAAAAAAAgIARIAEgASAAAAADcAAAAADWlzc3VlckFzc2V0SWQBAAAAILexI7u70o1qePQ/1A8a6MxDlsiV4x3u/6ZL/3TtTfWUAAAAABFpbnZlc3RtZW50QXNzZXRJZAEAAAAAAAAAABhpbnZlc3RtZW50QXNzZXRJZElzV2F2ZXMGAAAAAA5vd25lclB1YmxpY0tleQEAAAAglzekY6T8LiZa5ZUEuiXVPCIAPFt1/58SItbMDT/dhTQAAAAADG93bmVyQWRkcmVzcwkBAAAAFGFkZHJlc3NGcm9tUHVibGljS2V5AAAAAQUAAAAOb3duZXJQdWJsaWNLZXkAAAAAEm93bmVyQWRkcmVzc1N0cmluZwIAAAAjM043cmRBcVQ2M2o4aUJVcW9WdDRpTW5ScmhGQ2syWUdvazYAAAAAE2Fzc2V0RGVjaW1hbHNPZmZzZXQAAAAAAAAAAAEAAAAAD3Rva2Vuc2FsZUFtb3VudAAAAAAAAAAD6AAAAAAJc3RhcnRUaW1lAAAAAABeGGToAAAAABFpbmNyZWFzZVByaWNlVGltZQAAAAAAXiwpxAAAAAAHZW5kVGltZQAAAAAAXiwpxAAAAAAFcHJpY2UAAAAAAAABhqAAAAAAC3ByaWNlU2Vjb25kAAAAAAAAAYagAAAAAA1zb2Z0Q2FwQW1vdW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AACCQAAZAAAAAIFAAAAC3BLZXkxU2lnbmVkBQAAAAtwS2V5MlNpZ25lZAUAAAALcEtleTNTaWduZWQFAAAAC3BLZXk0U2lnbmVkBQAAAAtwS2V5NVNpZ25lZAAAAAAAAAAAAwcPMlfs", "chainId": 84, "height": 864173, "spentComplexity": 0 } View: original | compacted Prev: J6yQNipdn9YavSDALY6mcJ5ZG8YSUuwN6ocijENuQfZ7 Next: none Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let a = base58'5aWWj4tzU736h7RhwreuffTGNxyRLWJysK1spWqTDetj'
4+let a = base58'DN4GmTRkkNYLSX4RjgzZbaSy2cTg1ahRLAhe23QwB2cs'
55
6-let b = base58'WAVES'
6+let b = base58''
77
88 let c = true
99
10-let d = base58'8g5M2bS89AJWXCZJme4sGZ16Cy4sUfpoxDASmWbv6GVR'
10+let d = base58'BBHmotEPzeYbapjncSTyaVf1eM4yiCPabPzMFqH5Mk8s'
1111
1212 let e = addressFromPublicKey(d)
1313
14-let f = "3N54ZH9NaSC3PsDJAcUr82gYaWUM95DbXd3"
14+let f = "3N7rdAqT63j8iBUqoVt4iMnRrhFCk2YGok6"
1515
1616 let g = 1
1717
18-let h = 100
18+let h = 1000
1919
20-let i = 1579510500
20+let i = 1578657000
2121
22-let j = 1579769700
22+let j = 1579952580
2323
24-let k = 100000000
24+let k = 1579952580
2525
26-let l = 1000000000
26+let l = 100000
2727
28-let m = 100000000
28+let m = 100000
2929
30-let n = base58'G7sJQse5JnS7BB2TTppRnEtjpoTnQKX6jpTPrnY2f8nn'
30+let n = 10000
3131
32-let o = 10
32+let o = 1000
3333
34-let p = 100000000
34+let p = 100000
3535
36-let q = 2
36+let q = base58'AB1EjGamzeQdfjThY1MTabtCDDKYnK8YRgr9osK9GXoy'
3737
38-let r = 0
38+let r = 1000
3939
40-let s = 1
40+let s = 10000000
4141
42-let t = 2
42+let t = 1
4343
44-let u = "swapSumAmount "
44+let u = 0
4545
46-let v = "swapSumAssets "
46+let v = 1
4747
48-let w = "swapAssets"
48+let w = 2
4949
50-let x = "swapAmount"
50+let x = "swapSumAmount "
5151
52-let y = "sumAmount "
52+let y = "swapSumAssets "
5353
54-let z = "paidAmount "
54+let z = "swapAssets"
5555
56-let A = "sumAssets "
56+let A = "swapAmount"
5757
58-let B = "allow "
58+let B = "sumAmount "
5959
60-let C = "assets"
60+let C = "paidAmount "
6161
62-let D = "amount"
62+let D = "sumAssets "
6363
64-let E = "issuer"
64+let E = "allow "
6565
66-let F = Address(base58'3N6DwWxT82nGJUwBwd7L514r2u71gr7WhwJ')
66+let F = "assets"
6767
68-let G = Address(base58'3N1SPvLZgv6FMfe5WNUtnPzt3okYxcJhYnR')
68+let G = "amount"
6969
70-let H = addressFromString("3NCVDaT1ASbRd42hBSw4EG6ojGVRGtvMiz1")
70+let H = "issuer"
7171
72-let I = addressFromString("3Ms2kTAxdrcXDxwedfbNjSi6ewGCUqt3heZ")
72+let I = Address(base58'3N6DwWxT82nGJUwBwd7L514r2u71gr7WhwJ')
7373
74-let J = addressFromString("3N6ognm7xnQSFiownS1Df1LacJUQXvfDFLe")
74+let J = Address(base58'3N1SPvLZgv6FMfe5WNUtnPzt3okYxcJhYnR')
7575
76-let K = addressFromString("3MtVCmN9MZbWf9qxiMFoEPBrdc2fLp3SvuC")
76+let K = addressFromString("3NCVDaT1ASbRd42hBSw4EG6ojGVRGtvMiz1")
7777
78-let L = addressFromString("3MuWG8gsTK4RQBsm97sMCuUXW99JvRxwYSg")
78+let L = addressFromString("3Ms2kTAxdrcXDxwedfbNjSi6ewGCUqt3heZ")
7979
80-let M = "4.0.0-testnet"
80+let M = addressFromString("3N6ognm7xnQSFiownS1Df1LacJUQXvfDFLe")
8181
82-let N = 1000
82+let N = addressFromString("3MtVCmN9MZbWf9qxiMFoEPBrdc2fLp3SvuC")
8383
84-func O () = if ((q == r))
84+let O = addressFromString("3MuWG8gsTK4RQBsm97sMCuUXW99JvRxwYSg")
85+
86+let P = "4.0.0-testnet"
87+
88+let Q = 1000
89+
90+func R () = if ((t == u))
8591 then true
86- else (q == t)
92+ else (t == w)
8793
8894
89-func P () = if ((q == s))
95+func S () = if ((t == v))
9096 then true
91- else (q == t)
97+ else (t == w)
9298
9399
94-func Q () = {
95- let R = value(blockInfoByHeight(height))
96- (R.timestamp / 1000)
100+func T () = {
101+ let U = value(blockInfoByHeight(height))
102+ (U.timestamp / 1000)
97103 }
98104
99105
100-func S (T,U) = if ((T == false))
101- then U
106+func V (W,X) = if ((W == false))
107+ then X
102108 else unit
103109
104110
105-func V () = k
111+func Y () = l
106112
107113
108-func W (X) = {
109- let Y = getInteger(this, X)
110- if ($isInstanceOf(Y, "Int"))
114+func Z (aa) = {
115+ let ab = getInteger(this, aa)
116+ if ($isInstanceOf(ab, "Int"))
111117 then {
112- let Z = Y
113- Z
118+ let ac = ab
119+ ac
114120 }
115121 else 0
116122 }
117123
118124
119-func aa () = (Q() >= i)
125+func ad () = (T() >= i)
120126
121127
122-func ab () = {
123- let ac = {
124- let Y = getInteger(this, C)
125- if ($isInstanceOf(Y, "Int"))
128+func ae () = {
129+ let af = {
130+ let ab = getInteger(this, F)
131+ if ($isInstanceOf(ab, "Int"))
126132 then {
127- let Z = Y
128- Z
133+ let ac = ab
134+ ac
129135 }
130136 else h
131137 }
132- if ((Q() > j))
138+ if ((T() > k))
133139 then true
134- else (ac == 0)
140+ else (af == 0)
135141 }
136142
137143
138-func ad () = {
139- let ac = {
140- let Y = getInteger(this, w)
141- if ($isInstanceOf(Y, "Int"))
144+func ag () = {
145+ let af = {
146+ let ab = getInteger(this, z)
147+ if ($isInstanceOf(ab, "Int"))
142148 then {
143- let Z = Y
144- Z
149+ let ac = ab
150+ ac
145151 }
146- else o
152+ else r
147153 }
148- if ((Q() > j))
154+ if ((T() > k))
149155 then true
150- else (o == 0)
156+ else (af == 0)
151157 }
152158
153159
154-func ae () = if (ab())
155- then ad()
156- else false
160+func ah () = if (if (S())
161+ then R()
162+ else false)
163+ then if (ae())
164+ then ag()
165+ else false
166+ else if (R())
167+ then ae()
168+ else if (S())
169+ then ag()
170+ else false
157171
158172
159-func af (ag) = {
160- let Y = ag.payment
161- if ($isInstanceOf(Y, "AttachedPayment"))
173+func ai (aj) = {
174+ let ab = aj.payment
175+ if ($isInstanceOf(ab, "AttachedPayment"))
162176 then {
163- let ah = Y
164- let ai = {
165- let aj = ah.assetId
166- if ($isInstanceOf(aj, "ByteVector"))
177+ let ak = ab
178+ let al = {
179+ let am = ak.assetId
180+ if ($isInstanceOf(am, "ByteVector"))
167181 then {
168- let U = aj
182+ let X = am
169183 if (!(c))
170- then (U == b)
184+ then (X == b)
171185 else false
172186 }
173187 else (c == true)
174188 }
175- if (ai)
189+ if (al)
176190 then if ((g == 1))
177- then if (((ah.amount % k) == 0))
178- then ah.amount
191+ then if (((ak.amount % l) == 0))
192+ then ak.amount
179193 else throw("payment amount must be a multiple of token price")
180- else ah.amount
194+ else ak.amount
181195 else throw("Invalid asset ID of investment")
182196 }
183197 else throw("Payment must be attached")
184198 }
185199
186200
187-func ak (ag) = {
188- let Y = ag.payment
189- if ($isInstanceOf(Y, "AttachedPayment"))
201+func an (aj) = {
202+ let ab = aj.payment
203+ if ($isInstanceOf(ab, "AttachedPayment"))
190204 then {
191- let ah = Y
192- let ai = {
193- let aj = ah.assetId
194- if ($isInstanceOf(aj, "ByteVector"))
205+ let ak = ab
206+ let al = {
207+ let am = ak.assetId
208+ if ($isInstanceOf(am, "ByteVector"))
195209 then {
196- let U = aj
197- (U == n)
210+ let X = am
211+ (X == q)
198212 }
199213 else false
200214 }
201- if (ai)
215+ if (al)
202216 then if ((g == 1))
203- then if (((ah.amount % p) == 0))
204- then ah.amount
217+ then if (((ak.amount % s) == 0))
218+ then ak.amount
205219 else throw("payment amount must be a multiple of token price")
206- else ah.amount
220+ else ak.amount
207221 else throw("Invalid asset ID of investment")
208222 }
209223 else throw("Payment must be attached")
210224 }
211225
212226
213-@Callable(ag)
227+@Callable(aj)
214228 func deposit () = {
215- let al = V()
216- let am = W(D)
217- if (!(O()))
229+ let ao = Y()
230+ let ap = Z(G)
231+ if (!(R()))
218232 then throw("This deposit method is unsopperted for this company")
219- else if (!(aa()))
220- then throw(((("The Tokensale works between " + toString(i)) + " and ") + toString(j)))
221- else if (ab())
233+ else if (!(ad()))
234+ then throw(((("The Tokensale works between " + toString(i)) + " and ") + toString(k)))
235+ else if (ae())
222236 then throw("The required amount has already been accumulated. If you are an investor, you can withdraw your funds.")
223237 else {
224- let an = af(ag)
225- let ao = toBase58String(ag.caller.bytes)
226- let ap = {
227- let Y = getInteger(F, ao)
228- if ($isInstanceOf(Y, "Int"))
238+ let aq = ai(aj)
239+ let ar = toBase58String(aj.caller.bytes)
240+ let as = {
241+ let ab = getInteger(I, ar)
242+ if ($isInstanceOf(ab, "Int"))
229243 then {
230- let Z = Y
231- Z
244+ let ac = ab
245+ ac
232246 }
233247 else -255
234248 }
235- if ((N > ap))
249+ if ((Q > as))
236250 then throw("Your account has no right to send funds.")
237251 else {
238- let aq = {
239- let Y = getInteger(this, C)
240- if ($isInstanceOf(Y, "Int"))
252+ let at = {
253+ let ab = getInteger(this, F)
254+ if ($isInstanceOf(ab, "Int"))
241255 then {
242- let Z = Y
243- Z
256+ let ac = ab
257+ ac
244258 }
245259 else h
246260 }
247- let ar = ((an * g) / al)
248- let as = ((m * g) / al)
249- if (if (if ((0 > (aq - ar)))
261+ let au = ((aq * g) / ao)
262+ let av = ((p * g) / ao)
263+ if (if (if ((0 > (at - au)))
250264 then true
251- else (as > ar))
265+ else (av > au))
252266 then true
253- else if ((ar != aq))
254- then (ar > (aq - as))
267+ else if ((au != at))
268+ then (au > (at - av))
255269 else false)
256270 then throw("Incorrect payment amount.")
257271 else {
258- let at = (W((y + ao)) + an)
259- let au = (W((A + ao)) + ar)
260- let av = (aq - ar)
261- let aw = (am + an)
262- WriteSet([DataEntry((y + ao), at), DataEntry((A + ao), au), DataEntry(C, av), DataEntry(D, aw)])
272+ let aw = (Z((B + ar)) + aq)
273+ let ax = (Z((D + ar)) + au)
274+ let ay = (at - au)
275+ let az = (ap + aq)
276+ WriteSet([DataEntry((B + ar), aw), DataEntry((D + ar), ax), DataEntry(F, ay), DataEntry(G, az)])
263277 }
264278 }
265279 }
267281
268282
269283
270-@Callable(ag)
284+@Callable(aj)
271285 func swapDeposit () = {
272- let al = p
273- let am = W(x)
274- if (!(P()))
286+ let ao = s
287+ let ap = Z(A)
288+ if (!(S()))
275289 then throw("This swap-deposit method is unsopperted for this company")
276- else if (!(aa()))
277- then throw(((("The Tokensale works between " + toString(i)) + " and ") + toString(j)))
278- else if (ad())
290+ else if (!(ad()))
291+ then throw(((("The Tokensale works between " + toString(i)) + " and ") + toString(k)))
292+ else if (ag())
279293 then throw("The required amount has already been accumulated. If you are an investor, you can withdraw your funds.")
280294 else {
281- let an = ak(ag)
282- let ao = toBase58String(ag.caller.bytes)
283- let ap = {
284- let Y = getInteger(F, ao)
285- if ($isInstanceOf(Y, "Int"))
295+ let aq = an(aj)
296+ let ar = toBase58String(aj.caller.bytes)
297+ let as = {
298+ let ab = getInteger(I, ar)
299+ if ($isInstanceOf(ab, "Int"))
286300 then {
287- let Z = Y
288- Z
301+ let ac = ab
302+ ac
289303 }
290304 else -255
291305 }
292- if ((N > ap))
306+ if ((Q > as))
293307 then throw("Your account has no right to send funds.")
294308 else {
295- let aq = {
296- let Y = getInteger(this, w)
297- if ($isInstanceOf(Y, "Int"))
309+ let at = {
310+ let ab = getInteger(this, z)
311+ if ($isInstanceOf(ab, "Int"))
298312 then {
299- let Z = Y
300- Z
313+ let ac = ab
314+ ac
301315 }
302- else o
316+ else r
303317 }
304- let ar = ((an * g) / al)
305- if ((0 > (aq - ar)))
318+ let au = ((aq * g) / ao)
319+ if ((0 > (at - au)))
306320 then throw("Incorrect payment amount.")
307321 else {
308- let at = (W((u + ao)) + an)
309- let au = (W((v + ao)) + ar)
310- let av = (aq - ar)
311- let aw = (am + an)
312- WriteSet([DataEntry((u + ao), at), DataEntry((v + ao), au), DataEntry(w, av), DataEntry(x, aw)])
322+ let aw = (Z((x + ar)) + aq)
323+ let ax = (Z((y + ar)) + au)
324+ let ay = (at - au)
325+ let az = (ap + aq)
326+ WriteSet([DataEntry((x + ar), aw), DataEntry((y + ar), ax), DataEntry(z, ay), DataEntry(A, az)])
313327 }
314328 }
315329 }
317331
318332
319333
320-@Callable(ag)
334+@Callable(aj)
321335 func withdrawal () = {
322- let ax = {
323- let Y = getInteger(G, toString(this))
324- if ($isInstanceOf(Y, "Int"))
336+ let aA = {
337+ let ab = getInteger(J, toString(this))
338+ if ($isInstanceOf(ab, "Int"))
325339 then {
326- let Z = Y
327- Z
340+ let ac = ab
341+ ac
328342 }
329343 else 0
330344 }
331- if ((ax == 0))
345+ if ((aA == 0))
332346 then throw("Withdrawals are not available until the issuer passes verification")
333347 else {
334- let ao = toBase58String(ag.caller.bytes)
335- let ay = W((A + ao))
336- let az = W((y + ao))
337- let aA = W((v + ao))
338- let aB = W((u + ao))
339- let aC = W(x)
340- let aD = W(w)
341- let am = W(D)
342- let aq = W(C)
343- let aE = S(c, b)
344- if (!(ae()))
348+ let ar = toBase58String(aj.caller.bytes)
349+ let aB = Z((D + ar))
350+ let aC = Z((B + ar))
351+ let aD = Z((y + ar))
352+ let aE = Z((x + ar))
353+ let aF = Z(A)
354+ let aG = Z(z)
355+ let ap = Z(G)
356+ let at = Z(F)
357+ let aH = V(c, b)
358+ if (!(ah()))
345359 then throw("The Company is still active")
346- else if (if (if ((ao == f))
347- then if ((am >= l))
360+ else if (if (if ((ar == f))
361+ then if ((ap >= n))
348362 then true
349- else (aC != 0)
363+ else (aF != 0)
350364 else false)
351- then (ax == 1)
365+ then (aA == 1)
352366 else false)
353367 then {
354- let aF = W(E)
355- if ((aF == 0))
356- then {
357- let aG = nil
358- let aH = if ((am >= l))
359- then ScriptTransfer(e, am, aE) :: aG
360- else aG
361- let aI = if ((am >= l))
362- then ScriptTransfer(e, aC, n) :: aH
363- else aH
364- ScriptResult(WriteSet([DataEntry(E, 1)]), TransferSet(aI))
365- }
368+ let aI = Z(H)
369+ if ((aI == 0))
370+ then if (if (R())
371+ then S()
372+ else false)
373+ then ScriptResult(WriteSet([DataEntry(H, 1)]), TransferSet([ScriptTransfer(e, ap, aH), ScriptTransfer(e, aF, q)]))
374+ else if (R())
375+ then ScriptResult(WriteSet([DataEntry(H, 1)]), TransferSet([ScriptTransfer(e, ap, aH)]))
376+ else ScriptResult(WriteSet([DataEntry(H, 1)]), TransferSet([ScriptTransfer(e, aF, q)]))
366377 else throw("The issuer has already taken its share!")
367378 }
368- else if (if ((az == 0))
369- then (aB == 0)
379+ else if (if ((aC == 0))
380+ then (aE == 0)
370381 else false)
371382 then throw("Don't have money")
372- else {
373- let aJ = nil
374- let aG = nil
375- let aK = if ((az != 0))
376- then [aJ, DataEntry((y + ao), 0), DataEntry((A + ao), 0)]
377- else aJ
378- let aL = if ((aB != 0))
379- then [aK, DataEntry((u + ao), 0), DataEntry((v + ao), 0)]
380- else aK
381- let aH = if ((az != 0))
382- then if (if ((am >= l))
383- then (ax == 1)
383+ else if (if (R())
384+ then S()
385+ else false)
386+ then if ((aA == 1))
387+ then ScriptResult(WriteSet([DataEntry((B + ar), 0), DataEntry((D + ar), 0), DataEntry((x + ar), 0), DataEntry((y + ar), 0)]), TransferSet([ScriptTransfer(aj.caller, aB, a), ScriptTransfer(aj.caller, aD, a)]))
388+ else ScriptResult(WriteSet([DataEntry((B + ar), 0), DataEntry((D + ar), 0), DataEntry((x + ar), 0), DataEntry((y + ar), 0)]), TransferSet([ScriptTransfer(aj.caller, aC, aH), ScriptTransfer(aj.caller, aE, q)]))
389+ else if (R())
390+ then if (if ((ap >= n))
391+ then (aA == 1)
384392 else false)
385- then ScriptTransfer(ag.caller, ay, a) :: aG
386- else ScriptTransfer(ag.caller, az, aE) :: aG
387- else aG
388- let aI = if ((aB != 0))
389- then ScriptTransfer(ag.caller, aA, a) :: aH
390- else aH
391- ScriptResult(WriteSet(aJ), TransferSet(aG))
392- }
393+ then ScriptResult(WriteSet([DataEntry((B + ar), 0), DataEntry((D + ar), 0)]), TransferSet([ScriptTransfer(aj.caller, aB, a)]))
394+ else ScriptResult(WriteSet([DataEntry((B + ar), 0), DataEntry((D + ar), 0)]), TransferSet([ScriptTransfer(aj.caller, aC, aH)]))
395+ else if ((aA == 1))
396+ then ScriptResult(WriteSet([DataEntry((x + ar), 0), DataEntry((y + ar), 0)]), TransferSet([ScriptTransfer(aj.caller, aD, a)]))
397+ else ScriptResult(WriteSet([DataEntry((x + ar), 0), DataEntry((y + ar), 0)]), TransferSet([ScriptTransfer(aj.caller, aE, q)]))
393398 }
394399 }
395400
396401
397-@Verifier(aM)
398-func aN () = {
399- let Y = aM
400- if (if ($isInstanceOf(Y, "SetAssetScriptTransaction"))
402+@Verifier(aJ)
403+func aK () = {
404+ let ab = aJ
405+ if (if ($isInstanceOf(ab, "SetAssetScriptTransaction"))
401406 then true
402- else $isInstanceOf(Y, "SetScriptTransaction"))
407+ else $isInstanceOf(ab, "SetScriptTransaction"))
403408 then {
404- let aM = Y
405- let aO = if (isDefined(getInteger(extract(H), toBase58String(aM.id))))
409+ let aJ = ab
410+ let aL = if (isDefined(getInteger(extract(K), toBase58String(aJ.id))))
406411 then 1
407412 else 0
408- let aP = if (isDefined(getInteger(extract(I), toBase58String(aM.id))))
413+ let aM = if (isDefined(getInteger(extract(L), toBase58String(aJ.id))))
409414 then 1
410415 else 0
411- let aQ = if (isDefined(getInteger(extract(J), toBase58String(aM.id))))
416+ let aN = if (isDefined(getInteger(extract(M), toBase58String(aJ.id))))
412417 then 1
413418 else 0
414- let aR = if (isDefined(getInteger(extract(K), toBase58String(aM.id))))
419+ let aO = if (isDefined(getInteger(extract(N), toBase58String(aJ.id))))
415420 then 1
416421 else 0
417- let aS = if (isDefined(getInteger(extract(L), toBase58String(aM.id))))
422+ let aP = if (isDefined(getInteger(extract(O), toBase58String(aJ.id))))
418423 then 1
419424 else 0
420- (((((aO + aP) + aQ) + aR) + aS) >= 3)
425+ (((((aL + aM) + aN) + aO) + aP) >= 3)
421426 }
422427 else false
423428 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let a = base58'5aWWj4tzU736h7RhwreuffTGNxyRLWJysK1spWqTDetj'
4+let a = base58'DN4GmTRkkNYLSX4RjgzZbaSy2cTg1ahRLAhe23QwB2cs'
55
6-let b = base58'WAVES'
6+let b = base58''
77
88 let c = true
99
10-let d = base58'8g5M2bS89AJWXCZJme4sGZ16Cy4sUfpoxDASmWbv6GVR'
10+let d = base58'BBHmotEPzeYbapjncSTyaVf1eM4yiCPabPzMFqH5Mk8s'
1111
1212 let e = addressFromPublicKey(d)
1313
14-let f = "3N54ZH9NaSC3PsDJAcUr82gYaWUM95DbXd3"
14+let f = "3N7rdAqT63j8iBUqoVt4iMnRrhFCk2YGok6"
1515
1616 let g = 1
1717
18-let h = 100
18+let h = 1000
1919
20-let i = 1579510500
20+let i = 1578657000
2121
22-let j = 1579769700
22+let j = 1579952580
2323
24-let k = 100000000
24+let k = 1579952580
2525
26-let l = 1000000000
26+let l = 100000
2727
28-let m = 100000000
28+let m = 100000
2929
30-let n = base58'G7sJQse5JnS7BB2TTppRnEtjpoTnQKX6jpTPrnY2f8nn'
30+let n = 10000
3131
32-let o = 10
32+let o = 1000
3333
34-let p = 100000000
34+let p = 100000
3535
36-let q = 2
36+let q = base58'AB1EjGamzeQdfjThY1MTabtCDDKYnK8YRgr9osK9GXoy'
3737
38-let r = 0
38+let r = 1000
3939
40-let s = 1
40+let s = 10000000
4141
42-let t = 2
42+let t = 1
4343
44-let u = "swapSumAmount "
44+let u = 0
4545
46-let v = "swapSumAssets "
46+let v = 1
4747
48-let w = "swapAssets"
48+let w = 2
4949
50-let x = "swapAmount"
50+let x = "swapSumAmount "
5151
52-let y = "sumAmount "
52+let y = "swapSumAssets "
5353
54-let z = "paidAmount "
54+let z = "swapAssets"
5555
56-let A = "sumAssets "
56+let A = "swapAmount"
5757
58-let B = "allow "
58+let B = "sumAmount "
5959
60-let C = "assets"
60+let C = "paidAmount "
6161
62-let D = "amount"
62+let D = "sumAssets "
6363
64-let E = "issuer"
64+let E = "allow "
6565
66-let F = Address(base58'3N6DwWxT82nGJUwBwd7L514r2u71gr7WhwJ')
66+let F = "assets"
6767
68-let G = Address(base58'3N1SPvLZgv6FMfe5WNUtnPzt3okYxcJhYnR')
68+let G = "amount"
6969
70-let H = addressFromString("3NCVDaT1ASbRd42hBSw4EG6ojGVRGtvMiz1")
70+let H = "issuer"
7171
72-let I = addressFromString("3Ms2kTAxdrcXDxwedfbNjSi6ewGCUqt3heZ")
72+let I = Address(base58'3N6DwWxT82nGJUwBwd7L514r2u71gr7WhwJ')
7373
74-let J = addressFromString("3N6ognm7xnQSFiownS1Df1LacJUQXvfDFLe")
74+let J = Address(base58'3N1SPvLZgv6FMfe5WNUtnPzt3okYxcJhYnR')
7575
76-let K = addressFromString("3MtVCmN9MZbWf9qxiMFoEPBrdc2fLp3SvuC")
76+let K = addressFromString("3NCVDaT1ASbRd42hBSw4EG6ojGVRGtvMiz1")
7777
78-let L = addressFromString("3MuWG8gsTK4RQBsm97sMCuUXW99JvRxwYSg")
78+let L = addressFromString("3Ms2kTAxdrcXDxwedfbNjSi6ewGCUqt3heZ")
7979
80-let M = "4.0.0-testnet"
80+let M = addressFromString("3N6ognm7xnQSFiownS1Df1LacJUQXvfDFLe")
8181
82-let N = 1000
82+let N = addressFromString("3MtVCmN9MZbWf9qxiMFoEPBrdc2fLp3SvuC")
8383
84-func O () = if ((q == r))
84+let O = addressFromString("3MuWG8gsTK4RQBsm97sMCuUXW99JvRxwYSg")
85+
86+let P = "4.0.0-testnet"
87+
88+let Q = 1000
89+
90+func R () = if ((t == u))
8591 then true
86- else (q == t)
92+ else (t == w)
8793
8894
89-func P () = if ((q == s))
95+func S () = if ((t == v))
9096 then true
91- else (q == t)
97+ else (t == w)
9298
9399
94-func Q () = {
95- let R = value(blockInfoByHeight(height))
96- (R.timestamp / 1000)
100+func T () = {
101+ let U = value(blockInfoByHeight(height))
102+ (U.timestamp / 1000)
97103 }
98104
99105
100-func S (T,U) = if ((T == false))
101- then U
106+func V (W,X) = if ((W == false))
107+ then X
102108 else unit
103109
104110
105-func V () = k
111+func Y () = l
106112
107113
108-func W (X) = {
109- let Y = getInteger(this, X)
110- if ($isInstanceOf(Y, "Int"))
114+func Z (aa) = {
115+ let ab = getInteger(this, aa)
116+ if ($isInstanceOf(ab, "Int"))
111117 then {
112- let Z = Y
113- Z
118+ let ac = ab
119+ ac
114120 }
115121 else 0
116122 }
117123
118124
119-func aa () = (Q() >= i)
125+func ad () = (T() >= i)
120126
121127
122-func ab () = {
123- let ac = {
124- let Y = getInteger(this, C)
125- if ($isInstanceOf(Y, "Int"))
128+func ae () = {
129+ let af = {
130+ let ab = getInteger(this, F)
131+ if ($isInstanceOf(ab, "Int"))
126132 then {
127- let Z = Y
128- Z
133+ let ac = ab
134+ ac
129135 }
130136 else h
131137 }
132- if ((Q() > j))
138+ if ((T() > k))
133139 then true
134- else (ac == 0)
140+ else (af == 0)
135141 }
136142
137143
138-func ad () = {
139- let ac = {
140- let Y = getInteger(this, w)
141- if ($isInstanceOf(Y, "Int"))
144+func ag () = {
145+ let af = {
146+ let ab = getInteger(this, z)
147+ if ($isInstanceOf(ab, "Int"))
142148 then {
143- let Z = Y
144- Z
149+ let ac = ab
150+ ac
145151 }
146- else o
152+ else r
147153 }
148- if ((Q() > j))
154+ if ((T() > k))
149155 then true
150- else (o == 0)
156+ else (af == 0)
151157 }
152158
153159
154-func ae () = if (ab())
155- then ad()
156- else false
160+func ah () = if (if (S())
161+ then R()
162+ else false)
163+ then if (ae())
164+ then ag()
165+ else false
166+ else if (R())
167+ then ae()
168+ else if (S())
169+ then ag()
170+ else false
157171
158172
159-func af (ag) = {
160- let Y = ag.payment
161- if ($isInstanceOf(Y, "AttachedPayment"))
173+func ai (aj) = {
174+ let ab = aj.payment
175+ if ($isInstanceOf(ab, "AttachedPayment"))
162176 then {
163- let ah = Y
164- let ai = {
165- let aj = ah.assetId
166- if ($isInstanceOf(aj, "ByteVector"))
177+ let ak = ab
178+ let al = {
179+ let am = ak.assetId
180+ if ($isInstanceOf(am, "ByteVector"))
167181 then {
168- let U = aj
182+ let X = am
169183 if (!(c))
170- then (U == b)
184+ then (X == b)
171185 else false
172186 }
173187 else (c == true)
174188 }
175- if (ai)
189+ if (al)
176190 then if ((g == 1))
177- then if (((ah.amount % k) == 0))
178- then ah.amount
191+ then if (((ak.amount % l) == 0))
192+ then ak.amount
179193 else throw("payment amount must be a multiple of token price")
180- else ah.amount
194+ else ak.amount
181195 else throw("Invalid asset ID of investment")
182196 }
183197 else throw("Payment must be attached")
184198 }
185199
186200
187-func ak (ag) = {
188- let Y = ag.payment
189- if ($isInstanceOf(Y, "AttachedPayment"))
201+func an (aj) = {
202+ let ab = aj.payment
203+ if ($isInstanceOf(ab, "AttachedPayment"))
190204 then {
191- let ah = Y
192- let ai = {
193- let aj = ah.assetId
194- if ($isInstanceOf(aj, "ByteVector"))
205+ let ak = ab
206+ let al = {
207+ let am = ak.assetId
208+ if ($isInstanceOf(am, "ByteVector"))
195209 then {
196- let U = aj
197- (U == n)
210+ let X = am
211+ (X == q)
198212 }
199213 else false
200214 }
201- if (ai)
215+ if (al)
202216 then if ((g == 1))
203- then if (((ah.amount % p) == 0))
204- then ah.amount
217+ then if (((ak.amount % s) == 0))
218+ then ak.amount
205219 else throw("payment amount must be a multiple of token price")
206- else ah.amount
220+ else ak.amount
207221 else throw("Invalid asset ID of investment")
208222 }
209223 else throw("Payment must be attached")
210224 }
211225
212226
213-@Callable(ag)
227+@Callable(aj)
214228 func deposit () = {
215- let al = V()
216- let am = W(D)
217- if (!(O()))
229+ let ao = Y()
230+ let ap = Z(G)
231+ if (!(R()))
218232 then throw("This deposit method is unsopperted for this company")
219- else if (!(aa()))
220- then throw(((("The Tokensale works between " + toString(i)) + " and ") + toString(j)))
221- else if (ab())
233+ else if (!(ad()))
234+ then throw(((("The Tokensale works between " + toString(i)) + " and ") + toString(k)))
235+ else if (ae())
222236 then throw("The required amount has already been accumulated. If you are an investor, you can withdraw your funds.")
223237 else {
224- let an = af(ag)
225- let ao = toBase58String(ag.caller.bytes)
226- let ap = {
227- let Y = getInteger(F, ao)
228- if ($isInstanceOf(Y, "Int"))
238+ let aq = ai(aj)
239+ let ar = toBase58String(aj.caller.bytes)
240+ let as = {
241+ let ab = getInteger(I, ar)
242+ if ($isInstanceOf(ab, "Int"))
229243 then {
230- let Z = Y
231- Z
244+ let ac = ab
245+ ac
232246 }
233247 else -255
234248 }
235- if ((N > ap))
249+ if ((Q > as))
236250 then throw("Your account has no right to send funds.")
237251 else {
238- let aq = {
239- let Y = getInteger(this, C)
240- if ($isInstanceOf(Y, "Int"))
252+ let at = {
253+ let ab = getInteger(this, F)
254+ if ($isInstanceOf(ab, "Int"))
241255 then {
242- let Z = Y
243- Z
256+ let ac = ab
257+ ac
244258 }
245259 else h
246260 }
247- let ar = ((an * g) / al)
248- let as = ((m * g) / al)
249- if (if (if ((0 > (aq - ar)))
261+ let au = ((aq * g) / ao)
262+ let av = ((p * g) / ao)
263+ if (if (if ((0 > (at - au)))
250264 then true
251- else (as > ar))
265+ else (av > au))
252266 then true
253- else if ((ar != aq))
254- then (ar > (aq - as))
267+ else if ((au != at))
268+ then (au > (at - av))
255269 else false)
256270 then throw("Incorrect payment amount.")
257271 else {
258- let at = (W((y + ao)) + an)
259- let au = (W((A + ao)) + ar)
260- let av = (aq - ar)
261- let aw = (am + an)
262- WriteSet([DataEntry((y + ao), at), DataEntry((A + ao), au), DataEntry(C, av), DataEntry(D, aw)])
272+ let aw = (Z((B + ar)) + aq)
273+ let ax = (Z((D + ar)) + au)
274+ let ay = (at - au)
275+ let az = (ap + aq)
276+ WriteSet([DataEntry((B + ar), aw), DataEntry((D + ar), ax), DataEntry(F, ay), DataEntry(G, az)])
263277 }
264278 }
265279 }
266280 }
267281
268282
269283
270-@Callable(ag)
284+@Callable(aj)
271285 func swapDeposit () = {
272- let al = p
273- let am = W(x)
274- if (!(P()))
286+ let ao = s
287+ let ap = Z(A)
288+ if (!(S()))
275289 then throw("This swap-deposit method is unsopperted for this company")
276- else if (!(aa()))
277- then throw(((("The Tokensale works between " + toString(i)) + " and ") + toString(j)))
278- else if (ad())
290+ else if (!(ad()))
291+ then throw(((("The Tokensale works between " + toString(i)) + " and ") + toString(k)))
292+ else if (ag())
279293 then throw("The required amount has already been accumulated. If you are an investor, you can withdraw your funds.")
280294 else {
281- let an = ak(ag)
282- let ao = toBase58String(ag.caller.bytes)
283- let ap = {
284- let Y = getInteger(F, ao)
285- if ($isInstanceOf(Y, "Int"))
295+ let aq = an(aj)
296+ let ar = toBase58String(aj.caller.bytes)
297+ let as = {
298+ let ab = getInteger(I, ar)
299+ if ($isInstanceOf(ab, "Int"))
286300 then {
287- let Z = Y
288- Z
301+ let ac = ab
302+ ac
289303 }
290304 else -255
291305 }
292- if ((N > ap))
306+ if ((Q > as))
293307 then throw("Your account has no right to send funds.")
294308 else {
295- let aq = {
296- let Y = getInteger(this, w)
297- if ($isInstanceOf(Y, "Int"))
309+ let at = {
310+ let ab = getInteger(this, z)
311+ if ($isInstanceOf(ab, "Int"))
298312 then {
299- let Z = Y
300- Z
313+ let ac = ab
314+ ac
301315 }
302- else o
316+ else r
303317 }
304- let ar = ((an * g) / al)
305- if ((0 > (aq - ar)))
318+ let au = ((aq * g) / ao)
319+ if ((0 > (at - au)))
306320 then throw("Incorrect payment amount.")
307321 else {
308- let at = (W((u + ao)) + an)
309- let au = (W((v + ao)) + ar)
310- let av = (aq - ar)
311- let aw = (am + an)
312- WriteSet([DataEntry((u + ao), at), DataEntry((v + ao), au), DataEntry(w, av), DataEntry(x, aw)])
322+ let aw = (Z((x + ar)) + aq)
323+ let ax = (Z((y + ar)) + au)
324+ let ay = (at - au)
325+ let az = (ap + aq)
326+ WriteSet([DataEntry((x + ar), aw), DataEntry((y + ar), ax), DataEntry(z, ay), DataEntry(A, az)])
313327 }
314328 }
315329 }
316330 }
317331
318332
319333
320-@Callable(ag)
334+@Callable(aj)
321335 func withdrawal () = {
322- let ax = {
323- let Y = getInteger(G, toString(this))
324- if ($isInstanceOf(Y, "Int"))
336+ let aA = {
337+ let ab = getInteger(J, toString(this))
338+ if ($isInstanceOf(ab, "Int"))
325339 then {
326- let Z = Y
327- Z
340+ let ac = ab
341+ ac
328342 }
329343 else 0
330344 }
331- if ((ax == 0))
345+ if ((aA == 0))
332346 then throw("Withdrawals are not available until the issuer passes verification")
333347 else {
334- let ao = toBase58String(ag.caller.bytes)
335- let ay = W((A + ao))
336- let az = W((y + ao))
337- let aA = W((v + ao))
338- let aB = W((u + ao))
339- let aC = W(x)
340- let aD = W(w)
341- let am = W(D)
342- let aq = W(C)
343- let aE = S(c, b)
344- if (!(ae()))
348+ let ar = toBase58String(aj.caller.bytes)
349+ let aB = Z((D + ar))
350+ let aC = Z((B + ar))
351+ let aD = Z((y + ar))
352+ let aE = Z((x + ar))
353+ let aF = Z(A)
354+ let aG = Z(z)
355+ let ap = Z(G)
356+ let at = Z(F)
357+ let aH = V(c, b)
358+ if (!(ah()))
345359 then throw("The Company is still active")
346- else if (if (if ((ao == f))
347- then if ((am >= l))
360+ else if (if (if ((ar == f))
361+ then if ((ap >= n))
348362 then true
349- else (aC != 0)
363+ else (aF != 0)
350364 else false)
351- then (ax == 1)
365+ then (aA == 1)
352366 else false)
353367 then {
354- let aF = W(E)
355- if ((aF == 0))
356- then {
357- let aG = nil
358- let aH = if ((am >= l))
359- then ScriptTransfer(e, am, aE) :: aG
360- else aG
361- let aI = if ((am >= l))
362- then ScriptTransfer(e, aC, n) :: aH
363- else aH
364- ScriptResult(WriteSet([DataEntry(E, 1)]), TransferSet(aI))
365- }
368+ let aI = Z(H)
369+ if ((aI == 0))
370+ then if (if (R())
371+ then S()
372+ else false)
373+ then ScriptResult(WriteSet([DataEntry(H, 1)]), TransferSet([ScriptTransfer(e, ap, aH), ScriptTransfer(e, aF, q)]))
374+ else if (R())
375+ then ScriptResult(WriteSet([DataEntry(H, 1)]), TransferSet([ScriptTransfer(e, ap, aH)]))
376+ else ScriptResult(WriteSet([DataEntry(H, 1)]), TransferSet([ScriptTransfer(e, aF, q)]))
366377 else throw("The issuer has already taken its share!")
367378 }
368- else if (if ((az == 0))
369- then (aB == 0)
379+ else if (if ((aC == 0))
380+ then (aE == 0)
370381 else false)
371382 then throw("Don't have money")
372- else {
373- let aJ = nil
374- let aG = nil
375- let aK = if ((az != 0))
376- then [aJ, DataEntry((y + ao), 0), DataEntry((A + ao), 0)]
377- else aJ
378- let aL = if ((aB != 0))
379- then [aK, DataEntry((u + ao), 0), DataEntry((v + ao), 0)]
380- else aK
381- let aH = if ((az != 0))
382- then if (if ((am >= l))
383- then (ax == 1)
383+ else if (if (R())
384+ then S()
385+ else false)
386+ then if ((aA == 1))
387+ then ScriptResult(WriteSet([DataEntry((B + ar), 0), DataEntry((D + ar), 0), DataEntry((x + ar), 0), DataEntry((y + ar), 0)]), TransferSet([ScriptTransfer(aj.caller, aB, a), ScriptTransfer(aj.caller, aD, a)]))
388+ else ScriptResult(WriteSet([DataEntry((B + ar), 0), DataEntry((D + ar), 0), DataEntry((x + ar), 0), DataEntry((y + ar), 0)]), TransferSet([ScriptTransfer(aj.caller, aC, aH), ScriptTransfer(aj.caller, aE, q)]))
389+ else if (R())
390+ then if (if ((ap >= n))
391+ then (aA == 1)
384392 else false)
385- then ScriptTransfer(ag.caller, ay, a) :: aG
386- else ScriptTransfer(ag.caller, az, aE) :: aG
387- else aG
388- let aI = if ((aB != 0))
389- then ScriptTransfer(ag.caller, aA, a) :: aH
390- else aH
391- ScriptResult(WriteSet(aJ), TransferSet(aG))
392- }
393+ then ScriptResult(WriteSet([DataEntry((B + ar), 0), DataEntry((D + ar), 0)]), TransferSet([ScriptTransfer(aj.caller, aB, a)]))
394+ else ScriptResult(WriteSet([DataEntry((B + ar), 0), DataEntry((D + ar), 0)]), TransferSet([ScriptTransfer(aj.caller, aC, aH)]))
395+ else if ((aA == 1))
396+ then ScriptResult(WriteSet([DataEntry((x + ar), 0), DataEntry((y + ar), 0)]), TransferSet([ScriptTransfer(aj.caller, aD, a)]))
397+ else ScriptResult(WriteSet([DataEntry((x + ar), 0), DataEntry((y + ar), 0)]), TransferSet([ScriptTransfer(aj.caller, aE, q)]))
393398 }
394399 }
395400
396401
397-@Verifier(aM)
398-func aN () = {
399- let Y = aM
400- if (if ($isInstanceOf(Y, "SetAssetScriptTransaction"))
402+@Verifier(aJ)
403+func aK () = {
404+ let ab = aJ
405+ if (if ($isInstanceOf(ab, "SetAssetScriptTransaction"))
401406 then true
402- else $isInstanceOf(Y, "SetScriptTransaction"))
407+ else $isInstanceOf(ab, "SetScriptTransaction"))
403408 then {
404- let aM = Y
405- let aO = if (isDefined(getInteger(extract(H), toBase58String(aM.id))))
409+ let aJ = ab
410+ let aL = if (isDefined(getInteger(extract(K), toBase58String(aJ.id))))
406411 then 1
407412 else 0
408- let aP = if (isDefined(getInteger(extract(I), toBase58String(aM.id))))
413+ let aM = if (isDefined(getInteger(extract(L), toBase58String(aJ.id))))
409414 then 1
410415 else 0
411- let aQ = if (isDefined(getInteger(extract(J), toBase58String(aM.id))))
416+ let aN = if (isDefined(getInteger(extract(M), toBase58String(aJ.id))))
412417 then 1
413418 else 0
414- let aR = if (isDefined(getInteger(extract(K), toBase58String(aM.id))))
419+ let aO = if (isDefined(getInteger(extract(N), toBase58String(aJ.id))))
415420 then 1
416421 else 0
417- let aS = if (isDefined(getInteger(extract(L), toBase58String(aM.id))))
422+ let aP = if (isDefined(getInteger(extract(O), toBase58String(aJ.id))))
418423 then 1
419424 else 0
420- (((((aO + aP) + aQ) + aR) + aS) >= 3)
425+ (((((aL + aM) + aN) + aO) + aP) >= 3)
421426 }
422427 else false
423428 }
424429

github/deemru/w8io/169f3d6 
292.54 ms