tx · B17Eqcv8JMFhnYcBHsNAQDR6yqWfkWARKNa1f9WjFrf3 3MqV7nczBawUF4nLJ3MikS43jHMYaVHF8UA: -0.01300000 Waves 2022.08.08 17:33 [2175602] smart account 3MqV7nczBawUF4nLJ3MikS43jHMYaVHF8UA > SELF 0.00000000 Waves
{ "type": 13, "id": "B17Eqcv8JMFhnYcBHsNAQDR6yqWfkWARKNa1f9WjFrf3", "fee": 1300000, "feeAssetId": null, "timestamp": 1659969279003, "version": 2, "chainId": 84, "sender": "3MqV7nczBawUF4nLJ3MikS43jHMYaVHF8UA", "senderPublicKey": "Fng6v4kqm1P6h6xF9hCvumcEKbjAKgpoiwaYa7VEkDoU", "proofs": [ "4bCNx9YAmrmqKd8HH8grBxyZyso5wXKJoSnjmBcY7122XfC8eJV8w6yY4Bd5cFThwBBn8iTAtdpWpYjssUWtQfJh" ], "script": "base64:AAIFAAAAAAAAAAwIAhIICgYICAgBAQEAAAAxAAAAAAZCaXRDTzIBAAAAIMUi0QAOPWzHrrHgLgYvt6byvqBTCBHKATKU5thr4LIYAAAAAA1zdGFydFRvdGFsUXR5AAAAAAAABKodAAAAAAxGaXJzdEZhc2VRdHkAAAAAAAAAedkAAAAADVNlY29uZEZhc2VRdHkAAAAAAAAEMEQAAAAAA3d2cwAAAAAABfXhAAAAAAAETk9ORQIAAAAEbm9uZQAAAAAFZXVyb3UAAAAAAAAAAGYAAAAABXVzZG53AAAAAAAAAAJqAAAAAAViY28yZQAAAAAAAAAACgAAAAASYWRtTjA4R1RTYXNvYzExVzkwCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFU+i7AyYrRaVtmoLjDmy4+7UHs4qzGX19uAAAAABRhZG1OMDhFQ0dUU2Fzb2MxMVcxMAkBAAAAB0FkZHJlc3MAAAABAQAAABoBVDanr/iFPErnvzy2ts6SNOnfE9/sP2Z7cwAAAAASQWRtTjA4R1RTYXNvYzExVzkwAgAAACMzTkNpdmlMYnNEMW1NMlJnUVZERm9hRU1ZeTE1U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EmFkbU4wOEdUU2Fzb2MxMVc5MAkAAGkAAAACCQAAaAAAAAIAAAAAAAAAAFoIBQAAAANwbXQAAAAGYW1vdW50AAAAAAAAAABkBQAAAAR1bml0CQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMFAAAAFGFkbU4wOEVDR1RTYXNvYzExVzEwCQAAaQAAAAIJAABoAAAAAgAAAAAAAAAACggFAAAAA3BtdAAAAAZhbW91bnQAAAAAAAAAAGQFAAAABHVuaXQFAAAAA25pbAUAAAAEdW5pdAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABRTZXRTY3JpcHRUcmFuc2FjdGlvbgQAAAABdAUAAAAHJG1hdGNoMAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAJAAJZAAAAAQIAAAAsRm5nNnY0a3FtMVA2aDZ4RjloQ3Z1bWNFS2JqQUtncG9pd2FZYTdWRWtEb1UHvKAoTw==", "height": 2175602, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5rCXf9HPV76xKwEm4CoRKEUo66cwaTLU5hxNLMBoJ6sc Next: DTaHZRZrQKmQcdgP5Jc3DyCz8CqBLXt1EgG1Keh7qoLY Diff:
Old | New | Differences | |
---|---|---|---|
13 | 13 | ||
14 | 14 | let f = "none" | |
15 | 15 | ||
16 | - | let g = | |
16 | + | let g = 102 | |
17 | 17 | ||
18 | - | let h = | |
18 | + | let h = 618 | |
19 | 19 | ||
20 | 20 | let i = 10 | |
21 | 21 | ||
209 | 209 | then throw("El monto del pago no puede ser inferior a la orden de compra del artículo.") | |
210 | 210 | else if ((al.amount > ak)) | |
211 | 211 | then throw("El monto del pago no puede ser mayor que la orden de compra del artículo.") | |
212 | - | else $Tuple2([StringEntry(w(x), "Conservación Forestal"), StringEntry(B(x), "Reserva Amazónica Achuar-Kapawi"), StringEntry(D(x), "Ecuador"), StringEntry(F(x), "N08EC-01_ACH-KAPAWI_PREICOF1"), StringEntry(H(x), "Comunidad Achuar Kapawi"), StringEntry(J(A), "Fundación Alianza Ecológica NASEE 'FAEN'"), StringEntry(L(x), "10.00 Euros"), IntegerEntry("tokens Bit-CO2 emitidos en F1/F2 PreICO, total ", b), IntegerEntry("tokens Bit-CO2 en oferta F1 PreICO, unids ", c), IntegerEntry("tokens Bit-CO2 en oferta/Intercambio, 90% F1 ", aq), IntegerEntry("tokens Bit-CO2 de Apoyo Admin-Inicial, 10% F1 ", ar), IntegerEntry("tokens Bit-CO2 en oferta F2 PreICO, unids ", d), IntegerEntry(U(ao, x), (W(ao, x) + 1)), StringEntry(Z(x), ah), StringEntry(X(x), ag), IntegerEntry(ab(x), ai), IntegerEntry(M(x), ap), StringEntry("Estado de su pedido, tokens ", "¡Adquisición Confirmada!"), IntegerEntry(ad(x), aj), IntegerEntry("Suma transmitida a la PreICO, | |
212 | + | else $Tuple2([StringEntry(w(x), "Conservación Forestal"), StringEntry(B(x), "Reserva Amazónica Achuar-Kapawi"), StringEntry(D(x), "Ecuador"), StringEntry(F(x), "N08EC-01_ACH-KAPAWI_PREICOF1"), StringEntry(H(x), "Comunidad Achuar Kapawi"), StringEntry(J(A), "Fundación Alianza Ecológica NASEE 'FAEN'"), StringEntry(L(x), "10.00 Euros"), IntegerEntry("tokens Bit-CO2 emitidos en F1/F2 PreICO, total ", b), IntegerEntry("tokens Bit-CO2 en oferta F1 PreICO, unids ", c), IntegerEntry("tokens Bit-CO2 en oferta/Intercambio, 90% F1 ", aq), IntegerEntry("tokens Bit-CO2 de Apoyo Admin-Inicial, 10% F1 ", ar), IntegerEntry("tokens Bit-CO2 en oferta F2 PreICO, unids ", d), IntegerEntry(U(ao, x), (W(ao, x) + 1)), StringEntry(Z(x), ah), StringEntry(X(x), ag), IntegerEntry(ab(x), ai), IntegerEntry(M(x), ap), StringEntry("Estado de su pedido, tokens ", "¡Adquisición Confirmada!"), IntegerEntry(ad(x), aj), IntegerEntry("Suma transmitida a la PreICO, wvls", ak), IntegerEntry(Q(x), (R(x) + aj)), IntegerEntry("Saldo de Bit-CO2 en oferta F1 PreICO ", ((c - R(x)) - aj)), IntegerEntry("Saldo Total de Bit-CO2 en F1 PreICO ", ((b - R(x)) - aj)), IntegerEntry("Saldo Total de Bit-CO2 en F2 PreICO ", d), IntegerEntry(S(A), (T(A) + al.amount)), ScriptTransfer(addressFromStringValue(ao), (10000 * aj), a), ScriptTransfer(j, ((90 * al.amount) / 100), unit), ScriptTransfer(k, ((10 * al.amount) / 100), unit)], unit) | |
213 | 213 | } | |
214 | 214 | } | |
215 | 215 | } |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
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 | - | let g = | |
16 | + | let g = 102 | |
17 | 17 | ||
18 | - | let h = | |
18 | + | let h = 618 | |
19 | 19 | ||
20 | 20 | let i = 10 | |
21 | 21 | ||
22 | 22 | let j = Address(base58'3NCiviLbsD1mM2RgQVDFoaEMYy15QbrHwB3') | |
23 | 23 | ||
24 | 24 | let k = Address(base58'3Mtu59QLfHkJBqRRCuRL9K8KmErR1JQegcr') | |
25 | 25 | ||
26 | 26 | let l = "3NCiviLbsD1mM2RgQVDFoaEMYy15QbrHwB3" | |
27 | 27 | ||
28 | 28 | let m = "3Mtu59QLfHkJBqRRCuRL9K8KmErR1JQegcr" | |
29 | 29 | ||
30 | 30 | let n = "3N86D2E7pSFD7fJBB1qkcGM8SoR6rZpFw9o" | |
31 | 31 | ||
32 | 32 | let o = "3N2jHtgSVCtW6jddmQuerN7NSnXjR3KcEfg" | |
33 | 33 | ||
34 | 34 | func p (q) = { | |
35 | 35 | let r = { | |
36 | 36 | let s = getInteger(this, q) | |
37 | 37 | if ($isInstanceOf(s, "Int")) | |
38 | 38 | then { | |
39 | 39 | let t = s | |
40 | 40 | t | |
41 | 41 | } | |
42 | 42 | else 0 | |
43 | 43 | } | |
44 | 44 | r | |
45 | 45 | } | |
46 | 46 | ||
47 | 47 | ||
48 | 48 | func u (q) = { | |
49 | 49 | let v = { | |
50 | 50 | let s = getString(this, q) | |
51 | 51 | if ($isInstanceOf(s, "String")) | |
52 | 52 | then { | |
53 | 53 | let t = s | |
54 | 54 | t | |
55 | 55 | } | |
56 | 56 | else f | |
57 | 57 | } | |
58 | 58 | v | |
59 | 59 | } | |
60 | 60 | ||
61 | 61 | ||
62 | 62 | func w (x) = "Categoría del Proyecto:" | |
63 | 63 | ||
64 | 64 | ||
65 | 65 | func y (x) = u(w(x)) | |
66 | 66 | ||
67 | 67 | ||
68 | 68 | func z (A) = (A + "Comunidad Achuar Kapawi del Ecuador") | |
69 | 69 | ||
70 | 70 | ||
71 | 71 | func B (x) = "Nombre del Proyecto:" | |
72 | 72 | ||
73 | 73 | ||
74 | 74 | func C (x) = u(B(x)) | |
75 | 75 | ||
76 | 76 | ||
77 | 77 | func D (x) = "País | Ubicación:" | |
78 | 78 | ||
79 | 79 | ||
80 | 80 | func E (x) = u(D(x)) | |
81 | 81 | ||
82 | 82 | ||
83 | 83 | func F (x) = "Código:" | |
84 | 84 | ||
85 | 85 | ||
86 | 86 | func G (x) = u(F(x)) | |
87 | 87 | ||
88 | 88 | ||
89 | 89 | func H (x) = "Propietario | Beneficiario del Proyecto:" | |
90 | 90 | ||
91 | 91 | ||
92 | 92 | func I (x) = u(H(x)) | |
93 | 93 | ||
94 | 94 | ||
95 | 95 | func J (A) = "Desarrollador | Responsable Legal:" | |
96 | 96 | ||
97 | 97 | ||
98 | 98 | func K (A) = u(J(A)) | |
99 | 99 | ||
100 | 100 | ||
101 | 101 | func L (x) = "Precio Nominal, 1 Bit-CO2:" | |
102 | 102 | ||
103 | 103 | ||
104 | 104 | func M (x) = "Precio de 1 Bit-CO2 con dscto elejido:" | |
105 | 105 | ||
106 | 106 | ||
107 | 107 | func N (x) = p(M(x)) | |
108 | 108 | ||
109 | 109 | ||
110 | 110 | func O (x) = "Cantidad de Tokens Ofertados en la F1 PreICO:" | |
111 | 111 | ||
112 | 112 | ||
113 | 113 | func P (x) = u(O(x)) | |
114 | 114 | ||
115 | 115 | ||
116 | 116 | func Q (x) = "Total de Tokens Realizados, PreICO" | |
117 | 117 | ||
118 | 118 | ||
119 | 119 | func R (x) = p(Q(x)) | |
120 | 120 | ||
121 | 121 | ||
122 | 122 | func S (A) = "Fondos para Proyectos Verdes Naturales, Asociados Bit-CO2:" | |
123 | 123 | ||
124 | 124 | ||
125 | 125 | func T (A) = p(S(A)) | |
126 | 126 | ||
127 | 127 | ||
128 | 128 | func U (V,x) = "Order_№:" | |
129 | 129 | ||
130 | 130 | ||
131 | 131 | func W (V,x) = p(U(V, x)) | |
132 | 132 | ||
133 | 133 | ||
134 | 134 | func X (x) = "Documento Nacional de Identidad, DNI del Usuario:" | |
135 | 135 | ||
136 | 136 | ||
137 | 137 | func Y (x) = u(X(x)) | |
138 | 138 | ||
139 | 139 | ||
140 | 140 | func Z (x) = "País de Residencia del Usuario:" | |
141 | 141 | ||
142 | 142 | ||
143 | 143 | func aa (x) = u(Z(x)) | |
144 | 144 | ||
145 | 145 | ||
146 | 146 | func ab (x) = "Porcentaje de descuento elejido, %:" | |
147 | 147 | ||
148 | 148 | ||
149 | 149 | func ac (x) = p(ab(x)) | |
150 | 150 | ||
151 | 151 | ||
152 | 152 | func ad (x) = "Cantidad de tokens adquiridos:" | |
153 | 153 | ||
154 | 154 | ||
155 | 155 | func ae (x) = p(ad(x)) | |
156 | 156 | ||
157 | 157 | ||
158 | 158 | @Callable(af) | |
159 | 159 | func purchaseAsoc11 (x,ag,ah,ai,aj,ak) = { | |
160 | 160 | let al = if ((size(af.payments) == 1)) | |
161 | 161 | then af.payments[0] | |
162 | 162 | else throw("Se requiere pago adjunto.") | |
163 | 163 | if (isDefined(al.assetId)) | |
164 | 164 | then throw("Ud. solo puede adquirir bit-co2 usando WavesKeeper y su token de pago Waves.") | |
165 | 165 | else { | |
166 | 166 | let A = { | |
167 | 167 | let s = getString(this, z(x)) | |
168 | 168 | if ($isInstanceOf(s, "String")) | |
169 | 169 | then { | |
170 | 170 | let t = s | |
171 | 171 | t | |
172 | 172 | } | |
173 | 173 | else f | |
174 | 174 | } | |
175 | 175 | let am = { | |
176 | 176 | let s = getInteger(this, Q(x)) | |
177 | 177 | if ($isInstanceOf(s, "Int")) | |
178 | 178 | then { | |
179 | 179 | let t = s | |
180 | 180 | t | |
181 | 181 | } | |
182 | 182 | else 0 | |
183 | 183 | } | |
184 | 184 | let an = { | |
185 | 185 | let s = getInteger(this, S(A)) | |
186 | 186 | if ($isInstanceOf(s, "Int")) | |
187 | 187 | then { | |
188 | 188 | let t = s | |
189 | 189 | t | |
190 | 190 | } | |
191 | 191 | else 0 | |
192 | 192 | } | |
193 | 193 | let ao = toBase58String(af.caller.bytes) | |
194 | 194 | if (if (if (if ((ao != l)) | |
195 | 195 | then (ao != m) | |
196 | 196 | else false) | |
197 | 197 | then (ao != n) | |
198 | 198 | else false) | |
199 | 199 | then (ao != o) | |
200 | 200 | else false) | |
201 | 201 | then throw("Disculpe, Su cuenta no tiene derecho de Asociado Bit-CO2 a Proyectos") | |
202 | 202 | else { | |
203 | 203 | let ap = ((((((100 - ai) * i) * g) * e) / 100) / h) | |
204 | 204 | let aq = (((9 * c) / 10) + 1) | |
205 | 205 | let ar = ((1 * c) / 10) | |
206 | 206 | if ((0 >= ((b - am) - aj))) | |
207 | 207 | then throw("Lo sentimos, por ahora no hay oferta de tokens para su transacción.") | |
208 | 208 | else if ((ak > al.amount)) | |
209 | 209 | then throw("El monto del pago no puede ser inferior a la orden de compra del artículo.") | |
210 | 210 | else if ((al.amount > ak)) | |
211 | 211 | then throw("El monto del pago no puede ser mayor que la orden de compra del artículo.") | |
212 | - | else $Tuple2([StringEntry(w(x), "Conservación Forestal"), StringEntry(B(x), "Reserva Amazónica Achuar-Kapawi"), StringEntry(D(x), "Ecuador"), StringEntry(F(x), "N08EC-01_ACH-KAPAWI_PREICOF1"), StringEntry(H(x), "Comunidad Achuar Kapawi"), StringEntry(J(A), "Fundación Alianza Ecológica NASEE 'FAEN'"), StringEntry(L(x), "10.00 Euros"), IntegerEntry("tokens Bit-CO2 emitidos en F1/F2 PreICO, total ", b), IntegerEntry("tokens Bit-CO2 en oferta F1 PreICO, unids ", c), IntegerEntry("tokens Bit-CO2 en oferta/Intercambio, 90% F1 ", aq), IntegerEntry("tokens Bit-CO2 de Apoyo Admin-Inicial, 10% F1 ", ar), IntegerEntry("tokens Bit-CO2 en oferta F2 PreICO, unids ", d), IntegerEntry(U(ao, x), (W(ao, x) + 1)), StringEntry(Z(x), ah), StringEntry(X(x), ag), IntegerEntry(ab(x), ai), IntegerEntry(M(x), ap), StringEntry("Estado de su pedido, tokens ", "¡Adquisición Confirmada!"), IntegerEntry(ad(x), aj), IntegerEntry("Suma transmitida a la PreICO, | |
212 | + | else $Tuple2([StringEntry(w(x), "Conservación Forestal"), StringEntry(B(x), "Reserva Amazónica Achuar-Kapawi"), StringEntry(D(x), "Ecuador"), StringEntry(F(x), "N08EC-01_ACH-KAPAWI_PREICOF1"), StringEntry(H(x), "Comunidad Achuar Kapawi"), StringEntry(J(A), "Fundación Alianza Ecológica NASEE 'FAEN'"), StringEntry(L(x), "10.00 Euros"), IntegerEntry("tokens Bit-CO2 emitidos en F1/F2 PreICO, total ", b), IntegerEntry("tokens Bit-CO2 en oferta F1 PreICO, unids ", c), IntegerEntry("tokens Bit-CO2 en oferta/Intercambio, 90% F1 ", aq), IntegerEntry("tokens Bit-CO2 de Apoyo Admin-Inicial, 10% F1 ", ar), IntegerEntry("tokens Bit-CO2 en oferta F2 PreICO, unids ", d), IntegerEntry(U(ao, x), (W(ao, x) + 1)), StringEntry(Z(x), ah), StringEntry(X(x), ag), IntegerEntry(ab(x), ai), IntegerEntry(M(x), ap), StringEntry("Estado de su pedido, tokens ", "¡Adquisición Confirmada!"), IntegerEntry(ad(x), aj), IntegerEntry("Suma transmitida a la PreICO, wvls", ak), IntegerEntry(Q(x), (R(x) + aj)), IntegerEntry("Saldo de Bit-CO2 en oferta F1 PreICO ", ((c - R(x)) - aj)), IntegerEntry("Saldo Total de Bit-CO2 en F1 PreICO ", ((b - R(x)) - aj)), IntegerEntry("Saldo Total de Bit-CO2 en F2 PreICO ", d), IntegerEntry(S(A), (T(A) + al.amount)), ScriptTransfer(addressFromStringValue(ao), (10000 * aj), a), ScriptTransfer(j, ((90 * al.amount) / 100), unit), ScriptTransfer(k, ((10 * al.amount) / 100), unit)], unit) | |
213 | 213 | } | |
214 | 214 | } | |
215 | 215 | } | |
216 | 216 | ||
217 | 217 | ||
218 | 218 | @Verifier(as) | |
219 | 219 | func at () = { | |
220 | 220 | let s = as | |
221 | 221 | if ($isInstanceOf(s, "SetScriptTransaction")) | |
222 | 222 | then { | |
223 | 223 | let au = s | |
224 | 224 | sigVerify(as.bodyBytes, as.proofs[0], fromBase58String("Fng6v4kqm1P6h6xF9hCvumcEKbjAKgpoiwaYa7VEkDoU")) | |
225 | 225 | } | |
226 | 226 | else false | |
227 | 227 | } | |
228 | 228 |
github/deemru/w8io/169f3d6 58.29 ms ◑