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