tx · 3cYXWedyk1yg4b2zB8bZHKSqUVBbZJHcP78L2Wi62T6d

3Mx6LAVfCgSQdS3Lt1cf41ZCLNYqgeXcuWR:  -0.01000000 Waves

2022.04.01 11:18 [1989272] smart account 3Mx6LAVfCgSQdS3Lt1cf41ZCLNYqgeXcuWR > SELF 0.00000000 Waves

{ "type": 13, "id": "3cYXWedyk1yg4b2zB8bZHKSqUVBbZJHcP78L2Wi62T6d", "fee": 1000000, "feeAssetId": null, "timestamp": 1648801175192, "version": 2, "chainId": 84, "sender": "3Mx6LAVfCgSQdS3Lt1cf41ZCLNYqgeXcuWR", "senderPublicKey": "Cjdbq4KUpfnLffutB5MU8a1uUFn9ZjuymuH1Q1mRZ6dJ", "proofs": [ "5oy3zTpLX7zBvvKLmtk3Bbs46KCMo23GACaEmRheSgSRG7N3sAZAtT8fs1gYNXtcfd1E8uGJ8Pq5tiuiixSy4Fhh" ], "script": "base64:AAIDAAAAAAAAAAwIARIICgYICAgBAQEAAAAuAAAAAAZCaXRDTzIBAAAAIMUi0QAOPWzHrrHgLgYvt6byvqBTCBHKATKU5thr4LIYAAAAAA1zdGFydFRvdGFsUXR5AAAAAAAABKodAAAAAAxGaXJzdEZhc2VRdHkAAAAAAAAAedkAAAAADVNlY29uZEZhc2VRdHkAAAAAAAAEMEQAAAAAA3d2cwAAAAAABfXhAAAAAAAETk9ORQIAAAAEbm9uZQAAAAAFZXVyb3UAAAAAAAAAAHQAAAAABXVzZG53AAAAAAAAAAnrAAAAAAViY28yZQAAAAAAAAAACgAAAAALT3duZXJQdWJLZXkBAAAAIK5cVaB67a6ovRta5QFiftZvW16UMw5Mv/WLhV91gKFtAAAAAA1Bc29jUHJlc3RlYzAxAgAAACMzTjg2RDJFN3BTRkQ3ZkpCQjFxa2NHTThTb1I2clpwRnc5bwAAAAANQXNvY1ByZXN0ZWMwMgIAAAAjM04yakh0Z1NWQ3RXNmpkZG1RdWVyTjdOU25YalIzS2NFZmcBAAAADmdldE51bWJlckJ5S2V5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RyZXNzRnJvbVN0cmluZykAAAABBQAAAAt1c2VyQWRkcmVzcwkAAGgAAAACAAAAAAAAAYagBQAAAAhvcmRlclF0eQUAAAAGQml0Q08yBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAUU2V0U2NyaXB0VHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAtPd25lclB1YktleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPRGF0YVRyYW5zYWN0aW9uBAAAAAFkBQAAAAckbWF0Y2gwBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAACdHgFAAAAByRtYXRjaDAGB7Jxzqw=", "height": 1989272, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 91UVRFpFgpZeqifPX3LtyQvB3St7XbhDoAjn5Wvmqwq9 Next: 7fJXystnWQzjTf4rJ8tki8iXHzPxNFnreXTh8iRp8tna Diff:
OldNewDifferences
195195 then throw("Payment Amount can't be less than item Purchase Order")
196196 else if ((ai.amount > ah))
197197 then throw("Payment Amount can't be higher than item Purchase Order")
198- else ScriptResult(WriteSet([DataEntry(t(u), "Conservación Forestal"), DataEntry(y(u), "Reserva Amazónica Achuar-Kapawi"), DataEntry(A(u), "Ecuador"), DataEntry(C(u), "N08EC-01_ACH-KAPAWI_PREICOF1"), DataEntry(E(u), "Comunidad Achuar Kapawi"), DataEntry(G(x), "Fundación Alianza Ecológica NASEE 'FAEN'"), DataEntry(I(u), "10.00 Euros"), DataEntry("Tokens Bit-CO2 emitidos en F1/F2 PreICO, unidades", b), DataEntry(L(u), c), DataEntry("Oferta de tokens utilizada:", "Programa-Asoc11 | Programa-GTS | Otros"), DataEntry("Descuento máximo ofrecido:", " Según Programa"), DataEntry(R(al, u), (T(al, u) + 1)), DataEntry(U(u), ad), DataEntry(W(u), ae), DataEntry(Y(u), af), DataEntry(J(u), am), DataEntry("Estado de su pedido, tokens:", "¡Adquisición Confirmada!"), DataEntry(aa(u), ag), DataEntry("Suma transmitida a la PreICO, wvs", ah), DataEntry(N(u), (O(u) + ag)), DataEntry("Saldo de Tokens Bit-CO2 en oferta, F1 PreICO", ((c - O(u)) - ag)), DataEntry("Saldo de Tokens Bit-CO2, PreICO Achuar-Kapawi:", (b - ((c - O(u)) - ag))), DataEntry(P(x), (Q(x) + ai.amount)), DataEntry("Dirección del Proyecto en Waves-BlockChain:", "3Mx6LAVfCgSQdS3Lt1cf41ZCLNYqgeXcuWR")]), TransferSet([ScriptTransfer(addressFromStringValue(al), ag, a)]))
198+ else ScriptResult(WriteSet([DataEntry(t(u), "Conservación Forestal"), DataEntry(y(u), "Reserva Amazónica Achuar-Kapawi"), DataEntry(A(u), "Ecuador"), DataEntry(C(u), "N08EC-01_ACH-KAPAWI_PREICOF1"), DataEntry(E(u), "Comunidad Achuar Kapawi"), DataEntry(G(x), "Fundación Alianza Ecológica NASEE 'FAEN'"), DataEntry(I(u), "10.00 Euros"), DataEntry("Tokens Bit-CO2 emitidos en F1/F2 PreICO, unidades", b), DataEntry(L(u), c), DataEntry("Oferta de tokens utilizada:", "Programa-Asoc11 | Programa-GTS | Otros"), DataEntry("Descuento máximo ofrecido:", " Según Programa"), DataEntry(R(al, u), (T(al, u) + 1)), DataEntry(U(u), ad), DataEntry(W(u), ae), DataEntry(Y(u), af), DataEntry(J(u), am), DataEntry("Estado de su pedido, tokens:", "¡Adquisición Confirmada!"), DataEntry(aa(u), ag), DataEntry("Suma transmitida a la PreICO, wvs", ah), DataEntry(N(u), (O(u) + ag)), DataEntry("Saldo de Tokens Bit-CO2 en oferta, F1 PreICO", ((c - O(u)) - ag)), DataEntry("Saldo de Tokens Bit-CO2, PreICO Achuar-Kapawi:", (b - ((c - O(u)) - ag))), DataEntry(P(x), (Q(x) + ai.amount)), DataEntry("Dirección del Proyecto en Waves-BlockChain:", "3Mx6LAVfCgSQdS3Lt1cf41ZCLNYqgeXcuWR")]), TransferSet([ScriptTransfer(addressFromStringValue(al), (100000 * ag), a)]))
199199 }
200200 }
201201 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'EGY7HCyeHiHiCiiYpqH1Dmd5E6nzbwrgsdX3FHx5kFWw'
55
66 let b = 305693
77
88 let c = 31193
99
1010 let d = 274500
1111
1212 let e = 100000000
1313
1414 let f = "none"
1515
1616 let g = 116
1717
1818 let h = 2539
1919
2020 let i = 10
2121
2222 let j = base58'Cjdbq4KUpfnLffutB5MU8a1uUFn9ZjuymuH1Q1mRZ6dJ'
2323
2424 let k = "3N86D2E7pSFD7fJBB1qkcGM8SoR6rZpFw9o"
2525
2626 let l = "3N2jHtgSVCtW6jddmQuerN7NSnXjR3KcEfg"
2727
2828 func m (n) = {
2929 let o = {
3030 let p = getInteger(this, n)
3131 if ($isInstanceOf(p, "Int"))
3232 then {
3333 let q = p
3434 q
3535 }
3636 else 0
3737 }
3838 o
3939 }
4040
4141
4242 func r (n) = {
4343 let s = {
4444 let p = getString(this, n)
4545 if ($isInstanceOf(p, "String"))
4646 then {
4747 let q = p
4848 q
4949 }
5050 else f
5151 }
5252 s
5353 }
5454
5555
5656 func t (u) = "Categoría del Proyecto:"
5757
5858
5959 func v (u) = r(t(u))
6060
6161
6262 func w (x) = (x + "Comunidad Achuar Kapawi del Ecuador")
6363
6464
6565 func y (u) = "Nombre del Proyecto:"
6666
6767
6868 func z (u) = r(y(u))
6969
7070
7171 func A (u) = "País | Ubicación:"
7272
7373
7474 func B (u) = r(A(u))
7575
7676
7777 func C (u) = "Código:"
7878
7979
8080 func D (u) = r(C(u))
8181
8282
8383 func E (u) = "Propietario | Beneficiario del Proyecto:"
8484
8585
8686 func F (u) = r(E(u))
8787
8888
8989 func G (x) = "Desarrollador | Responsable Legal:"
9090
9191
9292 func H (x) = r(G(x))
9393
9494
9595 func I (u) = "Precio Nominal, 1 Bit-CO2:"
9696
9797
9898 func J (u) = "Precio de 1 Bit-CO2 con dscto elejido:"
9999
100100
101101 func K (u) = m(J(u))
102102
103103
104104 func L (u) = "Cantidad de Tokens ofertados en F1 PreICO:"
105105
106106
107107 func M (u) = r(L(u))
108108
109109
110110 func N (u) = "Total de tokens realizados, PreICO"
111111
112112
113113 func O (u) = m(N(u))
114114
115115
116116 func P (x) = "Fondos para Proyectos Verdes Naturales, Asociados Bit-CO2:"
117117
118118
119119 func Q (x) = m(P(x))
120120
121121
122122 func R (S,u) = "Order_№:"
123123
124124
125125 func T (S,u) = m(R(S, u))
126126
127127
128128 func U (u) = "Documento Nacional de Identidad, DNI del Usuario:"
129129
130130
131131 func V (u) = r(U(u))
132132
133133
134134 func W (u) = "País de Residencia del Usuario:"
135135
136136
137137 func X (u) = r(W(u))
138138
139139
140140 func Y (u) = "Porcentaje de descuento elejido, %:"
141141
142142
143143 func Z (u) = m(Y(u))
144144
145145
146146 func aa (u) = "Cantidad de tokens adquiridos:"
147147
148148
149149 func ab (u) = m(aa(u))
150150
151151
152152 @Callable(ac)
153153 func purchase (u,ad,ae,af,ag,ah) = {
154154 let ai = extract(ac.payment)
155155 if (isDefined(ai.assetId))
156156 then throw("Ud. puede adquirir tokens BitCO2 usando WavesKeeper y su token de pago Waves.")
157157 else {
158158 let x = {
159159 let p = getString(this, w(u))
160160 if ($isInstanceOf(p, "String"))
161161 then {
162162 let q = p
163163 q
164164 }
165165 else f
166166 }
167167 let aj = {
168168 let p = getInteger(this, N(u))
169169 if ($isInstanceOf(p, "Int"))
170170 then {
171171 let q = p
172172 q
173173 }
174174 else 0
175175 }
176176 let ak = {
177177 let p = getInteger(this, P(x))
178178 if ($isInstanceOf(p, "Int"))
179179 then {
180180 let q = p
181181 q
182182 }
183183 else 0
184184 }
185185 let al = toBase58String(ac.caller.bytes)
186186 if (if ((al != k))
187187 then (al != l)
188188 else false)
189189 then throw("Disculpe, Su cuenta no tiene derecho de Asociado Bit-CO2 a Proyectos")
190190 else {
191191 let am = ((((((100 - af) * i) * g) * e) / 100) / h)
192192 if ((0 >= ((b - aj) - ag)))
193193 then throw("Lo sentimos, por ahora no hay oferta de tokens para su transacción")
194194 else if ((ah > ai.amount))
195195 then throw("Payment Amount can't be less than item Purchase Order")
196196 else if ((ai.amount > ah))
197197 then throw("Payment Amount can't be higher than item Purchase Order")
198- else ScriptResult(WriteSet([DataEntry(t(u), "Conservación Forestal"), DataEntry(y(u), "Reserva Amazónica Achuar-Kapawi"), DataEntry(A(u), "Ecuador"), DataEntry(C(u), "N08EC-01_ACH-KAPAWI_PREICOF1"), DataEntry(E(u), "Comunidad Achuar Kapawi"), DataEntry(G(x), "Fundación Alianza Ecológica NASEE 'FAEN'"), DataEntry(I(u), "10.00 Euros"), DataEntry("Tokens Bit-CO2 emitidos en F1/F2 PreICO, unidades", b), DataEntry(L(u), c), DataEntry("Oferta de tokens utilizada:", "Programa-Asoc11 | Programa-GTS | Otros"), DataEntry("Descuento máximo ofrecido:", " Según Programa"), DataEntry(R(al, u), (T(al, u) + 1)), DataEntry(U(u), ad), DataEntry(W(u), ae), DataEntry(Y(u), af), DataEntry(J(u), am), DataEntry("Estado de su pedido, tokens:", "¡Adquisición Confirmada!"), DataEntry(aa(u), ag), DataEntry("Suma transmitida a la PreICO, wvs", ah), DataEntry(N(u), (O(u) + ag)), DataEntry("Saldo de Tokens Bit-CO2 en oferta, F1 PreICO", ((c - O(u)) - ag)), DataEntry("Saldo de Tokens Bit-CO2, PreICO Achuar-Kapawi:", (b - ((c - O(u)) - ag))), DataEntry(P(x), (Q(x) + ai.amount)), DataEntry("Dirección del Proyecto en Waves-BlockChain:", "3Mx6LAVfCgSQdS3Lt1cf41ZCLNYqgeXcuWR")]), TransferSet([ScriptTransfer(addressFromStringValue(al), ag, a)]))
198+ else ScriptResult(WriteSet([DataEntry(t(u), "Conservación Forestal"), DataEntry(y(u), "Reserva Amazónica Achuar-Kapawi"), DataEntry(A(u), "Ecuador"), DataEntry(C(u), "N08EC-01_ACH-KAPAWI_PREICOF1"), DataEntry(E(u), "Comunidad Achuar Kapawi"), DataEntry(G(x), "Fundación Alianza Ecológica NASEE 'FAEN'"), DataEntry(I(u), "10.00 Euros"), DataEntry("Tokens Bit-CO2 emitidos en F1/F2 PreICO, unidades", b), DataEntry(L(u), c), DataEntry("Oferta de tokens utilizada:", "Programa-Asoc11 | Programa-GTS | Otros"), DataEntry("Descuento máximo ofrecido:", " Según Programa"), DataEntry(R(al, u), (T(al, u) + 1)), DataEntry(U(u), ad), DataEntry(W(u), ae), DataEntry(Y(u), af), DataEntry(J(u), am), DataEntry("Estado de su pedido, tokens:", "¡Adquisición Confirmada!"), DataEntry(aa(u), ag), DataEntry("Suma transmitida a la PreICO, wvs", ah), DataEntry(N(u), (O(u) + ag)), DataEntry("Saldo de Tokens Bit-CO2 en oferta, F1 PreICO", ((c - O(u)) - ag)), DataEntry("Saldo de Tokens Bit-CO2, PreICO Achuar-Kapawi:", (b - ((c - O(u)) - ag))), DataEntry(P(x), (Q(x) + ai.amount)), DataEntry("Dirección del Proyecto en Waves-BlockChain:", "3Mx6LAVfCgSQdS3Lt1cf41ZCLNYqgeXcuWR")]), TransferSet([ScriptTransfer(addressFromStringValue(al), (100000 * ag), a)]))
199199 }
200200 }
201201 }
202202
203203
204204 @Verifier(an)
205205 func ao () = {
206206 let p = an
207207 if ($isInstanceOf(p, "SetScriptTransaction"))
208208 then {
209209 let ap = p
210210 sigVerify(an.bodyBytes, an.proofs[0], j)
211211 }
212212 else if ($isInstanceOf(p, "DataTransaction"))
213213 then {
214214 let aq = p
215215 true
216216 }
217217 else if ($isInstanceOf(p, "TransferTransaction"))
218218 then {
219219 let an = p
220220 true
221221 }
222222 else false
223223 }
224224

github/deemru/w8io/169f3d6 
45.09 ms