tx · 2L9Yvfhyuxss3yEEn4CMEC1nKzbMhWkPNWBwUW1gMFRb

3N9DpWDvNPnq3wuuyh2cGk9hcKfoke9CCfL:  -0.01000000 Waves

2021.10.28 22:19 [1766564] smart account 3N9DpWDvNPnq3wuuyh2cGk9hcKfoke9CCfL > SELF 0.00000000 Waves

{ "type": 13, "id": "2L9Yvfhyuxss3yEEn4CMEC1nKzbMhWkPNWBwUW1gMFRb", "fee": 1000000, "feeAssetId": null, "timestamp": 1635448815104, "version": 2, "chainId": 84, "sender": "3N9DpWDvNPnq3wuuyh2cGk9hcKfoke9CCfL", "senderPublicKey": "A695BnQcmLqEPwcN5kdhv4bHipgdE4FnM5CBEMtA95Mo", "proofs": [ "4qkNJvAZh8AHicsELvNkgr6dGiR4GpkpurAxNT11nUpWPK374etnMKmFhrfPzxVm1rQHt2S7SoY7QNmZMJCtBPaJ" ], "script": "base64:AAIDAAAAAAAAABEIARIECgIICBIHCgUICAgBAQAAADQAAAAAB3hCaXRDTzIBAAAAICAEZKaqA3sNb6aq+pclWLOWiXpTDP/vusZoh2yDVNyNAAAAAAhzdGFydFF0eQAAAAAAAASqHQAAAAAMRmlyc3RGYXNlUXR5AAAAAAAAACu5AAAAAA1TZWNvbmRGYXNlUXR5AAAAAAAABDBEAAAAAAhub21QcmljZQAAAAAAAAAAAQAAAAADd3ZzAAAAAAAF9eEAAAAAABBzdXBwbGllckRpc2NvdW50AAAAAAAAAAAMAAAAAAROT05FAgAAAARub25lAAAAAAtPd25lclB1YktleQEAAAAghwo2r32S4n1Z60PhHNuoYGhC3c/vioX75j3CW29sfHYAAAAABmlzc3VlcgkBAAAAB0FkZHJlc3MAAAABAQAAABoBVEtIFY+5IU8slvHa3AYnimNvIdHW5z2X2gAAAAAEZUFkZAkBAAAAB0FkZHJlc3MAAAABAQAAABoBVEwWqDv2xgQzga5tOuDFjQrGc4MHZcTC8gAAAAAEcEFkZAkBAAAAB0FkZHJlc3MAAAABAQAAABoBVNPFIUJMxXdBxNnh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m9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAAC093bmVyUHViS2V5AwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAASUmVpc3N1ZVRyYW5zYWN0aW9uBgkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAA9EYXRhVHJhbnNhY3Rpb24EAAAAAWQFAAAAByRtYXRjaDAGAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAJ0eAUAAAAHJG1hdGNoMAYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAnR4BQAAAAckbWF0Y2gwBAAAAAl3aXRoV2F2ZXMDCQEAAAABIQAAAAEJAQAAAAlpc0RlZmluZWQAAAABCAgIBQAAAAJ0eAAAAAlzZWxsT3JkZXIAAAAJYXNzZXRQYWlyAAAACnByaWNlQXNzZXQGCQEAAAABIQAAAAEJAQAAAAlpc0RlZmluZWQAAAABCAgIBQAAAAJ0eAAAAAlzZWxsT3JkZXIAAAAJYXNzZXRQYWlyAAAAC2Ftb3VudEFzc2V0BQAAAAl3aXRoV2F2ZXMHsM81kA==", "height": 1766564, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: ceK4SEa6ABcUedxNKJsTDHWuhboD313v3YK5wxmMfMr Next: AXVm3vy3m7wMSLxiZts8qXctKLiYTiFn2NfiVVJQEHeU Diff:
OldNewDifferences
55
66 let b = 305693
77
8-let c = 31193
8+let c = 11193
99
1010 let d = 274500
1111
226226 then throw("Payment Amount can't be less than item Purchase Order")
227227 else if ((al.amount > aw))
228228 then throw("Payment Amount can't be higher than item Purchase Order")
229- else ScriptResult(WriteSet([DataEntry(z(A), "Conservación Forestal Amazónica"), DataEntry(E(A), "Reserva Amazónica Achuar-Kapawi"), DataEntry(G(A), "Ecuador"), DataEntry(I(A), "01-EC_ACH-KAPAWI_01PREICO"), DataEntry(K(A), "Comunidad Achuar Kapawi"), DataEntry(M(D), "Fundación Alianza Ecológica 'NASE'"), DataEntry("Cantidad de Tokens Bit-CO2 a Emitir, I y II Fase Pre-ICO", b), DataEntry(O(A), c), DataEntry(Q(A), "10.00 Euros"), DataEntry(R(A), av), DataEntry(V(au, A), (X(au, A) + 1)), DataEntry(Y(A), ao), DataEntry(aa(A), ap), DataEntry(ac(A), aq), DataEntry(ae(A), ar), DataEntry("purchaseOrder/Status:", "¡Adquisición Confirmada!"), DataEntry(T(A), ((U(A) + as) - ar)), DataEntry(ag(D), (ah(D) + al.amount)), DataEntry("Dirección del Proyecto en Waves-BlockChain:", "3N9DpWDvNPnq3wuuyh2cGk9hcKfoke9CCfL")]), TransferSet([ScriptTransfer(addressFromStringValue(au), ar, a)]))
229+ else ScriptResult(WriteSet([DataEntry(z(A), "Conservación Forestal"), DataEntry(E(A), "Reserva Amazónica Achuar-Kapawi"), DataEntry(G(A), "Ecuador"), DataEntry(I(A), "01-EC_ACH-KAPAWI_01PREICO"), DataEntry(K(A), "Comunidad Achuar Kapawi"), DataEntry(M(D), "Fundación Alianza Ecológica 'NASE'"), DataEntry(Q(A), "10.00 Euros"), DataEntry("Cantidad de Tokens Bit-CO2 a Emitir, I y II Fase Pre-ICO", b), DataEntry(O(A), c), DataEntry(R(A), av), DataEntry(V(au, A), (X(au, A) + 1)), DataEntry(Y(A), ao), DataEntry(aa(A), ap), DataEntry(ac(A), aq), DataEntry(ae(A), ar), DataEntry("purchaseOrder/Status:", "¡Adquisición Confirmada!"), DataEntry(T(A), ((U(A) + as) - ar)), DataEntry(ag(D), (ah(D) + al.amount)), DataEntry("Dirección del Proyecto en Waves-BlockChain:", "3N9DpWDvNPnq3wuuyh2cGk9hcKfoke9CCfL")]), TransferSet([ScriptTransfer(addressFromStringValue(au), ar, a)]))
230230 }
231231 }
232232
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'39yw38hm342hiK43SqELTaZRkTWJoBc22XpxmsSiBrsN'
55
66 let b = 305693
77
8-let c = 31193
8+let c = 11193
99
1010 let d = 274500
1111
1212 let e = 1
1313
1414 let f = 100000000
1515
1616 let g = 12
1717
1818 let h = "none"
1919
2020 let i = base58'A695BnQcmLqEPwcN5kdhv4bHipgdE4FnM5CBEMtA95Mo'
2121
2222 let j = Address(base58'3Mvn8oonnpiasA3bkq36N9qeqqXWfFW437o')
2323
2424 let k = Address(base58'3MvrQGkHQtyLTC2QXgPnQ6oCEWhHyUJpU4q')
2525
2626 let l = Address(base58'3N9DpWDvNPnq3wuuyh2cGk9hcKfoke9CCfL')
2727
2828 let m = 18
2929
3030 let n = 88
3131
3232 let o = 5
3333
3434 let p = 10
3535
3636 let q = 1
3737
3838 let r = 1
3939
4040 func s (t) = {
4141 let u = {
4242 let v = getInteger(this, t)
4343 if ($isInstanceOf(v, "Int"))
4444 then {
4545 let w = v
4646 w
4747 }
4848 else 0
4949 }
5050 u
5151 }
5252
5353
5454 func x (t) = {
5555 let y = {
5656 let v = getString(this, t)
5757 if ($isInstanceOf(v, "String"))
5858 then {
5959 let w = v
6060 w
6161 }
6262 else h
6363 }
6464 y
6565 }
6666
6767
6868 func z (A) = "Categoría:"
6969
7070
7171 func B (A) = x(z(A))
7272
7373
7474 func C (D) = (D + "Comunidad Achuar Kapawi del Ecuador")
7575
7676
7777 func E (A) = "Nombre del Proyecto:"
7878
7979
8080 func F (A) = x(E(A))
8181
8282
8383 func G (A) = "País | Ubicación:"
8484
8585
8686 func H (A) = x(G(A))
8787
8888
8989 func I (A) = "Código:"
9090
9191
9292 func J (A) = x(I(A))
9393
9494
9595 func K (A) = "Propietario | Beneficiario del Proyecto:"
9696
9797
9898 func L (A) = x(K(A))
9999
100100
101101 func M (D) = "Desarrollador | Responsable Legal:"
102102
103103
104104 func N (D) = x(M(D))
105105
106106
107107 func O (A) = "Tokens ofertados al 6% en la I Fase Pre-ICO:"
108108
109109
110110 func P (A) = x(O(A))
111111
112112
113113 func Q (A) = "Precio Nominal, 1 token Bit-CO2:"
114114
115115
116116 func R (A) = "Precio de 1 token Bit-CO2 con el 6% de descuento"
117117
118118
119119 func S (A) = s(R(A))
120120
121121
122122 func T (A) = "Saldo de tokens al 6% en oferta, actual:"
123123
124124
125125 func U (A) = s(T(A))
126126
127127
128128 func V (W,A) = "Order_№:"
129129
130130
131131 func X (W,A) = s(V(W, A))
132132
133133
134134 func Y (A) = "№ de Documento Nacional de Identidad / DNI del Usuario:"
135135
136136
137137 func Z (A) = x(Y(A))
138138
139139
140140 func aa (A) = "País de Residencia del Usuario:"
141141
142142
143143 func ab (A) = x(aa(A))
144144
145145
146146 func ac (A) = "Descuento para el Usuario, 6%:"
147147
148148
149149 func ad (A) = s(ac(A))
150150
151151
152152 func ae (A) = "Orden de Compra, cantidad solicitada:"
153153
154154
155155 func af (A) = s(ae(A))
156156
157157
158158 func ag (D) = "Ingresos por Venta Directa / BlockChain:"
159159
160160
161161 func ah (D) = s(ag(D))
162162
163163
164164 @Callable(ai)
165165 func deposit (aj,ak) = {
166166 let al = extract(ai.payment)
167167 if ((al.assetId != a))
168168 then throw("deposito permitido solo en xBitCO2 tokens")
169169 else {
170170 let D = toBase58String(ai.caller.bytes)
171171 let am = {
172172 let v = getInteger(this, D)
173173 if ($isInstanceOf(v, "Int"))
174174 then {
175175 let w = v
176176 w
177177 }
178178 else b
179179 }
180180 let an = (am + al.amount)
181181 if ((0 >= an))
182182 then throw("No hay xBitCO2 en su balance")
183183 else WriteSet([DataEntry(D, an)])
184184 }
185185 }
186186
187187
188188
189189 @Callable(ai)
190190 func purchase (A,ao,ap,aq,ar) = {
191191 let al = extract(ai.payment)
192192 if (isDefined(al.assetId))
193193 then throw("En la presente Plastaforma Ud. puede adquirir sus tokens xBitCO2 usando WavesKeeper y su token de pago Waves.")
194194 else {
195195 let D = {
196196 let v = getString(this, C(A))
197197 if ($isInstanceOf(v, "String"))
198198 then {
199199 let w = v
200200 w
201201 }
202202 else h
203203 }
204204 let as = {
205205 let v = getInteger(this, T(A))
206206 if ($isInstanceOf(v, "Int"))
207207 then {
208208 let w = v
209209 w
210210 }
211211 else b
212212 }
213213 let at = {
214214 let v = getInteger(this, ag(D))
215215 if ($isInstanceOf(v, "Int"))
216216 then {
217217 let w = v
218218 w
219219 }
220220 else 0
221221 }
222222 let au = toBase58String(ai.caller.bytes)
223223 let av = ((((100 - aq) * e) * f) / 100)
224224 let aw = (ar * av)
225225 if ((aw > al.amount))
226226 then throw("Payment Amount can't be less than item Purchase Order")
227227 else if ((al.amount > aw))
228228 then throw("Payment Amount can't be higher than item Purchase Order")
229- else ScriptResult(WriteSet([DataEntry(z(A), "Conservación Forestal Amazónica"), DataEntry(E(A), "Reserva Amazónica Achuar-Kapawi"), DataEntry(G(A), "Ecuador"), DataEntry(I(A), "01-EC_ACH-KAPAWI_01PREICO"), DataEntry(K(A), "Comunidad Achuar Kapawi"), DataEntry(M(D), "Fundación Alianza Ecológica 'NASE'"), DataEntry("Cantidad de Tokens Bit-CO2 a Emitir, I y II Fase Pre-ICO", b), DataEntry(O(A), c), DataEntry(Q(A), "10.00 Euros"), DataEntry(R(A), av), DataEntry(V(au, A), (X(au, A) + 1)), DataEntry(Y(A), ao), DataEntry(aa(A), ap), DataEntry(ac(A), aq), DataEntry(ae(A), ar), DataEntry("purchaseOrder/Status:", "¡Adquisición Confirmada!"), DataEntry(T(A), ((U(A) + as) - ar)), DataEntry(ag(D), (ah(D) + al.amount)), DataEntry("Dirección del Proyecto en Waves-BlockChain:", "3N9DpWDvNPnq3wuuyh2cGk9hcKfoke9CCfL")]), TransferSet([ScriptTransfer(addressFromStringValue(au), ar, a)]))
229+ else ScriptResult(WriteSet([DataEntry(z(A), "Conservación Forestal"), DataEntry(E(A), "Reserva Amazónica Achuar-Kapawi"), DataEntry(G(A), "Ecuador"), DataEntry(I(A), "01-EC_ACH-KAPAWI_01PREICO"), DataEntry(K(A), "Comunidad Achuar Kapawi"), DataEntry(M(D), "Fundación Alianza Ecológica 'NASE'"), DataEntry(Q(A), "10.00 Euros"), DataEntry("Cantidad de Tokens Bit-CO2 a Emitir, I y II Fase Pre-ICO", b), DataEntry(O(A), c), DataEntry(R(A), av), DataEntry(V(au, A), (X(au, A) + 1)), DataEntry(Y(A), ao), DataEntry(aa(A), ap), DataEntry(ac(A), aq), DataEntry(ae(A), ar), DataEntry("purchaseOrder/Status:", "¡Adquisición Confirmada!"), DataEntry(T(A), ((U(A) + as) - ar)), DataEntry(ag(D), (ah(D) + al.amount)), DataEntry("Dirección del Proyecto en Waves-BlockChain:", "3N9DpWDvNPnq3wuuyh2cGk9hcKfoke9CCfL")]), TransferSet([ScriptTransfer(addressFromStringValue(au), ar, a)]))
230230 }
231231 }
232232
233233
234234 @Verifier(ax)
235235 func ay () = {
236236 let v = ax
237237 if ($isInstanceOf(v, "SetScriptTransaction"))
238238 then {
239239 let az = v
240240 sigVerify(ax.bodyBytes, ax.proofs[0], i)
241241 }
242242 else if (if ($isInstanceOf(v, "ReissueTransaction"))
243243 then true
244244 else $isInstanceOf(v, "DataTransaction"))
245245 then {
246246 let aA = v
247247 true
248248 }
249249 else if ($isInstanceOf(v, "TransferTransaction"))
250250 then {
251251 let ax = v
252252 true
253253 }
254254 else if ($isInstanceOf(v, "ExchangeTransaction"))
255255 then {
256256 let ax = v
257257 let aB = if (!(isDefined(ax.sellOrder.assetPair.priceAsset)))
258258 then true
259259 else !(isDefined(ax.sellOrder.assetPair.amountAsset))
260260 aB
261261 }
262262 else false
263263 }
264264

github/deemru/w8io/169f3d6 
43.62 ms