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/vusZoh2yDVNyNAAAAAA1zdGFydFRvdGFsUXR5AAAAAAAABKodAAAAAAxGaXJzdEZhc2VRdHkAAAAAAAAAedkAAAAADVNlY29uZEZhc2VRdHkAAAAAAAAEMEQAAAAAA3d2cwAAAAAABfXhAAAAAAAETk9ORQIAAAAEbm9uZQAAAAAFZXVyb3UAAAAAAAAAAHQAAAAABXVzZG53AAAAAAAAAAnrAAAAAAViY28yZQAAAAAAAAAACgAAAAALT3duZXJQdWJLZXkBAAAAIOuLHcd70SFfjW8gXe6YyV4vefnY6qGFRS9Bp3VZ0p48AQAAAA5nZXROdW1iZXJCeUtleQAAAAEAAAADa2V5BAAAAANudW0EAAAAByRtYXRjaDAJAAQaAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEAAAAAAAAAAAAFAAAAA251bQEAAAAL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aDAEAAAACXdpdGhXYXZlcwMJAQAAAAEhAAAAAQkBAAAACWlzRGVmaW5lZAAAAAEICAgFAAAAAnR4AAAACXNlbGxPcmRlcgAAAAlhc3NldFBhaXIAAAAKcHJpY2VBc3NldAYJAQAAAAEhAAAAAQkBAAAACWlzRGVmaW5lZAAAAAEICAgFAAAAAnR4AAAACXNlbGxPcmRlcgAAAAlhc3NldFBhaXIAAAALYW1vdW50QXNzZXQFAAAACXdpdGhXYXZlcwfe3Iyn", "height": 1989943, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4MuMBJTA6u7EuuNVmfe9qj34fLMbUBQxUKEEixNjFdhG Next: AGoTYGkMHMz5TKWrTYjoYMr39kBGsLFczQ1Dn8YzzD6z Diff:
OldNewDifferences
180180 }
181181 let aj = toBase58String(aa.caller.bytes)
182182 let ak = ((((((100 - ad) * i) * g) * e) / 100) / h)
183- if ((0 >= ((b - ah) - ae)))
183+ if ((0 >= ((c - ah) - ae)))
184184 then throw("Lo sentimos, por ahora no hay oferta de tokens para su transacción")
185185 else if ((af > ag.amount))
186186 then throw("Payment Amount can't be less than item Purchase Order")
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'39yw38hm342hiK43SqELTaZRkTWJoBc22XpxmsSiBrsN'
55
66 let b = 305693
77
88 let c = 31193
99
1010 let d = 274500
1111
1212 let e = 100000000
1313
1414 let f = "none"
1515
1616 let g = 116
1717
1818 let h = 2539
1919
2020 let i = 10
2121
2222 let j = base58'GrTqxkB7og5QEbkV5fS1vY29qoAVKe5uVbuMXFwNh9Uo'
2323
2424 func k (l) = {
2525 let m = {
2626 let n = getInteger(this, l)
2727 if ($isInstanceOf(n, "Int"))
2828 then {
2929 let o = n
3030 o
3131 }
3232 else 0
3333 }
3434 m
3535 }
3636
3737
3838 func p (l) = {
3939 let q = {
4040 let n = getString(this, l)
4141 if ($isInstanceOf(n, "String"))
4242 then {
4343 let o = n
4444 o
4545 }
4646 else f
4747 }
4848 q
4949 }
5050
5151
5252 func r (s) = "Categoría del Proyecto:"
5353
5454
5555 func t (s) = p(r(s))
5656
5757
5858 func u (v) = (v + "Comunidad Achuar Kapawi del Ecuador")
5959
6060
6161 func w (s) = "Nombre del Proyecto:"
6262
6363
6464 func x (s) = p(w(s))
6565
6666
6767 func y (s) = "País | Ubicación:"
6868
6969
7070 func z (s) = p(y(s))
7171
7272
7373 func A (s) = "Código:"
7474
7575
7676 func B (s) = p(A(s))
7777
7878
7979 func C (s) = "Propietario | Beneficiario del Proyecto:"
8080
8181
8282 func D (s) = p(C(s))
8383
8484
8585 func E (v) = "Desarrollador | Responsable Legal:"
8686
8787
8888 func F (v) = p(E(v))
8989
9090
9191 func G (s) = "Precio Nominal, 1 SGT:"
9292
9393
9494 func H (s) = "Precio de 1 SGT con dscto elejido:"
9595
9696
9797 func I (s) = k(H(s))
9898
9999
100100 func J (s) = "Cantidad de Tokens ofertados en F1 Pre-ICO:"
101101
102102
103103 func K (s) = p(J(s))
104104
105105
106106 func L (s) = "Total de tokens realizados, Pre-ICO"
107107
108108
109109 func M (s) = k(L(s))
110110
111111
112112 func N (v) = "Fondos desde Tokens SGT, PreICO"
113113
114114
115115 func O (v) = k(N(v))
116116
117117
118118 func P (Q,s) = "Order_№:"
119119
120120
121121 func R (Q,s) = k(P(Q, s))
122122
123123
124124 func S (s) = "Documento Nacional de Identidad, DNI del Usuario:"
125125
126126
127127 func T (s) = p(S(s))
128128
129129
130130 func U (s) = "País de Residencia del Usuario:"
131131
132132
133133 func V (s) = p(U(s))
134134
135135
136136 func W (s) = "Porcentaje de descuento elejido, %:"
137137
138138
139139 func X (s) = k(W(s))
140140
141141
142142 func Y (s) = "Cantidad de tokens adquiridos:"
143143
144144
145145 func Z (s) = k(Y(s))
146146
147147
148148 @Callable(aa)
149149 func purchaseSGT (s,ab,ac,ad,ae,af) = {
150150 let ag = extract(aa.payment)
151151 if (isDefined(ag.assetId))
152152 then throw("Ud. puede adquirir tokens SGT usando WavesKeeper y su token de pago Waves.")
153153 else {
154154 let v = {
155155 let n = getString(this, u(s))
156156 if ($isInstanceOf(n, "String"))
157157 then {
158158 let o = n
159159 o
160160 }
161161 else f
162162 }
163163 let ah = {
164164 let n = getInteger(this, L(s))
165165 if ($isInstanceOf(n, "Int"))
166166 then {
167167 let o = n
168168 o
169169 }
170170 else 0
171171 }
172172 let ai = {
173173 let n = getInteger(this, N(v))
174174 if ($isInstanceOf(n, "Int"))
175175 then {
176176 let o = n
177177 o
178178 }
179179 else 0
180180 }
181181 let aj = toBase58String(aa.caller.bytes)
182182 let ak = ((((((100 - ad) * i) * g) * e) / 100) / h)
183- if ((0 >= ((b - ah) - ae)))
183+ if ((0 >= ((c - ah) - ae)))
184184 then throw("Lo sentimos, por ahora no hay oferta de tokens para su transacción")
185185 else if ((af > ag.amount))
186186 then throw("Payment Amount can't be less than item Purchase Order")
187187 else if ((ag.amount > af))
188188 then throw("Payment Amount can't be higher than item Purchase Order")
189189 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)]))
190190 }
191191 }
192192
193193
194194 @Verifier(al)
195195 func am () = {
196196 let n = al
197197 if ($isInstanceOf(n, "SetScriptTransaction"))
198198 then {
199199 let an = n
200200 sigVerify(al.bodyBytes, al.proofs[0], j)
201201 }
202202 else if ($isInstanceOf(n, "DataTransaction"))
203203 then {
204204 let ao = n
205205 true
206206 }
207207 else if ($isInstanceOf(n, "TransferTransaction"))
208208 then {
209209 let al = n
210210 true
211211 }
212212 else if ($isInstanceOf(n, "ExchangeTransaction"))
213213 then {
214214 let al = n
215215 let ap = if (!(isDefined(al.sellOrder.assetPair.priceAsset)))
216216 then true
217217 else !(isDefined(al.sellOrder.assetPair.amountAsset))
218218 ap
219219 }
220220 else false
221221 }
222222

github/deemru/w8io/169f3d6 
44.92 ms