tx · 4t2d9aoAxcV8X1YzDdVFqZ11qvHYim5kxAXQHKnZnWWU 3N5f7Ska4GcuV6PvCvJsrF7EnCm9eQF5ngW: -0.01000000 Waves 2022.04.01 22:27 [1989943] smart account 3N5f7Ska4GcuV6PvCvJsrF7EnCm9eQF5ngW > SELF 0.00000000 Waves
{ "type": 13, "id": "4t2d9aoAxcV8X1YzDdVFqZ11qvHYim5kxAXQHKnZnWWU", "fee": 1000000, "feeAssetId": null, "timestamp": 1648841239910, "version": 2, "chainId": 84, "sender": "3N5f7Ska4GcuV6PvCvJsrF7EnCm9eQF5ngW", "senderPublicKey": "GrTqxkB7og5QEbkV5fS1vY29qoAVKe5uVbuMXFwNh9Uo", "proofs": [ "4ANbELhZBdtwfrvpJioUV3mW78K7s8tWEDiQHBMtWTvvxn3qjNJDejUZdWwgFZqNBUNH2jBF9JfiiMmj4ZripRtD" ], "script": "base64:AAIDAAAAAAAAAAwIARIICgYICAgBAQEAAAAsAAAAAANTR1QBAAAAICAEZKaqA3sNb6aq+pclWLOWiXpTDP/vusZoh2yDVNyNAAAAAA1zdGFydFRvdGFsUXR5AAAAAAAABKodAAAAAAxGaXJzdEZhc2VRdHkAAAAAAAAAedkAAAAADVNlY29uZEZhc2VRdHkAAAAAAAAEMEQAAAAAA3d2cwAAAAAABfXhAAAAAAAETk9ORQIAAAAEbm9uZQAAAAAFZXVyb3UAAAAAAAAAAHQAAAAABXVzZG53AAAAAAAAAAnrAAAAAAViY28yZQAAAAAAAAAACgAAAAALT3duZXJQdWJLZXkBAAAAIOuLHcd70SFfjW8gXe6YyV4vefnY6qGFRS9Bp3VZ0p48AQAAAA5nZXROdW1iZXJCeUtleQAAAAEAAAADa2V5BAAAAANudW0EAAAAByRtYXRjaDAJAAQaAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEAAAAAAAAAAAAFAAAAA251bQEAAAALZ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DAEAAAACXdpdGhXYXZlcwMJAQAAAAEhAAAAAQkBAAAACWlzRGVmaW5lZAAAAAEICAgFAAAAAnR4AAAACXNlbGxPcmRlcgAAAAlhc3NldFBhaXIAAAAKcHJpY2VBc3NldAYJAQAAAAEhAAAAAQkBAAAACWlzRGVmaW5lZAAAAAEICAgFAAAAAnR4AAAACXNlbGxPcmRlcgAAAAlhc3NldFBhaXIAAAALYW1vdW50QXNzZXQFAAAACXdpdGhXYXZlcwfe3Iyn", "height": 1989943, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4MuMBJTA6u7EuuNVmfe9qj34fLMbUBQxUKEEixNjFdhG Next: AGoTYGkMHMz5TKWrTYjoYMr39kBGsLFczQ1Dn8YzzD6z Diff:
Old | New | Differences | |
---|---|---|---|
180 | 180 | } | |
181 | 181 | let aj = toBase58String(aa.caller.bytes) | |
182 | 182 | let ak = ((((((100 - ad) * i) * g) * e) / 100) / h) | |
183 | - | if ((0 >= (( | |
183 | + | if ((0 >= ((c - ah) - ae))) | |
184 | 184 | then throw("Lo sentimos, por ahora no hay oferta de tokens para su transacción") | |
185 | 185 | else if ((af > ag.amount)) | |
186 | 186 | then throw("Payment Amount can't be less than item Purchase Order") |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = base58'39yw38hm342hiK43SqELTaZRkTWJoBc22XpxmsSiBrsN' | |
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'GrTqxkB7og5QEbkV5fS1vY29qoAVKe5uVbuMXFwNh9Uo' | |
23 | 23 | ||
24 | 24 | func k (l) = { | |
25 | 25 | let m = { | |
26 | 26 | let n = getInteger(this, l) | |
27 | 27 | if ($isInstanceOf(n, "Int")) | |
28 | 28 | then { | |
29 | 29 | let o = n | |
30 | 30 | o | |
31 | 31 | } | |
32 | 32 | else 0 | |
33 | 33 | } | |
34 | 34 | m | |
35 | 35 | } | |
36 | 36 | ||
37 | 37 | ||
38 | 38 | func p (l) = { | |
39 | 39 | let q = { | |
40 | 40 | let n = getString(this, l) | |
41 | 41 | if ($isInstanceOf(n, "String")) | |
42 | 42 | then { | |
43 | 43 | let o = n | |
44 | 44 | o | |
45 | 45 | } | |
46 | 46 | else f | |
47 | 47 | } | |
48 | 48 | q | |
49 | 49 | } | |
50 | 50 | ||
51 | 51 | ||
52 | 52 | func r (s) = "Categoría del Proyecto:" | |
53 | 53 | ||
54 | 54 | ||
55 | 55 | func t (s) = p(r(s)) | |
56 | 56 | ||
57 | 57 | ||
58 | 58 | func u (v) = (v + "Comunidad Achuar Kapawi del Ecuador") | |
59 | 59 | ||
60 | 60 | ||
61 | 61 | func w (s) = "Nombre del Proyecto:" | |
62 | 62 | ||
63 | 63 | ||
64 | 64 | func x (s) = p(w(s)) | |
65 | 65 | ||
66 | 66 | ||
67 | 67 | func y (s) = "País | Ubicación:" | |
68 | 68 | ||
69 | 69 | ||
70 | 70 | func z (s) = p(y(s)) | |
71 | 71 | ||
72 | 72 | ||
73 | 73 | func A (s) = "Código:" | |
74 | 74 | ||
75 | 75 | ||
76 | 76 | func B (s) = p(A(s)) | |
77 | 77 | ||
78 | 78 | ||
79 | 79 | func C (s) = "Propietario | Beneficiario del Proyecto:" | |
80 | 80 | ||
81 | 81 | ||
82 | 82 | func D (s) = p(C(s)) | |
83 | 83 | ||
84 | 84 | ||
85 | 85 | func E (v) = "Desarrollador | Responsable Legal:" | |
86 | 86 | ||
87 | 87 | ||
88 | 88 | func F (v) = p(E(v)) | |
89 | 89 | ||
90 | 90 | ||
91 | 91 | func G (s) = "Precio Nominal, 1 SGT:" | |
92 | 92 | ||
93 | 93 | ||
94 | 94 | func H (s) = "Precio de 1 SGT con dscto elejido:" | |
95 | 95 | ||
96 | 96 | ||
97 | 97 | func I (s) = k(H(s)) | |
98 | 98 | ||
99 | 99 | ||
100 | 100 | func J (s) = "Cantidad de Tokens ofertados en F1 Pre-ICO:" | |
101 | 101 | ||
102 | 102 | ||
103 | 103 | func K (s) = p(J(s)) | |
104 | 104 | ||
105 | 105 | ||
106 | 106 | func L (s) = "Total de tokens realizados, Pre-ICO" | |
107 | 107 | ||
108 | 108 | ||
109 | 109 | func M (s) = k(L(s)) | |
110 | 110 | ||
111 | 111 | ||
112 | 112 | func N (v) = "Fondos desde Tokens SGT, PreICO" | |
113 | 113 | ||
114 | 114 | ||
115 | 115 | func O (v) = k(N(v)) | |
116 | 116 | ||
117 | 117 | ||
118 | 118 | func P (Q,s) = "Order_№:" | |
119 | 119 | ||
120 | 120 | ||
121 | 121 | func R (Q,s) = k(P(Q, s)) | |
122 | 122 | ||
123 | 123 | ||
124 | 124 | func S (s) = "Documento Nacional de Identidad, DNI del Usuario:" | |
125 | 125 | ||
126 | 126 | ||
127 | 127 | func T (s) = p(S(s)) | |
128 | 128 | ||
129 | 129 | ||
130 | 130 | func U (s) = "País de Residencia del Usuario:" | |
131 | 131 | ||
132 | 132 | ||
133 | 133 | func V (s) = p(U(s)) | |
134 | 134 | ||
135 | 135 | ||
136 | 136 | func W (s) = "Porcentaje de descuento elejido, %:" | |
137 | 137 | ||
138 | 138 | ||
139 | 139 | func X (s) = k(W(s)) | |
140 | 140 | ||
141 | 141 | ||
142 | 142 | func Y (s) = "Cantidad de tokens adquiridos:" | |
143 | 143 | ||
144 | 144 | ||
145 | 145 | func Z (s) = k(Y(s)) | |
146 | 146 | ||
147 | 147 | ||
148 | 148 | @Callable(aa) | |
149 | 149 | func purchaseSGT (s,ab,ac,ad,ae,af) = { | |
150 | 150 | let ag = extract(aa.payment) | |
151 | 151 | if (isDefined(ag.assetId)) | |
152 | 152 | then throw("Ud. puede adquirir tokens SGT usando WavesKeeper y su token de pago Waves.") | |
153 | 153 | else { | |
154 | 154 | let v = { | |
155 | 155 | let n = getString(this, u(s)) | |
156 | 156 | if ($isInstanceOf(n, "String")) | |
157 | 157 | then { | |
158 | 158 | let o = n | |
159 | 159 | o | |
160 | 160 | } | |
161 | 161 | else f | |
162 | 162 | } | |
163 | 163 | let ah = { | |
164 | 164 | let n = getInteger(this, L(s)) | |
165 | 165 | if ($isInstanceOf(n, "Int")) | |
166 | 166 | then { | |
167 | 167 | let o = n | |
168 | 168 | o | |
169 | 169 | } | |
170 | 170 | else 0 | |
171 | 171 | } | |
172 | 172 | let ai = { | |
173 | 173 | let n = getInteger(this, N(v)) | |
174 | 174 | if ($isInstanceOf(n, "Int")) | |
175 | 175 | then { | |
176 | 176 | let o = n | |
177 | 177 | o | |
178 | 178 | } | |
179 | 179 | else 0 | |
180 | 180 | } | |
181 | 181 | let aj = toBase58String(aa.caller.bytes) | |
182 | 182 | let ak = ((((((100 - ad) * i) * g) * e) / 100) / h) | |
183 | - | if ((0 >= (( | |
183 | + | if ((0 >= ((c - ah) - ae))) | |
184 | 184 | then throw("Lo sentimos, por ahora no hay oferta de tokens para su transacción") | |
185 | 185 | else if ((af > ag.amount)) | |
186 | 186 | then throw("Payment Amount can't be less than item Purchase Order") | |
187 | 187 | else if ((ag.amount > af)) | |
188 | 188 | then throw("Payment Amount can't be higher than item Purchase Order") | |
189 | 189 | else ScriptResult(WriteSet([DataEntry(r(s), "Conservación Forestal"), DataEntry(w(s), "Reserva Amazónica Achuar-Kapawi"), DataEntry(y(s), "Ecuador"), DataEntry(A(s), "N08EC-01_ACH-KAPAWI_PREICOF1"), DataEntry(C(s), "Comunidad Achuar Kapawi"), DataEntry(E(v), "Fundación Alianza Ecológica NASEE 'FAEN'"), DataEntry(G(s), "10.00 Euros"), DataEntry("Tokens SGT a emitir en F1 y F2 Pre-ICO, unidades", b), DataEntry(J(s), c), DataEntry("Descuento máximo ofrecido:", " 6 %"), DataEntry(P(aj, s), (R(aj, s) + 1)), DataEntry(S(s), ab), DataEntry(U(s), ac), DataEntry(W(s), ad), DataEntry(H(s), ak), DataEntry("Estado de su pedido, tokens:", "¡Adquisición Confirmada!"), DataEntry(Y(s), ae), DataEntry("Suma transmitida a la PreICO, wvs", af), DataEntry(L(s), (M(s) + ae)), DataEntry("Saldo de tokens SGT en oferta, F1 PreICO", ((c - M(s)) - ae)), DataEntry("Saldo de tokens SGT, PreICO Achuar-Kapawi:", (b - ((c - M(s)) - ae))), DataEntry(N(v), (O(v) + ag.amount)), DataEntry("Dirección del proyecto en Waves-BlockChain:", "3N5f7Ska4GcuV6PvCvJsrF7EnCm9eQF5ngW")]), TransferSet([ScriptTransfer(addressFromStringValue(aj), (1 * ae), a)])) | |
190 | 190 | } | |
191 | 191 | } | |
192 | 192 | ||
193 | 193 | ||
194 | 194 | @Verifier(al) | |
195 | 195 | func am () = { | |
196 | 196 | let n = al | |
197 | 197 | if ($isInstanceOf(n, "SetScriptTransaction")) | |
198 | 198 | then { | |
199 | 199 | let an = n | |
200 | 200 | sigVerify(al.bodyBytes, al.proofs[0], j) | |
201 | 201 | } | |
202 | 202 | else if ($isInstanceOf(n, "DataTransaction")) | |
203 | 203 | then { | |
204 | 204 | let ao = n | |
205 | 205 | true | |
206 | 206 | } | |
207 | 207 | else if ($isInstanceOf(n, "TransferTransaction")) | |
208 | 208 | then { | |
209 | 209 | let al = n | |
210 | 210 | true | |
211 | 211 | } | |
212 | 212 | else if ($isInstanceOf(n, "ExchangeTransaction")) | |
213 | 213 | then { | |
214 | 214 | let al = n | |
215 | 215 | let ap = if (!(isDefined(al.sellOrder.assetPair.priceAsset))) | |
216 | 216 | then true | |
217 | 217 | else !(isDefined(al.sellOrder.assetPair.amountAsset)) | |
218 | 218 | ap | |
219 | 219 | } | |
220 | 220 | else false | |
221 | 221 | } | |
222 | 222 |
github/deemru/w8io/169f3d6 44.92 ms ◑