tx · BxXEfEBjMJAagA1na4jzriR2ycEoQxQQuCw5pp4Pp7yh 3N7LT19kE1vNvrmjfbSaxeBeCjmYrn4qfD5: -0.01000000 Waves 2022.07.15 23:32 [2141334] smart account 3N7LT19kE1vNvrmjfbSaxeBeCjmYrn4qfD5 > SELF 0.00000000 Waves
{ "type": 13, "id": "BxXEfEBjMJAagA1na4jzriR2ycEoQxQQuCw5pp4Pp7yh", "fee": 1000000, "feeAssetId": null, "timestamp": 1657917060563, "version": 2, "chainId": 84, "sender": "3N7LT19kE1vNvrmjfbSaxeBeCjmYrn4qfD5", "senderPublicKey": "4Tmop8jXZLPuazQmNiEZVovM1qh23xax9XnWhfnkcdae", "proofs": [ "4KLz4eVdSAoYk9iFkQm8WMsau9rKgyf5DusZn3TZx26mUaWFdzuEYwqTgBx18wNr2x6gGY3HVR6RQFzuEc5y5C8C" ], "script": "base64:AAIDAAAAAAAAAAwIARIICgYICAgBAQEAAAAyAAAAAAZCaXRDTzIBAAAAIMUi0QAOPWzHrrHgLgYvt6byvqBTCBHKATKU5thr4LIYAAAAAA1zdGFydFRvdGFsUXR5AAAAAAAABKodAAAAAAxGaXJzdEZhc2VRdHkAAAAAAAAAedkAAAAADVNlY29uZEZhc2VRdHkAAAAAAAAEMEQAAAAAA3d2cwAAAAAABfXhAAAAAAAETk9ORQIAAAAEbm9uZQAAAAAFZXVyb3UAAAAAAAAAAGUAAAAABXVzZG53AAAAAAAAAAHeAAAAAAViY28yZQAAAAAAAAAACgAAAAALT3duZXJQdWJLZXkBAAAAIDNu00wqXOowRaHQr34C+I4UhBMAhR58xxsNEg+l/9t3AAAAABJhZG1OMDhQakdUU2Fzb2MxMVcJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVTUU0wtP8U1YcvOtHcPsUgRON90O0ro8oAAAAAAE2FkbU4wOEVDQWNoS2FwYXdCMTAJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVSx6ZAQKsNKBjsbV9b6LztZ8oOM5qqTqi4AAAAA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AQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAnR4BQAAAAckbWF0Y2gwBgf2kBbJ", "height": 2141334, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8Xkeuw9mxSc6aFCVkGzJHWrSxstZsX4CxWgb7eyvoq7s Next: none Full:
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 = 101 | |
17 | 17 | ||
18 | 18 | let h = 478 | |
19 | 19 | ||
20 | 20 | let i = 10 | |
21 | 21 | ||
22 | 22 | let j = base58'4Tmop8jXZLPuazQmNiEZVovM1qh23xax9XnWhfnkcdae' | |
23 | 23 | ||
24 | 24 | let k = Address(base58'3N9GkpCqYSCDgvguTFFNvj5UJK4ugiUS8ej') | |
25 | 25 | ||
26 | 26 | let l = Address(base58'3N68oB6gAZUHHNbjvav1NLwLccUt2GJYhLy') | |
27 | 27 | ||
28 | 28 | let m = "3N9GkpCqYSCDgvguTFFNvj5UJK4ugiUS8ej" | |
29 | 29 | ||
30 | 30 | let n = "3N68oB6gAZUHHNbjvav1NLwLccUt2GJYhLy" | |
31 | 31 | ||
32 | 32 | let o = "3N86D2E7pSFD7fJBB1qkcGM8SoR6rZpFw9o" | |
33 | 33 | ||
34 | 34 | let p = "3N2jHtgSVCtW6jddmQuerN7NSnXjR3KcEfg" | |
35 | 35 | ||
36 | 36 | func q (r) = { | |
37 | 37 | let s = { | |
38 | 38 | let t = getInteger(this, r) | |
39 | 39 | if ($isInstanceOf(t, "Int")) | |
40 | 40 | then { | |
41 | 41 | let u = t | |
42 | 42 | u | |
43 | 43 | } | |
44 | 44 | else 0 | |
45 | 45 | } | |
46 | 46 | s | |
47 | 47 | } | |
48 | 48 | ||
49 | 49 | ||
50 | 50 | func v (r) = { | |
51 | 51 | let w = { | |
52 | 52 | let t = getString(this, r) | |
53 | 53 | if ($isInstanceOf(t, "String")) | |
54 | 54 | then { | |
55 | 55 | let u = t | |
56 | 56 | u | |
57 | 57 | } | |
58 | 58 | else f | |
59 | 59 | } | |
60 | 60 | w | |
61 | 61 | } | |
62 | 62 | ||
63 | 63 | ||
64 | 64 | func x (y) = "Categoría del Proyecto:" | |
65 | 65 | ||
66 | 66 | ||
67 | 67 | func z (y) = v(x(y)) | |
68 | 68 | ||
69 | 69 | ||
70 | 70 | func A (B) = (B + "Comunidad Achuar Kapawi del Ecuador") | |
71 | 71 | ||
72 | 72 | ||
73 | 73 | func C (y) = "Nombre del Proyecto:" | |
74 | 74 | ||
75 | 75 | ||
76 | 76 | func D (y) = v(C(y)) | |
77 | 77 | ||
78 | 78 | ||
79 | 79 | func E (y) = "País | Ubicación:" | |
80 | 80 | ||
81 | 81 | ||
82 | 82 | func F (y) = v(E(y)) | |
83 | 83 | ||
84 | 84 | ||
85 | 85 | func G (y) = "Código:" | |
86 | 86 | ||
87 | 87 | ||
88 | 88 | func H (y) = v(G(y)) | |
89 | 89 | ||
90 | 90 | ||
91 | 91 | func I (y) = "Propietario | Beneficiario del Proyecto:" | |
92 | 92 | ||
93 | 93 | ||
94 | 94 | func J (y) = v(I(y)) | |
95 | 95 | ||
96 | 96 | ||
97 | 97 | func K (B) = "Desarrollador | Responsable Legal:" | |
98 | 98 | ||
99 | 99 | ||
100 | 100 | func L (B) = v(K(B)) | |
101 | 101 | ||
102 | 102 | ||
103 | 103 | func M (y) = "Precio Nominal, 1 Bit-CO2:" | |
104 | 104 | ||
105 | 105 | ||
106 | 106 | func N (y) = "Precio de 1 Bit-CO2 con dscto elejido:" | |
107 | 107 | ||
108 | 108 | ||
109 | 109 | func O (y) = q(N(y)) | |
110 | 110 | ||
111 | 111 | ||
112 | 112 | func P (y) = "Cantidad de Tokens Ofertados en la F1 PreICO:" | |
113 | 113 | ||
114 | 114 | ||
115 | 115 | func Q (y) = v(P(y)) | |
116 | 116 | ||
117 | 117 | ||
118 | 118 | func R (y) = "Total de Tokens Realizados, PreICO" | |
119 | 119 | ||
120 | 120 | ||
121 | 121 | func S (y) = q(R(y)) | |
122 | 122 | ||
123 | 123 | ||
124 | 124 | func T (B) = "Fondos para Proyectos Verdes Naturales, Asociados Bit-CO2:" | |
125 | 125 | ||
126 | 126 | ||
127 | 127 | func U (B) = q(T(B)) | |
128 | 128 | ||
129 | 129 | ||
130 | 130 | func V (W,y) = "Order_№:" | |
131 | 131 | ||
132 | 132 | ||
133 | 133 | func X (W,y) = q(V(W, y)) | |
134 | 134 | ||
135 | 135 | ||
136 | 136 | func Y (y) = "Documento Nacional de Identidad, DNI del Usuario:" | |
137 | 137 | ||
138 | 138 | ||
139 | 139 | func Z (y) = v(Y(y)) | |
140 | 140 | ||
141 | 141 | ||
142 | 142 | func aa (y) = "País de Residencia del Usuario:" | |
143 | 143 | ||
144 | 144 | ||
145 | 145 | func ab (y) = v(aa(y)) | |
146 | 146 | ||
147 | 147 | ||
148 | 148 | func ac (y) = "Porcentaje de descuento elejido, %:" | |
149 | 149 | ||
150 | 150 | ||
151 | 151 | func ad (y) = q(ac(y)) | |
152 | 152 | ||
153 | 153 | ||
154 | 154 | func ae (y) = "Cantidad de tokens adquiridos:" | |
155 | 155 | ||
156 | 156 | ||
157 | 157 | func af (y) = q(ae(y)) | |
158 | 158 | ||
159 | 159 | ||
160 | 160 | @Callable(ag) | |
161 | 161 | func purchase (y,ah,ai,aj,ak,al) = { | |
162 | 162 | let am = extract(ag.payment) | |
163 | 163 | if (isDefined(am.assetId)) | |
164 | 164 | then throw("Ud. puede adquirir tokens BitCO2 usando WavesKeeper y su token de pago Waves.") | |
165 | 165 | else { | |
166 | 166 | let B = { | |
167 | 167 | let t = getString(this, A(y)) | |
168 | 168 | if ($isInstanceOf(t, "String")) | |
169 | 169 | then { | |
170 | 170 | let u = t | |
171 | 171 | u | |
172 | 172 | } | |
173 | 173 | else f | |
174 | 174 | } | |
175 | 175 | let an = { | |
176 | 176 | let t = getInteger(this, R(y)) | |
177 | 177 | if ($isInstanceOf(t, "Int")) | |
178 | 178 | then { | |
179 | 179 | let u = t | |
180 | 180 | u | |
181 | 181 | } | |
182 | 182 | else 0 | |
183 | 183 | } | |
184 | 184 | let ao = { | |
185 | 185 | let t = getInteger(this, T(B)) | |
186 | 186 | if ($isInstanceOf(t, "Int")) | |
187 | 187 | then { | |
188 | 188 | let u = t | |
189 | 189 | u | |
190 | 190 | } | |
191 | 191 | else 0 | |
192 | 192 | } | |
193 | 193 | let ap = toBase58String(ag.caller.bytes) | |
194 | 194 | if (if (if (if ((ap != m)) | |
195 | 195 | then (ap != n) | |
196 | 196 | else false) | |
197 | 197 | then (ap != o) | |
198 | 198 | else false) | |
199 | 199 | then (ap != p) | |
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 aq = ((((((100 - aj) * i) * g) * e) / 100) / h) | |
204 | 204 | let ar = (((9 * c) / 10) + 1) | |
205 | 205 | let as = ((1 * c) / 10) | |
206 | 206 | let at = ((8 * as) / 10) | |
207 | 207 | let au = (((2 * as) / 10) + 1) | |
208 | 208 | if ((0 >= ((b - an) - ak))) | |
209 | 209 | then throw("Lo sentimos, por ahora no hay oferta de tokens para su transacción") | |
210 | 210 | else if ((al > am.amount)) | |
211 | 211 | then throw("Payment Amount can't be less than item Purchase Order") | |
212 | 212 | else if ((am.amount > al)) | |
213 | 213 | then throw("Payment Amount can't be higher than item Purchase Order") | |
214 | 214 | else ScriptResult(WriteSet([DataEntry(x(y), "Conservación Forestal"), DataEntry(C(y), "Reserva Amazónica Achuar-Kapawi"), DataEntry(E(y), "Ecuador"), DataEntry(G(y), "N08EC-01_ACH-KAPAWI_PREICOF1"), DataEntry(I(y), "Comunidad Achuar Kapawi"), DataEntry(K(B), "Fundación Alianza Ecológica NASEE 'FAEN'"), DataEntry(M(y), "10.00 Euros"), DataEntry("Bit-CO2 emitidos en F1/F2 PreICO, total", b), DataEntry("Bit-CO2 en oferta para la F1 PreICO, total", c), DataEntry("Bit-CO2 en oferta para Asociados, 90% F1", ar), DataEntry("Bit-CO2 para Apoyo Administrativo, 10% F1 ", as), DataEntry("Dirección de la Cta. de Apoyo Administrativo", "3N68oB6gAZUHHNbjvav1NLwLccUt2GJYhLy"), DataEntry("Apoyo para el Desarrollador-Proyecto, tokens", at), DataEntry("Apoyo para el IT System del Proyecto, tokens", au), DataEntry("Oferta de tokens utilizada", "Programa-Asoc11 | Programa-GTS | Otros"), DataEntry("Descuento máximo ofrecido", " Según Programa"), DataEntry(V(ap, y), (X(ap, y) + 1)), DataEntry(Y(y), ah), DataEntry(aa(y), ai), DataEntry(ac(y), aj), DataEntry(N(y), aq), DataEntry("Estado de su pedido, tokens", "¡Adquisición Confirmada!"), DataEntry(ae(y), ak), DataEntry("Suma transmitida a la PreICO, wvs:", al), DataEntry(R(y), (S(y) + ak)), DataEntry("Saldo de Tokens Bit-CO2 en oferta, F1 PreICO:", ((c - S(y)) - ak)), DataEntry("Saldo de Tokens Bit-CO2, PreICO Achuar-Kapawi:", ((b - S(y)) - ak)), DataEntry(T(B), (U(B) + am.amount)), DataEntry("Dirección del Progr-Asoc11 en Waves-BlockChain:", "3N7LT19kE1vNvrmjfbSaxeBeCjmYrn4qfD5")]), TransferSet([ScriptTransfer(addressFromStringValue(ap), (10000 * ak), a), ScriptTransfer(k, am.amount, unit)])) | |
215 | 215 | } | |
216 | 216 | } | |
217 | 217 | } | |
218 | 218 | ||
219 | 219 | ||
220 | 220 | @Verifier(av) | |
221 | 221 | func aw () = { | |
222 | 222 | let t = av | |
223 | 223 | if ($isInstanceOf(t, "SetScriptTransaction")) | |
224 | 224 | then { | |
225 | 225 | let ax = t | |
226 | 226 | sigVerify(av.bodyBytes, av.proofs[0], j) | |
227 | 227 | } | |
228 | 228 | else if ($isInstanceOf(t, "DataTransaction")) | |
229 | 229 | then { | |
230 | 230 | let ay = t | |
231 | 231 | true | |
232 | 232 | } | |
233 | 233 | else if ($isInstanceOf(t, "TransferTransaction")) | |
234 | 234 | then { | |
235 | 235 | let av = t | |
236 | 236 | true | |
237 | 237 | } | |
238 | 238 | else false | |
239 | 239 | } | |
240 | 240 |
github/deemru/w8io/169f3d6 46.34 ms ◑