tx · HVXpHf1dHvSS4DuLe3HP8h86vSTFjT4aojj9JURuqtoj 3MwVo8ZMe2ppruTxNXhSWPgtRQy8iKSBubC: -0.01000000 Waves 2019.10.15 21:11 [721411] smart account 3MwVo8ZMe2ppruTxNXhSWPgtRQy8iKSBubC > SELF 0.00000000 Waves
{ "type": 13, "id": "HVXpHf1dHvSS4DuLe3HP8h86vSTFjT4aojj9JURuqtoj", "fee": 1000000, "feeAssetId": null, "timestamp": 1571163079346, "version": 1, "sender": "3MwVo8ZMe2ppruTxNXhSWPgtRQy8iKSBubC", "senderPublicKey": "DM3SrUSRbffDdTiWBy6d23RMSJLqJHUNFsibDGx89aNk", "proofs": [ "4i3aCf6wgL4W4MNkek9yTxnhCkdVKTXoixh6Bbv2YZLv6aAZJVfipiAJgDMGTNt7YnCygMvENcYCZXevZkW9b6i" ], "script": "base64:AAIDAAAAAAAAAAoIARIAEgQKAgEIAAAAIAAAAAAHV0FWRUxFVAkAAGgAAAACCQAAaAAAAAIAAAAAAAAAAGQAAAAAAAAAA+gAAAAAAAAAA+gAAAAABU1SVEVDAAAAAAAAAABkAAAAAApwbXRPblN0YXJ0CQAAaAAAAAIAAAAAAAAAAAoFAAAABU1SVEVDAAAAABBwYXJ0eU93bmVyUHViS2V5CQACWQAAAAECAAAALEZDYVA0akxoTGF3ekVxYndBUUdBVnZQUUJ2MmgzTGRFUkN4N2Zja0R2bnpyAAAAABFwYXJ0eU93bmVyQWRkcmVzcwkBAAAAFGFkZHJlc3NGcm9tUHVibGljS2V5AAAAAQUAAAAQcGFydHlPd25lclB1YktleQAAAAANbGVhc2luZ1BlcmlvZAAAAAAAAAknwAAAAAAGd2luQW10CQAAaAAAAAIAAAAAAAAAAAEFAAAAB1dBVkVMRVQAAAAACmhlaWdodFN0ZXAAAAAAAAAAAAMAAAAAEWJsb2Nrc09uR2FtZVN0YXJ0AAAAAAAACwICAAAAAA5ibG9ja3NQZXJSb3VuZAAAAAAAAAAADAAAAAAUYmxvY2tzUGVyQ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kVFCQAAAgAAAAEJAAEsAAAAAgIAAAA7SW1wb3NzaWJsZSB0byBjYW5jbGUgbGVhc2luZyB3aXRoIGZlZSBsZXNzIG9yIGdyZWF0ZXIgdGhhbiAJAAGkAAAAAQUAAAAGTWluRkVFBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAADdHR4BQAAAAckbWF0Y2gwAwkBAAAAASEAAAABBQAAABJsZWFzaW5nUGVyaW9kRW5kZWQJAAACAAAAAQIAAAA4TVJUIHBhcnR5IGhhcyBub3QgZmluaXNoZWQgeWV0LiBUcmFuc2ZlciBpcyBub3QgYWxsb3dlZC4DCQEAAAACIT0AAAACCAkABCQAAAABCAUAAAADdHR4AAAACXJlY2lwaWVudAAAAAVieXRlcwgFAAAAEXBhcnR5T3duZXJBZGRyZXNzAAAABWJ5dGVzCQAAAgAAAAECAAAAL1RyYW5zZmVyIGlzIGFsbG93ZWQgdG8gUGFydHkgT3duZXIgYWRkcmVzcyBvbmx5AwkBAAAAASEAAAABCQAB9AAAAAMIBQAAAAN0dHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAN0dHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAABBwYXJ0eU93bmVyUHViS2V5CQAAAgAAAAECAAAAKVRyYW5zZmVyIGlzIGFsbG93ZWQgZm9yIFBhcnR5IE93bmVyIG9ubHkuBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAUU2V0U2NyaXB0VHJhbnNhY3Rpb24EAAAAA3N0eAUAAAAHJG1hdGNoMAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkH+7LvMA==", "chainId": 84, "height": 721411, "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 = ((100 * 1000) * 1000) | |
5 | + | ||
6 | + | let b = 100 | |
7 | + | ||
8 | + | let c = (10 * b) | |
9 | + | ||
10 | + | let d = fromBase58String("FCaP4jLhLawzEqbwAQGAVvPQBv2h3LdERCx7fckDvnzr") | |
11 | + | ||
12 | + | let e = addressFromPublicKey(d) | |
13 | + | ||
14 | + | let f = 600000 | |
15 | + | ||
16 | + | let g = (1 * a) | |
17 | + | ||
18 | + | let h = 3 | |
19 | + | ||
20 | + | let i = 721410 | |
21 | + | ||
22 | + | let j = 12 | |
23 | + | ||
24 | + | let k = 8 | |
25 | + | ||
26 | + | let l = fromBase58String("8b4jE7X1yCNcbF4YXZGBKc8T5xdit7b1gENxxx31daua") | |
27 | + | ||
28 | + | let m = ((5 * a) / 1000) | |
29 | + | ||
30 | + | let n = 0 | |
31 | + | ||
32 | + | let o = 1 | |
33 | + | ||
34 | + | let p = 2 | |
35 | + | ||
36 | + | func q (r) = if ((0 > r)) | |
37 | + | then throw("Invalid round number") | |
38 | + | else ("round" + toString(r)) | |
39 | + | ||
40 | + | ||
41 | + | func s (r) = { | |
42 | + | let t = getString(this, q(r)) | |
43 | + | let u = if (isDefined(t)) | |
44 | + | then extract(t) | |
45 | + | else "" | |
46 | + | let v = toBase58String(e.bytes) | |
47 | + | if ((u != "")) | |
48 | + | then split(u, "_") | |
49 | + | else ["0", toString(c), v, "UNDEFINED"] | |
50 | + | } | |
51 | + | ||
52 | + | ||
53 | + | func w () = { | |
54 | + | let x = getString(this, "RoundsSharedState") | |
55 | + | let y = if (isDefined(x)) | |
56 | + | then extract(x) | |
57 | + | else "" | |
58 | + | if ((y != "")) | |
59 | + | then split(y, "_") | |
60 | + | else ["", "0", ""] | |
61 | + | } | |
62 | + | ||
63 | + | ||
64 | + | func z (A,r,B,C,D,E) = { | |
65 | + | let F = toString(B) | |
66 | + | if ((A == "MOVE")) | |
67 | + | then { | |
68 | + | let G = toString(addressFromPublicKey(D)) | |
69 | + | let H = size(G) | |
70 | + | let I = w() | |
71 | + | let J = toString((parseIntValue(I[1]) + 1)) | |
72 | + | let K = I[2] | |
73 | + | let L = if (if ((K != "")) | |
74 | + | then (size(K) > ((H + 1) * 10)) | |
75 | + | else false) | |
76 | + | then (("-" + G) + dropRight(K, (H + 1))) | |
77 | + | else (("-" + G) + K) | |
78 | + | WriteSet([DataEntry(q(r), ((((F + "_") + C) + "_") + E)), DataEntry("RoundsSharedState", ((((F + "_") + J) + "_") + L))]) | |
79 | + | } | |
80 | + | else if ((A == "LEASING")) | |
81 | + | then WriteSet([DataEntry(q(r), ((((F + "_") + C) + "_") + E))]) | |
82 | + | else throw(("Unsupported type in writeSetOfRoundData method: " + A)) | |
83 | + | } | |
84 | + | ||
85 | + | ||
86 | + | let M = (height - i) | |
87 | + | ||
88 | + | let N = if ((M >= 0)) | |
89 | + | then (M / j) | |
90 | + | else throw(("Please do not hurry. MRT party will start on " + toString(i))) | |
91 | + | ||
92 | + | let O = (M % j) | |
93 | + | ||
94 | + | let P = ((N * j) + i) | |
95 | + | ||
96 | + | let Q = (P + k) | |
97 | + | ||
98 | + | let R = s(N) | |
99 | + | ||
100 | + | let S = parseIntValue(R[n]) | |
101 | + | ||
102 | + | let T = c | |
103 | + | ||
104 | + | let U = if ((height >= S)) | |
105 | + | then (S > P) | |
106 | + | else false | |
107 | + | ||
108 | + | let V = (O > k) | |
109 | + | ||
110 | + | let W = if (U) | |
111 | + | then true | |
112 | + | else V | |
113 | + | ||
114 | + | let X = !(W) | |
115 | + | ||
116 | + | @Callable(Y) | |
117 | + | func move () = { | |
118 | + | let Z = (height + h) | |
119 | + | let B = if ((Z >= Q)) | |
120 | + | then Q | |
121 | + | else Z | |
122 | + | let aa = if (isDefined(Y.payment)) | |
123 | + | then extract(Y.payment) | |
124 | + | else throw("Please attach payment with MRT to participate in MRT party") | |
125 | + | if (W) | |
126 | + | then throw((("Sorry but round #" + toString(N)) + " is finished.")) | |
127 | + | else if ((aa.assetId != l)) | |
128 | + | then throw("Please use MRT as a payment asset to participate in MRT party") | |
129 | + | else if ((T > aa.amount)) | |
130 | + | then throw(("Sorry my friend but your payment is to small. Current min payment is " + toString(T))) | |
131 | + | else z("MOVE", N, B, toBase58String(Y.callerPublicKey), Y.callerPublicKey, "UNDEFINED") | |
132 | + | } | |
133 | + | ||
134 | + | ||
135 | + | ||
136 | + | @Callable(Y) | |
137 | + | func registerLeasingTx (r,E) = { | |
138 | + | let ab = fromBase58String(E) | |
139 | + | let ac = s(r) | |
140 | + | let ad = fromBase58String(ac[o]) | |
141 | + | if ((r > N)) | |
142 | + | then throw("Impossible to register leasing transaction for round in future") | |
143 | + | else if (if ((r == N)) | |
144 | + | then X | |
145 | + | else false) | |
146 | + | then throw("Impossible to register leasing transaction - winner has not been determined yet") | |
147 | + | else if ((size(E) != 44)) | |
148 | + | then throw("Invalid leasing transaction id length") | |
149 | + | else if ((0 >= size(ab))) | |
150 | + | then throw("Leasing transaction id is not encoded as Base58 format") | |
151 | + | else if (isDefined(transactionHeightById(ab))) | |
152 | + | then throw("Passed leasingId58 has already existed in blockchain") | |
153 | + | else if ((ac[p] != "UNDEFINED")) | |
154 | + | then throw(("Leasing tx id has already registrered for round " + toString(r))) | |
155 | + | else if ((Y.callerPublicKey != ad)) | |
156 | + | then throw("Leasing tx can be registered by round winner only") | |
157 | + | else { | |
158 | + | let ae = parseIntValue(ac[n]) | |
159 | + | z("LEASING", r, ae, ac[o], toBytes(""), E) | |
160 | + | } | |
161 | + | } | |
162 | + | ||
163 | + | ||
164 | + | @Verifier(af) | |
165 | + | func ag () = { | |
166 | + | let ah = (height > (i + f)) | |
167 | + | let ai = af | |
168 | + | if ($isInstanceOf(ai, "LeaseTransaction")) | |
169 | + | then { | |
170 | + | let aj = ai | |
171 | + | let ak = aj.proofs[0] | |
172 | + | let r = toInt(aj.proofs[1]) | |
173 | + | let ac = s(r) | |
174 | + | let al = fromBase58String(ac[o]) | |
175 | + | let am = fromBase58String(ac[p]) | |
176 | + | if (ah) | |
177 | + | then throw("Sorry but leasing period has been ended") | |
178 | + | else if (!(sigVerify(aj.bodyBytes, ak, al))) | |
179 | + | then throw("Invalid leasing transaction signature. Leasing is allowed for winner only.") | |
180 | + | else if ((aj.id != am)) | |
181 | + | then throw("Leasing transaction id doesn't match with registered leasing id") | |
182 | + | else if ((aj.amount != g)) | |
183 | + | then throw(("Impossible to lease less or greater than " + toString(g))) | |
184 | + | else if ((aj.fee != m)) | |
185 | + | then throw(("Impossible to lease with fee less or greater than " + toString(m))) | |
186 | + | else true | |
187 | + | } | |
188 | + | else if ($isInstanceOf(ai, "LeaseCancelTransaction")) | |
189 | + | then { | |
190 | + | let an = ai | |
191 | + | if (!(ah)) | |
192 | + | then throw("MRT party has not finished yet. Leasing Cancel is not allowed.") | |
193 | + | else if (!(sigVerify(af.bodyBytes, af.proofs[0], d))) | |
194 | + | then throw("Leasing Cancel is allowed to Party Owner only") | |
195 | + | else if ((an.fee != m)) | |
196 | + | then throw(("Impossible to cancle leasing with fee less or greater than " + toString(m))) | |
197 | + | else true | |
198 | + | } | |
199 | + | else if ($isInstanceOf(ai, "TransferTransaction")) | |
200 | + | then { | |
201 | + | let ao = ai | |
202 | + | if (!(ah)) | |
203 | + | then throw("MRT party has not finished yet. Transfer is not allowed.") | |
204 | + | else if ((addressFromRecipient(ao.recipient).bytes != e.bytes)) | |
205 | + | then throw("Transfer is allowed to Party Owner address only") | |
206 | + | else if (!(sigVerify(ao.bodyBytes, ao.proofs[0], d))) | |
207 | + | then throw("Transfer is allowed for Party Owner only.") | |
208 | + | else true | |
209 | + | } | |
210 | + | else if ($isInstanceOf(ai, "SetScriptTransaction")) | |
211 | + | then { | |
212 | + | let ap = ai | |
213 | + | sigVerify(af.bodyBytes, af.proofs[0], af.senderPublicKey) | |
214 | + | } | |
215 | + | else false | |
216 | + | } | |
217 | + |
github/deemru/w8io/169f3d6 30.03 ms ◑