tx · Hg1REEvqGoUr5kM6CBimu5ALGxSF6Q2n6oJYSurCtdXE 3N6kziqYXDVeBZNh1kgivuNAyE3ZUbtTEUE: -0.00600000 Waves 2022.08.07 20:57 [2174376] smart account 3N6kziqYXDVeBZNh1kgivuNAyE3ZUbtTEUE > SELF 0.00000000 Waves
{ "type": 13, "id": "Hg1REEvqGoUr5kM6CBimu5ALGxSF6Q2n6oJYSurCtdXE", "fee": 600000, "feeAssetId": null, "timestamp": 1659895056352, "version": 2, "chainId": 84, "sender": "3N6kziqYXDVeBZNh1kgivuNAyE3ZUbtTEUE", "senderPublicKey": "8Ke8yBSwfTe96WE2kgmsub8kEh8Tagivfu2owUN5XtiH", "proofs": [ "4aBDJk4s5xeuSr32X3K1radEyAp7m73NQ5MF7DuPstkeHj2PSNm8nL7UPszZnxX1quCQF3h3QxodjVxdYDRxY5ti" ], "script": "base64:AAIFAAAAAAAAAAsIAhIHCgUICAgBAQAAACAAAAAAA1ZHVAEAAAAgAPs5y/R2CqiyWSxNldt26J/wx9NuUlms6dNVusQnAScAAAAADXN0YXJ0VG90YWxRdHkAAAAAAAABhqAAAAAAA3d2cwAAAAAABfXhAAAAAAAETk9ORQIAAAAEbm9uZQAAAAAHbm9tdmd0dQAAAAAAAAAACgAAAAAFdXNkbncAAAAAAAAAAkEAAAAACmFkbU4wOFZHVFcJAQAAAAdBZGRyZXNzAAAAAQEAAAAaAVTKeThQrvvDrWGkMeVpzgs/5Fgxxu4vmzkAAAAAEWFkbU4wOHN5c1ZHVFBhaXNXCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUG42MU8k/EO/lsJ2kJuUo/2dXidK3DcsEAQAAAA5nZXROdW1iZXJCeUtleQAAAAEAAAADa2V5BAAAAANudW0EAAAAByRtYXRjaDAJAAQaAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEAAAAAAAAAAAAFA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dHJOYXRpdmUoMTA2MikAAAABBQAAAAt1c2VyQWRkcmVzcwkAAGgAAAACAAAAAAAAACcQBQAAAAhvcmRlclF0eQUAAAADVkdUCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMFAAAACmFkbU4wOFZHVFcJAABpAAAAAgkAAGgAAAACAAAAAAAAAABaCAUAAAADcG10AAAABmFtb3VudAAAAAAAAAAAZAUAAAAEdW5pdAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADBQAAABFhZG1OMDhzeXNWR1RQYWlzVwkAAGkAAAACCQAAaAAAAAIAAAAAAAAAAAoIBQAAAANwbXQAAAAGYW1vdW50AAAAAAAAAABkBQAAAAR1bml0BQAAAANuaWwFAAAABHVuaXQAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAUU2V0U2NyaXB0VHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACQACWQAAAAECAAAALDhLZTh5QlN3ZlRlOTZXRTJrZ21zdWI4a0VoOFRhZ2l2ZnUyb3dVTjVYdGlIB5SJkCo=", "height": 2174376, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: 7JaNqCmAifDSnNHYbke8wmQQH2eiHX4eeokoRmbA2SpV Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 5 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | let a = base58'14qBkVfMxkWyR4sjgXVfDanaemoCbhuwy9ptGtUt53Xc' | |
5 | + | ||
6 | + | let b = 100000 | |
7 | + | ||
8 | + | let c = 100000000 | |
9 | + | ||
10 | + | let d = "none" | |
11 | + | ||
12 | + | let e = 10 | |
13 | + | ||
14 | + | let f = 577 | |
15 | + | ||
16 | + | let g = Address(base58'3N8NfVBXHM7yKRy92ghKc5MJYFuyFXhsDXn') | |
17 | + | ||
18 | + | let h = Address(base58'3MrRmb3ANQy1o15LbHRNhiNHjYvXnoSLMCo') | |
19 | + | ||
20 | + | func i (j) = { | |
21 | + | let k = { | |
22 | + | let l = getInteger(this, j) | |
23 | + | if ($isInstanceOf(l, "Int")) | |
24 | + | then { | |
25 | + | let m = l | |
26 | + | m | |
27 | + | } | |
28 | + | else 0 | |
29 | + | } | |
30 | + | k | |
31 | + | } | |
32 | + | ||
33 | + | ||
34 | + | func n (j) = { | |
35 | + | let o = { | |
36 | + | let l = getString(this, j) | |
37 | + | if ($isInstanceOf(l, "String")) | |
38 | + | then { | |
39 | + | let m = l | |
40 | + | m | |
41 | + | } | |
42 | + | else d | |
43 | + | } | |
44 | + | o | |
45 | + | } | |
46 | + | ||
47 | + | ||
48 | + | func p (q) = "Emisor " | |
49 | + | ||
50 | + | ||
51 | + | func r (q) = n(p(q)) | |
52 | + | ||
53 | + | ||
54 | + | func s (t) = (t + "Nodo-08") | |
55 | + | ||
56 | + | ||
57 | + | func u (q) = "Nodo-País " | |
58 | + | ||
59 | + | ||
60 | + | func v (q) = n(u(q)) | |
61 | + | ||
62 | + | ||
63 | + | func w (q) = "Código " | |
64 | + | ||
65 | + | ||
66 | + | func x (q) = n(w(q)) | |
67 | + | ||
68 | + | ||
69 | + | func y (q) = "Precio Nominal, 1 VGT " | |
70 | + | ||
71 | + | ||
72 | + | func z (q) = "Cantidad de tokens emitidos " | |
73 | + | ||
74 | + | ||
75 | + | func A (q) = n(z(q)) | |
76 | + | ||
77 | + | ||
78 | + | func B (t) = "Fondos | Monto recaudado, wvs " | |
79 | + | ||
80 | + | ||
81 | + | func C (t) = i(B(t)) | |
82 | + | ||
83 | + | ||
84 | + | func D (E,q) = "Order_№ " | |
85 | + | ||
86 | + | ||
87 | + | func F (E,q) = i(D(E, q)) | |
88 | + | ||
89 | + | ||
90 | + | func G (q) = "Documento Nacional de Identidad, DNI " | |
91 | + | ||
92 | + | ||
93 | + | func H (q) = n(G(q)) | |
94 | + | ||
95 | + | ||
96 | + | func I (q) = "País de Residencia del Usuario " | |
97 | + | ||
98 | + | ||
99 | + | func J (q) = n(I(q)) | |
100 | + | ||
101 | + | ||
102 | + | func K (q) = "Cantidad de tokens adquiridos " | |
103 | + | ||
104 | + | ||
105 | + | func L (q) = i(K(q)) | |
106 | + | ||
107 | + | ||
108 | + | func M (q) = "Cantidad de tokens VGT realizados " | |
109 | + | ||
110 | + | ||
111 | + | func N (q) = i(M(q)) | |
112 | + | ||
113 | + | ||
114 | + | @Callable(O) | |
115 | + | func purchaseVGT (q,P,Q,R,S) = { | |
116 | + | let T = if ((size(O.payments) == 1)) | |
117 | + | then O.payments[0] | |
118 | + | else throw("Se requiere pago adjunto.") | |
119 | + | if (isDefined(T.assetId)) | |
120 | + | then throw("Ud. solo puede adquirir VGT usando WavesKeeper y su token de pago Waves.") | |
121 | + | else { | |
122 | + | let t = { | |
123 | + | let l = getString(this, s(q)) | |
124 | + | if ($isInstanceOf(l, "String")) | |
125 | + | then { | |
126 | + | let m = l | |
127 | + | m | |
128 | + | } | |
129 | + | else d | |
130 | + | } | |
131 | + | let U = { | |
132 | + | let l = getInteger(this, M(q)) | |
133 | + | if ($isInstanceOf(l, "Int")) | |
134 | + | then { | |
135 | + | let m = l | |
136 | + | m | |
137 | + | } | |
138 | + | else 0 | |
139 | + | } | |
140 | + | let V = { | |
141 | + | let l = getInteger(this, B(t)) | |
142 | + | if ($isInstanceOf(l, "Int")) | |
143 | + | then { | |
144 | + | let m = l | |
145 | + | m | |
146 | + | } | |
147 | + | else 0 | |
148 | + | } | |
149 | + | let W = toBase58String(O.caller.bytes) | |
150 | + | let X = ((e * c) / f) | |
151 | + | if ((0 >= ((b - U) - R))) | |
152 | + | then throw("Lo sentimos, por ahora no hay oferta de tokens para su transacción.") | |
153 | + | else if ((S > T.amount)) | |
154 | + | then throw("El monto del pago no puede ser inferior a la orden de compra del artículo.") | |
155 | + | else if ((T.amount > S)) | |
156 | + | then throw("El monto del pago no puede ser mayor que la orden de compra del artículo.") | |
157 | + | else $Tuple2([StringEntry(p(q), "Ecosistema Bit-CO2"), StringEntry(u(q), "E2E | N08-PE"), StringEntry(w(q), "N08PE-VGT-01"), StringEntry(y(q), "10.00 USD"), IntegerEntry(z(q), b), IntegerEntry(D(W, q), (F(W, q) + 1)), StringEntry(I(q), Q), StringEntry(G(q), P), IntegerEntry(K(q), R), IntegerEntry("Monto de Inversión | Participación, wvs", S), StringEntry("Estado de su pedido, tokens ", "¡Adquisición Confirmada!"), IntegerEntry(M(q), (N(q) + R)), IntegerEntry("Saldo de Tokens VGT", ((b - N(q)) - R)), IntegerEntry(B(t), (C(t) + T.amount)), ScriptTransfer(addressFromStringValue(W), (10000 * R), a), ScriptTransfer(g, ((90 * T.amount) / 100), unit), ScriptTransfer(h, ((10 * T.amount) / 100), unit)], unit) | |
158 | + | } | |
159 | + | } | |
160 | + | ||
161 | + | ||
162 | + | @Verifier(Y) | |
163 | + | func Z () = { | |
164 | + | let l = Y | |
165 | + | if ($isInstanceOf(l, "SetScriptTransaction")) | |
166 | + | then { | |
167 | + | let aa = l | |
168 | + | sigVerify(Y.bodyBytes, Y.proofs[0], fromBase58String("8Ke8yBSwfTe96WE2kgmsub8kEh8Tagivfu2owUN5XtiH")) | |
169 | + | } | |
170 | + | else false | |
171 | + | } | |
172 | + |
github/deemru/w8io/169f3d6 25.73 ms ◑