tx · AQJYmaiJ8DFd9hD7gkyQK4b9oQXLVuefTCB9Bk7hYpRF

3N9DpWDvNPnq3wuuyh2cGk9hcKfoke9CCfL:  -0.01000000 Waves

2021.10.31 20:21 [1770778] smart account 3N9DpWDvNPnq3wuuyh2cGk9hcKfoke9CCfL > SELF 0.00000000 Waves

{ "type": 13, "id": "AQJYmaiJ8DFd9hD7gkyQK4b9oQXLVuefTCB9Bk7hYpRF", "fee": 1000000, "feeAssetId": null, "timestamp": 1635700955914, "version": 2, "chainId": 84, "sender": "3N9DpWDvNPnq3wuuyh2cGk9hcKfoke9CCfL", "senderPublicKey": "A695BnQcmLqEPwcN5kdhv4bHipgdE4FnM5CBEMtA95Mo", "proofs": [ "5ZDzLzFW9GhQvHPNiKjaFpvq4ppvRrCTe2GScYyCSh3c4evH4PJswnaaLGDX1yb8WMwXVyse69u9z4LFiQ2Uv13x" ], "script": "base64:AAIDAAAAAAAAAAsIARIHCgUICAgBAQAAAC0AAAAAB3hCaXRDTzIBAAAAICAEZKaqA3sNb6aq+pclWLOWiXpTDP/vusZoh2yDVNyNAAAAAA1zdGFydFRvdGFsUXR5AAAAAAAABKodAAAAAAxGaXJzdEZhc2VRdHkAAAAAAAAAK7kAAAAADVNlY29uZEZhc2VRdHkAAAAAAAAEMEQAAAAAA3d2cwAAAAAABfXhAAAAAAAETk9ORQIAAAAEbm9uZQAAAAALdG90YWxBbW91bnQAAAAAAAKZwvcAAAAABWV1cm91AAAAAAAAAAB0AAAAAAV1c2RudwAAAAAAAAAJ6wAAAAAFYmNvMmUAAAAAAAAAAAoAAAAAC093bmVyUHViS2V5AQAAACCHCjavfZLifVnrQ+Ec26hgaELdz++KhfvmPcJbb2x8dgEAAAAOZ2V0TnVtYmVyQnlLZXkAAAABAAAAA2tleQQAAAADbnVtBAAAAAckbWF0Y2gwCQAEGgAAAAIFAAAABHRoaXMFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAADSW50BAAAAAFhBQAAAAckbWF0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AAAAnR4BQAAAAckbWF0Y2gwBAAAAAl3aXRoV2F2ZXMDCQEAAAABIQAAAAEJAQAAAAlpc0RlZmluZWQAAAABCAgIBQAAAAJ0eAAAAAlzZWxsT3JkZXIAAAAJYXNzZXRQYWlyAAAACnByaWNlQXNzZXQGCQEAAAABIQAAAAEJAQAAAAlpc0RlZmluZWQAAAABCAgIBQAAAAJ0eAAAAAlzZWxsT3JkZXIAAAAJYXNzZXRQYWlyAAAAC2Ftb3VudEFzc2V0BQAAAAl3aXRoV2F2ZXMHXPHzsA==", "height": 1770778, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 7cQ13Mq2ZBvW8EaqEjpS14BXuvTs3h5nVKHgBg3mtxeP Next: GUPYM7N4YmjykHJ8Rg2NJi6uVgWqdW8SKVveGWkSF2N7 Diff:
OldNewDifferences
182182 }
183183 let aj = toBase58String(ab.caller.bytes)
184184 let ak = (1000 - ae)
185- let al = (((((ak * j) * h) * 1000000000000) / 1000) / i)
186- let am = (((af * 10000) * al) / 10000000)
185+ let al = fraction(((((1000 - ae) * j) * h) * 10000), e, 1000)
186+ let am = fraction(al, 1, i)
187+ let an = ((af * am) * pow(10, 0, 12, 0, 0, HALFUP))
187188 if ((g > ag.amount))
188189 then throw("Payment Amount can't be less than item Purchase Order")
189190 else if ((ag.amount > g))
190191 then throw("Payment Amount can't be higher than item Purchase Order")
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("Prueba currentTokenPrice", 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", g), DataEntry("Suma 2, 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)]))
192+ 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), am), DataEntry("Prueba currentTokenPrice", am), 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", g), DataEntry("Suma 2, wvs", an), 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)]))
192193 }
193194 }
194195
195196
196-@Verifier(an)
197-func ao () = {
198- let o = an
197+@Verifier(ao)
198+func ap () = {
199+ let o = ao
199200 if ($isInstanceOf(o, "SetScriptTransaction"))
200201 then {
201- let ap = o
202- sigVerify(an.bodyBytes, an.proofs[0], k)
202+ let aq = o
203+ sigVerify(ao.bodyBytes, ao.proofs[0], k)
203204 }
204205 else if (if ($isInstanceOf(o, "ReissueTransaction"))
205206 then true
206207 else $isInstanceOf(o, "DataTransaction"))
207208 then {
208- let aq = o
209+ let ar = o
209210 true
210211 }
211212 else if ($isInstanceOf(o, "TransferTransaction"))
212213 then {
213- let an = o
214+ let ao = o
214215 true
215216 }
216217 else if ($isInstanceOf(o, "ExchangeTransaction"))
217218 then {
218- let an = o
219- let ar = if (!(isDefined(an.sellOrder.assetPair.priceAsset)))
219+ let ao = o
220+ let as = if (!(isDefined(ao.sellOrder.assetPair.priceAsset)))
220221 then true
221- else !(isDefined(an.sellOrder.assetPair.amountAsset))
222- ar
222+ else !(isDefined(ao.sellOrder.assetPair.amountAsset))
223+ as
223224 }
224225 else false
225226 }
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 = 11193
99
1010 let d = 274500
1111
1212 let e = 100000000
1313
1414 let f = "none"
1515
1616 let g = 43631351
1717
1818 let h = 116
1919
2020 let i = 2539
2121
2222 let j = 10
2323
2424 let k = base58'A695BnQcmLqEPwcN5kdhv4bHipgdE4FnM5CBEMtA95Mo'
2525
2626 func l (m) = {
2727 let n = {
2828 let o = getInteger(this, m)
2929 if ($isInstanceOf(o, "Int"))
3030 then {
3131 let p = o
3232 p
3333 }
3434 else 0
3535 }
3636 n
3737 }
3838
3939
4040 func q (m) = {
4141 let r = {
4242 let o = getString(this, m)
4343 if ($isInstanceOf(o, "String"))
4444 then {
4545 let p = o
4646 p
4747 }
4848 else f
4949 }
5050 r
5151 }
5252
5353
5454 func s (t) = "Categoría:"
5555
5656
5757 func u (t) = q(s(t))
5858
5959
6060 func v (w) = (w + "Comunidad Achuar Kapawi del Ecuador")
6161
6262
6363 func x (t) = "Nombre del Proyecto:"
6464
6565
6666 func y (t) = q(x(t))
6767
6868
6969 func z (t) = "País | Ubicación:"
7070
7171
7272 func A (t) = q(z(t))
7373
7474
7575 func B (t) = "Código:"
7676
7777
7878 func C (t) = q(B(t))
7979
8080
8181 func D (t) = "Propietario | Beneficiario del Proyecto:"
8282
8383
8484 func E (t) = q(D(t))
8585
8686
8787 func F (w) = "Desarrollador | Responsable Legal:"
8888
8989
9090 func G (w) = q(F(w))
9191
9292
9393 func H (t) = "Tokens ofertados para Usuarios|inversores en Fase I Pre-ICO:"
9494
9595
9696 func I (t) = q(H(t))
9797
9898
9999 func J (t) = "Precio Nominal, 1 token Bit-CO2:"
100100
101101
102102 func K (t) = "Precio de 1 token Bit-CO2 con descuento elejido:"
103103
104104
105105 func L (t) = l(K(t))
106106
107107
108108 func M (t) = "Saldo de tokens en oferta con dcto máx. del 6%:"
109109
110110
111111 func N (t) = l(M(t))
112112
113113
114114 func O (P,t) = "Order_№:"
115115
116116
117117 func Q (P,t) = l(O(P, t))
118118
119119
120120 func R (t) = "Documento Nacional de Identidad, DNI del Usuario:"
121121
122122
123123 func S (t) = q(R(t))
124124
125125
126126 func T (t) = "País de Residencia del Usuario:"
127127
128128
129129 func U (t) = q(T(t))
130130
131131
132132 func V (t) = "Descuento a elección voluntaria, máximo 6%:"
133133
134134
135135 func W (t) = l(V(t))
136136
137137
138138 func X (t) = "Cantidad de tokens a adquirir:"
139139
140140
141141 func Y (t) = l(X(t))
142142
143143
144144 func Z (w) = "Ingresos por Venta Directa / BlockChain:"
145145
146146
147147 func aa (w) = l(Z(w))
148148
149149
150150 @Callable(ab)
151151 func purchase (t,ac,ad,ae,af) = {
152152 let ag = extract(ab.payment)
153153 if (isDefined(ag.assetId))
154154 then throw("Ud. puede adquirir tokens xBitCO2 usando WavesKeeper y su token de pago Waves.")
155155 else {
156156 let w = {
157157 let o = getString(this, v(t))
158158 if ($isInstanceOf(o, "String"))
159159 then {
160160 let p = o
161161 p
162162 }
163163 else f
164164 }
165165 let ah = {
166166 let o = getInteger(this, M(t))
167167 if ($isInstanceOf(o, "Int"))
168168 then {
169169 let p = o
170170 p
171171 }
172172 else 0
173173 }
174174 let ai = {
175175 let o = getInteger(this, Z(w))
176176 if ($isInstanceOf(o, "Int"))
177177 then {
178178 let p = o
179179 p
180180 }
181181 else 0
182182 }
183183 let aj = toBase58String(ab.caller.bytes)
184184 let ak = (1000 - ae)
185- let al = (((((ak * j) * h) * 1000000000000) / 1000) / i)
186- let am = (((af * 10000) * al) / 10000000)
185+ let al = fraction(((((1000 - ae) * j) * h) * 10000), e, 1000)
186+ let am = fraction(al, 1, i)
187+ let an = ((af * am) * pow(10, 0, 12, 0, 0, HALFUP))
187188 if ((g > ag.amount))
188189 then throw("Payment Amount can't be less than item Purchase Order")
189190 else if ((ag.amount > g))
190191 then throw("Payment Amount can't be higher than item Purchase Order")
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("Prueba currentTokenPrice", 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", g), DataEntry("Suma 2, 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)]))
192+ 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), am), DataEntry("Prueba currentTokenPrice", am), 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", g), DataEntry("Suma 2, wvs", an), 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)]))
192193 }
193194 }
194195
195196
196-@Verifier(an)
197-func ao () = {
198- let o = an
197+@Verifier(ao)
198+func ap () = {
199+ let o = ao
199200 if ($isInstanceOf(o, "SetScriptTransaction"))
200201 then {
201- let ap = o
202- sigVerify(an.bodyBytes, an.proofs[0], k)
202+ let aq = o
203+ sigVerify(ao.bodyBytes, ao.proofs[0], k)
203204 }
204205 else if (if ($isInstanceOf(o, "ReissueTransaction"))
205206 then true
206207 else $isInstanceOf(o, "DataTransaction"))
207208 then {
208- let aq = o
209+ let ar = o
209210 true
210211 }
211212 else if ($isInstanceOf(o, "TransferTransaction"))
212213 then {
213- let an = o
214+ let ao = o
214215 true
215216 }
216217 else if ($isInstanceOf(o, "ExchangeTransaction"))
217218 then {
218- let an = o
219- let ar = if (!(isDefined(an.sellOrder.assetPair.priceAsset)))
219+ let ao = o
220+ let as = if (!(isDefined(ao.sellOrder.assetPair.priceAsset)))
220221 then true
221- else !(isDefined(an.sellOrder.assetPair.amountAsset))
222- ar
222+ else !(isDefined(ao.sellOrder.assetPair.amountAsset))
223+ as
223224 }
224225 else false
225226 }
226227

github/deemru/w8io/169f3d6 
65.93 ms