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+EWzLN77jdANRWt9bwEAAAAOZ2V0TnVtYmVyQnlLZXkAAAABAAAAA2tleQQAAAADbnVtBAAAAAckbWF0Y2gwCQAEGgAAAAIFAAAABHRoaXMFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAADSW50BAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhAAAAAAAAAAAABQAAAANudW0B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udAAAAAAAAAAABAQAAAAIbWF4UHJpY2UJAABoAAAAAgUAAAAJbWF4QW1vdW50BQAAAAhub21QcmljZQMDBQAAAANidXkDCQEAAAAJaXNEZWZpbmVkAAAAAQkAAGcAAAACBQAAAAhtYXhQcmljZQgIBQAAAAJ0eAAAAAhidXlPcmRlcgAAAAVwcmljZQYJAAACAAAAAQIAAAA6RWwgbW9udG8gYSBwYWdhciBubyBwdWVkZSBzZXIgbWVub3IgcXVlIGVsIHByZWNpbyBkZSB2ZW50YQcGAwUAAAAEc2VsbAMDAwkAAAAAAAACCAgFAAAAAnR4AAAACXNlbGxPcmRlcgAAAAZzZW5kZXIFAAAABmlzc3VlcgkAAGcAAAACCAUAAAACdHgAAAAGYW1vdW50BQAAAAltaW5BbW91bnQHCQAAZwAAAAIFAAAACW1heEFtb3VudAgFAAAAAnR4AAAABmFtb3VudAcGCQAAAgAAAAECAAAAU0Vycm9yOiBNaW5pbXVtIGFtb3VudDogMSBhQml0Q08yOyBNYXhpbXVtIGFtb3VudCBvZmZlcmVkOiA0IGFCaXRDTzIgYnkgVXNlciBBY2NvdW50BwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAXSW52b2tlU2NyaXB0VHJhbnNhY3Rpb24EAAAAAWMFAAAAByRtYXRjaDAGB/Bv42Y=", "chainId": 84, "height": 910819, "spentComplexity": 0 } View: original | compacted Prev: 7MuaQNfsFECarGHPX9aJwheMhV6amZSamAinmPLt2hxB Next: 5kknR3Zvzxg6eoRVQQRxs6S1hcrXqRPLXzfeRhCyGVGH Diff:
Old | New | Differences | |
---|---|---|---|
103 | 103 | ||
104 | 104 | ||
105 | 105 | @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 | + | } | |
112 | 124 | } | |
113 | 125 | ||
114 | 126 | ||
115 | 127 | ||
116 | 128 | @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)) | |
120 | 143 | then throw("you can adquire cBitCO2 only by Waves tokens") | |
121 | 144 | else { | |
122 | 145 | let q = { | |
128 | 151 | } | |
129 | 152 | else g | |
130 | 153 | } | |
131 | - | let | |
154 | + | let R = { | |
132 | 155 | let l = getInteger(this, v(t)) | |
133 | 156 | if ($isInstanceOf(l, "Int")) | |
134 | 157 | then { | |
137 | 160 | } | |
138 | 161 | else b | |
139 | 162 | } | |
140 | - | let | |
163 | + | let X = { | |
141 | 164 | let l = getInteger(this, E(q)) | |
142 | 165 | if ($isInstanceOf(l, "Int")) | |
143 | 166 | then { | |
146 | 169 | } | |
147 | 170 | else 0 | |
148 | 171 | } | |
149 | - | let | |
150 | - | let | |
151 | - | let | |
152 | - | if (( | |
172 | + | let Y = toBase58String(M.caller.bytes) | |
173 | + | let Z = ((c * (100 - V)) / 100) | |
174 | + | let aa = (W * Z) | |
175 | + | if ((aa > O.amount)) | |
153 | 176 | then throw("Payment Amount cannot be less than item Purchase Order") | |
154 | - | else if (( | |
177 | + | else if ((O.amount > aa)) | |
155 | 178 | then throw("Payment Amount can't be higher than item Purchase Order") | |
156 | - | else ScriptResult(WriteSet([DataEntry(y( | |
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)) | |
157 | 180 | } | |
158 | 181 | } | |
159 | 182 | ||
160 | 183 | ||
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 | |
164 | 210 | if ($isInstanceOf(l, "SetScriptTransaction")) | |
165 | 211 | then { | |
166 | - | let | |
167 | - | sigVerify( | |
212 | + | let ad = l | |
213 | + | sigVerify(ab.bodyBytes, ab.proofs[0], e) | |
168 | 214 | } | |
169 | 215 | else if ($isInstanceOf(l, "DataTransaction")) | |
170 | 216 | then { | |
171 | - | let | |
217 | + | let ae = l | |
172 | 218 | true | |
173 | 219 | } | |
174 | 220 | else if ($isInstanceOf(l, "TransferTransaction")) | |
175 | 221 | then { | |
176 | - | let | |
177 | - | let | |
178 | - | if (( | |
222 | + | let ab = l | |
223 | + | let af = toBase58String(addressFromRecipient(ab.recipient).bytes) | |
224 | + | if ((ab.sender == h)) | |
179 | 225 | then true | |
180 | 226 | else throw("You can't transferred this token") | |
181 | 227 | } | |
182 | 228 | else if ($isInstanceOf(l, "ExchangeTransaction")) | |
183 | 229 | then { | |
184 | - | let | |
185 | - | let | |
230 | + | let ab = l | |
231 | + | let ag = if (!(isDefined(ab.sellOrder.assetPair.priceAsset))) | |
186 | 232 | then true | |
187 | - | else !(isDefined( | |
188 | - | | |
233 | + | else !(isDefined(ab.sellOrder.assetPair.amountAsset)) | |
234 | + | ag | |
189 | 235 | } | |
190 | 236 | else if ($isInstanceOf(l, "ExchangeTransaction")) | |
191 | 237 | then { | |
192 | - | let | |
193 | - | let | |
194 | - | let | |
195 | - | let | |
196 | - | let | |
197 | - | let | |
198 | - | let | |
199 | - | let | |
200 | - | let | |
201 | - | let | |
202 | - | let | |
203 | - | if (if ( | |
204 | - | then if (isDefined(( | |
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))) | |
205 | 251 | then true | |
206 | 252 | else throw("El monto a pagar no puede ser menor que el precio de venta") | |
207 | 253 | else false) | |
208 | 254 | then true | |
209 | - | else if ( | |
210 | - | then if (if (if (( | |
211 | - | then ( | |
255 | + | else if (al) | |
256 | + | then if (if (if ((ab.sellOrder.sender == h)) | |
257 | + | then (ab.amount >= ao) | |
212 | 258 | else false) | |
213 | - | then ( | |
259 | + | then (ap >= ab.amount) | |
214 | 260 | else false) | |
215 | 261 | then true | |
216 | 262 | else throw("Error: Minimum amount: 1 aBitCO2; Maximum amount offered: 4 aBitCO2 by User Account") | |
218 | 264 | } | |
219 | 265 | else if ($isInstanceOf(l, "InvokeScriptTransaction")) | |
220 | 266 | then { | |
221 | - | let | |
267 | + | let ar = l | |
222 | 268 | true | |
223 | 269 | } | |
224 | 270 | else false |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = base58'ETbtNp6MBuSM9EfjmLDwctrYEBBiq8CZ7ti7zbwTktry' | |
5 | 5 | ||
6 | 6 | let b = 332800 | |
7 | 7 | ||
8 | 8 | let c = 100000000 | |
9 | 9 | ||
10 | 10 | let d = 12 | |
11 | 11 | ||
12 | 12 | let e = base58'4AHsCbS9QYVdKNvxrPWwsMwwy3KqXaCMXeAscExJZk9L' | |
13 | 13 | ||
14 | 14 | let f = 100000000 | |
15 | 15 | ||
16 | 16 | let g = "none" | |
17 | 17 | ||
18 | 18 | let h = Address(base58'3N8RGScPyKYySaXd5Z3VcpnttH2uBeMpSy4') | |
19 | 19 | ||
20 | 20 | func i (j) = { | |
21 | 21 | let k = { | |
22 | 22 | let l = getInteger(this, j) | |
23 | 23 | if ($isInstanceOf(l, "Int")) | |
24 | 24 | then { | |
25 | 25 | let m = l | |
26 | 26 | m | |
27 | 27 | } | |
28 | 28 | else 0 | |
29 | 29 | } | |
30 | 30 | k | |
31 | 31 | } | |
32 | 32 | ||
33 | 33 | ||
34 | 34 | func n (j) = { | |
35 | 35 | let o = { | |
36 | 36 | let l = getString(this, j) | |
37 | 37 | if ($isInstanceOf(l, "String")) | |
38 | 38 | then { | |
39 | 39 | let m = l | |
40 | 40 | m | |
41 | 41 | } | |
42 | 42 | else g | |
43 | 43 | } | |
44 | 44 | o | |
45 | 45 | } | |
46 | 46 | ||
47 | 47 | ||
48 | 48 | func p (q,r) = ("tokens_Bit-CO2:_" + toBase58String(sha256(toBytes((q + r))))) | |
49 | 49 | ||
50 | 50 | ||
51 | 51 | func s (t) = (t + "_to_Amazonian_Conservation") | |
52 | 52 | ||
53 | 53 | ||
54 | 54 | func u (t) = n(s(t)) | |
55 | 55 | ||
56 | 56 | ||
57 | 57 | func v (t) = "Tokens_ofertados,_Saldo" | |
58 | 58 | ||
59 | 59 | ||
60 | 60 | func w (t) = i(v(t)) | |
61 | 61 | ||
62 | 62 | ||
63 | 63 | func x (t) = (t + "_description") | |
64 | 64 | ||
65 | 65 | ||
66 | 66 | func y (z,t) = (((t + "_") + z) + "_cnt") | |
67 | 67 | ||
68 | 68 | ||
69 | 69 | func A (z,t) = i(y(z, t)) | |
70 | 70 | ||
71 | 71 | ||
72 | 72 | func B (t) = "_userdata" | |
73 | 73 | ||
74 | 74 | ||
75 | 75 | func C (t) = "_tokens" | |
76 | 76 | ||
77 | 77 | ||
78 | 78 | func D (t) = i(C(t)) | |
79 | 79 | ||
80 | 80 | ||
81 | 81 | func E (q) = "Seller_Balance:_waves" | |
82 | 82 | ||
83 | 83 | ||
84 | 84 | func F (q) = i(E(q)) | |
85 | 85 | ||
86 | 86 | ||
87 | 87 | func G (t) = "Project_name:" | |
88 | 88 | ||
89 | 89 | ||
90 | 90 | func H (t) = n(G(t)) | |
91 | 91 | ||
92 | 92 | ||
93 | 93 | func I (t) = "_%" | |
94 | 94 | ||
95 | 95 | ||
96 | 96 | func J (t) = i(I(t)) | |
97 | 97 | ||
98 | 98 | ||
99 | 99 | func K (t) = "_waves" | |
100 | 100 | ||
101 | 101 | ||
102 | 102 | func L (t) = i(K(t)) | |
103 | 103 | ||
104 | 104 | ||
105 | 105 | @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 | + | } | |
112 | 124 | } | |
113 | 125 | ||
114 | 126 | ||
115 | 127 | ||
116 | 128 | @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)) | |
120 | 143 | then throw("you can adquire cBitCO2 only by Waves tokens") | |
121 | 144 | else { | |
122 | 145 | let q = { | |
123 | 146 | let l = getString(this, s(t)) | |
124 | 147 | if ($isInstanceOf(l, "String")) | |
125 | 148 | then { | |
126 | 149 | let m = l | |
127 | 150 | m | |
128 | 151 | } | |
129 | 152 | else g | |
130 | 153 | } | |
131 | - | let | |
154 | + | let R = { | |
132 | 155 | let l = getInteger(this, v(t)) | |
133 | 156 | if ($isInstanceOf(l, "Int")) | |
134 | 157 | then { | |
135 | 158 | let m = l | |
136 | 159 | m | |
137 | 160 | } | |
138 | 161 | else b | |
139 | 162 | } | |
140 | - | let | |
163 | + | let X = { | |
141 | 164 | let l = getInteger(this, E(q)) | |
142 | 165 | if ($isInstanceOf(l, "Int")) | |
143 | 166 | then { | |
144 | 167 | let m = l | |
145 | 168 | m | |
146 | 169 | } | |
147 | 170 | else 0 | |
148 | 171 | } | |
149 | - | let | |
150 | - | let | |
151 | - | let | |
152 | - | if (( | |
172 | + | let Y = toBase58String(M.caller.bytes) | |
173 | + | let Z = ((c * (100 - V)) / 100) | |
174 | + | let aa = (W * Z) | |
175 | + | if ((aa > O.amount)) | |
153 | 176 | then throw("Payment Amount cannot be less than item Purchase Order") | |
154 | - | else if (( | |
177 | + | else if ((O.amount > aa)) | |
155 | 178 | then throw("Payment Amount can't be higher than item Purchase Order") | |
156 | - | else ScriptResult(WriteSet([DataEntry(y( | |
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)) | |
157 | 180 | } | |
158 | 181 | } | |
159 | 182 | ||
160 | 183 | ||
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 | |
164 | 210 | if ($isInstanceOf(l, "SetScriptTransaction")) | |
165 | 211 | then { | |
166 | - | let | |
167 | - | sigVerify( | |
212 | + | let ad = l | |
213 | + | sigVerify(ab.bodyBytes, ab.proofs[0], e) | |
168 | 214 | } | |
169 | 215 | else if ($isInstanceOf(l, "DataTransaction")) | |
170 | 216 | then { | |
171 | - | let | |
217 | + | let ae = l | |
172 | 218 | true | |
173 | 219 | } | |
174 | 220 | else if ($isInstanceOf(l, "TransferTransaction")) | |
175 | 221 | then { | |
176 | - | let | |
177 | - | let | |
178 | - | if (( | |
222 | + | let ab = l | |
223 | + | let af = toBase58String(addressFromRecipient(ab.recipient).bytes) | |
224 | + | if ((ab.sender == h)) | |
179 | 225 | then true | |
180 | 226 | else throw("You can't transferred this token") | |
181 | 227 | } | |
182 | 228 | else if ($isInstanceOf(l, "ExchangeTransaction")) | |
183 | 229 | then { | |
184 | - | let | |
185 | - | let | |
230 | + | let ab = l | |
231 | + | let ag = if (!(isDefined(ab.sellOrder.assetPair.priceAsset))) | |
186 | 232 | then true | |
187 | - | else !(isDefined( | |
188 | - | | |
233 | + | else !(isDefined(ab.sellOrder.assetPair.amountAsset)) | |
234 | + | ag | |
189 | 235 | } | |
190 | 236 | else if ($isInstanceOf(l, "ExchangeTransaction")) | |
191 | 237 | then { | |
192 | - | let | |
193 | - | let | |
194 | - | let | |
195 | - | let | |
196 | - | let | |
197 | - | let | |
198 | - | let | |
199 | - | let | |
200 | - | let | |
201 | - | let | |
202 | - | let | |
203 | - | if (if ( | |
204 | - | then if (isDefined(( | |
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))) | |
205 | 251 | then true | |
206 | 252 | else throw("El monto a pagar no puede ser menor que el precio de venta") | |
207 | 253 | else false) | |
208 | 254 | then true | |
209 | - | else if ( | |
210 | - | then if (if (if (( | |
211 | - | then ( | |
255 | + | else if (al) | |
256 | + | then if (if (if ((ab.sellOrder.sender == h)) | |
257 | + | then (ab.amount >= ao) | |
212 | 258 | else false) | |
213 | - | then ( | |
259 | + | then (ap >= ab.amount) | |
214 | 260 | else false) | |
215 | 261 | then true | |
216 | 262 | else throw("Error: Minimum amount: 1 aBitCO2; Maximum amount offered: 4 aBitCO2 by User Account") | |
217 | 263 | else false | |
218 | 264 | } | |
219 | 265 | else if ($isInstanceOf(l, "InvokeScriptTransaction")) | |
220 | 266 | then { | |
221 | - | let | |
267 | + | let ar = l | |
222 | 268 | true | |
223 | 269 | } | |
224 | 270 | else false | |
225 | 271 | } | |
226 | 272 |
github/deemru/w8io/026f985 79.30 ms ◑