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