tx · BfVNkyJCSHzrZEQ6zgFwwTQTNDPYdmAwB74kUbXJWrbk 3N9DpWDvNPnq3wuuyh2cGk9hcKfoke9CCfL: -0.01000000 Waves 2021.11.01 11:13 [1771684] smart account 3N9DpWDvNPnq3wuuyh2cGk9hcKfoke9CCfL > SELF 0.00000000 Waves
{ "type": 13, "id": "BfVNkyJCSHzrZEQ6zgFwwTQTNDPYdmAwB74kUbXJWrbk", "fee": 1000000, "feeAssetId": null, "timestamp": 1635754429091, "version": 2, "chainId": 84, "sender": "3N9DpWDvNPnq3wuuyh2cGk9hcKfoke9CCfL", "senderPublicKey": "A695BnQcmLqEPwcN5kdhv4bHipgdE4FnM5CBEMtA95Mo", "proofs": [ "3cMMNR42ouQkuHWjJ2Q81Xbf7DtUyWVEmh2F1j2sTsFohwuBzYHCDwqnrejrNDSJ1vBS9agMcYFqf9Lj4zUm8UnJ" ], "script": "base64:AAIDAAAAAAAAAAsIARIHCgUICAgBAQAAACwAAAAAB3hCaXRDTzIBAAAAICAEZKaqA3sNb6aq+pclWLOWiXpTDP/vusZoh2yDVNyNAAAAAA1zdGFydFRvdGFsUXR5AAAAAAAABKodAAAAAAxGaXJzdEZhc2VRdHkAAAAAAAAAK7kAAAAADVNlY29uZEZhc2VRdHkAAAAAAAAEMEQAAAAAA3d2cwAAAAAABfXhAAAAAAAETk9ORQIAAAAEbm9uZQAAAAAFZXVyb3UAAAAAAAAAAHQAAAAABXVzZG53AAAAAAAAAAnEAAAAAAViY28yZQAAAAAAAAAACgAAAAALT3duZXJQdWJLZXkBAAAAIIcKNq99kuJ9WetD4RzbqGBoQt3P74qF++Y9wltvbHx2AQAAAA5nZXROdW1iZXJCeUtleQAAAAEAAAADa2V5BAAAAANudW0EAAAAByRtYXRjaDAJAAQaAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWEAAAAAAAAAAAAFAAAAA251bQ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9uBAAAAAJ0eAUAAAAHJG1hdGNoMAQAAAAJd2l0aFdhdmVzAwkBAAAAASEAAAABCQEAAAAJaXNEZWZpbmVkAAAAAQgICAUAAAACdHgAAAAJc2VsbE9yZGVyAAAACWFzc2V0UGFpcgAAAApwcmljZUFzc2V0BgkBAAAAASEAAAABCQEAAAAJaXNEZWZpbmVkAAAAAQgICAUAAAACdHgAAAAJc2VsbE9yZGVyAAAACWFzc2V0UGFpcgAAAAthbW91bnRBc3NldAUAAAAJd2l0aFdhdmVzBwGm5P8=", "height": 1771684, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HXMMnERHDKzLNzT5YuYzs7X3AjRJgQBZHryRy1inSq8U Next: 3qTDxGNR4353dPbNtvyympFAC5woowweXdX9TicqneDH Diff:
Old | New | Differences | |
---|---|---|---|
15 | 15 | ||
16 | 16 | let g = 116 | |
17 | 17 | ||
18 | - | let h = | |
18 | + | let h = 2500 | |
19 | 19 | ||
20 | 20 | let i = 10 | |
21 | 21 | ||
180 | 180 | } | |
181 | 181 | let ai = toBase58String(aa.caller.bytes) | |
182 | 182 | let aj = (100 - ad) | |
183 | - | let ak = fraction(((aj * i) * g), e, 10000) | |
184 | - | let al = fraction(ak, 1000000, h) | |
185 | - | let o = pow(10, 0, al, 4, 11, HALFUP) | |
186 | - | let am = ((ae * al) / 10000) | |
187 | - | if ((am > af.amount)) | |
183 | + | let ak = (((((aj * i) * g) * 100000000) / 100) / h) | |
184 | + | let al = fraction(((aj * i) * g), e, 10000) | |
185 | + | let am = fraction(al, 1000000, h) | |
186 | + | let o = pow(10, 0, am, 4, 11, HALFUP) | |
187 | + | let an = (ae * ak) | |
188 | + | if ((an > af.amount)) | |
188 | 189 | then throw("Payment Amount can't be less than item Purchase Order") | |
189 | - | else if ((af.amount > | |
190 | + | else if ((af.amount > an)) | |
190 | 191 | then throw("Payment Amount can't be higher than item Purchase Order") | |
191 | - | else ScriptResult(WriteSet([DataEntry(r(s), "Conservación Forestal"), DataEntry(w(s), "Reserva Amazónica Achuar-Kapawi"), DataEntry(y(s), "Ecuador"), DataEntry(A(s), "01-EC_ACH-KAPAWI_01PREICO"), DataEntry(C(s), "Comunidad Achuar Kapawi"), DataEntry(E(v), "Fundación Alianza Ecológica 'NASE'"), DataEntry(I(s), "10.00 Euros"), DataEntry("Cantidad de Tokens Bit-CO2 a emitir en Fase I y II Pre-ICO", b), DataEntry(G(s), c), DataEntry(J(s), | |
192 | + | else ScriptResult(WriteSet([DataEntry(r(s), "Conservación Forestal"), DataEntry(w(s), "Reserva Amazónica Achuar-Kapawi"), DataEntry(y(s), "Ecuador"), DataEntry(A(s), "01-EC_ACH-KAPAWI_01PREICO"), DataEntry(C(s), "Comunidad Achuar Kapawi"), DataEntry(E(v), "Fundación Alianza Ecológica 'NASE'"), DataEntry(I(s), "10.00 Euros"), DataEntry("Cantidad de Tokens Bit-CO2 a emitir en Fase I y II Pre-ICO", b), DataEntry(G(s), c), DataEntry(J(s), ak), DataEntry(N(ai, s), (P(ai, s) + 1)), DataEntry(Q(s), ab), DataEntry(S(s), ac), DataEntry(U(s), ad), DataEntry(W(s), ae), DataEntry("Suma invertida, wvs", an), DataEntry("Suma a", am), DataEntry("Suma b", al), DataEntry("Estado de su pedido:", "¡Adquisición Confirmada!"), DataEntry(L(s), (M(s) + ae)), DataEntry("Saldo de Tokens", ((c - M(s)) - ae)), DataEntry(Y(v), (Z(v) + af.amount)), DataEntry("Dirección del proyecto en Waves-BlockChain:", "3N9DpWDvNPnq3wuuyh2cGk9hcKfoke9CCfL")]), TransferSet([ScriptTransfer(addressFromStringValue(ai), ae, a)])) | |
192 | 193 | } | |
193 | 194 | } | |
194 | 195 | ||
195 | 196 | ||
196 | - | @Verifier( | |
197 | - | func | |
198 | - | let n = | |
197 | + | @Verifier(ao) | |
198 | + | func ap () = { | |
199 | + | let n = ao | |
199 | 200 | if ($isInstanceOf(n, "SetScriptTransaction")) | |
200 | 201 | then { | |
201 | - | let | |
202 | - | sigVerify( | |
202 | + | let aq = n | |
203 | + | sigVerify(ao.bodyBytes, ao.proofs[0], j) | |
203 | 204 | } | |
204 | 205 | else if (if ($isInstanceOf(n, "ReissueTransaction")) | |
205 | 206 | then true | |
206 | 207 | else $isInstanceOf(n, "DataTransaction")) | |
207 | 208 | then { | |
208 | - | let | |
209 | + | let ar = n | |
209 | 210 | true | |
210 | 211 | } | |
211 | 212 | else if ($isInstanceOf(n, "TransferTransaction")) | |
212 | 213 | then { | |
213 | - | let | |
214 | + | let ao = n | |
214 | 215 | true | |
215 | 216 | } | |
216 | 217 | else if ($isInstanceOf(n, "ExchangeTransaction")) | |
217 | 218 | then { | |
218 | - | let | |
219 | - | let | |
219 | + | let ao = n | |
220 | + | let as = if (!(isDefined(ao.sellOrder.assetPair.priceAsset))) | |
220 | 221 | then true | |
221 | - | else !(isDefined( | |
222 | - | | |
222 | + | else !(isDefined(ao.sellOrder.assetPair.amountAsset)) | |
223 | + | as | |
223 | 224 | } | |
224 | 225 | else false | |
225 | 226 | } |
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 | 14 | let f = "none" | |
15 | 15 | ||
16 | 16 | let g = 116 | |
17 | 17 | ||
18 | - | let h = | |
18 | + | let h = 2500 | |
19 | 19 | ||
20 | 20 | let i = 10 | |
21 | 21 | ||
22 | 22 | let j = base58'A695BnQcmLqEPwcN5kdhv4bHipgdE4FnM5CBEMtA95Mo' | |
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:" | |
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) = "Tokens ofertados para Usuarios|inversores en Fase I Pre-ICO:" | |
92 | 92 | ||
93 | 93 | ||
94 | 94 | func H (s) = p(G(s)) | |
95 | 95 | ||
96 | 96 | ||
97 | 97 | func I (s) = "Precio Nominal, 1 token Bit-CO2:" | |
98 | 98 | ||
99 | 99 | ||
100 | 100 | func J (s) = "Precio de 1 Bit-CO2 con dscto elejido:" | |
101 | 101 | ||
102 | 102 | ||
103 | 103 | func K (s) = k(J(s)) | |
104 | 104 | ||
105 | 105 | ||
106 | 106 | func L (s) = "Saldo de tokens en oferta con dcto máx. del 6%:" | |
107 | 107 | ||
108 | 108 | ||
109 | 109 | func M (s) = k(L(s)) | |
110 | 110 | ||
111 | 111 | ||
112 | 112 | func N (O,s) = "Order_№:" | |
113 | 113 | ||
114 | 114 | ||
115 | 115 | func P (O,s) = k(N(O, s)) | |
116 | 116 | ||
117 | 117 | ||
118 | 118 | func Q (s) = "Documento Nacional de Identidad, DNI del Usuario:" | |
119 | 119 | ||
120 | 120 | ||
121 | 121 | func R (s) = p(Q(s)) | |
122 | 122 | ||
123 | 123 | ||
124 | 124 | func S (s) = "País de Residencia del Usuario:" | |
125 | 125 | ||
126 | 126 | ||
127 | 127 | func T (s) = p(S(s)) | |
128 | 128 | ||
129 | 129 | ||
130 | 130 | func U (s) = "Descuento a elección voluntaria, máximo 6%:" | |
131 | 131 | ||
132 | 132 | ||
133 | 133 | func V (s) = k(U(s)) | |
134 | 134 | ||
135 | 135 | ||
136 | 136 | func W (s) = "Cantidad de tokens a adquirir:" | |
137 | 137 | ||
138 | 138 | ||
139 | 139 | func X (s) = k(W(s)) | |
140 | 140 | ||
141 | 141 | ||
142 | 142 | func Y (v) = "Ingresos por Venta Directa / BlockChain:" | |
143 | 143 | ||
144 | 144 | ||
145 | 145 | func Z (v) = k(Y(v)) | |
146 | 146 | ||
147 | 147 | ||
148 | 148 | @Callable(aa) | |
149 | 149 | func purchase (s,ab,ac,ad,ae) = { | |
150 | 150 | let af = extract(aa.payment) | |
151 | 151 | if (isDefined(af.assetId)) | |
152 | 152 | then throw("Ud. puede adquirir tokens xBitCO2 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 ag = { | |
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 ah = { | |
173 | 173 | let n = getInteger(this, Y(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 ai = toBase58String(aa.caller.bytes) | |
182 | 182 | let aj = (100 - ad) | |
183 | - | let ak = fraction(((aj * i) * g), e, 10000) | |
184 | - | let al = fraction(ak, 1000000, h) | |
185 | - | let o = pow(10, 0, al, 4, 11, HALFUP) | |
186 | - | let am = ((ae * al) / 10000) | |
187 | - | if ((am > af.amount)) | |
183 | + | let ak = (((((aj * i) * g) * 100000000) / 100) / h) | |
184 | + | let al = fraction(((aj * i) * g), e, 10000) | |
185 | + | let am = fraction(al, 1000000, h) | |
186 | + | let o = pow(10, 0, am, 4, 11, HALFUP) | |
187 | + | let an = (ae * ak) | |
188 | + | if ((an > af.amount)) | |
188 | 189 | then throw("Payment Amount can't be less than item Purchase Order") | |
189 | - | else if ((af.amount > | |
190 | + | else if ((af.amount > an)) | |
190 | 191 | then throw("Payment Amount can't be higher than item Purchase Order") | |
191 | - | else ScriptResult(WriteSet([DataEntry(r(s), "Conservación Forestal"), DataEntry(w(s), "Reserva Amazónica Achuar-Kapawi"), DataEntry(y(s), "Ecuador"), DataEntry(A(s), "01-EC_ACH-KAPAWI_01PREICO"), DataEntry(C(s), "Comunidad Achuar Kapawi"), DataEntry(E(v), "Fundación Alianza Ecológica 'NASE'"), DataEntry(I(s), "10.00 Euros"), DataEntry("Cantidad de Tokens Bit-CO2 a emitir en Fase I y II Pre-ICO", b), DataEntry(G(s), c), DataEntry(J(s), | |
192 | + | else ScriptResult(WriteSet([DataEntry(r(s), "Conservación Forestal"), DataEntry(w(s), "Reserva Amazónica Achuar-Kapawi"), DataEntry(y(s), "Ecuador"), DataEntry(A(s), "01-EC_ACH-KAPAWI_01PREICO"), DataEntry(C(s), "Comunidad Achuar Kapawi"), DataEntry(E(v), "Fundación Alianza Ecológica 'NASE'"), DataEntry(I(s), "10.00 Euros"), DataEntry("Cantidad de Tokens Bit-CO2 a emitir en Fase I y II Pre-ICO", b), DataEntry(G(s), c), DataEntry(J(s), ak), DataEntry(N(ai, s), (P(ai, s) + 1)), DataEntry(Q(s), ab), DataEntry(S(s), ac), DataEntry(U(s), ad), DataEntry(W(s), ae), DataEntry("Suma invertida, wvs", an), DataEntry("Suma a", am), DataEntry("Suma b", al), DataEntry("Estado de su pedido:", "¡Adquisición Confirmada!"), DataEntry(L(s), (M(s) + ae)), DataEntry("Saldo de Tokens", ((c - M(s)) - ae)), DataEntry(Y(v), (Z(v) + af.amount)), DataEntry("Dirección del proyecto en Waves-BlockChain:", "3N9DpWDvNPnq3wuuyh2cGk9hcKfoke9CCfL")]), TransferSet([ScriptTransfer(addressFromStringValue(ai), ae, a)])) | |
192 | 193 | } | |
193 | 194 | } | |
194 | 195 | ||
195 | 196 | ||
196 | - | @Verifier( | |
197 | - | func | |
198 | - | let n = | |
197 | + | @Verifier(ao) | |
198 | + | func ap () = { | |
199 | + | let n = ao | |
199 | 200 | if ($isInstanceOf(n, "SetScriptTransaction")) | |
200 | 201 | then { | |
201 | - | let | |
202 | - | sigVerify( | |
202 | + | let aq = n | |
203 | + | sigVerify(ao.bodyBytes, ao.proofs[0], j) | |
203 | 204 | } | |
204 | 205 | else if (if ($isInstanceOf(n, "ReissueTransaction")) | |
205 | 206 | then true | |
206 | 207 | else $isInstanceOf(n, "DataTransaction")) | |
207 | 208 | then { | |
208 | - | let | |
209 | + | let ar = n | |
209 | 210 | true | |
210 | 211 | } | |
211 | 212 | else if ($isInstanceOf(n, "TransferTransaction")) | |
212 | 213 | then { | |
213 | - | let | |
214 | + | let ao = n | |
214 | 215 | true | |
215 | 216 | } | |
216 | 217 | else if ($isInstanceOf(n, "ExchangeTransaction")) | |
217 | 218 | then { | |
218 | - | let | |
219 | - | let | |
219 | + | let ao = n | |
220 | + | let as = if (!(isDefined(ao.sellOrder.assetPair.priceAsset))) | |
220 | 221 | then true | |
221 | - | else !(isDefined( | |
222 | - | | |
222 | + | else !(isDefined(ao.sellOrder.assetPair.amountAsset)) | |
223 | + | as | |
223 | 224 | } | |
224 | 225 | else false | |
225 | 226 | } | |
226 | 227 |
github/deemru/w8io/026f985 45.81 ms ◑