tx · EGVvudJ6EFiVuNWGDARh9rPk3Gee2WbKrYpqUdbVw93d 3MtC32eAy42jhwnHpfYCbUj11iUkXDQdYpt: -0.00900000 Waves 2022.11.20 17:23 [2325543] smart account 3MtC32eAy42jhwnHpfYCbUj11iUkXDQdYpt > SELF 0.00000000 Waves
{ "type": 13, "id": "EGVvudJ6EFiVuNWGDARh9rPk3Gee2WbKrYpqUdbVw93d", "fee": 900000, "feeAssetId": null, "timestamp": 1668954306839, "version": 1, "sender": "3MtC32eAy42jhwnHpfYCbUj11iUkXDQdYpt", "senderPublicKey": "3xUNfrYKuaZmnMzb6e9tKC4azGnvWZyLzeKdUgAeFFpV", "proofs": [ "5Hrfbqz5eWXo4ddunKAJ5uuGPSnLay6tCo3eCApibcBYdoEcavzTHcqTm3qRnVvBLARZ8JKxLxo4AzALfxSbXrzD" ], "script": "base64:BgIVCAISAwoBCBIDCgEIEgcKBQEICAEBHgABUwICX18AA0RFQwDAhD0ACVNDSEVEVUxFRAIJU0NIRURVTEVEAAZQTEFZRUQCBlBMQVlFRAEMZ2V0SW50T3JGYWlsAgdhZGRyZXNzA2tleQkBE3ZhbHVlT3JFcnJvck1lc3NhZ2UCCQCaCAIFB2FkZHJlc3MFA2tleQkArAICCQCsAgIJAKwCAgkApQgBBQdhZGRyZXNzAgEuBQNrZXkCDyBpcyBub3QgZGVmaW5lZAEMZ2V0U3RyT3JGYWlsAgdhZGRyZXNzA2tleQkBE3ZhbHVlT3JFcnJvck1lc3NhZ2UCCQCdCAIFB2FkZHJlc3MFA2tleQkArAICCQCsAgIJAKwCAgkApQgBBQdhZGRyZXNzAgEuBQNrZXkCDyBpcyBub3QgZGVmaW5lZAEGZ2V0SW50AwdhZGRyZXNzA2tleQdkZWZhdWx0CQELdmFsdWVPckVsc2UCCQCaCAIFB2FkZHJlc3MFA2tleQUHZGVmYXVsdAEGZ2V0U3RyAwdhZGRyZXNzA2tleQdkZWZhdWx0CQELdmFsdWVPckVsc2UCCQCdCAIFB2FkZH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byBpdHNlbGYuAIY5k4A=", "chainId": 84, "height": 2325543, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5CJ2t11J2Q7NXWGdUXBirzHKEf2U7L5tZvsRUAAczeWe Next: HA8hYhgtmC1KP68Q9G3wYwb9K3xANsZtkTrBmr7VZpP5 Diff:
Old | New | Differences | |
---|---|---|---|
190 | 190 | let aL = h(this, s(o)) | |
191 | 191 | let x = J(o) | |
192 | 192 | let aM = parseIntValue(split(aL, a)[x]) | |
193 | - | if (((( | |
193 | + | if ((((30 * 60) * 1000) > (aM - lastBlock.timestamp))) | |
194 | 194 | then throw("Impossible to buy share - match is in progress. Please wait score finalization") | |
195 | 195 | else { | |
196 | 196 | let aN = e(this, n(o)) | |
219 | 219 | let ar = J(z) | |
220 | 220 | if ((aS != c)) | |
221 | 221 | then throw("Match is not in SCHEDULED status") | |
222 | - | else if (((aR + (( | |
222 | + | else if (((aR + (((3 * 60) * 60) * 1000)) > lastBlock.timestamp)) | |
223 | 223 | then throw("Wait 3h after match start before score update") | |
224 | 224 | else if ((aq != x)) | |
225 | 225 | then throw(((("Home team's round doesn't match passed round: " + toString(x)) + " != ") + toString(aq))) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "__" | |
5 | 5 | ||
6 | 6 | let b = 1000000 | |
7 | 7 | ||
8 | 8 | let c = "SCHEDULED" | |
9 | 9 | ||
10 | 10 | let d = "PLAYED" | |
11 | 11 | ||
12 | 12 | func e (f,g) = valueOrErrorMessage(getInteger(f, g), (((toString(f) + ".") + g) + " is not defined")) | |
13 | 13 | ||
14 | 14 | ||
15 | 15 | func h (f,g) = valueOrErrorMessage(getString(f, g), (((toString(f) + ".") + g) + " is not defined")) | |
16 | 16 | ||
17 | 17 | ||
18 | 18 | func i (f,g,j) = valueOrElse(getInteger(f, g), j) | |
19 | 19 | ||
20 | 20 | ||
21 | 21 | func k (f,g,j) = valueOrElse(getString(f, g), j) | |
22 | 22 | ||
23 | 23 | ||
24 | 24 | func l () = "%s%s__cfg__priceAsset" | |
25 | 25 | ||
26 | 26 | ||
27 | 27 | let m = fromBase58String(k(this, l(), "HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ")) | |
28 | 28 | ||
29 | 29 | func n (o) = makeString(["%s%s__teamCapitalization", o], a) | |
30 | 30 | ||
31 | 31 | ||
32 | 32 | func p (o) = makeString(["%s%s__teamTokens", o], a) | |
33 | 33 | ||
34 | 34 | ||
35 | 35 | func q (o) = makeString(["%s%s__teamRound", o], a) | |
36 | 36 | ||
37 | 37 | ||
38 | 38 | func r (o) = makeString(["%s%s__teamRisks", o], a) | |
39 | 39 | ||
40 | 40 | ||
41 | 41 | func s (o) = makeString(["%s%s__teamSchedule", o], a) | |
42 | 42 | ||
43 | 43 | ||
44 | 44 | func t (o) = makeString(["%s%s__teamStats", o], a) | |
45 | 45 | ||
46 | 46 | ||
47 | 47 | func u (v,o) = makeString(["%s%s%s__userTeam", o, v], a) | |
48 | 48 | ||
49 | 49 | ||
50 | 50 | func w (x,y,z) = makeString(["%s%d%s%s__match", toString(x), y, z], a) | |
51 | 51 | ||
52 | 52 | ||
53 | 53 | func A (B,C,D,E) = makeString(["%d%d%d%d", B, C, D, E], a) | |
54 | 54 | ||
55 | 55 | ||
56 | 56 | func F (G,H,I) = makeString(["%d%d%s%d%d", G[1], G[2], d, toString(H), toString(I)], a) | |
57 | 57 | ||
58 | 58 | ||
59 | 59 | func J (o) = i(this, q(o), 1) | |
60 | 60 | ||
61 | 61 | ||
62 | 62 | func K (o) = { | |
63 | 63 | let L = J(o) | |
64 | 64 | IntegerEntry(q(o), (L + 1)) | |
65 | 65 | } | |
66 | 66 | ||
67 | 67 | ||
68 | 68 | func M (N) = if ((this != N.caller)) | |
69 | 69 | then throw("not allowed") | |
70 | 70 | else true | |
71 | 71 | ||
72 | 72 | ||
73 | 73 | func O (x,P) = if ((x == 1)) | |
74 | 74 | then $Tuple4((P / 3), (P / 3), (P / 3), 0) | |
75 | 75 | else if ((x == 2)) | |
76 | 76 | then $Tuple4(0, (P / 2), (P / 2), 0) | |
77 | 77 | else if ((x == 3)) | |
78 | 78 | then $Tuple4(0, 0, P, 0) | |
79 | 79 | else $Tuple4(0, 0, 0, P) | |
80 | 80 | ||
81 | 81 | ||
82 | 82 | func Q (o,P) = { | |
83 | 83 | let R = r(o) | |
84 | 84 | let S = k(this, R, A("0", "0", "0", "0")) | |
85 | 85 | let T = split(S, a) | |
86 | 86 | let U = J(o) | |
87 | 87 | let V = O(U, P) | |
88 | 88 | let B = toString((parseIntValue(T[1]) + V._1)) | |
89 | 89 | let C = toString((parseIntValue(T[2]) + V._2)) | |
90 | 90 | let D = toString((parseIntValue(T[3]) + V._3)) | |
91 | 91 | let E = toString((parseIntValue(T[4]) + V._4)) | |
92 | 92 | StringEntry(R, A(B, C, D, E)) | |
93 | 93 | } | |
94 | 94 | ||
95 | 95 | ||
96 | 96 | func W (X,o,Y,P) = { | |
97 | 97 | let g = u(X, o) | |
98 | 98 | let G = split(k(this, g, "%d%d__0__0"), a) | |
99 | 99 | let Z = toString((parseIntValue(G[1]) + Y)) | |
100 | 100 | let aa = toString((parseIntValue(G[2]) + P)) | |
101 | 101 | StringEntry(g, makeString(["%d%d", Z, aa], a)) | |
102 | 102 | } | |
103 | 103 | ||
104 | 104 | ||
105 | 105 | func ab (ac,ad,ae,af,ag,ah,ai) = makeString(["%d%d%d%d%d%d%d", toString(ac), toString(ad), toString(ae), toString(af), toString(ag), toString(ah), toString(ai)], a) | |
106 | 106 | ||
107 | 107 | ||
108 | 108 | func aj (o,ak) = { | |
109 | 109 | let g = t(o) | |
110 | 110 | let G = split(k(this, g, ab(0, 0, 0, 0, 0, 0, 0)), a) | |
111 | 111 | StringEntry(g, ab((parseIntValue(G[1]) + ak._1), (parseIntValue(G[2]) + ak._2), (parseIntValue(G[3]) + ak._3), (parseIntValue(G[4]) + ak._4), (parseIntValue(G[5]) + ak._5), (parseIntValue(G[6]) + ak._6), (parseIntValue(G[7]) + ak._7))) | |
112 | 112 | } | |
113 | 113 | ||
114 | 114 | ||
115 | 115 | func al (y,z,H,I) = { | |
116 | 116 | let am = if ((H > I)) | |
117 | 117 | then [$Tuple7(1, 1, 0, 0, H, I, 3), $Tuple7(1, 0, 0, 1, I, H, 0)] | |
118 | 118 | else if ((I > H)) | |
119 | 119 | then [$Tuple7(1, 0, 0, 1, H, I, 0), $Tuple7(1, 1, 0, 0, I, H, 3)] | |
120 | 120 | else [$Tuple7(1, 0, 1, 0, H, I, 1), $Tuple7(1, 0, 1, 0, I, H, 1)] | |
121 | 121 | let an = am[0] | |
122 | 122 | let ao = am[1] | |
123 | 123 | [aj(y, an), aj(z, ao)] | |
124 | 124 | } | |
125 | 125 | ||
126 | 126 | ||
127 | 127 | func ap (y,z,H,I) = { | |
128 | 128 | let aq = J(y) | |
129 | 129 | let ar = J(z) | |
130 | 130 | if ((aq != ar)) | |
131 | 131 | then throw("Teams rounds are not equals") | |
132 | 132 | else { | |
133 | 133 | let as = r(y) | |
134 | 134 | let at = split(k(this, as, A("0", "0", "0", "0")), a) | |
135 | 135 | let au = r(z) | |
136 | 136 | let av = split(k(this, au, A("0", "0", "0", "0")), a) | |
137 | 137 | let aw = parseIntValue(at[aq]) | |
138 | 138 | let ax = parseIntValue(av[ar]) | |
139 | 139 | let ay = n(y) | |
140 | 140 | let az = e(this, ay) | |
141 | 141 | let aA = n(z) | |
142 | 142 | let aB = e(this, aA) | |
143 | 143 | let aC = if ((H > I)) | |
144 | 144 | then [$Tuple2((aw + ax), ax), $Tuple2(0, -(ax))] | |
145 | 145 | else if ((I > H)) | |
146 | 146 | then [$Tuple2(0, -(aw)), $Tuple2((aw + ax), aw)] | |
147 | 147 | else [$Tuple2(aw, 0), $Tuple2(ax, 0)] | |
148 | 148 | let aD = aC[0] | |
149 | 149 | let aE = aC[1] | |
150 | 150 | func aF (G,x,aG) = { | |
151 | 151 | let B = if ((1 == x)) | |
152 | 152 | then "0" | |
153 | 153 | else G[1] | |
154 | 154 | let C = if ((2 == x)) | |
155 | 155 | then "0" | |
156 | 156 | else G[2] | |
157 | 157 | let D = if ((3 == x)) | |
158 | 158 | then "0" | |
159 | 159 | else G[3] | |
160 | 160 | let E = toString((parseIntValue(G[4]) + aG)) | |
161 | 161 | A(B, C, D, E) | |
162 | 162 | } | |
163 | 163 | ||
164 | 164 | [StringEntry(as, aF(at, aq, aD._1)), StringEntry(au, aF(av, ar, aE._1)), IntegerEntry(ay, (az + aD._2)), IntegerEntry(aA, (aB + aE._2))] | |
165 | 165 | } | |
166 | 166 | } | |
167 | 167 | ||
168 | 168 | ||
169 | 169 | @Callable(N) | |
170 | 170 | func init (aH) = { | |
171 | 171 | let aI = [M(N)] | |
172 | 172 | if ((aI == aI)) | |
173 | 173 | then [StringEntry(l(), aH)] | |
174 | 174 | else throw("Strict value is not equal to itself.") | |
175 | 175 | } | |
176 | 176 | ||
177 | 177 | ||
178 | 178 | ||
179 | 179 | @Callable(N) | |
180 | 180 | func buyTeam (o) = { | |
181 | 181 | let v = toString(N.caller) | |
182 | 182 | let P = N.payments[0] | |
183 | 183 | let aJ = P.amount | |
184 | 184 | let aK = P.assetId | |
185 | 185 | if ((size(N.payments) != 1)) | |
186 | 186 | then throw("1 payment is expected") | |
187 | 187 | else if ((aK != m)) | |
188 | 188 | then throw("invalid payment asset id") | |
189 | 189 | else { | |
190 | 190 | let aL = h(this, s(o)) | |
191 | 191 | let x = J(o) | |
192 | 192 | let aM = parseIntValue(split(aL, a)[x]) | |
193 | - | if (((( | |
193 | + | if ((((30 * 60) * 1000) > (aM - lastBlock.timestamp))) | |
194 | 194 | then throw("Impossible to buy share - match is in progress. Please wait score finalization") | |
195 | 195 | else { | |
196 | 196 | let aN = e(this, n(o)) | |
197 | 197 | let aO = e(this, p(o)) | |
198 | 198 | let aP = if ((aO != 0)) | |
199 | 199 | then fraction(aN, b, aO) | |
200 | 200 | else b | |
201 | 201 | let aQ = fraction(aJ, b, aP) | |
202 | 202 | [IntegerEntry(n(o), (aN + aJ)), IntegerEntry(p(o), (aO + aQ)), W(v, o, aQ, aJ), Q(o, aJ)] | |
203 | 203 | } | |
204 | 204 | } | |
205 | 205 | } | |
206 | 206 | ||
207 | 207 | ||
208 | 208 | ||
209 | 209 | @Callable(N) | |
210 | 210 | func score (x,y,z,H,I) = { | |
211 | 211 | let aI = [M(N)] | |
212 | 212 | if ((aI == aI)) | |
213 | 213 | then { | |
214 | 214 | let g = w(x, y, z) | |
215 | 215 | let G = split(h(this, g), a) | |
216 | 216 | let aR = parseIntValue(G[2]) | |
217 | 217 | let aS = G[3] | |
218 | 218 | let aq = J(y) | |
219 | 219 | let ar = J(z) | |
220 | 220 | if ((aS != c)) | |
221 | 221 | then throw("Match is not in SCHEDULED status") | |
222 | - | else if (((aR + (( | |
222 | + | else if (((aR + (((3 * 60) * 60) * 1000)) > lastBlock.timestamp)) | |
223 | 223 | then throw("Wait 3h after match start before score update") | |
224 | 224 | else if ((aq != x)) | |
225 | 225 | then throw(((("Home team's round doesn't match passed round: " + toString(x)) + " != ") + toString(aq))) | |
226 | 226 | else if ((ar != x)) | |
227 | 227 | then throw(((("Away team's round doesn't match passed round: " + toString(x)) + " != ") + toString(ar))) | |
228 | 228 | else ((((al(y, z, H, I) ++ ap(y, z, H, I)) :+ StringEntry(g, F(G, H, I))) :+ K(y)) :+ K(z)) | |
229 | 229 | } | |
230 | 230 | else throw("Strict value is not equal to itself.") | |
231 | 231 | } | |
232 | 232 | ||
233 | 233 |
github/deemru/w8io/03bedc9 42.08 ms ◑![]()