tx · HtNpgtqArVp9oiLLczciht6cB8kzutYkDp5Lqumd1xc1

3N8RGScPyKYySaXd5Z3VcpnttH2uBeMpSy4:  -0.01400000 Waves

2020.03.15 23:17 [910819] smart account 3N8RGScPyKYySaXd5Z3VcpnttH2uBeMpSy4 > SELF 0.00000000 Waves

{ "type": 13, "id": "HtNpgtqArVp9oiLLczciht6cB8kzutYkDp5Lqumd1xc1", "fee": 1400000, "feeAssetId": null, "timestamp": 1584303458437, "version": 1, "sender": "3N8RGScPyKYySaXd5Z3VcpnttH2uBeMpSy4", "senderPublicKey": "4AHsCbS9QYVdKNvxrPWwsMwwy3KqXaCMXeAscExJZk9L", "proofs": [ "2P4PwoDTqVeHBtGswukLvdVvUktZuvZqYE2v8bbseK1H84sAjx7KxnTNN8QYmpKJQkmLgiHntGzajewJNWaAsS27" ], "script": "base64:AAIDAAAAAAAAAB8IARIDCgEBEgYKBAgBAQgSCAoGCAgIAQEBEgQKAggBAAAAHQAAAAAHYUJpdENPMgEAAAAgx/h6AJ03UJ8qMmy7JIhz3VjOE4OL3ofCGi0oG2fBKJYAAAAACHN0YXJ0UXR5AAAAAAAABRQAAAAAAAhub21QcmljZQAAAAAABfXhAAAAAAAQc3VwcGxpZXJEaXNjb3VudAAAAAAAAAAADAAAAAAOT3duZXJFY29QdWJLZXkBAAAAIC70W6NACRoO8DcwW0R46ze+bNGLr0tg3cAkNP8WNkAfAAAAAAN3dnMAAAAAAAX14QAAAAAABE5PTkUCAAAABG5vbmUAAAAABmlzc3VlcgkBAAAAB0FkZHJlc3MAAAABAQAAABoBVMr3Oz7nL9FV4g+t+EWzLN77jdANRWt9bwEAAAAOZ2V0TnVtYmVyQnlLZXkAAAABAAAAA2tleQQAAAADbnVtBAAAAAckbWF0Y2gwCQAEGgAAAAIFAAAABHRoaXMFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAADSW50BAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhAAAAAAAAAAAABQAAAANudW0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VudAAAAAAAAAAABAQAAAAIbWF4UHJpY2UJAABoAAAAAgUAAAAJbWF4QW1vdW50BQAAAAhub21QcmljZQMDBQAAAANidXkDCQEAAAAJaXNEZWZpbmVkAAAAAQkAAGcAAAACBQAAAAhtYXhQcmljZQgIBQAAAAJ0eAAAAAhidXlPcmRlcgAAAAVwcmljZQYJAAACAAAAAQIAAAA6RWwgbW9udG8gYSBwYWdhciBubyBwdWVkZSBzZXIgbWVub3IgcXVlIGVsIHByZWNpbyBkZSB2ZW50YQcGAwUAAAAEc2VsbAMDAwkAAAAAAAACCAgFAAAAAnR4AAAACXNlbGxPcmRlcgAAAAZzZW5kZXIFAAAABmlzc3VlcgkAAGcAAAACCAUAAAACdHgAAAAGYW1vdW50BQAAAAltaW5BbW91bnQHCQAAZwAAAAIFAAAACW1heEFtb3VudAgFAAAAAnR4AAAABmFtb3VudAcGCQAAAgAAAAECAAAAU0Vycm9yOiBNaW5pbXVtIGFtb3VudDogMSBhQml0Q08yOyBNYXhpbXVtIGFtb3VudCBvZmZlcmVkOiA0IGFCaXRDTzIgYnkgVXNlciBBY2NvdW50BwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAXSW52b2tlU2NyaXB0VHJhbnNhY3Rpb24EAAAAAWMFAAAAByRtYXRjaDAGB/Bv42Y=", "chainId": 84, "height": 910819, "spentComplexity": 0 } View: original | compacted Prev: 7MuaQNfsFECarGHPX9aJwheMhV6amZSamAinmPLt2hxB Next: 5kknR3Zvzxg6eoRVQQRxs6S1hcrXqRPLXzfeRhCyGVGH Diff:
OldNewDifferences
103103
104104
105105 @Callable(M)
106-func AddSupplierToken (r,N,d,O) = {
107- let q = toBase58String(M.caller.bytes)
108- let t = p(q, r)
109- if ((0 >= N))
110- then throw("Sorry, insufficient token offer")
111- else WriteSet([DataEntry(("Ofertante:_" + s(t)), q), DataEntry(v(t), N), DataEntry(("Precio_Nominal:" + K(t)), c), DataEntry(("Max_Descuento_ofrecido:" + I(t)), d), DataEntry(x(t), O)])
106+func deposit (N) = {
107+ let O = extract(M.payment)
108+ if ((O.assetId != a))
109+ then throw("Use cBitCO2 tokens only for the wallet deposit")
110+ else {
111+ let q = toBase58String(M.caller.bytes)
112+ let P = {
113+ let l = getInteger(this, q)
114+ if ($isInstanceOf(l, "Int"))
115+ then {
116+ let m = l
117+ m
118+ }
119+ else b
120+ }
121+ let Q = (P + O.amount)
122+ WriteSet([DataEntry(q, Q)])
123+ }
112124 }
113125
114126
115127
116128 @Callable(M)
117-func purchase (t,P,Q,R,S,T) = {
118- let U = extract(M.payment)
119- if (isDefined(U.assetId))
129+func AddSupplierToken (r,R,d,S) = {
130+ let q = toBase58String(M.caller.bytes)
131+ let t = p(q, r)
132+ if ((0 >= R))
133+ then throw("Sorry, insufficient token offer")
134+ else WriteSet([DataEntry(("Ofertante:_" + s(t)), q), DataEntry(v(t), R), DataEntry(("Precio_Nominal:" + K(t)), c), DataEntry(("Max_Descuento_ofrecido:" + I(t)), d), DataEntry(x(t), S)])
135+ }
136+
137+
138+
139+@Callable(M)
140+func purchase (t,T,U,V,W,N) = {
141+ let O = extract(M.payment)
142+ if (isDefined(O.assetId))
120143 then throw("you can adquire cBitCO2 only by Waves tokens")
121144 else {
122145 let q = {
128151 }
129152 else g
130153 }
131- let N = {
154+ let R = {
132155 let l = getInteger(this, v(t))
133156 if ($isInstanceOf(l, "Int"))
134157 then {
137160 }
138161 else b
139162 }
140- let V = {
163+ let X = {
141164 let l = getInteger(this, E(q))
142165 if ($isInstanceOf(l, "Int"))
143166 then {
146169 }
147170 else 0
148171 }
149- let W = toBase58String(M.caller.bytes)
150- let X = ((c * (100 - R)) / 100)
151- let Y = (S * X)
152- if ((Y > U.amount))
172+ let Y = toBase58String(M.caller.bytes)
173+ let Z = ((c * (100 - V)) / 100)
174+ let aa = (W * Z)
175+ if ((aa > O.amount))
153176 then throw("Payment Amount cannot be less than item Purchase Order")
154- else if ((U.amount > Y))
177+ else if ((O.amount > aa))
155178 then throw("Payment Amount can't be higher than item Purchase Order")
156- else ScriptResult(WriteSet([DataEntry(y(W, t), (A(W, t) + 1)), DataEntry(G(t), P), DataEntry(v(t), (N - S)), DataEntry(B(t), Q), DataEntry((("Descuento solicitado:_" + W) + "_%"), R), DataEntry(("Cantidad_solicitada:" + C(t)), S), DataEntry((("Monto pagado:_" + W) + "_waves"), T), DataEntry(("Request_Status:_" + W), "confirmed"), DataEntry(E(q), (V + U.amount))]), TransferSet([ScriptTransfer(addressFromStringValue(W), S, a)]))
179+ else ScriptResult(WriteSet([DataEntry(y(Y, t), (A(Y, t) + 1)), DataEntry(G(t), T), DataEntry(v(t), (R - W)), DataEntry(B(t), U), DataEntry((("Descuento solicitado:_" + Y) + "_%"), V), DataEntry(("Cantidad_solicitada:" + C(t)), W), DataEntry((("Monto pagado:_" + Y) + "_waves"), N), DataEntry(("Request_Status:_" + Y), "confirmed"), DataEntry(E(q), (X + O.amount))]), TransferSet(nil))
157180 }
158181 }
159182
160183
161-@Verifier(Z)
162-func aa () = {
163- let l = Z
184+
185+@Callable(M)
186+func withdraw (r,N) = {
187+ let q = toBase58String(M.caller.bytes)
188+ let t = p(q, r)
189+ let R = {
190+ let l = getInteger(this, v(t))
191+ if ($isInstanceOf(l, "Int"))
192+ then {
193+ let m = l
194+ m
195+ }
196+ else b
197+ }
198+ let Q = (R - N)
199+ if ((0 > N))
200+ then throw("Can't withdraw negative amount")
201+ else if ((0 > Q))
202+ then throw("Not enought /suficiente balance")
203+ else ScriptResult(WriteSet([DataEntry(t, Q)]), TransferSet([ScriptTransfer(M.caller, N, a)]))
204+ }
205+
206+
207+@Verifier(ab)
208+func ac () = {
209+ let l = ab
164210 if ($isInstanceOf(l, "SetScriptTransaction"))
165211 then {
166- let ab = l
167- sigVerify(Z.bodyBytes, Z.proofs[0], e)
212+ let ad = l
213+ sigVerify(ab.bodyBytes, ab.proofs[0], e)
168214 }
169215 else if ($isInstanceOf(l, "DataTransaction"))
170216 then {
171- let ac = l
217+ let ae = l
172218 true
173219 }
174220 else if ($isInstanceOf(l, "TransferTransaction"))
175221 then {
176- let Z = l
177- let ad = toBase58String(addressFromRecipient(Z.recipient).bytes)
178- if ((Z.sender == h))
222+ let ab = l
223+ let af = toBase58String(addressFromRecipient(ab.recipient).bytes)
224+ if ((ab.sender == h))
179225 then true
180226 else throw("You can't transferred this token")
181227 }
182228 else if ($isInstanceOf(l, "ExchangeTransaction"))
183229 then {
184- let Z = l
185- let ae = if (!(isDefined(Z.sellOrder.assetPair.priceAsset)))
230+ let ab = l
231+ let ag = if (!(isDefined(ab.sellOrder.assetPair.priceAsset)))
186232 then true
187- else !(isDefined(Z.sellOrder.assetPair.amountAsset))
188- ae
233+ else !(isDefined(ab.sellOrder.assetPair.amountAsset))
234+ ag
189235 }
190236 else if ($isInstanceOf(l, "ExchangeTransaction"))
191237 then {
192- let Z = l
193- let af = Z.proofs[1]
194- let ag = addressFromPublicKey(af)
195- let ah = 1400000
196- let ai = ((wavesBalance(ag) - ah) >= Z.buyOrder.price)
197- let aj = sigVerify(Z.sellOrder.bodyBytes, Z.sellOrder.proofs[0], Z.sellOrder.senderPublicKey)
198- let ak = sigVerify(Z.buyOrder.bodyBytes, Z.buyOrder.proofs[0], Z.buyOrder.senderPublicKey)
199- let al = toBase58String(Z.sellOrder.sender.bytes)
200- let am = 1
201- let an = 4
202- let ao = (an * c)
203- if (if (ak)
204- then if (isDefined((ao >= Z.buyOrder.price)))
238+ let ab = l
239+ let ah = ab.proofs[1]
240+ let ai = addressFromPublicKey(ah)
241+ let aj = 1400000
242+ let ak = ((wavesBalance(ai) - aj) >= ab.buyOrder.price)
243+ let al = sigVerify(ab.sellOrder.bodyBytes, ab.sellOrder.proofs[0], ab.sellOrder.senderPublicKey)
244+ let am = sigVerify(ab.buyOrder.bodyBytes, ab.buyOrder.proofs[0], ab.buyOrder.senderPublicKey)
245+ let an = toBase58String(ab.sellOrder.sender.bytes)
246+ let ao = 1
247+ let ap = 4
248+ let aq = (ap * c)
249+ if (if (am)
250+ then if (isDefined((aq >= ab.buyOrder.price)))
205251 then true
206252 else throw("El monto a pagar no puede ser menor que el precio de venta")
207253 else false)
208254 then true
209- else if (aj)
210- then if (if (if ((Z.sellOrder.sender == h))
211- then (Z.amount >= am)
255+ else if (al)
256+ then if (if (if ((ab.sellOrder.sender == h))
257+ then (ab.amount >= ao)
212258 else false)
213- then (an >= Z.amount)
259+ then (ap >= ab.amount)
214260 else false)
215261 then true
216262 else throw("Error: Minimum amount: 1 aBitCO2; Maximum amount offered: 4 aBitCO2 by User Account")
218264 }
219265 else if ($isInstanceOf(l, "InvokeScriptTransaction"))
220266 then {
221- let ap = l
267+ let ar = l
222268 true
223269 }
224270 else false
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'ETbtNp6MBuSM9EfjmLDwctrYEBBiq8CZ7ti7zbwTktry'
55
66 let b = 332800
77
88 let c = 100000000
99
1010 let d = 12
1111
1212 let e = base58'4AHsCbS9QYVdKNvxrPWwsMwwy3KqXaCMXeAscExJZk9L'
1313
1414 let f = 100000000
1515
1616 let g = "none"
1717
1818 let h = Address(base58'3N8RGScPyKYySaXd5Z3VcpnttH2uBeMpSy4')
1919
2020 func i (j) = {
2121 let k = {
2222 let l = getInteger(this, j)
2323 if ($isInstanceOf(l, "Int"))
2424 then {
2525 let m = l
2626 m
2727 }
2828 else 0
2929 }
3030 k
3131 }
3232
3333
3434 func n (j) = {
3535 let o = {
3636 let l = getString(this, j)
3737 if ($isInstanceOf(l, "String"))
3838 then {
3939 let m = l
4040 m
4141 }
4242 else g
4343 }
4444 o
4545 }
4646
4747
4848 func p (q,r) = ("tokens_Bit-CO2:_" + toBase58String(sha256(toBytes((q + r)))))
4949
5050
5151 func s (t) = (t + "_to_Amazonian_Conservation")
5252
5353
5454 func u (t) = n(s(t))
5555
5656
5757 func v (t) = "Tokens_ofertados,_Saldo"
5858
5959
6060 func w (t) = i(v(t))
6161
6262
6363 func x (t) = (t + "_description")
6464
6565
6666 func y (z,t) = (((t + "_") + z) + "_cnt")
6767
6868
6969 func A (z,t) = i(y(z, t))
7070
7171
7272 func B (t) = "_userdata"
7373
7474
7575 func C (t) = "_tokens"
7676
7777
7878 func D (t) = i(C(t))
7979
8080
8181 func E (q) = "Seller_Balance:_waves"
8282
8383
8484 func F (q) = i(E(q))
8585
8686
8787 func G (t) = "Project_name:"
8888
8989
9090 func H (t) = n(G(t))
9191
9292
9393 func I (t) = "_%"
9494
9595
9696 func J (t) = i(I(t))
9797
9898
9999 func K (t) = "_waves"
100100
101101
102102 func L (t) = i(K(t))
103103
104104
105105 @Callable(M)
106-func AddSupplierToken (r,N,d,O) = {
107- let q = toBase58String(M.caller.bytes)
108- let t = p(q, r)
109- if ((0 >= N))
110- then throw("Sorry, insufficient token offer")
111- else WriteSet([DataEntry(("Ofertante:_" + s(t)), q), DataEntry(v(t), N), DataEntry(("Precio_Nominal:" + K(t)), c), DataEntry(("Max_Descuento_ofrecido:" + I(t)), d), DataEntry(x(t), O)])
106+func deposit (N) = {
107+ let O = extract(M.payment)
108+ if ((O.assetId != a))
109+ then throw("Use cBitCO2 tokens only for the wallet deposit")
110+ else {
111+ let q = toBase58String(M.caller.bytes)
112+ let P = {
113+ let l = getInteger(this, q)
114+ if ($isInstanceOf(l, "Int"))
115+ then {
116+ let m = l
117+ m
118+ }
119+ else b
120+ }
121+ let Q = (P + O.amount)
122+ WriteSet([DataEntry(q, Q)])
123+ }
112124 }
113125
114126
115127
116128 @Callable(M)
117-func purchase (t,P,Q,R,S,T) = {
118- let U = extract(M.payment)
119- if (isDefined(U.assetId))
129+func AddSupplierToken (r,R,d,S) = {
130+ let q = toBase58String(M.caller.bytes)
131+ let t = p(q, r)
132+ if ((0 >= R))
133+ then throw("Sorry, insufficient token offer")
134+ else WriteSet([DataEntry(("Ofertante:_" + s(t)), q), DataEntry(v(t), R), DataEntry(("Precio_Nominal:" + K(t)), c), DataEntry(("Max_Descuento_ofrecido:" + I(t)), d), DataEntry(x(t), S)])
135+ }
136+
137+
138+
139+@Callable(M)
140+func purchase (t,T,U,V,W,N) = {
141+ let O = extract(M.payment)
142+ if (isDefined(O.assetId))
120143 then throw("you can adquire cBitCO2 only by Waves tokens")
121144 else {
122145 let q = {
123146 let l = getString(this, s(t))
124147 if ($isInstanceOf(l, "String"))
125148 then {
126149 let m = l
127150 m
128151 }
129152 else g
130153 }
131- let N = {
154+ let R = {
132155 let l = getInteger(this, v(t))
133156 if ($isInstanceOf(l, "Int"))
134157 then {
135158 let m = l
136159 m
137160 }
138161 else b
139162 }
140- let V = {
163+ let X = {
141164 let l = getInteger(this, E(q))
142165 if ($isInstanceOf(l, "Int"))
143166 then {
144167 let m = l
145168 m
146169 }
147170 else 0
148171 }
149- let W = toBase58String(M.caller.bytes)
150- let X = ((c * (100 - R)) / 100)
151- let Y = (S * X)
152- if ((Y > U.amount))
172+ let Y = toBase58String(M.caller.bytes)
173+ let Z = ((c * (100 - V)) / 100)
174+ let aa = (W * Z)
175+ if ((aa > O.amount))
153176 then throw("Payment Amount cannot be less than item Purchase Order")
154- else if ((U.amount > Y))
177+ else if ((O.amount > aa))
155178 then throw("Payment Amount can't be higher than item Purchase Order")
156- else ScriptResult(WriteSet([DataEntry(y(W, t), (A(W, t) + 1)), DataEntry(G(t), P), DataEntry(v(t), (N - S)), DataEntry(B(t), Q), DataEntry((("Descuento solicitado:_" + W) + "_%"), R), DataEntry(("Cantidad_solicitada:" + C(t)), S), DataEntry((("Monto pagado:_" + W) + "_waves"), T), DataEntry(("Request_Status:_" + W), "confirmed"), DataEntry(E(q), (V + U.amount))]), TransferSet([ScriptTransfer(addressFromStringValue(W), S, a)]))
179+ else ScriptResult(WriteSet([DataEntry(y(Y, t), (A(Y, t) + 1)), DataEntry(G(t), T), DataEntry(v(t), (R - W)), DataEntry(B(t), U), DataEntry((("Descuento solicitado:_" + Y) + "_%"), V), DataEntry(("Cantidad_solicitada:" + C(t)), W), DataEntry((("Monto pagado:_" + Y) + "_waves"), N), DataEntry(("Request_Status:_" + Y), "confirmed"), DataEntry(E(q), (X + O.amount))]), TransferSet(nil))
157180 }
158181 }
159182
160183
161-@Verifier(Z)
162-func aa () = {
163- let l = Z
184+
185+@Callable(M)
186+func withdraw (r,N) = {
187+ let q = toBase58String(M.caller.bytes)
188+ let t = p(q, r)
189+ let R = {
190+ let l = getInteger(this, v(t))
191+ if ($isInstanceOf(l, "Int"))
192+ then {
193+ let m = l
194+ m
195+ }
196+ else b
197+ }
198+ let Q = (R - N)
199+ if ((0 > N))
200+ then throw("Can't withdraw negative amount")
201+ else if ((0 > Q))
202+ then throw("Not enought /suficiente balance")
203+ else ScriptResult(WriteSet([DataEntry(t, Q)]), TransferSet([ScriptTransfer(M.caller, N, a)]))
204+ }
205+
206+
207+@Verifier(ab)
208+func ac () = {
209+ let l = ab
164210 if ($isInstanceOf(l, "SetScriptTransaction"))
165211 then {
166- let ab = l
167- sigVerify(Z.bodyBytes, Z.proofs[0], e)
212+ let ad = l
213+ sigVerify(ab.bodyBytes, ab.proofs[0], e)
168214 }
169215 else if ($isInstanceOf(l, "DataTransaction"))
170216 then {
171- let ac = l
217+ let ae = l
172218 true
173219 }
174220 else if ($isInstanceOf(l, "TransferTransaction"))
175221 then {
176- let Z = l
177- let ad = toBase58String(addressFromRecipient(Z.recipient).bytes)
178- if ((Z.sender == h))
222+ let ab = l
223+ let af = toBase58String(addressFromRecipient(ab.recipient).bytes)
224+ if ((ab.sender == h))
179225 then true
180226 else throw("You can't transferred this token")
181227 }
182228 else if ($isInstanceOf(l, "ExchangeTransaction"))
183229 then {
184- let Z = l
185- let ae = if (!(isDefined(Z.sellOrder.assetPair.priceAsset)))
230+ let ab = l
231+ let ag = if (!(isDefined(ab.sellOrder.assetPair.priceAsset)))
186232 then true
187- else !(isDefined(Z.sellOrder.assetPair.amountAsset))
188- ae
233+ else !(isDefined(ab.sellOrder.assetPair.amountAsset))
234+ ag
189235 }
190236 else if ($isInstanceOf(l, "ExchangeTransaction"))
191237 then {
192- let Z = l
193- let af = Z.proofs[1]
194- let ag = addressFromPublicKey(af)
195- let ah = 1400000
196- let ai = ((wavesBalance(ag) - ah) >= Z.buyOrder.price)
197- let aj = sigVerify(Z.sellOrder.bodyBytes, Z.sellOrder.proofs[0], Z.sellOrder.senderPublicKey)
198- let ak = sigVerify(Z.buyOrder.bodyBytes, Z.buyOrder.proofs[0], Z.buyOrder.senderPublicKey)
199- let al = toBase58String(Z.sellOrder.sender.bytes)
200- let am = 1
201- let an = 4
202- let ao = (an * c)
203- if (if (ak)
204- then if (isDefined((ao >= Z.buyOrder.price)))
238+ let ab = l
239+ let ah = ab.proofs[1]
240+ let ai = addressFromPublicKey(ah)
241+ let aj = 1400000
242+ let ak = ((wavesBalance(ai) - aj) >= ab.buyOrder.price)
243+ let al = sigVerify(ab.sellOrder.bodyBytes, ab.sellOrder.proofs[0], ab.sellOrder.senderPublicKey)
244+ let am = sigVerify(ab.buyOrder.bodyBytes, ab.buyOrder.proofs[0], ab.buyOrder.senderPublicKey)
245+ let an = toBase58String(ab.sellOrder.sender.bytes)
246+ let ao = 1
247+ let ap = 4
248+ let aq = (ap * c)
249+ if (if (am)
250+ then if (isDefined((aq >= ab.buyOrder.price)))
205251 then true
206252 else throw("El monto a pagar no puede ser menor que el precio de venta")
207253 else false)
208254 then true
209- else if (aj)
210- then if (if (if ((Z.sellOrder.sender == h))
211- then (Z.amount >= am)
255+ else if (al)
256+ then if (if (if ((ab.sellOrder.sender == h))
257+ then (ab.amount >= ao)
212258 else false)
213- then (an >= Z.amount)
259+ then (ap >= ab.amount)
214260 else false)
215261 then true
216262 else throw("Error: Minimum amount: 1 aBitCO2; Maximum amount offered: 4 aBitCO2 by User Account")
217263 else false
218264 }
219265 else if ($isInstanceOf(l, "InvokeScriptTransaction"))
220266 then {
221- let ap = l
267+ let ar = l
222268 true
223269 }
224270 else false
225271 }
226272

github/deemru/w8io/026f985 
79.30 ms