tx · 4pTDfY2jzXY2yKp7BKqJ2DK7tu5BY3ytm8HkW2M5PUPg

3N8RGScPyKYySaXd5Z3VcpnttH2uBeMpSy4:  -0.01400000 Waves

2020.03.31 22:05 [934035] smart account 3N8RGScPyKYySaXd5Z3VcpnttH2uBeMpSy4 > SELF 0.00000000 Waves

{ "type": 13, "id": "4pTDfY2jzXY2yKp7BKqJ2DK7tu5BY3ytm8HkW2M5PUPg", "fee": 1400000, "feeAssetId": null, "timestamp": 1585677926148, "version": 1, "sender": "3N8RGScPyKYySaXd5Z3VcpnttH2uBeMpSy4", "senderPublicKey": "4AHsCbS9QYVdKNvxrPWwsMwwy3KqXaCMXeAscExJZk9L", "proofs": [ "25W3ry1Rq9eLqxocNxivFiKds9xtrYESYbnoRG7emRvgttULqhrJwRPVs7vkRoXsF3e8NvEV1zQQLhFVAXzy4Gu5" ], "script": "base64:AAIDAAAAAAAAACAIARIDCgEBEggKBggICAEBCBIHCgUICAgBARIECgIIAQAAAB8AAAAAB2FCaXRDTzIBAAAAIMf4egCdN1CfKjJsuySIc91YzhODi96HwhotKBtnwSiWAAAAAAhzdGFydFF0eQAAAAAAAAUUAAAAAAAIbm9tUHJpY2UAAAAAAAAAAAEAAAAAEHN1cHBsaWVyRGlzY291bnQAAAAAAAAAAAwAAAAADk93bmVyRWNvUHViS2V5AQAAACAu9FujQAkaDvA3MFtEeOs3vmzRi69LYN3AJDT/FjZAHwAAAAADd3ZzAAAAAAAF9eEAAAAAAAROT05FAgAAAARub25lAAAAAAZpc3N1ZXIJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVTK9zs+5y/RVeIPrfhFsyze+43QDUVrfW8BAAAADmdldE51bWJlckJ5S2V5AAAAAQAAAANrZXkEAAAAA251bQQAAAAHJG1hdGNoMAkABBoAAAACBQAAAAR0aGlzBQAAAANrZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAA0ludAQAAAABYQUAAAAHJG1hdGNoMAUAAAABYQAAAAAAAAAAAAUAAAAD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AAAAAAIICAUAAAACdHgAAAAJc2VsbE9yZGVyAAAABnNlbmRlcgUAAAAGaXNzdWVyCQAAZwAAAAIIBQAAAAJ0eAAAAAZhbW91bnQFAAAACW1pbkFtb3VudAcJAABnAAAAAgUAAAAJbWF4QW1vdW50CAUAAAACdHgAAAAGYW1vdW50BwYJAAACAAAAAQIAAABTRXJyb3I6IE1pbmltdW0gYW1vdW50OiAxIGFCaXRDTzI7IE1heGltdW0gYW1vdW50IG9mZmVyZWQ6IDQgYUJpdENPMiBieSBVc2VyIEFjY291bnQHAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABdJbnZva2VTY3JpcHRUcmFuc2FjdGlvbgQAAAABYwUAAAAHJG1hdGNoMAYHA4u2bg==", "chainId": 84, "height": 934035, "spentComplexity": 0 } View: original | compacted Prev: 4EpBivtxnDB9mi44ojHrDjavnF3kDMerPdg3dn4oEe4X Next: 9LxUFMnHUJ635c4PUGN5Uu7idQtxg7XWa7zUhTU44GPS 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
4848 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
5757 func v (t) = "description: "
5858
5959
6060 func w (t) = "Offered_SupplierDiscount,_max_%"
6161
6262
6363 func x (t) = i(w(t))
6464
6565
6666 func y (t) = "Offered_Qty, balance:"
6767
6868
6969 func z (t) = i(y(t))
7070
7171
7272 func A (q) = "Seller_Balance:_waves"
7373
7474
7575 func B (q) = i(A(q))
7676
7777
7878 func C (D,t) = "Order_№:"
7979
8080
8181 func E (D,t) = i(C(D, t))
8282
8383
8484 func F (t) = "UserName:"
8585
8686
8787 func G (t) = n(F(t))
8888
8989
9090 func H (t) = "UserCountry:"
9191
9292
9393 func I (t) = "UserDiscount,_%:"
9494
9595
9696 func J (t) = i(I(t))
9797
9898
9999 func K (t) = "Order_qty,_tokens:"
100100
101101
102102 func L (t) = i(K(t))
103103
104104
105105 func M (t) = "_waves"
106106
107107
108108 func N (t) = i(M(t))
109109
110110
111111 @Callable(O)
112112 func deposit (P) = {
113113 let Q = extract(O.payment)
114114 if ((Q.assetId != a))
115115 then throw("Use cBitCO2 tokens only for the wallet deposit")
116116 else {
117117 let q = toBase58String(O.caller.bytes)
118118 let R = {
119119 let l = getInteger(this, q)
120120 if ($isInstanceOf(l, "Int"))
121121 then {
122122 let m = l
123123 m
124124 }
125125 else b
126126 }
127127 let S = (R + Q.amount)
128128 WriteSet([DataEntry(q, S)])
129129 }
130130 }
131131
132132
133133
134134 @Callable(O)
135135 func AddSupplierToken (r,T,U,V,d,W) = {
136136 let q = toBase58String(O.caller.bytes)
137137 let t = p(q, r)
138138 if ((0 >= V))
139139 then throw("Sorry, insufficient token offer")
140140 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)])
141141 }
142142
143143
144144
145145 @Callable(O)
146146 func purchase (t,X,Y,Z,aa) = {
147147 let Q = extract(O.payment)
148148 if (isDefined(Q.assetId))
149149 then throw("you can adquire cBitCO2 only by Waves tokens")
150150 else {
151151 let q = {
152152 let l = getString(this, s(t))
153153 if ($isInstanceOf(l, "String"))
154154 then {
155155 let m = l
156156 m
157157 }
158158 else g
159159 }
160160 let V = {
161161 let l = getInteger(this, y(t))
162162 if ($isInstanceOf(l, "Int"))
163163 then {
164164 let m = l
165165 m
166166 }
167167 else b
168168 }
169169 let ab = {
170170 let l = getInteger(this, A(q))
171171 if ($isInstanceOf(l, "Int"))
172172 then {
173173 let m = l
174174 m
175175 }
176176 else 0
177177 }
178178 let ac = toBase58String(O.caller.bytes)
179179 let ad = ((((100 - Z) * c) * f) / 100)
180180 let ae = (aa * ad)
181181 if ((ae > Q.amount))
182182 then throw("Payment Amount cannot be less than item Purchase Order")
183183 else if ((Q.amount > ae))
184184 then throw("Payment Amount can't be higher than item Purchase Order")
185185 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)]))
186186 }
187187 }
188188
189189
190190
191191 @Callable(O)
192192 func withdraw (r,P) = {
193193 let q = toBase58String(O.caller.bytes)
194194 let t = p(q, r)
195195 let V = {
196196 let l = getInteger(this, y(t))
197197 if ($isInstanceOf(l, "Int"))
198198 then {
199199 let m = l
200200 m
201201 }
202202 else b
203203 }
204204 let S = (V - P)
205205 if ((0 > P))
206206 then throw("Can't withdraw negative amount")
207207 else if ((0 > S))
208208 then throw("Not enought /suficiente balance")
209209 else ScriptResult(WriteSet([DataEntry(t, S)]), TransferSet([ScriptTransfer(O.caller, P, a)]))
210210 }
211211
212212
213213 @Verifier(af)
214214 func ag () = {
215215 let l = af
216216 if ($isInstanceOf(l, "SetScriptTransaction"))
217217 then {
218218 let ah = l
219219 sigVerify(af.bodyBytes, af.proofs[0], e)
220220 }
221221 else if ($isInstanceOf(l, "DataTransaction"))
222222 then {
223223 let ai = l
224224 true
225225 }
226226 else if ($isInstanceOf(l, "TransferTransaction"))
227227 then {
228228 let af = l
229229 let aj = toBase58String(addressFromRecipient(af.recipient).bytes)
230230 if ((af.sender == h))
231231 then true
232232 else throw("You can't transferred this token")
233233 }
234234 else if ($isInstanceOf(l, "ExchangeTransaction"))
235235 then {
236236 let af = l
237237 let ak = if (!(isDefined(af.sellOrder.assetPair.priceAsset)))
238238 then true
239239 else !(isDefined(af.sellOrder.assetPair.amountAsset))
240240 ak
241241 }
242242 else if ($isInstanceOf(l, "ExchangeTransaction"))
243243 then {
244244 let af = l
245245 let al = af.proofs[1]
246246 let am = addressFromPublicKey(al)
247247 let an = 1400000
248248 let ao = ((wavesBalance(am) - an) >= af.buyOrder.price)
249249 let ap = sigVerify(af.sellOrder.bodyBytes, af.sellOrder.proofs[0], af.sellOrder.senderPublicKey)
250250 let aq = sigVerify(af.buyOrder.bodyBytes, af.buyOrder.proofs[0], af.buyOrder.senderPublicKey)
251251 let ar = toBase58String(af.sellOrder.sender.bytes)
252252 let as = 1
253253 let at = 4
254254 let au = (at * c)
255255 if (if (aq)
256256 then if (isDefined((au >= af.buyOrder.price)))
257257 then true
258258 else throw("El monto a pagar no puede ser menor que el precio de venta")
259259 else false)
260260 then true
261261 else if (ap)
262262 then if (if (if ((af.sellOrder.sender == h))
263263 then (af.amount >= as)
264264 else false)
265265 then (at >= af.amount)
266266 else false)
267267 then true
268268 else throw("Error: Minimum amount: 1 aBitCO2; Maximum amount offered: 4 aBitCO2 by User Account")
269269 else false
270270 }
271271 else if ($isInstanceOf(l, "InvokeScriptTransaction"))
272272 then {
273273 let av = l
274274 true
275275 }
276276 else false
277277 }
278278

github/deemru/w8io/169f3d6 
44.86 ms