tx · 4EpBivtxnDB9mi44ojHrDjavnF3kDMerPdg3dn4oEe4X

3N8RGScPyKYySaXd5Z3VcpnttH2uBeMpSy4:  -0.01400000 Waves

2020.03.30 22:24 [932584] smart account 3N8RGScPyKYySaXd5Z3VcpnttH2uBeMpSy4 > SELF 0.00000000 Waves

{ "type": 13, "id": "4EpBivtxnDB9mi44ojHrDjavnF3kDMerPdg3dn4oEe4X", "fee": 1400000, "feeAssetId": null, "timestamp": 1585592703425, "version": 1, "sender": "3N8RGScPyKYySaXd5Z3VcpnttH2uBeMpSy4", "senderPublicKey": "4AHsCbS9QYVdKNvxrPWwsMwwy3KqXaCMXeAscExJZk9L", "proofs": [ "KY7EAMTxyRUHrxzrT7UXTBEM71H6T9a6eEBpXpXZZv2fCadQ3AwWAi5SyAUzrCcn8reynR3ggtCyTdLfoX2njZC" ], "script": "base64:AAIDAAAAAAAAACAIARIDCgEBEggKBggICAEBCBIHCgUICAgBARIECgIIAQAAAB8AAAAAB2FCaXRDTzIBAAAAIMf4egCdN1CfKjJsuySIc91YzhODi96HwhotKBtnwSiWAAAAAAhzdGFydFF0eQAAAAAAAAUUAAAAAAAIbm9tUHJpY2UAAAAAAAAAAAEAAAAAEHN1cHBsaWVyRGlzY291bnQAAAAAAAAAAAwAAAAADk93bmVyRWNvUHViS2V5AQAAACAu9FujQAkaDvA3MFtEeOs3vmzRi69LYN3AJDT/FjZAHwAAAAADd3ZzAAAAAAAF9eEAAAAAAAROT05FAgAAAARub25lAAAAAAZpc3N1ZXIJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVTK9zs+5y/RVeIPrfhFsyze+43QDUVrfW8BAAAADmdldE51bWJlckJ5S2V5AAAAAQAAAANrZXkEAAAAA251bQQAAAAHJG1hdGNoMAkABBoAAAACBQAAAAR0aGlzBQAAAANrZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAA0ludAQAAAABYQUAAAAHJG1hdGNoMAUAAAABYQAAAAAAAAAAAAUAAAADbnVtAQAAA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UAAAACdHgAAAAJc2VsbE9yZGVyAAAABnNlbmRlcgUAAAAGaXNzdWVyCQAAZwAAAAIIBQAAAAJ0eAAAAAZhbW91bnQFAAAACW1pbkFtb3VudAcJAABnAAAAAgUAAAAJbWF4QW1vdW50CAUAAAACdHgAAAAGYW1vdW50BwYJAAACAAAAAQIAAABTRXJyb3I6IE1pbmltdW0gYW1vdW50OiAxIGFCaXRDTzI7IE1heGltdW0gYW1vdW50IG9mZmVyZWQ6IDQgYUJpdENPMiBieSBVc2VyIEFjY291bnQHAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABdJbnZva2VTY3JpcHRUcmFuc2FjdGlvbgQAAAABYwUAAAAHJG1hdGNoMAYHANYIsg==", "chainId": 84, "height": 932584, "spentComplexity": 0 } View: original | compacted Prev: DdKAraWPoc7HzhFWgSMJyWdiCCABWZw9tWRGLhVXP4f1 Next: 4pTDfY2jzXY2yKp7BKqJ2DK7tu5BY3ytm8HkW2M5PUPg Diff:
OldNewDifferences
4545 }
4646
4747
48-func p (q,r) = ("tokens_Bit-CO2:_" + toBase58String(sha256(toBytes((q + r)))))
48+func p (q,r) = ("Bit-CO2_token: " + toBase58String(sha256(toBytes((q + r)))))
4949
5050
5151 func s (t) = (t + "_to_Amazonian_Conservation")
5454 func u (t) = n(s(t))
5555
5656
57-func v (t) = "Tokens_ofertados,_Saldo"
57+func v (t) = "description: "
5858
5959
60-func w (t) = i(v(t))
60+func w (t) = "Offered_SupplierDiscount,_max_%"
6161
6262
63-func x (t) = (t + "_description")
63+func x (t) = i(w(t))
6464
6565
66-func y (z,t) = (((t + "_") + z) + "_cnt")
66+func y (t) = "Offered_Qty, balance:"
6767
6868
69-func A (z,t) = i(y(z, t))
69+func z (t) = i(y(t))
7070
7171
72-func B (t) = "_userdata"
72+func A (q) = "Seller_Balance:_waves"
7373
7474
75-func C (t) = "_tokens"
75+func B (q) = i(A(q))
7676
7777
78-func D (t) = i(C(t))
78+func C (D,t) = "Order_№:"
7979
8080
81-func E (q) = "Seller_Balance:_waves"
81+func E (D,t) = i(C(D, t))
8282
8383
84-func F (q) = i(E(q))
84+func F (t) = "UserName:"
8585
8686
87-func G (t) = "Project_name:"
87+func G (t) = n(F(t))
8888
8989
90-func H (t) = n(G(t))
90+func H (t) = "UserCountry:"
9191
9292
93-func I (t) = "_%"
93+func I (t) = "UserDiscount,_%:"
9494
9595
9696 func J (t) = i(I(t))
9797
9898
99-func K (t) = "_waves"
99+func K (t) = "Order_qty,_tokens:"
100100
101101
102102 func L (t) = i(K(t))
103103
104104
105-@Callable(M)
106-func deposit (N) = {
107- let O = extract(M.payment)
108- if ((O.assetId != a))
105+func M (t) = "_waves"
106+
107+
108+func N (t) = i(M(t))
109+
110+
111+@Callable(O)
112+func deposit (P) = {
113+ let Q = extract(O.payment)
114+ if ((Q.assetId != a))
109115 then throw("Use cBitCO2 tokens only for the wallet deposit")
110116 else {
111- let q = toBase58String(M.caller.bytes)
112- let P = {
117+ let q = toBase58String(O.caller.bytes)
118+ let R = {
113119 let l = getInteger(this, q)
114120 if ($isInstanceOf(l, "Int"))
115121 then {
118124 }
119125 else b
120126 }
121- let Q = (P + O.amount)
122- WriteSet([DataEntry(q, Q)])
127+ let S = (R + Q.amount)
128+ WriteSet([DataEntry(q, S)])
123129 }
124130 }
125131
126132
127133
128-@Callable(M)
129-func AddSupplierToken (r,R,d,S) = {
130- let q = toBase58String(M.caller.bytes)
134+@Callable(O)
135+func AddSupplierToken (r,T,U,V,d,W) = {
136+ let q = toBase58String(O.caller.bytes)
131137 let t = p(q, r)
132- if ((0 >= R))
138+ if ((0 >= V))
133139 then throw("Sorry, insufficient token offer")
134- else WriteSet([DataEntry(("Ofertante:_" + s(t)), q), DataEntry(v(t), R), DataEntry(("Precio_Nominal:" + K(t)), (c * f)), DataEntry(("Max_Descuento_ofrecido:" + I(t)), d), DataEntry(x(t), S)])
140+ else WriteSet([DataEntry(("Supplier:_" + s(t)), q), DataEntry(("Title:_" + q), r), DataEntry(("ProjectName:_" + q), T), DataEntry(("Country:_" + q), U), DataEntry(y(t), V), DataEntry(("NomTokenPrice:_" + M(t)), (c * f)), DataEntry(("Max_Descuento_ofrecido:" + w(t)), d), DataEntry(("Development:_" + v(t)), W)])
135141 }
136142
137143
138144
139-@Callable(M)
140-func purchase (t,T,U,V,W) = {
141- let O = extract(M.payment)
142- if (isDefined(O.assetId))
145+@Callable(O)
146+func purchase (t,X,Y,Z,aa) = {
147+ let Q = extract(O.payment)
148+ if (isDefined(Q.assetId))
143149 then throw("you can adquire cBitCO2 only by Waves tokens")
144150 else {
145151 let q = {
151157 }
152158 else g
153159 }
154- let R = {
155- let l = getInteger(this, v(t))
160+ let V = {
161+ let l = getInteger(this, y(t))
156162 if ($isInstanceOf(l, "Int"))
157163 then {
158164 let m = l
160166 }
161167 else b
162168 }
163- let X = {
164- let l = getInteger(this, E(q))
169+ let ab = {
170+ let l = getInteger(this, A(q))
165171 if ($isInstanceOf(l, "Int"))
166172 then {
167173 let m = l
169175 }
170176 else 0
171177 }
172- let Y = toBase58String(M.caller.bytes)
173- let Z = ((((100 - V) * c) * f) / 100)
174- let aa = (W * Z)
175- if ((aa > O.amount))
178+ let ac = toBase58String(O.caller.bytes)
179+ let ad = ((((100 - Z) * c) * f) / 100)
180+ let ae = (aa * ad)
181+ if ((ae > Q.amount))
176182 then throw("Payment Amount cannot be less than item Purchase Order")
177- else if ((O.amount > aa))
183+ else if ((Q.amount > ae))
178184 then throw("Payment Amount can't be higher than item Purchase Order")
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((("Precio_de_1_Token_con_dscto:_" + Y) + "_waves"), Z), DataEntry(("Request_Status:_" + Y), "confirmed"), DataEntry(E(q), (X + O.amount))]), TransferSet([ScriptTransfer(addressFromStringValue(Y), W, a)]))
185+ else ScriptResult(WriteSet([DataEntry(C(ac, t), (E(ac, t) + 1)), DataEntry(y(t), (V - aa)), DataEntry(F(t), X), DataEntry(H(t), Y), DataEntry(I(t), Z), DataEntry(K(t), aa), DataEntry(("UserPrice_1_token,_waves:_" + ac), ad), DataEntry(("Payment_amount,_waves:_" + ac), ae), DataEntry(("Order_Status:_" + ac), "confirmed"), DataEntry(A(q), (ab + Q.amount))]), TransferSet([ScriptTransfer(addressFromStringValue(ac), aa, a)]))
180186 }
181187 }
182188
183189
184190
185-@Callable(M)
186-func withdraw (r,N) = {
187- let q = toBase58String(M.caller.bytes)
191+@Callable(O)
192+func withdraw (r,P) = {
193+ let q = toBase58String(O.caller.bytes)
188194 let t = p(q, r)
189- let R = {
190- let l = getInteger(this, v(t))
195+ let V = {
196+ let l = getInteger(this, y(t))
191197 if ($isInstanceOf(l, "Int"))
192198 then {
193199 let m = l
195201 }
196202 else b
197203 }
198- let Q = (R - N)
199- if ((0 > N))
204+ let S = (V - P)
205+ if ((0 > P))
200206 then throw("Can't withdraw negative amount")
201- else if ((0 > Q))
207+ else if ((0 > S))
202208 then throw("Not enought /suficiente balance")
203- else ScriptResult(WriteSet([DataEntry(t, Q)]), TransferSet([ScriptTransfer(M.caller, N, a)]))
209+ else ScriptResult(WriteSet([DataEntry(t, S)]), TransferSet([ScriptTransfer(O.caller, P, a)]))
204210 }
205211
206212
207-@Verifier(ab)
208-func ac () = {
209- let l = ab
213+@Verifier(af)
214+func ag () = {
215+ let l = af
210216 if ($isInstanceOf(l, "SetScriptTransaction"))
211217 then {
212- let ad = l
213- sigVerify(ab.bodyBytes, ab.proofs[0], e)
218+ let ah = l
219+ sigVerify(af.bodyBytes, af.proofs[0], e)
214220 }
215221 else if ($isInstanceOf(l, "DataTransaction"))
216222 then {
217- let ae = l
223+ let ai = l
218224 true
219225 }
220226 else if ($isInstanceOf(l, "TransferTransaction"))
221227 then {
222- let ab = l
223- let af = toBase58String(addressFromRecipient(ab.recipient).bytes)
224- if ((ab.sender == h))
228+ let af = l
229+ let aj = toBase58String(addressFromRecipient(af.recipient).bytes)
230+ if ((af.sender == h))
225231 then true
226232 else throw("You can't transferred this token")
227233 }
228234 else if ($isInstanceOf(l, "ExchangeTransaction"))
229235 then {
230- let ab = l
231- let ag = if (!(isDefined(ab.sellOrder.assetPair.priceAsset)))
236+ let af = l
237+ let ak = if (!(isDefined(af.sellOrder.assetPair.priceAsset)))
232238 then true
233- else !(isDefined(ab.sellOrder.assetPair.amountAsset))
234- ag
239+ else !(isDefined(af.sellOrder.assetPair.amountAsset))
240+ ak
235241 }
236242 else if ($isInstanceOf(l, "ExchangeTransaction"))
237243 then {
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)))
244+ let af = l
245+ let al = af.proofs[1]
246+ let am = addressFromPublicKey(al)
247+ let an = 1400000
248+ let ao = ((wavesBalance(am) - an) >= af.buyOrder.price)
249+ let ap = sigVerify(af.sellOrder.bodyBytes, af.sellOrder.proofs[0], af.sellOrder.senderPublicKey)
250+ let aq = sigVerify(af.buyOrder.bodyBytes, af.buyOrder.proofs[0], af.buyOrder.senderPublicKey)
251+ let ar = toBase58String(af.sellOrder.sender.bytes)
252+ let as = 1
253+ let at = 4
254+ let au = (at * c)
255+ if (if (aq)
256+ then if (isDefined((au >= af.buyOrder.price)))
251257 then true
252258 else throw("El monto a pagar no puede ser menor que el precio de venta")
253259 else false)
254260 then true
255- else if (al)
256- then if (if (if ((ab.sellOrder.sender == h))
257- then (ab.amount >= ao)
261+ else if (ap)
262+ then if (if (if ((af.sellOrder.sender == h))
263+ then (af.amount >= as)
258264 else false)
259- then (ap >= ab.amount)
265+ then (at >= af.amount)
260266 else false)
261267 then true
262268 else throw("Error: Minimum amount: 1 aBitCO2; Maximum amount offered: 4 aBitCO2 by User Account")
264270 }
265271 else if ($isInstanceOf(l, "InvokeScriptTransaction"))
266272 then {
267- let ar = l
273+ let av = l
268274 true
269275 }
270276 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 = 1
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
48-func p (q,r) = ("tokens_Bit-CO2:_" + toBase58String(sha256(toBytes((q + r)))))
48+func p (q,r) = ("Bit-CO2_token: " + 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
57-func v (t) = "Tokens_ofertados,_Saldo"
57+func v (t) = "description: "
5858
5959
60-func w (t) = i(v(t))
60+func w (t) = "Offered_SupplierDiscount,_max_%"
6161
6262
63-func x (t) = (t + "_description")
63+func x (t) = i(w(t))
6464
6565
66-func y (z,t) = (((t + "_") + z) + "_cnt")
66+func y (t) = "Offered_Qty, balance:"
6767
6868
69-func A (z,t) = i(y(z, t))
69+func z (t) = i(y(t))
7070
7171
72-func B (t) = "_userdata"
72+func A (q) = "Seller_Balance:_waves"
7373
7474
75-func C (t) = "_tokens"
75+func B (q) = i(A(q))
7676
7777
78-func D (t) = i(C(t))
78+func C (D,t) = "Order_№:"
7979
8080
81-func E (q) = "Seller_Balance:_waves"
81+func E (D,t) = i(C(D, t))
8282
8383
84-func F (q) = i(E(q))
84+func F (t) = "UserName:"
8585
8686
87-func G (t) = "Project_name:"
87+func G (t) = n(F(t))
8888
8989
90-func H (t) = n(G(t))
90+func H (t) = "UserCountry:"
9191
9292
93-func I (t) = "_%"
93+func I (t) = "UserDiscount,_%:"
9494
9595
9696 func J (t) = i(I(t))
9797
9898
99-func K (t) = "_waves"
99+func K (t) = "Order_qty,_tokens:"
100100
101101
102102 func L (t) = i(K(t))
103103
104104
105-@Callable(M)
106-func deposit (N) = {
107- let O = extract(M.payment)
108- if ((O.assetId != a))
105+func M (t) = "_waves"
106+
107+
108+func N (t) = i(M(t))
109+
110+
111+@Callable(O)
112+func deposit (P) = {
113+ let Q = extract(O.payment)
114+ if ((Q.assetId != a))
109115 then throw("Use cBitCO2 tokens only for the wallet deposit")
110116 else {
111- let q = toBase58String(M.caller.bytes)
112- let P = {
117+ let q = toBase58String(O.caller.bytes)
118+ let R = {
113119 let l = getInteger(this, q)
114120 if ($isInstanceOf(l, "Int"))
115121 then {
116122 let m = l
117123 m
118124 }
119125 else b
120126 }
121- let Q = (P + O.amount)
122- WriteSet([DataEntry(q, Q)])
127+ let S = (R + Q.amount)
128+ WriteSet([DataEntry(q, S)])
123129 }
124130 }
125131
126132
127133
128-@Callable(M)
129-func AddSupplierToken (r,R,d,S) = {
130- let q = toBase58String(M.caller.bytes)
134+@Callable(O)
135+func AddSupplierToken (r,T,U,V,d,W) = {
136+ let q = toBase58String(O.caller.bytes)
131137 let t = p(q, r)
132- if ((0 >= R))
138+ if ((0 >= V))
133139 then throw("Sorry, insufficient token offer")
134- else WriteSet([DataEntry(("Ofertante:_" + s(t)), q), DataEntry(v(t), R), DataEntry(("Precio_Nominal:" + K(t)), (c * f)), DataEntry(("Max_Descuento_ofrecido:" + I(t)), d), DataEntry(x(t), S)])
140+ else WriteSet([DataEntry(("Supplier:_" + s(t)), q), DataEntry(("Title:_" + q), r), DataEntry(("ProjectName:_" + q), T), DataEntry(("Country:_" + q), U), DataEntry(y(t), V), DataEntry(("NomTokenPrice:_" + M(t)), (c * f)), DataEntry(("Max_Descuento_ofrecido:" + w(t)), d), DataEntry(("Development:_" + v(t)), W)])
135141 }
136142
137143
138144
139-@Callable(M)
140-func purchase (t,T,U,V,W) = {
141- let O = extract(M.payment)
142- if (isDefined(O.assetId))
145+@Callable(O)
146+func purchase (t,X,Y,Z,aa) = {
147+ let Q = extract(O.payment)
148+ if (isDefined(Q.assetId))
143149 then throw("you can adquire cBitCO2 only by Waves tokens")
144150 else {
145151 let q = {
146152 let l = getString(this, s(t))
147153 if ($isInstanceOf(l, "String"))
148154 then {
149155 let m = l
150156 m
151157 }
152158 else g
153159 }
154- let R = {
155- let l = getInteger(this, v(t))
160+ let V = {
161+ let l = getInteger(this, y(t))
156162 if ($isInstanceOf(l, "Int"))
157163 then {
158164 let m = l
159165 m
160166 }
161167 else b
162168 }
163- let X = {
164- let l = getInteger(this, E(q))
169+ let ab = {
170+ let l = getInteger(this, A(q))
165171 if ($isInstanceOf(l, "Int"))
166172 then {
167173 let m = l
168174 m
169175 }
170176 else 0
171177 }
172- let Y = toBase58String(M.caller.bytes)
173- let Z = ((((100 - V) * c) * f) / 100)
174- let aa = (W * Z)
175- if ((aa > O.amount))
178+ let ac = toBase58String(O.caller.bytes)
179+ let ad = ((((100 - Z) * c) * f) / 100)
180+ let ae = (aa * ad)
181+ if ((ae > Q.amount))
176182 then throw("Payment Amount cannot be less than item Purchase Order")
177- else if ((O.amount > aa))
183+ else if ((Q.amount > ae))
178184 then throw("Payment Amount can't be higher than item Purchase Order")
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((("Precio_de_1_Token_con_dscto:_" + Y) + "_waves"), Z), DataEntry(("Request_Status:_" + Y), "confirmed"), DataEntry(E(q), (X + O.amount))]), TransferSet([ScriptTransfer(addressFromStringValue(Y), W, a)]))
185+ else ScriptResult(WriteSet([DataEntry(C(ac, t), (E(ac, t) + 1)), DataEntry(y(t), (V - aa)), DataEntry(F(t), X), DataEntry(H(t), Y), DataEntry(I(t), Z), DataEntry(K(t), aa), DataEntry(("UserPrice_1_token,_waves:_" + ac), ad), DataEntry(("Payment_amount,_waves:_" + ac), ae), DataEntry(("Order_Status:_" + ac), "confirmed"), DataEntry(A(q), (ab + Q.amount))]), TransferSet([ScriptTransfer(addressFromStringValue(ac), aa, a)]))
180186 }
181187 }
182188
183189
184190
185-@Callable(M)
186-func withdraw (r,N) = {
187- let q = toBase58String(M.caller.bytes)
191+@Callable(O)
192+func withdraw (r,P) = {
193+ let q = toBase58String(O.caller.bytes)
188194 let t = p(q, r)
189- let R = {
190- let l = getInteger(this, v(t))
195+ let V = {
196+ let l = getInteger(this, y(t))
191197 if ($isInstanceOf(l, "Int"))
192198 then {
193199 let m = l
194200 m
195201 }
196202 else b
197203 }
198- let Q = (R - N)
199- if ((0 > N))
204+ let S = (V - P)
205+ if ((0 > P))
200206 then throw("Can't withdraw negative amount")
201- else if ((0 > Q))
207+ else if ((0 > S))
202208 then throw("Not enought /suficiente balance")
203- else ScriptResult(WriteSet([DataEntry(t, Q)]), TransferSet([ScriptTransfer(M.caller, N, a)]))
209+ else ScriptResult(WriteSet([DataEntry(t, S)]), TransferSet([ScriptTransfer(O.caller, P, a)]))
204210 }
205211
206212
207-@Verifier(ab)
208-func ac () = {
209- let l = ab
213+@Verifier(af)
214+func ag () = {
215+ let l = af
210216 if ($isInstanceOf(l, "SetScriptTransaction"))
211217 then {
212- let ad = l
213- sigVerify(ab.bodyBytes, ab.proofs[0], e)
218+ let ah = l
219+ sigVerify(af.bodyBytes, af.proofs[0], e)
214220 }
215221 else if ($isInstanceOf(l, "DataTransaction"))
216222 then {
217- let ae = l
223+ let ai = l
218224 true
219225 }
220226 else if ($isInstanceOf(l, "TransferTransaction"))
221227 then {
222- let ab = l
223- let af = toBase58String(addressFromRecipient(ab.recipient).bytes)
224- if ((ab.sender == h))
228+ let af = l
229+ let aj = toBase58String(addressFromRecipient(af.recipient).bytes)
230+ if ((af.sender == h))
225231 then true
226232 else throw("You can't transferred this token")
227233 }
228234 else if ($isInstanceOf(l, "ExchangeTransaction"))
229235 then {
230- let ab = l
231- let ag = if (!(isDefined(ab.sellOrder.assetPair.priceAsset)))
236+ let af = l
237+ let ak = if (!(isDefined(af.sellOrder.assetPair.priceAsset)))
232238 then true
233- else !(isDefined(ab.sellOrder.assetPair.amountAsset))
234- ag
239+ else !(isDefined(af.sellOrder.assetPair.amountAsset))
240+ ak
235241 }
236242 else if ($isInstanceOf(l, "ExchangeTransaction"))
237243 then {
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)))
244+ let af = l
245+ let al = af.proofs[1]
246+ let am = addressFromPublicKey(al)
247+ let an = 1400000
248+ let ao = ((wavesBalance(am) - an) >= af.buyOrder.price)
249+ let ap = sigVerify(af.sellOrder.bodyBytes, af.sellOrder.proofs[0], af.sellOrder.senderPublicKey)
250+ let aq = sigVerify(af.buyOrder.bodyBytes, af.buyOrder.proofs[0], af.buyOrder.senderPublicKey)
251+ let ar = toBase58String(af.sellOrder.sender.bytes)
252+ let as = 1
253+ let at = 4
254+ let au = (at * c)
255+ if (if (aq)
256+ then if (isDefined((au >= af.buyOrder.price)))
251257 then true
252258 else throw("El monto a pagar no puede ser menor que el precio de venta")
253259 else false)
254260 then true
255- else if (al)
256- then if (if (if ((ab.sellOrder.sender == h))
257- then (ab.amount >= ao)
261+ else if (ap)
262+ then if (if (if ((af.sellOrder.sender == h))
263+ then (af.amount >= as)
258264 else false)
259- then (ap >= ab.amount)
265+ then (at >= af.amount)
260266 else false)
261267 then true
262268 else throw("Error: Minimum amount: 1 aBitCO2; Maximum amount offered: 4 aBitCO2 by User Account")
263269 else false
264270 }
265271 else if ($isInstanceOf(l, "InvokeScriptTransaction"))
266272 then {
267- let ar = l
273+ let av = l
268274 true
269275 }
270276 else false
271277 }
272278

github/deemru/w8io/169f3d6 
100.08 ms