tx · 4MSCok1v6iYQvQSucY9AXyztX9G4YnqPmobTTALzV6NE

3MsNU6eQC1F3m7yiqmkkw733kiE45J5NL8B:  -0.04000000 Waves

2020.09.02 09:36 [1159426] smart account 3MsNU6eQC1F3m7yiqmkkw733kiE45J5NL8B > SELF 0.00000000 Waves

{ "type": 13, "id": "4MSCok1v6iYQvQSucY9AXyztX9G4YnqPmobTTALzV6NE", "fee": 4000000, "feeAssetId": null, "timestamp": 1599028691766, "version": 1, "sender": "3MsNU6eQC1F3m7yiqmkkw733kiE45J5NL8B", "senderPublicKey": "ACwRxGgCQ8fyGhT2BkKEzPGCySdsKfjqs1w8xb51zhTR", "proofs": [ "4BzGM6BygDAKqPMFLTKnm1gUmNhPWszAnQvnnpTnGtLpJ7GKee4FCJACt47672hvDkGvVagnU5eZynS2jJhhR2yp" ], "script": "base64:AAIDAAAAAAAAABEIARIECgIBARIFCgMBAQESAAAAAAwBAAAACXNldENvb3JkcwAAAAMAAAADa2V5AAAACGxhdGl0dWRlAAAACWxvbmdpdHVkZQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkAASwAAAACAgAAAAxwb3NpdGlvbkxhdF8FAAAAA2tleQUAAAAIbGF0aXR1ZGUJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgIAAAAMcG9zaXRpb25Mb25fBQAAAANrZXkFAAAACWxvbmdpdHVkZQUAAAADbmlsAQAAAAtzZXRHYW1lRGF0YQAAAAIAAAAJcGxheWVyS2V5AAAAC29wcG9uZW50S2V5BAAAAAZnYW1lSWQJAAEsAAAAAgkAASwAAAACBQAAAAlwbGF5ZXJLZXkCAAAAAV8FAAAAC29wcG9uZW50S2V5CQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQABLAAAAAICAAAAB2dhbWVJZF8FAAAACXBsYXllcktleQUAAAAGZ2FtZUlkCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACCQABLAAAAAICAAAACW9wcG9uZW50XwUAAAA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QJAAGRAAAAAgUAAAAIc2hvdERhdGEAAAAAAAAAAAIJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgIAAAAMbGFzdFNob3RMb25fBQAAAAZnYW1lSWQJAAGRAAAAAgUAAAAIc2hvdERhdGEAAAAAAAAAAAMFAAAAA25pbAAAAAFpAQAAAAZmYXVjZXQAAAAABAAAAAVhc3NldAEAAAAgIcUieKODQYjxxfCcBy1OOvgGUtDrDm9UOiZzzn50WqAEAAAABmNhbGxlcgkABCUAAAABCAUAAAABaQAAAAZjYWxsZXIEAAAAB2JhbGFuY2UJAAPrAAAAAggFAAAAAWkAAAAGY2FsbGVyBQAAAAVhc3NldAMJAABmAAAAAgAAAAAAAAAAZAUAAAAHYmFsYW5jZQkBAAAAC1RyYW5zZmVyU2V0AAAAAQkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIAAAAAADuaygAFAAAABWFzc2V0BQAAAANuaWwJAQAAAAtUcmFuc2ZlclNldAAAAAEFAAAAA25pbAAAAAAOUpbf", "chainId": 84, "height": 1159426, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GA9LA5di3b8npcozSV3RArUxbYgHKCq9ykxLf7xEBGaP Next: 6eYm1deM7quzNTnbwXwGA6XKYmwjsM3ez4YHAdgDkKQH Diff:
OldNewDifferences
7676 else if ((0 > r))
7777 then {
7878 let s = (-1 * r)
79- let t = ((((((-1873 * s) / 100000) + 7426) * s) / 100000) - 21211)
80- let u = (((t * s) / 100000) + 157072)
81- let v = pow((100000 - s), 5, 5, 1, 5, HALFEVEN)
82- -((157079 - ((v * u) / 100000)))
79+ let t = (((-1873 * s) / 100000) + 7426)
80+ let u = (((t * s) / 100000) - 21211)
81+ let v = (((u * s) / 100000) + 157072)
82+ let w = pow((100000 - s), 5, 5, 1, 5, HALFEVEN)
83+ -((157079 - ((w * v) / 100000)))
8384 }
8485 else {
85- let w = (((-1873 * r) / 100000) + 7426)
86- let t = (((w * r) / 100000) - 21211)
87- let u = (((t * r) / 100000) + 157072)
88- let v = pow((100000 - r), 5, 5, 1, 5, HALFEVEN)
89- (157079 - ((v * u) / 100000))
86+ let t = (((-1873 * r) / 100000) + 7426)
87+ let u = (((t * r) / 100000) - 21211)
88+ let v = (((u * r) / 100000) + 157072)
89+ let w = pow((100000 - r), 5, 5, 1, 5, HALFEVEN)
90+ (157079 - ((w * v) / 100000))
9091 }
9192
9293
158159 }
159160
160161
161-func aj (F,G,H,I) = {
162- let ak = (I - G)
163- let A = ((j(ak) * p(H)) / 100000)
164- let r = (((p(F) * j(H)) - (((j(F) * p(H)) * p(ak)) / 100000)) / 100000)
165- ((z(A, r) + 628318) % 628318)
166- }
167-
168-
169-@Callable(al)
162+@Callable(aj)
170163 func startGame (c,d) = {
171- let am = base58'3GpoTGi5FENo3WAw2K9PjcS2UD4VHRLL2Lxoj9ckUHxb'
172- let an = value(al.payment)
173- let ao = toString(al.caller)
174- let ac = ((c * 1745) / 100000)
175- let ad = ((d * 1745) / 100000)
176- let ap = a(ao, ac, ad)
177- let aq = getString(this, "openGame")
178- if (if ((an.assetId == am))
179- then (an.amount >= 1)
164+ let ak = base58'3GpoTGi5FENo3WAw2K9PjcS2UD4VHRLL2Lxoj9ckUHxb'
165+ let al = value(aj.payment)
166+ let am = toString(aj.caller)
167+ let an = a(am, ((c * 1745) / 100000), ((d * 1745) / 100000))
168+ let ao = getString(this, "openGame")
169+ if (if ((al.assetId == ak))
170+ then (al.amount >= 100000000)
180171 else false)
181172 then {
182- let h = getString(this, ("gameId_" + ao))
173+ let h = getString(this, ("gameId_" + am))
183174 if (if ((h != ""))
184175 then (h != unit)
185176 else false)
186177 then throw("Please finish your current game, before starting another one")
187- else if (!(isDefined(aq)))
188- then WriteSet(DataEntry("openGame", ao) :: ap)
189- else if (if ((aq == ""))
178+ else if (!(isDefined(ao)))
179+ then WriteSet(DataEntry("openGame", am) :: an)
180+ else if (if ((ao == ""))
190181 then true
191- else (aq == ao))
192- then WriteSet(DataEntry("openGame", ao) :: ap)
193- else {
194- let aa = getIntegerValue(this, ("positionLat_" + value(aq)))
195- let ab = getIntegerValue(this, ("positionLon_" + value(aq)))
196- let ae = E(aa, ab, ac, ad)
197- let ar = sha256(toBytes(ae))
198- let as = toInt(ar)
199- let at = ((as % (628318 / 4)) - (628318 / 8))
200- let au = aj(aa, ab, ac, ad)
201- let av = (au + at)
202- let aw = ((au + 314159) % 628318)
203- let ax = (aw + at)
204- WriteSet([DataEntry("openGame", ""), ap[0], ap[1], DataEntry(("opponentOffsetYaw_" + ao), av), DataEntry(("opponentOffsetYaw_" + value(aq)), ax), e(value(aq), ao)])
205- }
182+ else (ao == am))
183+ then WriteSet(DataEntry("openGame", am) :: an)
184+ else WriteSet([DataEntry("openGame", ""), an[0], an[1], e(value(ao), am)])
206185 }
207186 else throw("Please pay the token")
208187 }
209188
210189
211190
212-@Callable(al)
191+@Callable(aj)
213192 func executeShot (D,R,Z) = {
214- let am = base58'3GpoTGi5FENo3WAw2K9PjcS2UD4VHRLL2Lxoj9ckUHxb'
215- let ao = toString(al.caller)
216- let ay = getStringValue(this, ("opponent_" + ao))
217- let h = i(ao)
218- if ((getStringValue(this, ("gameTurn_" + h)) != ao))
193+ let ak = base58'3GpoTGi5FENo3WAw2K9PjcS2UD4VHRLL2Lxoj9ckUHxb'
194+ let am = toString(aj.caller)
195+ let ap = getStringValue(this, ("opponent_" + am))
196+ let h = i(am)
197+ if ((getStringValue(this, ("gameTurn_" + h)) != am))
219198 then throw("Please wait for your turn.")
220199 else {
221- let az = Y(D, R, Z, ao, ay)
222- if ((((az[1] / 5) + 10000000000) > az[0]))
223- then ScriptResult(WriteSet([DataEntry(("game_" + h), false), DataEntry(("gameWinner_" + h), ao), DataEntry(("gameId_" + ao), ""), DataEntry(("gameId_" + ay), ""), DataEntry(("lastShotDistance_" + h), az[0]), DataEntry(("lastShotLat_" + h), az[2]), DataEntry(("lastShotLon_" + h), az[3])]), TransferSet([ScriptTransfer(al.caller, 2, am)]))
224- else WriteSet([DataEntry(("gameTurn_" + h), ay), DataEntry(("lastShotDistance_" + h), az[0]), DataEntry(("lastShotLat_" + h), az[2]), DataEntry(("lastShotLon_" + h), az[3])])
200+ let aq = Y(D, R, Z, am, ap)
201+ if ((((aq[1] / 5) + 1000000000) > aq[0]))
202+ then ScriptResult(WriteSet([DataEntry(("game_" + h), false), DataEntry(("gameWinner_" + h), am), DataEntry(("gameId_" + am), ""), DataEntry(("gameId_" + ap), ""), DataEntry(("lastShotDistance_" + h), aq[0]), DataEntry(("lastShotLat_" + h), aq[2]), DataEntry(("lastShotLon_" + h), aq[3])]), TransferSet([ScriptTransfer(aj.caller, 200000000, ak)]))
203+ else WriteSet([DataEntry(("gameTurn_" + h), ap), DataEntry(("lastShotDistance_" + h), aq[0]), DataEntry(("lastShotLat_" + h), aq[2]), DataEntry(("lastShotLon_" + h), aq[3])])
225204 }
226205 }
227206
228207
229208
230-@Callable(al)
209+@Callable(aj)
231210 func faucet () = {
232- let am = base58'3GpoTGi5FENo3WAw2K9PjcS2UD4VHRLL2Lxoj9ckUHxb'
233- let ao = toString(al.caller)
234- let aA = assetBalance(al.caller, am)
235- if ((100 > aA))
236- then TransferSet([ScriptTransfer(al.caller, 100, am)])
211+ let ak = base58'3GpoTGi5FENo3WAw2K9PjcS2UD4VHRLL2Lxoj9ckUHxb'
212+ let am = toString(aj.caller)
213+ let ar = assetBalance(aj.caller, ak)
214+ if ((100 > ar))
215+ then TransferSet([ScriptTransfer(aj.caller, 1000000000, ak)])
237216 else TransferSet(nil)
238217 }
239218
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func a (b,c,d) = [DataEntry(("positionLat_" + b), c), DataEntry(("positionLon_" + b), d)]
55
66
77 func e (f,g) = {
88 let h = ((f + "_") + g)
99 [DataEntry(("gameId_" + f), h), DataEntry(("opponent_" + f), g), DataEntry(("gameId_" + g), h), DataEntry(("opponent_" + g), f), DataEntry(("game_" + h), true), DataEntry(("gameTurn_" + h), f), DataEntry(("gameWinner_" + h), "")]
1010 }
1111
1212
1313 func i (b) = getStringValue(this, ("gameId_" + b))
1414
1515
1616 func j (k) = {
1717 let l = (k / 628318)
1818 if ((0 > k))
1919 then {
2020 let m = -(k)
2121 if ((m > 628318))
2222 then {
2323 let n = (m + (l * 628318))
2424 if ((n > 314159))
2525 then {
2626 let o = ((16 * (n - 314159)) * (314159 - (n - 314159)))
2727 ((o * 100000) / (493480220050 - (o / 4)))
2828 }
2929 else {
3030 let o = ((16 * n) * (314159 - n))
3131 ((-(o) * 100000) / (493480220050 - (o / 4)))
3232 }
3333 }
3434 else if ((m > 314159))
3535 then {
3636 let o = ((16 * (m - 314159)) * (314159 - (m - 314159)))
3737 ((o * 100000) / (493480220050 - (o / 4)))
3838 }
3939 else {
4040 let o = ((16 * m) * (314159 - m))
4141 ((-(o) * 100000) / (493480220050 - (o / 4)))
4242 }
4343 }
4444 else if ((k > 628318))
4545 then {
4646 let n = (k - (l * 628318))
4747 if ((n > 314159))
4848 then {
4949 let o = ((16 * (n - 314159)) * (314159 - (n - 314159)))
5050 ((-(o) * 100000) / (493480220050 - (o / 4)))
5151 }
5252 else {
5353 let o = ((16 * n) * (314159 - n))
5454 ((o * 100000) / (493480220050 - (o / 4)))
5555 }
5656 }
5757 else if ((k > 314159))
5858 then {
5959 let o = ((16 * (k - 314159)) * (314159 - (k - 314159)))
6060 ((-(o) * 100000) / (493480220050 - (o / 4)))
6161 }
6262 else {
6363 let o = ((16 * k) * (314159 - k))
6464 ((o * 100000) / (493480220050 - (o / 4)))
6565 }
6666 }
6767
6868
6969 func p (k) = j((157079 - k))
7070
7171
7272 func q (r) = if ((-100000 >= r))
7373 then -157079
7474 else if ((r >= 100000))
7575 then 157079
7676 else if ((0 > r))
7777 then {
7878 let s = (-1 * r)
79- let t = ((((((-1873 * s) / 100000) + 7426) * s) / 100000) - 21211)
80- let u = (((t * s) / 100000) + 157072)
81- let v = pow((100000 - s), 5, 5, 1, 5, HALFEVEN)
82- -((157079 - ((v * u) / 100000)))
79+ let t = (((-1873 * s) / 100000) + 7426)
80+ let u = (((t * s) / 100000) - 21211)
81+ let v = (((u * s) / 100000) + 157072)
82+ let w = pow((100000 - s), 5, 5, 1, 5, HALFEVEN)
83+ -((157079 - ((w * v) / 100000)))
8384 }
8485 else {
85- let w = (((-1873 * r) / 100000) + 7426)
86- let t = (((w * r) / 100000) - 21211)
87- let u = (((t * r) / 100000) + 157072)
88- let v = pow((100000 - r), 5, 5, 1, 5, HALFEVEN)
89- (157079 - ((v * u) / 100000))
86+ let t = (((-1873 * r) / 100000) + 7426)
87+ let u = (((t * r) / 100000) - 21211)
88+ let v = (((u * r) / 100000) + 157072)
89+ let w = pow((100000 - r), 5, 5, 1, 5, HALFEVEN)
90+ (157079 - ((w * v) / 100000))
9091 }
9192
9293
9394 func x (r) = {
9495 let y = ((r * r) / 100000)
9596 if ((-100000 > r))
9697 then (-157079 - ((r * 100000) / (y + 28000)))
9798 else if ((r > 100000))
9899 then (157079 - ((r * 100000) / (y + 28000)))
99100 else ((r * 100000) / (100000 + ((28000 * y) / 100000)))
100101 }
101102
102103
103104 func z (A,r) = if ((r > 0))
104105 then x((A / r))
105106 else if (if ((0 > r))
106107 then (A >= 0)
107108 else false)
108109 then (x((A / r)) + 314159)
109110 else if (if ((0 > r))
110111 then (0 > A)
111112 else false)
112113 then (x((A / r)) - 314159)
113114 else if (if ((r == 0))
114115 then (A > 0)
115116 else false)
116117 then 157079
117118 else if (if ((r == 0))
118119 then (0 > A)
119120 else false)
120121 then -157079
121122 else 0
122123
123124
124125 func B (C,D) = (((2 * C) * ((p(D) * j(D)) / 100000)) / 980665)
125126
126127
127128 func E (F,G,H,I) = {
128129 let J = j(((F - H) / 2))
129130 let K = j(((G - I) / 2))
130131 let L = ((J * J) + (((p(F) * p(H)) / 100000) * ((K * K) / 100000)))
131132 let M = (2 * q(pow((L / 1000), 7, 5, 1, 5, HALFEVEN)))
132133 (6371000 * M)
133134 }
134135
135136
136137 func N (O,P,Q,R) = {
137138 let S = j(O)
138139 let T = p(O)
139140 let U = j((Q / 6371000))
140141 let V = p((Q / 6371000))
141142 let W = q((((S * V) / 100000) + (((T * U) * p(R)) / 10000000000)))
142143 let X = (P + z((((j(R) * U) * T) / 100000), (V - ((S * j(W)) / 100000))))
143144 [W, X]
144145 }
145146
146147
147148 func Y (D,R,Z,f,g) = {
148149 let aa = getIntegerValue(this, ("positionLat_" + f))
149150 let ab = getIntegerValue(this, ("positionLon_" + f))
150151 let ac = getIntegerValue(this, ("positionLat_" + g))
151152 let ad = getIntegerValue(this, ("positionLon_" + g))
152153 let ae = E(aa, ab, ac, ad)
153154 let af = ((ae * 980665) / 100000)
154155 let ag = B(((af * Z) / 100000), D)
155156 let ah = N(aa, ab, ag, R)
156157 let ai = E(ah[0], ah[1], ac, ad)
157158 [ai, ae] :: ah
158159 }
159160
160161
161-func aj (F,G,H,I) = {
162- let ak = (I - G)
163- let A = ((j(ak) * p(H)) / 100000)
164- let r = (((p(F) * j(H)) - (((j(F) * p(H)) * p(ak)) / 100000)) / 100000)
165- ((z(A, r) + 628318) % 628318)
166- }
167-
168-
169-@Callable(al)
162+@Callable(aj)
170163 func startGame (c,d) = {
171- let am = base58'3GpoTGi5FENo3WAw2K9PjcS2UD4VHRLL2Lxoj9ckUHxb'
172- let an = value(al.payment)
173- let ao = toString(al.caller)
174- let ac = ((c * 1745) / 100000)
175- let ad = ((d * 1745) / 100000)
176- let ap = a(ao, ac, ad)
177- let aq = getString(this, "openGame")
178- if (if ((an.assetId == am))
179- then (an.amount >= 1)
164+ let ak = base58'3GpoTGi5FENo3WAw2K9PjcS2UD4VHRLL2Lxoj9ckUHxb'
165+ let al = value(aj.payment)
166+ let am = toString(aj.caller)
167+ let an = a(am, ((c * 1745) / 100000), ((d * 1745) / 100000))
168+ let ao = getString(this, "openGame")
169+ if (if ((al.assetId == ak))
170+ then (al.amount >= 100000000)
180171 else false)
181172 then {
182- let h = getString(this, ("gameId_" + ao))
173+ let h = getString(this, ("gameId_" + am))
183174 if (if ((h != ""))
184175 then (h != unit)
185176 else false)
186177 then throw("Please finish your current game, before starting another one")
187- else if (!(isDefined(aq)))
188- then WriteSet(DataEntry("openGame", ao) :: ap)
189- else if (if ((aq == ""))
178+ else if (!(isDefined(ao)))
179+ then WriteSet(DataEntry("openGame", am) :: an)
180+ else if (if ((ao == ""))
190181 then true
191- else (aq == ao))
192- then WriteSet(DataEntry("openGame", ao) :: ap)
193- else {
194- let aa = getIntegerValue(this, ("positionLat_" + value(aq)))
195- let ab = getIntegerValue(this, ("positionLon_" + value(aq)))
196- let ae = E(aa, ab, ac, ad)
197- let ar = sha256(toBytes(ae))
198- let as = toInt(ar)
199- let at = ((as % (628318 / 4)) - (628318 / 8))
200- let au = aj(aa, ab, ac, ad)
201- let av = (au + at)
202- let aw = ((au + 314159) % 628318)
203- let ax = (aw + at)
204- WriteSet([DataEntry("openGame", ""), ap[0], ap[1], DataEntry(("opponentOffsetYaw_" + ao), av), DataEntry(("opponentOffsetYaw_" + value(aq)), ax), e(value(aq), ao)])
205- }
182+ else (ao == am))
183+ then WriteSet(DataEntry("openGame", am) :: an)
184+ else WriteSet([DataEntry("openGame", ""), an[0], an[1], e(value(ao), am)])
206185 }
207186 else throw("Please pay the token")
208187 }
209188
210189
211190
212-@Callable(al)
191+@Callable(aj)
213192 func executeShot (D,R,Z) = {
214- let am = base58'3GpoTGi5FENo3WAw2K9PjcS2UD4VHRLL2Lxoj9ckUHxb'
215- let ao = toString(al.caller)
216- let ay = getStringValue(this, ("opponent_" + ao))
217- let h = i(ao)
218- if ((getStringValue(this, ("gameTurn_" + h)) != ao))
193+ let ak = base58'3GpoTGi5FENo3WAw2K9PjcS2UD4VHRLL2Lxoj9ckUHxb'
194+ let am = toString(aj.caller)
195+ let ap = getStringValue(this, ("opponent_" + am))
196+ let h = i(am)
197+ if ((getStringValue(this, ("gameTurn_" + h)) != am))
219198 then throw("Please wait for your turn.")
220199 else {
221- let az = Y(D, R, Z, ao, ay)
222- if ((((az[1] / 5) + 10000000000) > az[0]))
223- then ScriptResult(WriteSet([DataEntry(("game_" + h), false), DataEntry(("gameWinner_" + h), ao), DataEntry(("gameId_" + ao), ""), DataEntry(("gameId_" + ay), ""), DataEntry(("lastShotDistance_" + h), az[0]), DataEntry(("lastShotLat_" + h), az[2]), DataEntry(("lastShotLon_" + h), az[3])]), TransferSet([ScriptTransfer(al.caller, 2, am)]))
224- else WriteSet([DataEntry(("gameTurn_" + h), ay), DataEntry(("lastShotDistance_" + h), az[0]), DataEntry(("lastShotLat_" + h), az[2]), DataEntry(("lastShotLon_" + h), az[3])])
200+ let aq = Y(D, R, Z, am, ap)
201+ if ((((aq[1] / 5) + 1000000000) > aq[0]))
202+ then ScriptResult(WriteSet([DataEntry(("game_" + h), false), DataEntry(("gameWinner_" + h), am), DataEntry(("gameId_" + am), ""), DataEntry(("gameId_" + ap), ""), DataEntry(("lastShotDistance_" + h), aq[0]), DataEntry(("lastShotLat_" + h), aq[2]), DataEntry(("lastShotLon_" + h), aq[3])]), TransferSet([ScriptTransfer(aj.caller, 200000000, ak)]))
203+ else WriteSet([DataEntry(("gameTurn_" + h), ap), DataEntry(("lastShotDistance_" + h), aq[0]), DataEntry(("lastShotLat_" + h), aq[2]), DataEntry(("lastShotLon_" + h), aq[3])])
225204 }
226205 }
227206
228207
229208
230-@Callable(al)
209+@Callable(aj)
231210 func faucet () = {
232- let am = base58'3GpoTGi5FENo3WAw2K9PjcS2UD4VHRLL2Lxoj9ckUHxb'
233- let ao = toString(al.caller)
234- let aA = assetBalance(al.caller, am)
235- if ((100 > aA))
236- then TransferSet([ScriptTransfer(al.caller, 100, am)])
211+ let ak = base58'3GpoTGi5FENo3WAw2K9PjcS2UD4VHRLL2Lxoj9ckUHxb'
212+ let am = toString(aj.caller)
213+ let ar = assetBalance(aj.caller, ak)
214+ if ((100 > ar))
215+ then TransferSet([ScriptTransfer(aj.caller, 1000000000, ak)])
237216 else TransferSet(nil)
238217 }
239218
240219

github/deemru/w8io/026f985 
55.95 ms