tx · 2L9Yvfhyuxss3yEEn4CMEC1nKzbMhWkPNWBwUW1gMFRb 3N9DpWDvNPnq3wuuyh2cGk9hcKfoke9CCfL: -0.01000000 Waves 2021.10.28 22:19 [1766564] smart account 3N9DpWDvNPnq3wuuyh2cGk9hcKfoke9CCfL > SELF 0.00000000 Waves
{ "type": 13, "id": "2L9Yvfhyuxss3yEEn4CMEC1nKzbMhWkPNWBwUW1gMFRb", "fee": 1000000, "feeAssetId": null, "timestamp": 1635448815104, "version": 2, "chainId": 84, "sender": "3N9DpWDvNPnq3wuuyh2cGk9hcKfoke9CCfL", "senderPublicKey": "A695BnQcmLqEPwcN5kdhv4bHipgdE4FnM5CBEMtA95Mo", "proofs": [ "4qkNJvAZh8AHicsELvNkgr6dGiR4GpkpurAxNT11nUpWPK374etnMKmFhrfPzxVm1rQHt2S7SoY7QNmZMJCtBPaJ" ], "script": "base64:AAIDAAAAAAAAABEIARIECgIICBIHCgUICAgBAQAAADQAAAAAB3hCaXRDTzIBAAAAICAEZKaqA3sNb6aq+pclWLOWiXpTDP/vusZoh2yDVNyNAAAAAAhzdGFydFF0eQAAAAAAAASqHQAAAAAMRmlyc3RGYXNlUXR5AAAAAAAAACu5AAAAAA1TZWNvbmRGYXNlUXR5AAAAAAAABDBEAAAAAAhub21QcmljZQAAAAAAAAAAAQAAAAADd3ZzAAAAAAAF9eEAAAAAABBzdXBwbGllckRpc2NvdW50AAAAAAAAAAAMAAAAAAROT05FAgAAAARub25lAAAAAAtPd25lclB1YktleQEAAAAghwo2r32S4n1Z60PhHNuoYGhC3c/vioX75j3CW29sfHYAAAAABmlzc3VlcgkBAAAAB0FkZHJlc3MAAAABAQAAABoBVEtIFY+5IU8slvHa3AYnimNvIdHW5z2X2gAAAAAEZUFkZAkBAAAAB0FkZHJlc3MAAAABAQAAABoBVEwWqDv2xgQzga5tOuDFjQrGc4MHZcTC8gAAAAAEcEFkZAkBAAAAB0FkZHJlc3MAAAABAQAAABoBVNPFIUJMxXdBxNnhC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9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAAC093bmVyUHViS2V5AwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAASUmVpc3N1ZVRyYW5zYWN0aW9uBgkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAA9EYXRhVHJhbnNhY3Rpb24EAAAAAWQFAAAAByRtYXRjaDAGAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAJ0eAUAAAAHJG1hdGNoMAYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAnR4BQAAAAckbWF0Y2gwBAAAAAl3aXRoV2F2ZXMDCQEAAAABIQAAAAEJAQAAAAlpc0RlZmluZWQAAAABCAgIBQAAAAJ0eAAAAAlzZWxsT3JkZXIAAAAJYXNzZXRQYWlyAAAACnByaWNlQXNzZXQGCQEAAAABIQAAAAEJAQAAAAlpc0RlZmluZWQAAAABCAgIBQAAAAJ0eAAAAAlzZWxsT3JkZXIAAAAJYXNzZXRQYWlyAAAAC2Ftb3VudEFzc2V0BQAAAAl3aXRoV2F2ZXMHsM81kA==", "height": 1766564, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: ceK4SEa6ABcUedxNKJsTDHWuhboD313v3YK5wxmMfMr Next: AXVm3vy3m7wMSLxiZts8qXctKLiYTiFn2NfiVVJQEHeU Diff:
Old | New | Differences | |
---|---|---|---|
5 | 5 | ||
6 | 6 | let b = 305693 | |
7 | 7 | ||
8 | - | let c = | |
8 | + | let c = 11193 | |
9 | 9 | ||
10 | 10 | let d = 274500 | |
11 | 11 | ||
226 | 226 | then throw("Payment Amount can't be less than item Purchase Order") | |
227 | 227 | else if ((al.amount > aw)) | |
228 | 228 | then throw("Payment Amount can't be higher than item Purchase Order") | |
229 | - | else ScriptResult(WriteSet([DataEntry(z(A), "Conservación Forestal | |
229 | + | else ScriptResult(WriteSet([DataEntry(z(A), "Conservación Forestal"), DataEntry(E(A), "Reserva Amazónica Achuar-Kapawi"), DataEntry(G(A), "Ecuador"), DataEntry(I(A), "01-EC_ACH-KAPAWI_01PREICO"), DataEntry(K(A), "Comunidad Achuar Kapawi"), DataEntry(M(D), "Fundación Alianza Ecológica 'NASE'"), DataEntry(Q(A), "10.00 Euros"), DataEntry("Cantidad de Tokens Bit-CO2 a Emitir, I y II Fase Pre-ICO", b), DataEntry(O(A), c), DataEntry(R(A), av), DataEntry(V(au, A), (X(au, A) + 1)), DataEntry(Y(A), ao), DataEntry(aa(A), ap), DataEntry(ac(A), aq), DataEntry(ae(A), ar), DataEntry("purchaseOrder/Status:", "¡Adquisición Confirmada!"), DataEntry(T(A), ((U(A) + as) - ar)), DataEntry(ag(D), (ah(D) + al.amount)), DataEntry("Dirección del Proyecto en Waves-BlockChain:", "3N9DpWDvNPnq3wuuyh2cGk9hcKfoke9CCfL")]), TransferSet([ScriptTransfer(addressFromStringValue(au), ar, a)])) | |
230 | 230 | } | |
231 | 231 | } | |
232 | 232 |
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 | - | let c = | |
8 | + | let c = 11193 | |
9 | 9 | ||
10 | 10 | let d = 274500 | |
11 | 11 | ||
12 | 12 | let e = 1 | |
13 | 13 | ||
14 | 14 | let f = 100000000 | |
15 | 15 | ||
16 | 16 | let g = 12 | |
17 | 17 | ||
18 | 18 | let h = "none" | |
19 | 19 | ||
20 | 20 | let i = base58'A695BnQcmLqEPwcN5kdhv4bHipgdE4FnM5CBEMtA95Mo' | |
21 | 21 | ||
22 | 22 | let j = Address(base58'3Mvn8oonnpiasA3bkq36N9qeqqXWfFW437o') | |
23 | 23 | ||
24 | 24 | let k = Address(base58'3MvrQGkHQtyLTC2QXgPnQ6oCEWhHyUJpU4q') | |
25 | 25 | ||
26 | 26 | let l = Address(base58'3N9DpWDvNPnq3wuuyh2cGk9hcKfoke9CCfL') | |
27 | 27 | ||
28 | 28 | let m = 18 | |
29 | 29 | ||
30 | 30 | let n = 88 | |
31 | 31 | ||
32 | 32 | let o = 5 | |
33 | 33 | ||
34 | 34 | let p = 10 | |
35 | 35 | ||
36 | 36 | let q = 1 | |
37 | 37 | ||
38 | 38 | let r = 1 | |
39 | 39 | ||
40 | 40 | func s (t) = { | |
41 | 41 | let u = { | |
42 | 42 | let v = getInteger(this, t) | |
43 | 43 | if ($isInstanceOf(v, "Int")) | |
44 | 44 | then { | |
45 | 45 | let w = v | |
46 | 46 | w | |
47 | 47 | } | |
48 | 48 | else 0 | |
49 | 49 | } | |
50 | 50 | u | |
51 | 51 | } | |
52 | 52 | ||
53 | 53 | ||
54 | 54 | func x (t) = { | |
55 | 55 | let y = { | |
56 | 56 | let v = getString(this, t) | |
57 | 57 | if ($isInstanceOf(v, "String")) | |
58 | 58 | then { | |
59 | 59 | let w = v | |
60 | 60 | w | |
61 | 61 | } | |
62 | 62 | else h | |
63 | 63 | } | |
64 | 64 | y | |
65 | 65 | } | |
66 | 66 | ||
67 | 67 | ||
68 | 68 | func z (A) = "Categoría:" | |
69 | 69 | ||
70 | 70 | ||
71 | 71 | func B (A) = x(z(A)) | |
72 | 72 | ||
73 | 73 | ||
74 | 74 | func C (D) = (D + "Comunidad Achuar Kapawi del Ecuador") | |
75 | 75 | ||
76 | 76 | ||
77 | 77 | func E (A) = "Nombre del Proyecto:" | |
78 | 78 | ||
79 | 79 | ||
80 | 80 | func F (A) = x(E(A)) | |
81 | 81 | ||
82 | 82 | ||
83 | 83 | func G (A) = "País | Ubicación:" | |
84 | 84 | ||
85 | 85 | ||
86 | 86 | func H (A) = x(G(A)) | |
87 | 87 | ||
88 | 88 | ||
89 | 89 | func I (A) = "Código:" | |
90 | 90 | ||
91 | 91 | ||
92 | 92 | func J (A) = x(I(A)) | |
93 | 93 | ||
94 | 94 | ||
95 | 95 | func K (A) = "Propietario | Beneficiario del Proyecto:" | |
96 | 96 | ||
97 | 97 | ||
98 | 98 | func L (A) = x(K(A)) | |
99 | 99 | ||
100 | 100 | ||
101 | 101 | func M (D) = "Desarrollador | Responsable Legal:" | |
102 | 102 | ||
103 | 103 | ||
104 | 104 | func N (D) = x(M(D)) | |
105 | 105 | ||
106 | 106 | ||
107 | 107 | func O (A) = "Tokens ofertados al 6% en la I Fase Pre-ICO:" | |
108 | 108 | ||
109 | 109 | ||
110 | 110 | func P (A) = x(O(A)) | |
111 | 111 | ||
112 | 112 | ||
113 | 113 | func Q (A) = "Precio Nominal, 1 token Bit-CO2:" | |
114 | 114 | ||
115 | 115 | ||
116 | 116 | func R (A) = "Precio de 1 token Bit-CO2 con el 6% de descuento" | |
117 | 117 | ||
118 | 118 | ||
119 | 119 | func S (A) = s(R(A)) | |
120 | 120 | ||
121 | 121 | ||
122 | 122 | func T (A) = "Saldo de tokens al 6% en oferta, actual:" | |
123 | 123 | ||
124 | 124 | ||
125 | 125 | func U (A) = s(T(A)) | |
126 | 126 | ||
127 | 127 | ||
128 | 128 | func V (W,A) = "Order_№:" | |
129 | 129 | ||
130 | 130 | ||
131 | 131 | func X (W,A) = s(V(W, A)) | |
132 | 132 | ||
133 | 133 | ||
134 | 134 | func Y (A) = "№ de Documento Nacional de Identidad / DNI del Usuario:" | |
135 | 135 | ||
136 | 136 | ||
137 | 137 | func Z (A) = x(Y(A)) | |
138 | 138 | ||
139 | 139 | ||
140 | 140 | func aa (A) = "País de Residencia del Usuario:" | |
141 | 141 | ||
142 | 142 | ||
143 | 143 | func ab (A) = x(aa(A)) | |
144 | 144 | ||
145 | 145 | ||
146 | 146 | func ac (A) = "Descuento para el Usuario, 6%:" | |
147 | 147 | ||
148 | 148 | ||
149 | 149 | func ad (A) = s(ac(A)) | |
150 | 150 | ||
151 | 151 | ||
152 | 152 | func ae (A) = "Orden de Compra, cantidad solicitada:" | |
153 | 153 | ||
154 | 154 | ||
155 | 155 | func af (A) = s(ae(A)) | |
156 | 156 | ||
157 | 157 | ||
158 | 158 | func ag (D) = "Ingresos por Venta Directa / BlockChain:" | |
159 | 159 | ||
160 | 160 | ||
161 | 161 | func ah (D) = s(ag(D)) | |
162 | 162 | ||
163 | 163 | ||
164 | 164 | @Callable(ai) | |
165 | 165 | func deposit (aj,ak) = { | |
166 | 166 | let al = extract(ai.payment) | |
167 | 167 | if ((al.assetId != a)) | |
168 | 168 | then throw("deposito permitido solo en xBitCO2 tokens") | |
169 | 169 | else { | |
170 | 170 | let D = toBase58String(ai.caller.bytes) | |
171 | 171 | let am = { | |
172 | 172 | let v = getInteger(this, D) | |
173 | 173 | if ($isInstanceOf(v, "Int")) | |
174 | 174 | then { | |
175 | 175 | let w = v | |
176 | 176 | w | |
177 | 177 | } | |
178 | 178 | else b | |
179 | 179 | } | |
180 | 180 | let an = (am + al.amount) | |
181 | 181 | if ((0 >= an)) | |
182 | 182 | then throw("No hay xBitCO2 en su balance") | |
183 | 183 | else WriteSet([DataEntry(D, an)]) | |
184 | 184 | } | |
185 | 185 | } | |
186 | 186 | ||
187 | 187 | ||
188 | 188 | ||
189 | 189 | @Callable(ai) | |
190 | 190 | func purchase (A,ao,ap,aq,ar) = { | |
191 | 191 | let al = extract(ai.payment) | |
192 | 192 | if (isDefined(al.assetId)) | |
193 | 193 | then throw("En la presente Plastaforma Ud. puede adquirir sus tokens xBitCO2 usando WavesKeeper y su token de pago Waves.") | |
194 | 194 | else { | |
195 | 195 | let D = { | |
196 | 196 | let v = getString(this, C(A)) | |
197 | 197 | if ($isInstanceOf(v, "String")) | |
198 | 198 | then { | |
199 | 199 | let w = v | |
200 | 200 | w | |
201 | 201 | } | |
202 | 202 | else h | |
203 | 203 | } | |
204 | 204 | let as = { | |
205 | 205 | let v = getInteger(this, T(A)) | |
206 | 206 | if ($isInstanceOf(v, "Int")) | |
207 | 207 | then { | |
208 | 208 | let w = v | |
209 | 209 | w | |
210 | 210 | } | |
211 | 211 | else b | |
212 | 212 | } | |
213 | 213 | let at = { | |
214 | 214 | let v = getInteger(this, ag(D)) | |
215 | 215 | if ($isInstanceOf(v, "Int")) | |
216 | 216 | then { | |
217 | 217 | let w = v | |
218 | 218 | w | |
219 | 219 | } | |
220 | 220 | else 0 | |
221 | 221 | } | |
222 | 222 | let au = toBase58String(ai.caller.bytes) | |
223 | 223 | let av = ((((100 - aq) * e) * f) / 100) | |
224 | 224 | let aw = (ar * av) | |
225 | 225 | if ((aw > al.amount)) | |
226 | 226 | then throw("Payment Amount can't be less than item Purchase Order") | |
227 | 227 | else if ((al.amount > aw)) | |
228 | 228 | then throw("Payment Amount can't be higher than item Purchase Order") | |
229 | - | else ScriptResult(WriteSet([DataEntry(z(A), "Conservación Forestal | |
229 | + | else ScriptResult(WriteSet([DataEntry(z(A), "Conservación Forestal"), DataEntry(E(A), "Reserva Amazónica Achuar-Kapawi"), DataEntry(G(A), "Ecuador"), DataEntry(I(A), "01-EC_ACH-KAPAWI_01PREICO"), DataEntry(K(A), "Comunidad Achuar Kapawi"), DataEntry(M(D), "Fundación Alianza Ecológica 'NASE'"), DataEntry(Q(A), "10.00 Euros"), DataEntry("Cantidad de Tokens Bit-CO2 a Emitir, I y II Fase Pre-ICO", b), DataEntry(O(A), c), DataEntry(R(A), av), DataEntry(V(au, A), (X(au, A) + 1)), DataEntry(Y(A), ao), DataEntry(aa(A), ap), DataEntry(ac(A), aq), DataEntry(ae(A), ar), DataEntry("purchaseOrder/Status:", "¡Adquisición Confirmada!"), DataEntry(T(A), ((U(A) + as) - ar)), DataEntry(ag(D), (ah(D) + al.amount)), DataEntry("Dirección del Proyecto en Waves-BlockChain:", "3N9DpWDvNPnq3wuuyh2cGk9hcKfoke9CCfL")]), TransferSet([ScriptTransfer(addressFromStringValue(au), ar, a)])) | |
230 | 230 | } | |
231 | 231 | } | |
232 | 232 | ||
233 | 233 | ||
234 | 234 | @Verifier(ax) | |
235 | 235 | func ay () = { | |
236 | 236 | let v = ax | |
237 | 237 | if ($isInstanceOf(v, "SetScriptTransaction")) | |
238 | 238 | then { | |
239 | 239 | let az = v | |
240 | 240 | sigVerify(ax.bodyBytes, ax.proofs[0], i) | |
241 | 241 | } | |
242 | 242 | else if (if ($isInstanceOf(v, "ReissueTransaction")) | |
243 | 243 | then true | |
244 | 244 | else $isInstanceOf(v, "DataTransaction")) | |
245 | 245 | then { | |
246 | 246 | let aA = v | |
247 | 247 | true | |
248 | 248 | } | |
249 | 249 | else if ($isInstanceOf(v, "TransferTransaction")) | |
250 | 250 | then { | |
251 | 251 | let ax = v | |
252 | 252 | true | |
253 | 253 | } | |
254 | 254 | else if ($isInstanceOf(v, "ExchangeTransaction")) | |
255 | 255 | then { | |
256 | 256 | let ax = v | |
257 | 257 | let aB = if (!(isDefined(ax.sellOrder.assetPair.priceAsset))) | |
258 | 258 | then true | |
259 | 259 | else !(isDefined(ax.sellOrder.assetPair.amountAsset)) | |
260 | 260 | aB | |
261 | 261 | } | |
262 | 262 | else false | |
263 | 263 | } | |
264 | 264 |
github/deemru/w8io/169f3d6 43.62 ms ◑