tx · C2V1K2hkYC6SUW6vC4KCRD5z1ccHQx89ggEuPm8gra51

3N5RZzJX5VLb937k1HkfCPj464fa6a916hj:  -0.01000000 Waves

2019.10.21 10:56 [729556] smart account 3N5RZzJX5VLb937k1HkfCPj464fa6a916hj > SELF 0.00000000 Waves

{ "type": 13, "id": "C2V1K2hkYC6SUW6vC4KCRD5z1ccHQx89ggEuPm8gra51", "fee": 1000000, "feeAssetId": null, "timestamp": 1571644606063, "version": 1, "sender": "3N5RZzJX5VLb937k1HkfCPj464fa6a916hj", "senderPublicKey": "DabN1B19F6fW9mT8w79uNApEku9kf5cVL1kBhoDGqvoN", "proofs": [ "3dSHjp5Uvo2Z5jkzkbq3iyfewaZp9uT9C9M6VT8TSRoxoFSvtEzsKKVPkfyGYCENbYVekvP75Sj2tfqGVvx1HuW1" ], "script": "base64:AAIDAAAAAAAAAAoIARIAEgQKAgEIAAAAMwAAAAAHV0FWRUxFVAkAAGgAAAACCQAAaAAAAAIAAAAAAAAAAGQAAAAAAAAAA+gAAAAAAAAAA+gAAAAABU1SVEVDAAAAAAAAAABkAAAAAAJCMAIAAAABcQAAAAACQjECAAAAAXIAAAAAAkIyAgAAAAFzAAAAAAJCMwIAAAABdAAAAAACQjQCAAAAAXUAAAAAAkI1AgAAAAF2AAAAAAJCNgIAAAABdwAAAAACQjcCAAAAAXgAAAAAAkI4AgAAAAF5AAAAAAJCOQIAAAABegEAAAALY29udmVydENoYXIAAAABAAAACmNoYXJCYXNlNTgDCQAAAAAAAAIFAAAACmNoYXJCYXNlNTgFAAAAAkIwAgAAAAEwAwkAAAAAAAACBQAAAApjaGFyQmFzZTU4BQAAAAJCMQIAAAABMQMJAAAAAAAAAgUAAAAKY2hhckJhc2U1OAUAAAACQjICAAAAATIDCQAAAAAAAAIFAAAACmNoYXJCYXNlNTgFAAAAAkIzAgAAAAEzAwkAAAAAAAACBQAAAApjaGFyQmFzZTU4BQAAAAJCNAIAAAABNAMJAAAAAAAAAgUAAAAKY2hhckJhc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jbGUgbGVhc2luZyB3aXRoIGZlZSBsZXNzIG9yIGdyZWF0ZXIgdGhhbiAJAAGkAAAAAQUAAAAGTWluRkVFBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAADdHR4BQAAAAckbWF0Y2gwAwkBAAAAASEAAAABBQAAABJsZWFzaW5nUGVyaW9kRW5kZWQJAAACAAAAAQIAAAA4TVJUIHBhcnR5IGhhcyBub3QgZmluaXNoZWQgeWV0LiBUcmFuc2ZlciBpcyBub3QgYWxsb3dlZC4DCQEAAAACIT0AAAACCAkABCQAAAABCAUAAAADdHR4AAAACXJlY2lwaWVudAAAAAVieXRlcwgFAAAAEXBhcnR5T3duZXJBZGRyZXNzAAAABWJ5dGVzCQAAAgAAAAECAAAAL1RyYW5zZmVyIGlzIGFsbG93ZWQgdG8gUGFydHkgT3duZXIgYWRkcmVzcyBvbmx5AwkBAAAAASEAAAABCQAB9AAAAAMIBQAAAAN0dHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAN0dHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAABBwYXJ0eU93bmVyUHViS2V5CQAAAgAAAAECAAAAKVRyYW5zZmVyIGlzIGFsbG93ZWQgZm9yIFBhcnR5IE93bmVyIG9ubHkuBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAUU2V0U2NyaXB0VHJhbnNhY3Rpb24EAAAAA3N0eAUAAAAHJG1hdGNoMAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkHate2fQ==", "chainId": 84, "height": 729556, "spentComplexity": 0 } View: original | compacted Prev: none Next: 9hDZnMaLZAZsiNwbLdqL8ketyeHoG8oiokQzcLpnoF5C Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 3 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+let a = ((100 * 1000) * 1000)
5+
6+let b = 100
7+
8+let c = "q"
9+
10+let d = "r"
11+
12+let e = "s"
13+
14+let f = "t"
15+
16+let g = "u"
17+
18+let h = "v"
19+
20+let i = "w"
21+
22+let j = "x"
23+
24+let k = "y"
25+
26+let l = "z"
27+
28+func m (n) = if ((n == c))
29+ then "0"
30+ else if ((n == d))
31+ then "1"
32+ else if ((n == e))
33+ then "2"
34+ else if ((n == f))
35+ then "3"
36+ else if ((n == g))
37+ then "4"
38+ else if ((n == h))
39+ then "5"
40+ else if ((n == i))
41+ then "6"
42+ else if ((n == j))
43+ then "7"
44+ else if ((n == k))
45+ then "8"
46+ else if ((n == l))
47+ then "9"
48+ else throw("Unsupported char")
49+
50+
51+func o (p) = {
52+ let q = size(p)
53+ if ((q > 2))
54+ then throw("Invalid ecoded round")
55+ else if ((0 >= q))
56+ then throw("Invalid ecoded round")
57+ else if ((q == 1))
58+ then m(take(p, 1))
59+ else if ((q == 2))
60+ then (m(take(p, 1)) + m(take(drop(p, 1), 1)))
61+ else throw("Invalid encoded round")
62+ }
63+
64+
65+let r = 100000000
66+
67+let s = (10 * b)
68+
69+let t = fromBase58String("FCaP4jLhLawzEqbwAQGAVvPQBv2h3LdERCx7fckDvnzr")
70+
71+let u = addressFromPublicKey(t)
72+
73+let v = 600000
74+
75+let w = 150
76+
77+let x = 10
78+
79+let y = (1 * a)
80+
81+let z = 2
82+
83+let A = 729556
84+
85+let B = 12
86+
87+let C = 8
88+
89+let D = fromBase58String("8b4jE7X1yCNcbF4YXZGBKc8T5xdit7b1gENxxx31daua")
90+
91+let E = ((5 * a) / 1000)
92+
93+let F = 0
94+
95+let G = 1
96+
97+let H = 2
98+
99+let I = 3
100+
101+func J (K) = if ((0 > K))
102+ then throw("Invalid round number")
103+ else ("round" + toString(K))
104+
105+
106+func L (K) = {
107+ let M = getString(this, J(K))
108+ let N = if (isDefined(M))
109+ then extract(M)
110+ else ""
111+ let O = toBase58String(u.bytes)
112+ if ((N != ""))
113+ then split(N, "_")
114+ else ["0", toString(s), O, "?", "0"]
115+ }
116+
117+
118+func P () = {
119+ let Q = getString(this, "RoundsSharedState")
120+ let R = if (isDefined(Q))
121+ then extract(Q)
122+ else ""
123+ if ((R != ""))
124+ then split(R, "_")
125+ else ["", "0", ""]
126+ }
127+
128+
129+func S (T,K,U,V,W,X,Y) = {
130+ let Z = toString(U)
131+ let aa = DataEntry(J(K), ((((((Z + "_") + V) + "_") + X) + "_") + toString(Y)))
132+ if ((T == "MOVE"))
133+ then {
134+ let ab = toString(addressFromPublicKey(W))
135+ let ac = size(ab)
136+ let ad = P()
137+ let ae = toString((parseIntValue(ad[1]) + 1))
138+ let af = ad[2]
139+ let ag = if (if ((af != ""))
140+ then (size(af) > ((ac + 1) * 10))
141+ else false)
142+ then (("-" + ab) + dropRight(af, (ac + 1)))
143+ else (("-" + ab) + af)
144+ WriteSet([aa, DataEntry("RoundsSharedState", ((((Z + "_") + ae) + "_") + ag))])
145+ }
146+ else if ((T == "LEASING"))
147+ then WriteSet([aa])
148+ else throw(("Unsupported type in writeSetOfRoundData method: " + T))
149+ }
150+
151+
152+let ah = (height - A)
153+
154+let ai = if ((ah >= 0))
155+ then (ah / B)
156+ else throw(("Please do not hurry. MRT party will start on " + toString(A)))
157+
158+let aj = (ah % B)
159+
160+let ak = ((ai * B) + A)
161+
162+let al = (ak + C)
163+
164+let am = L(ai)
165+
166+let an = parseIntValue(am[F])
167+
168+let ao = s
169+
170+func ap (aq) = (height >= aq)
171+
172+
173+let ar = (an > ak)
174+
175+let as = if ((an == 0))
176+ then ap((ak + z))
177+ else false
178+
179+let at = if (ap(an))
180+ then ar
181+ else false
182+
183+let au = if ((aj > C))
184+ then true
185+ else as
186+
187+let av = if (at)
188+ then true
189+ else au
190+
191+let aw = !(av)
192+
193+@Callable(ax)
194+func move () = {
195+ let ay = (height + z)
196+ let U = if ((ay >= al))
197+ then al
198+ else ay
199+ let az = if (isDefined(ax.payment))
200+ then extract(ax.payment)
201+ else throw("Please attach payment with MRT to participate in MRT party")
202+ if ((ai >= r))
203+ then throw("MRT party is over")
204+ else if (av)
205+ then throw((("Sorry but round #" + toString(ai)) + " is finished."))
206+ else if ((az.assetId != D))
207+ then throw("Please use MRT as a payment asset to participate in MRT party")
208+ else if ((ao > az.amount))
209+ then throw(("Sorry my friend but your payment is to small. Current min payment is " + toString(ao)))
210+ else S("MOVE", ai, U, toBase58String(ax.callerPublicKey), ax.callerPublicKey, "?", 0)
211+ }
212+
213+
214+
215+@Callable(ax)
216+func registerLeasingTx (K,X) = {
217+ let aA = fromBase58String(X)
218+ let aB = L(K)
219+ let aC = fromBase58String(aB[G])
220+ let Y = parseIntValue(aB[I])
221+ if ((K > ai))
222+ then throw("Impossible to register leasing transaction for round in future")
223+ else if (if ((K == ai))
224+ then aw
225+ else false)
226+ then throw("Impossible to register leasing transaction - winner has not been determined yet")
227+ else if ((size(X) != 44))
228+ then throw("Invalid leasing transaction id length")
229+ else if ((0 >= size(aA)))
230+ then throw("Leasing transaction id is not encoded as Base58 format")
231+ else if (isDefined(transactionHeightById(aA)))
232+ then throw("Passed leasingId has already existed in blockchain")
233+ else if (if ((Y != 0))
234+ then (height > Y)
235+ else false)
236+ then throw(("Leasing id can be re-registered only on " + toString(Y)))
237+ else if ((aB[H] != "?"))
238+ then throw(("Leasing tx id has already registered for round " + toString(K)))
239+ else if ((ax.callerPublicKey != aC))
240+ then throw("Leasing tx can be registered by round winner only")
241+ else {
242+ let aD = parseIntValue(aB[F])
243+ S("LEASING", K, aD, aB[G], toBytes(""), X, (height + w))
244+ }
245+ }
246+
247+
248+@Verifier(aE)
249+func aF () = {
250+ let aG = (height > ((A + (r * B)) + v))
251+ let aH = aE
252+ if ($isInstanceOf(aH, "LeaseTransaction"))
253+ then {
254+ let aI = aH
255+ let aJ = aI.proofs[0]
256+ let aK = toBase58String(aI.proofs[1])
257+ let K = valueOrErrorMessage(parseInt(o(aK)), "Error during converting round num into integer representation")
258+ let aB = L(K)
259+ let aL = fromBase58String(aB[G])
260+ let aM = fromBase58String(aB[H])
261+ let Y = parseIntValue(aB[I])
262+ if (aG)
263+ then throw("Sorry but leasing period has been ended")
264+ else if ((height > (Y - x)))
265+ then throw("Sorry but lifetime of your leasing transaction id has been expired")
266+ else if (!(sigVerify(aI.bodyBytes, aJ, aL)))
267+ then throw("Invalid leasing transaction signature. Leasing is allowed for winner only.")
268+ else if ((aI.id != aM))
269+ then throw("Leasing transaction id doesn't match with registered leasing id")
270+ else if ((aI.amount != y))
271+ then throw(("Impossible to lease less or greater than " + toString(y)))
272+ else if ((aI.fee != E))
273+ then throw(("Impossible to lease with fee less or greater than " + toString(E)))
274+ else true
275+ }
276+ else if ($isInstanceOf(aH, "LeaseCancelTransaction"))
277+ then {
278+ let aN = aH
279+ if (!(aG))
280+ then throw("MRT party has not finished yet. Leasing Cancel is not allowed.")
281+ else if (!(sigVerify(aE.bodyBytes, aE.proofs[0], t)))
282+ then throw("Leasing Cancel is allowed to Party Owner only")
283+ else if ((aN.fee != E))
284+ then throw(("Impossible to cancle leasing with fee less or greater than " + toString(E)))
285+ else true
286+ }
287+ else if ($isInstanceOf(aH, "TransferTransaction"))
288+ then {
289+ let aO = aH
290+ if (!(aG))
291+ then throw("MRT party has not finished yet. Transfer is not allowed.")
292+ else if ((addressFromRecipient(aO.recipient).bytes != u.bytes))
293+ then throw("Transfer is allowed to Party Owner address only")
294+ else if (!(sigVerify(aO.bodyBytes, aO.proofs[0], t)))
295+ then throw("Transfer is allowed for Party Owner only.")
296+ else true
297+ }
298+ else if ($isInstanceOf(aH, "SetScriptTransaction"))
299+ then {
300+ let aP = aH
301+ sigVerify(aE.bodyBytes, aE.proofs[0], aE.senderPublicKey)
302+ }
303+ else false
304+ }
305+

github/deemru/w8io/169f3d6 
28.04 ms