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/WLhV91gKFtAAAAAA1Bc29jUHJlc3RlYzAxAgAAACMzTjg2RDJFN3BTRkQ3ZkpCQjFxa2NHTThTb1I2clpwRnc5bwAAAAANQXNvY1ByZXN0ZWMwMgIAAAAjM04yakh0Z1NWQ3RXNmpkZG1RdWVyTjdOU25YalIzS2NFZmcBAAAADmdldE51bWJlckJ5S2V5A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yZXNzRnJvbVN0cmluZykAAAABBQAAAAt1c2VyQWRkcmVzcwkAAGgAAAACAAAAAAAAAYagBQAAAAhvcmRlclF0eQUAAAAGQml0Q08yBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAUU2V0U2NyaXB0VHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAtPd25lclB1YktleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPRGF0YVRyYW5zYWN0aW9uBAAAAAFkBQAAAAckbWF0Y2gwBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAACdHgFAAAAByRtYXRjaDAGB7Jxzqw=", "height": 1989272, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 91UVRFpFgpZeqifPX3LtyQvB3St7XbhDoAjn5Wvmqwq9 Next: 7fJXystnWQzjTf4rJ8tki8iXHzPxNFnreXTh8iRp8tna Diff:
Old | New | Differences | |
---|---|---|---|
195 | 195 | then throw("Payment Amount can't be less than item Purchase Order") | |
196 | 196 | else if ((ai.amount > ah)) | |
197 | 197 | 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)])) | |
199 | 199 | } | |
200 | 200 | } | |
201 | 201 | } |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = base58'EGY7HCyeHiHiCiiYpqH1Dmd5E6nzbwrgsdX3FHx5kFWw' | |
5 | 5 | ||
6 | 6 | let b = 305693 | |
7 | 7 | ||
8 | 8 | let c = 31193 | |
9 | 9 | ||
10 | 10 | let d = 274500 | |
11 | 11 | ||
12 | 12 | let e = 100000000 | |
13 | 13 | ||
14 | 14 | let f = "none" | |
15 | 15 | ||
16 | 16 | let g = 116 | |
17 | 17 | ||
18 | 18 | let h = 2539 | |
19 | 19 | ||
20 | 20 | let i = 10 | |
21 | 21 | ||
22 | 22 | let j = base58'Cjdbq4KUpfnLffutB5MU8a1uUFn9ZjuymuH1Q1mRZ6dJ' | |
23 | 23 | ||
24 | 24 | let k = "3N86D2E7pSFD7fJBB1qkcGM8SoR6rZpFw9o" | |
25 | 25 | ||
26 | 26 | let l = "3N2jHtgSVCtW6jddmQuerN7NSnXjR3KcEfg" | |
27 | 27 | ||
28 | 28 | func m (n) = { | |
29 | 29 | let o = { | |
30 | 30 | let p = getInteger(this, n) | |
31 | 31 | if ($isInstanceOf(p, "Int")) | |
32 | 32 | then { | |
33 | 33 | let q = p | |
34 | 34 | q | |
35 | 35 | } | |
36 | 36 | else 0 | |
37 | 37 | } | |
38 | 38 | o | |
39 | 39 | } | |
40 | 40 | ||
41 | 41 | ||
42 | 42 | func r (n) = { | |
43 | 43 | let s = { | |
44 | 44 | let p = getString(this, n) | |
45 | 45 | if ($isInstanceOf(p, "String")) | |
46 | 46 | then { | |
47 | 47 | let q = p | |
48 | 48 | q | |
49 | 49 | } | |
50 | 50 | else f | |
51 | 51 | } | |
52 | 52 | s | |
53 | 53 | } | |
54 | 54 | ||
55 | 55 | ||
56 | 56 | func t (u) = "Categoría del Proyecto:" | |
57 | 57 | ||
58 | 58 | ||
59 | 59 | func v (u) = r(t(u)) | |
60 | 60 | ||
61 | 61 | ||
62 | 62 | func w (x) = (x + "Comunidad Achuar Kapawi del Ecuador") | |
63 | 63 | ||
64 | 64 | ||
65 | 65 | func y (u) = "Nombre del Proyecto:" | |
66 | 66 | ||
67 | 67 | ||
68 | 68 | func z (u) = r(y(u)) | |
69 | 69 | ||
70 | 70 | ||
71 | 71 | func A (u) = "País | Ubicación:" | |
72 | 72 | ||
73 | 73 | ||
74 | 74 | func B (u) = r(A(u)) | |
75 | 75 | ||
76 | 76 | ||
77 | 77 | func C (u) = "Código:" | |
78 | 78 | ||
79 | 79 | ||
80 | 80 | func D (u) = r(C(u)) | |
81 | 81 | ||
82 | 82 | ||
83 | 83 | func E (u) = "Propietario | Beneficiario del Proyecto:" | |
84 | 84 | ||
85 | 85 | ||
86 | 86 | func F (u) = r(E(u)) | |
87 | 87 | ||
88 | 88 | ||
89 | 89 | func G (x) = "Desarrollador | Responsable Legal:" | |
90 | 90 | ||
91 | 91 | ||
92 | 92 | func H (x) = r(G(x)) | |
93 | 93 | ||
94 | 94 | ||
95 | 95 | func I (u) = "Precio Nominal, 1 Bit-CO2:" | |
96 | 96 | ||
97 | 97 | ||
98 | 98 | func J (u) = "Precio de 1 Bit-CO2 con dscto elejido:" | |
99 | 99 | ||
100 | 100 | ||
101 | 101 | func K (u) = m(J(u)) | |
102 | 102 | ||
103 | 103 | ||
104 | 104 | func L (u) = "Cantidad de Tokens ofertados en F1 PreICO:" | |
105 | 105 | ||
106 | 106 | ||
107 | 107 | func M (u) = r(L(u)) | |
108 | 108 | ||
109 | 109 | ||
110 | 110 | func N (u) = "Total de tokens realizados, PreICO" | |
111 | 111 | ||
112 | 112 | ||
113 | 113 | func O (u) = m(N(u)) | |
114 | 114 | ||
115 | 115 | ||
116 | 116 | func P (x) = "Fondos para Proyectos Verdes Naturales, Asociados Bit-CO2:" | |
117 | 117 | ||
118 | 118 | ||
119 | 119 | func Q (x) = m(P(x)) | |
120 | 120 | ||
121 | 121 | ||
122 | 122 | func R (S,u) = "Order_№:" | |
123 | 123 | ||
124 | 124 | ||
125 | 125 | func T (S,u) = m(R(S, u)) | |
126 | 126 | ||
127 | 127 | ||
128 | 128 | func U (u) = "Documento Nacional de Identidad, DNI del Usuario:" | |
129 | 129 | ||
130 | 130 | ||
131 | 131 | func V (u) = r(U(u)) | |
132 | 132 | ||
133 | 133 | ||
134 | 134 | func W (u) = "País de Residencia del Usuario:" | |
135 | 135 | ||
136 | 136 | ||
137 | 137 | func X (u) = r(W(u)) | |
138 | 138 | ||
139 | 139 | ||
140 | 140 | func Y (u) = "Porcentaje de descuento elejido, %:" | |
141 | 141 | ||
142 | 142 | ||
143 | 143 | func Z (u) = m(Y(u)) | |
144 | 144 | ||
145 | 145 | ||
146 | 146 | func aa (u) = "Cantidad de tokens adquiridos:" | |
147 | 147 | ||
148 | 148 | ||
149 | 149 | func ab (u) = m(aa(u)) | |
150 | 150 | ||
151 | 151 | ||
152 | 152 | @Callable(ac) | |
153 | 153 | func purchase (u,ad,ae,af,ag,ah) = { | |
154 | 154 | let ai = extract(ac.payment) | |
155 | 155 | if (isDefined(ai.assetId)) | |
156 | 156 | then throw("Ud. puede adquirir tokens BitCO2 usando WavesKeeper y su token de pago Waves.") | |
157 | 157 | else { | |
158 | 158 | let x = { | |
159 | 159 | let p = getString(this, w(u)) | |
160 | 160 | if ($isInstanceOf(p, "String")) | |
161 | 161 | then { | |
162 | 162 | let q = p | |
163 | 163 | q | |
164 | 164 | } | |
165 | 165 | else f | |
166 | 166 | } | |
167 | 167 | let aj = { | |
168 | 168 | let p = getInteger(this, N(u)) | |
169 | 169 | if ($isInstanceOf(p, "Int")) | |
170 | 170 | then { | |
171 | 171 | let q = p | |
172 | 172 | q | |
173 | 173 | } | |
174 | 174 | else 0 | |
175 | 175 | } | |
176 | 176 | let ak = { | |
177 | 177 | let p = getInteger(this, P(x)) | |
178 | 178 | if ($isInstanceOf(p, "Int")) | |
179 | 179 | then { | |
180 | 180 | let q = p | |
181 | 181 | q | |
182 | 182 | } | |
183 | 183 | else 0 | |
184 | 184 | } | |
185 | 185 | let al = toBase58String(ac.caller.bytes) | |
186 | 186 | if (if ((al != k)) | |
187 | 187 | then (al != l) | |
188 | 188 | else false) | |
189 | 189 | then throw("Disculpe, Su cuenta no tiene derecho de Asociado Bit-CO2 a Proyectos") | |
190 | 190 | else { | |
191 | 191 | let am = ((((((100 - af) * i) * g) * e) / 100) / h) | |
192 | 192 | if ((0 >= ((b - aj) - ag))) | |
193 | 193 | then throw("Lo sentimos, por ahora no hay oferta de tokens para su transacción") | |
194 | 194 | else if ((ah > ai.amount)) | |
195 | 195 | then throw("Payment Amount can't be less than item Purchase Order") | |
196 | 196 | else if ((ai.amount > ah)) | |
197 | 197 | 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)])) | |
199 | 199 | } | |
200 | 200 | } | |
201 | 201 | } | |
202 | 202 | ||
203 | 203 | ||
204 | 204 | @Verifier(an) | |
205 | 205 | func ao () = { | |
206 | 206 | let p = an | |
207 | 207 | if ($isInstanceOf(p, "SetScriptTransaction")) | |
208 | 208 | then { | |
209 | 209 | let ap = p | |
210 | 210 | sigVerify(an.bodyBytes, an.proofs[0], j) | |
211 | 211 | } | |
212 | 212 | else if ($isInstanceOf(p, "DataTransaction")) | |
213 | 213 | then { | |
214 | 214 | let aq = p | |
215 | 215 | true | |
216 | 216 | } | |
217 | 217 | else if ($isInstanceOf(p, "TransferTransaction")) | |
218 | 218 | then { | |
219 | 219 | let an = p | |
220 | 220 | true | |
221 | 221 | } | |
222 | 222 | else false | |
223 | 223 | } | |
224 | 224 |
github/deemru/w8io/169f3d6 45.09 ms ◑