tx · 66heNHp224G1gGhYGSfBh1uEpoxsG5mRat8XxHxLFD36

3N435b56ZjhKuX4ParKVEfv2YCNNZBrh4g6:  -0.00900000 Waves

2022.07.12 10:45 [2136235] smart account 3N435b56ZjhKuX4ParKVEfv2YCNNZBrh4g6 > SELF 0.00000000 Waves

{ "type": 13, "id": "66heNHp224G1gGhYGSfBh1uEpoxsG5mRat8XxHxLFD36", "fee": 900000, "feeAssetId": null, "timestamp": 1657612010816, "version": 2, "chainId": 84, "sender": "3N435b56ZjhKuX4ParKVEfv2YCNNZBrh4g6", "senderPublicKey": "6dFJuNWW7URCn8EPKVhjucMZYeWccx9BZJ2HTCZLkENw", "proofs": [ "364MHeonqHvrcUB1LWgT8VJcszoNZU2aqZ36Xxkt9e2cZ6sUZFa1bv7oZ96sbj4zAyKwomUunH2irUexAWPsFXcJ" ], "script": "base64:AAIDAAAAAAAAAAwIARIICgYICAgBAQEAAAAwAAAAAAZCaXRDTzIBAAAAIMUi0QAOPWzHrrHgLgYvt6byvqBTCBHKATKU5thr4LIYAAAAAA1zdGFydFRvdGFsUXR5AAAAAAAABKodAAAAAAxGaXJzdEZhc2VRdHkAAAAAAAAAedkAAAAADVNlY29uZEZhc2VRdHkAAAAAAAAEMEQAAAAAA3d2cwAAAAAABfXhAAAAAAAETk9ORQIAAAAEbm9uZQAAAAAFZXVyb3UAAAAAAAAAAGYAAAAABXVzZG53AAAAAAAAAAIjAAAAAAViY28yZQAAAAAAAAAACgAAAAALT3duZXJQdWJLZXkBAAAAIFOThcq+d+G19BoRzRfWbYb5NaT1Wk7n3nmVVmiZYoR0AAAAABpyY3B0TjA4RUNzeXNBZG1BY2hLYXBhd0IxMAkBAAAAB0FkZHJlc3MAAAABAQAAABoBVM3C0La6yM5FJupkd23d/yNjpZqjQhRHkQAAAAAORTJFMDhBZG1Bc29jMTECAAAAIzNOOGczZ0ZRdkptSENKelVjUWIyNnBiRk5tRGZhWnVYVlZTAAAAAA1Bc29jUHJlc3RlYzAxAgAAAC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QXNvYzExIGVuIFdhdmVzLUJsb2NrQ2hhaW46AgAAACMzTjQzNWI1NlpqaEt1WDRQYXJLVkVmdjJZQ05OWkJyaDRnNgUAAAADbmlsCQEAAAALVHJhbnNmZXJTZXQAAAABCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMJAQAAABxAZXh0clVzZXIoYWRkcmVzc0Zyb21TdHJpbmcpAAAAAQUAAAALdXNlckFkZHJlc3MJAABoAAAAAgAAAAAAAAAnEAUAAAAIb3JkZXJRdHkFAAAABkJpdENPMgUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAFFNldFNjcmlwdFRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAALT3duZXJQdWJLZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0RhdGFUcmFuc2FjdGlvbgQAAAABZAUAAAAHJG1hdGNoMAYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAnR4BQAAAAckbWF0Y2gwBgcKWiB9", "height": 2136235, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: FCJuEpWt7CotTp3FduME4o3t7wVRFFefQ9pf4LtUk5y8 Next: D8ZWkkoxL14N57metxowGhiB1r6E5q373ywV7CfYPq6B Diff:
OldNewDifferences
9393 func getKeyNomTokenPrice (item) = "Precio Nominal, 1 Bit-CO2:"
9494
9595
96-func getKeyDescuento6TokPrice (item) = "Precio de 1 Bit-CO2 con dscto elejido, wvs"
96+func getKeyDescuento6TokPrice (item) = "Precio de 1 Bit-CO2 con dscto elegido, wvs"
9797
9898
9999 func getValueDescuento6TokPrice (item) = getNumberByKey(getKeyDescuento6TokPrice(item))
190190 then throw("Payment Amount can't be less than item Purchase Order")
191191 else if ((pmt.amount > totalAmount))
192192 then throw("Payment Amount can't be higher than item Purchase Order")
193- else ScriptResult(WriteSet([DataEntry(getKeyProjectCategory(item), "Conservación Forestal"), DataEntry(getKeyProjectName(item), "Reserva Amazónica Achuar-Kapawi"), DataEntry(getKeyProjectCountry(item), "Ecuador"), DataEntry(getKeyProjectCode(item), "N08EC-01_ACH-KAPAWI_PREICOF1"), DataEntry(getKeyProjectPropietary(item), "Comunidad Achuar Kapawi"), DataEntry(getKeyProjectDev(supplier), "Fundación Alianza Ecológica NASEE 'FAEN'"), DataEntry(getKeyNomTokenPrice(item), "10.00 Euros"), DataEntry("Bit-CO2 emitidos en F1/F2 PreICO, total", startTotalQty), DataEntry("Bit-CO2 en oferta para la F1 PreICO, total", FirstFaseQty), DataEntry("Bit-CO2 en oferta para Asociados, 90% F1", f1PjDirecAsocB9X10), DataEntry("Bit-CO2 para Apoyo Administrativo, 10% F1 ", f1PjStartAdmFondsB1X10), DataEntry("Dirección de la Cta. de Apoyo Administrativo", "3N8g3gFQvJmHCJzUcQb26pbFNmDfaZuXVVS"), DataEntry("Apoyo para el Desarrollador-Proyecto, tokens", pjStartAdmB8), DataEntry("Apoyo para el IT system del Nodo-Proyecto, tokens", pjStartSysB2), DataEntry("Oferta de tokens utilizada", "Programa-Asoc11 | Programa-GTS | Otros"), DataEntry("Descuento máximo ofrecido", " Según Programa"), DataEntry(getKeyUserItemCounter(userAddress, item), (getValueUserItemCounter(userAddress, item) + 1)), DataEntry(getKeyUserDocument(item), userDocument), DataEntry(getKeyUserCountry(item), userCountry), DataEntry(getKeyDiscount6User(item), userDiscount), DataEntry(getKeyDescuento6TokPrice(item), currentTokenPrice), DataEntry("Estado de su pedido, tokens", "¡Adquisición Confirmada!"), DataEntry(getKeyItemUserOrderQty(item), orderQty), DataEntry("Suma transmitida a la PreICO, wvs:", totalAmount), DataEntry(getKeySaldoTokenQtyStartEtapa(item), (getValueSaldoTokenQtyStartEtapa(item) + orderQty)), DataEntry("Saldo de Tokens Bit-CO2 en oferta, F1 PreICO:", ((FirstFaseQty - getValueSaldoTokenQtyStartEtapa(item)) - orderQty)), DataEntry("Saldo de Tokens Bit-CO2, PreICO Achuar-Kapawi:", ((startTotalQty - getValueSaldoTokenQtyStartEtapa(item)) - orderQty)), DataEntry(getKeyBalanceSupplier(supplier), (getValueBalanceSupplier(supplier) + pmt.amount)), DataEntry("Dirección del Progr-Asoc11 en Waves-BlockChain:", "3N435b56ZjhKuX4ParKVEfv2YCNNZBrh4g6")]), TransferSet([ScriptTransfer(addressFromStringValue(userAddress), (10000 * orderQty), BitCO2)]))
193+ else ScriptResult(WriteSet([DataEntry(getKeyProjectCategory(item), "Conservación Forestal"), DataEntry(getKeyProjectName(item), "Reserva Amazónica Achuar-Kapawi"), DataEntry(getKeyProjectCountry(item), "Ecuador"), DataEntry(getKeyProjectCode(item), "N08EC-01_ACH-KAPAWI_PREICOF1"), DataEntry(getKeyProjectPropietary(item), "Comunidad Achuar Kapawi"), DataEntry(getKeyProjectDev(supplier), "Fundación Alianza Ecológica NASEE 'FAEN'"), DataEntry(getKeyNomTokenPrice(item), "10.00 Euros"), DataEntry("Bit-CO2 emitidos en F1/F2 PreICO, total", startTotalQty), DataEntry("Bit-CO2 en oferta para la F1 PreICO, total", FirstFaseQty), DataEntry("Bit-CO2 en oferta para Asociados, 90% F1", f1PjDirecAsocB9X10), DataEntry("Bit-CO2 para Apoyo Administrativo, 10% F1 ", f1PjStartAdmFondsB1X10), DataEntry("Dirección de la Cta. de Apoyo Administrativo", "3N8g3gFQvJmHCJzUcQb26pbFNmDfaZuXVVS"), DataEntry("Apoyo para el Desarrollador-Proyecto, tokens", pjStartAdmB8), DataEntry("Apoyo para el IT System del Proyecto, tokens", pjStartSysB2), DataEntry("Oferta de tokens utilizada", "Programa-Asoc11 | Programa-GTS | Otros"), DataEntry("Descuento máximo ofrecido", " Según Programa"), DataEntry(getKeyUserItemCounter(userAddress, item), (getValueUserItemCounter(userAddress, item) + 1)), DataEntry(getKeyUserDocument(item), userDocument), DataEntry(getKeyUserCountry(item), userCountry), DataEntry(getKeyDiscount6User(item), userDiscount), DataEntry(getKeyDescuento6TokPrice(item), currentTokenPrice), DataEntry("Estado de su pedido, tokens", "¡Adquisición Confirmada!"), DataEntry(getKeyItemUserOrderQty(item), orderQty), DataEntry("Suma transmitida a la PreICO, wvs:", totalAmount), DataEntry(getKeySaldoTokenQtyStartEtapa(item), (getValueSaldoTokenQtyStartEtapa(item) + orderQty)), DataEntry("Saldo de Tokens Bit-CO2 en oferta, F1 PreICO:", ((FirstFaseQty - getValueSaldoTokenQtyStartEtapa(item)) - orderQty)), DataEntry("Saldo de Tokens Bit-CO2, PreICO Achuar-Kapawi:", ((startTotalQty - getValueSaldoTokenQtyStartEtapa(item)) - orderQty)), DataEntry(getKeyBalanceSupplier(supplier), (getValueBalanceSupplier(supplier) + pmt.amount)), DataEntry("Dirección del Progr-Asoc11 en Waves-BlockChain:", "3N435b56ZjhKuX4ParKVEfv2YCNNZBrh4g6")]), TransferSet([ScriptTransfer(addressFromStringValue(userAddress), (10000 * orderQty), BitCO2)]))
194194 }
195195 }
196196 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let BitCO2 = base58'EGY7HCyeHiHiCiiYpqH1Dmd5E6nzbwrgsdX3FHx5kFWw'
55
66 let startTotalQty = 305693
77
88 let FirstFaseQty = 31193
99
1010 let SecondFaseQty = 274500
1111
1212 let wvs = 100000000
1313
1414 let NONE = "none"
1515
1616 let eurou = 102
1717
1818 let usdnw = 547
1919
2020 let bco2e = 10
2121
2222 let OwnerPubKey = base58'6dFJuNWW7URCn8EPKVhjucMZYeWccx9BZJ2HTCZLkENw'
2323
2424 let rcptN08ECsysAdmAchKapawB10 = Address(base58'3N8g3gFQvJmHCJzUcQb26pbFNmDfaZuXVVS')
2525
2626 let E2E08AdmAsoc11 = "3N8g3gFQvJmHCJzUcQb26pbFNmDfaZuXVVS"
2727
2828 let AsocPrestec01 = "3N86D2E7pSFD7fJBB1qkcGM8SoR6rZpFw9o"
2929
3030 let AsocPrestec02 = "3N2jHtgSVCtW6jddmQuerN7NSnXjR3KcEfg"
3131
3232 func getNumberByKey (key) = {
3333 let num = match getInteger(this, key) {
3434 case a: Int =>
3535 a
3636 case _ =>
3737 0
3838 }
3939 num
4040 }
4141
4242
4343 func getStrByKey (key) = {
4444 let str = match getString(this, key) {
4545 case a: String =>
4646 a
4747 case _ =>
4848 NONE
4949 }
5050 str
5151 }
5252
5353
5454 func getKeyProjectCategory (item) = "Categoría del Proyecto:"
5555
5656
5757 func getValueProjectCategory (item) = getStrByKey(getKeyProjectCategory(item))
5858
5959
6060 func getKeyItemSupplier (supplier) = (supplier + "Comunidad Achuar Kapawi del Ecuador")
6161
6262
6363 func getKeyProjectName (item) = "Nombre del Proyecto:"
6464
6565
6666 func getValueProjectName (item) = getStrByKey(getKeyProjectName(item))
6767
6868
6969 func getKeyProjectCountry (item) = "País | Ubicación:"
7070
7171
7272 func getValueProjectCountry (item) = getStrByKey(getKeyProjectCountry(item))
7373
7474
7575 func getKeyProjectCode (item) = "Código:"
7676
7777
7878 func getValueProjectCode (item) = getStrByKey(getKeyProjectCode(item))
7979
8080
8181 func getKeyProjectPropietary (item) = "Propietario | Beneficiario del Proyecto:"
8282
8383
8484 func getValueProjectPropietary (item) = getStrByKey(getKeyProjectPropietary(item))
8585
8686
8787 func getKeyProjectDev (supplier) = "Desarrollador | Responsable Legal:"
8888
8989
9090 func getValueProjectDev (supplier) = getStrByKey(getKeyProjectDev(supplier))
9191
9292
9393 func getKeyNomTokenPrice (item) = "Precio Nominal, 1 Bit-CO2:"
9494
9595
96-func getKeyDescuento6TokPrice (item) = "Precio de 1 Bit-CO2 con dscto elejido, wvs"
96+func getKeyDescuento6TokPrice (item) = "Precio de 1 Bit-CO2 con dscto elegido, wvs"
9797
9898
9999 func getValueDescuento6TokPrice (item) = getNumberByKey(getKeyDescuento6TokPrice(item))
100100
101101
102102 func getKeyFirstFaseQty (item) = "Cantidad de Tokens Ofertados en la F1 PreICO:"
103103
104104
105105 func getValueFirstFaseQty (item) = getStrByKey(getKeyFirstFaseQty(item))
106106
107107
108108 func getKeySaldoTokenQtyStartEtapa (item) = "Total de Tokens Realizados, PreICO"
109109
110110
111111 func getValueSaldoTokenQtyStartEtapa (item) = getNumberByKey(getKeySaldoTokenQtyStartEtapa(item))
112112
113113
114114 func getKeyBalanceSupplier (supplier) = "Fondos para Proyectos Verdes Naturales, Asociados Bit-CO2:"
115115
116116
117117 func getValueBalanceSupplier (supplier) = getNumberByKey(getKeyBalanceSupplier(supplier))
118118
119119
120120 func getKeyUserItemCounter (user,item) = "Order_№:"
121121
122122
123123 func getValueUserItemCounter (user,item) = getNumberByKey(getKeyUserItemCounter(user, item))
124124
125125
126126 func getKeyUserDocument (item) = "Documento Nacional de Identidad, DNI del Usuario:"
127127
128128
129129 func getValueUserDocument (item) = getStrByKey(getKeyUserDocument(item))
130130
131131
132132 func getKeyUserCountry (item) = "País de Residencia del Usuario:"
133133
134134
135135 func getValueUserCountry (item) = getStrByKey(getKeyUserCountry(item))
136136
137137
138138 func getKeyDiscount6User (item) = "Porcentaje de descuento elejido, %:"
139139
140140
141141 func getValueDiscount6User (item) = getNumberByKey(getKeyDiscount6User(item))
142142
143143
144144 func getKeyItemUserOrderQty (item) = "Cantidad de tokens adquiridos:"
145145
146146
147147 func getValueItemUserOrderQty (item) = getNumberByKey(getKeyItemUserOrderQty(item))
148148
149149
150150 @Callable(i)
151151 func purchase (item,userDocument,userCountry,userDiscount,orderQty,totalAmount) = {
152152 let pmt = extract(i.payment)
153153 if (isDefined(pmt.assetId))
154154 then throw("Ud. puede adquirir tokens BitCO2 usando WavesKeeper y su token de pago Waves.")
155155 else {
156156 let supplier = match getString(this, getKeyItemSupplier(item)) {
157157 case a: String =>
158158 a
159159 case _ =>
160160 NONE
161161 }
162162 let preIcoQty = match getInteger(this, getKeySaldoTokenQtyStartEtapa(item)) {
163163 case a: Int =>
164164 a
165165 case _ =>
166166 0
167167 }
168168 let balanceSupplier = match getInteger(this, getKeyBalanceSupplier(supplier)) {
169169 case a: Int =>
170170 a
171171 case _ =>
172172 0
173173 }
174174 let userAddress = toBase58String(i.caller.bytes)
175175 if (if (if ((userAddress != E2E08AdmAsoc11))
176176 then (userAddress != AsocPrestec01)
177177 else false)
178178 then (userAddress != AsocPrestec02)
179179 else false)
180180 then throw("Disculpe, Su cuenta no tiene derecho de Asociado Bit-CO2 a Proyectos")
181181 else {
182182 let currentTokenPrice = ((((((100 - userDiscount) * bco2e) * eurou) * wvs) / 100) / usdnw)
183183 let f1PjDirecAsocB9X10 = ((9 * FirstFaseQty) / 10)
184184 let f1PjStartAdmFondsB1X10 = ((1 * FirstFaseQty) / 10)
185185 let pjStartAdmB8 = ((8 * f1PjStartAdmFondsB1X10) / 10)
186186 let pjStartSysB2 = ((2 * f1PjStartAdmFondsB1X10) / 10)
187187 if ((0 >= ((startTotalQty - preIcoQty) - orderQty)))
188188 then throw("Lo sentimos, por ahora no hay oferta de tokens para su transacción")
189189 else if ((totalAmount > pmt.amount))
190190 then throw("Payment Amount can't be less than item Purchase Order")
191191 else if ((pmt.amount > totalAmount))
192192 then throw("Payment Amount can't be higher than item Purchase Order")
193- else ScriptResult(WriteSet([DataEntry(getKeyProjectCategory(item), "Conservación Forestal"), DataEntry(getKeyProjectName(item), "Reserva Amazónica Achuar-Kapawi"), DataEntry(getKeyProjectCountry(item), "Ecuador"), DataEntry(getKeyProjectCode(item), "N08EC-01_ACH-KAPAWI_PREICOF1"), DataEntry(getKeyProjectPropietary(item), "Comunidad Achuar Kapawi"), DataEntry(getKeyProjectDev(supplier), "Fundación Alianza Ecológica NASEE 'FAEN'"), DataEntry(getKeyNomTokenPrice(item), "10.00 Euros"), DataEntry("Bit-CO2 emitidos en F1/F2 PreICO, total", startTotalQty), DataEntry("Bit-CO2 en oferta para la F1 PreICO, total", FirstFaseQty), DataEntry("Bit-CO2 en oferta para Asociados, 90% F1", f1PjDirecAsocB9X10), DataEntry("Bit-CO2 para Apoyo Administrativo, 10% F1 ", f1PjStartAdmFondsB1X10), DataEntry("Dirección de la Cta. de Apoyo Administrativo", "3N8g3gFQvJmHCJzUcQb26pbFNmDfaZuXVVS"), DataEntry("Apoyo para el Desarrollador-Proyecto, tokens", pjStartAdmB8), DataEntry("Apoyo para el IT system del Nodo-Proyecto, tokens", pjStartSysB2), DataEntry("Oferta de tokens utilizada", "Programa-Asoc11 | Programa-GTS | Otros"), DataEntry("Descuento máximo ofrecido", " Según Programa"), DataEntry(getKeyUserItemCounter(userAddress, item), (getValueUserItemCounter(userAddress, item) + 1)), DataEntry(getKeyUserDocument(item), userDocument), DataEntry(getKeyUserCountry(item), userCountry), DataEntry(getKeyDiscount6User(item), userDiscount), DataEntry(getKeyDescuento6TokPrice(item), currentTokenPrice), DataEntry("Estado de su pedido, tokens", "¡Adquisición Confirmada!"), DataEntry(getKeyItemUserOrderQty(item), orderQty), DataEntry("Suma transmitida a la PreICO, wvs:", totalAmount), DataEntry(getKeySaldoTokenQtyStartEtapa(item), (getValueSaldoTokenQtyStartEtapa(item) + orderQty)), DataEntry("Saldo de Tokens Bit-CO2 en oferta, F1 PreICO:", ((FirstFaseQty - getValueSaldoTokenQtyStartEtapa(item)) - orderQty)), DataEntry("Saldo de Tokens Bit-CO2, PreICO Achuar-Kapawi:", ((startTotalQty - getValueSaldoTokenQtyStartEtapa(item)) - orderQty)), DataEntry(getKeyBalanceSupplier(supplier), (getValueBalanceSupplier(supplier) + pmt.amount)), DataEntry("Dirección del Progr-Asoc11 en Waves-BlockChain:", "3N435b56ZjhKuX4ParKVEfv2YCNNZBrh4g6")]), TransferSet([ScriptTransfer(addressFromStringValue(userAddress), (10000 * orderQty), BitCO2)]))
193+ else ScriptResult(WriteSet([DataEntry(getKeyProjectCategory(item), "Conservación Forestal"), DataEntry(getKeyProjectName(item), "Reserva Amazónica Achuar-Kapawi"), DataEntry(getKeyProjectCountry(item), "Ecuador"), DataEntry(getKeyProjectCode(item), "N08EC-01_ACH-KAPAWI_PREICOF1"), DataEntry(getKeyProjectPropietary(item), "Comunidad Achuar Kapawi"), DataEntry(getKeyProjectDev(supplier), "Fundación Alianza Ecológica NASEE 'FAEN'"), DataEntry(getKeyNomTokenPrice(item), "10.00 Euros"), DataEntry("Bit-CO2 emitidos en F1/F2 PreICO, total", startTotalQty), DataEntry("Bit-CO2 en oferta para la F1 PreICO, total", FirstFaseQty), DataEntry("Bit-CO2 en oferta para Asociados, 90% F1", f1PjDirecAsocB9X10), DataEntry("Bit-CO2 para Apoyo Administrativo, 10% F1 ", f1PjStartAdmFondsB1X10), DataEntry("Dirección de la Cta. de Apoyo Administrativo", "3N8g3gFQvJmHCJzUcQb26pbFNmDfaZuXVVS"), DataEntry("Apoyo para el Desarrollador-Proyecto, tokens", pjStartAdmB8), DataEntry("Apoyo para el IT System del Proyecto, tokens", pjStartSysB2), DataEntry("Oferta de tokens utilizada", "Programa-Asoc11 | Programa-GTS | Otros"), DataEntry("Descuento máximo ofrecido", " Según Programa"), DataEntry(getKeyUserItemCounter(userAddress, item), (getValueUserItemCounter(userAddress, item) + 1)), DataEntry(getKeyUserDocument(item), userDocument), DataEntry(getKeyUserCountry(item), userCountry), DataEntry(getKeyDiscount6User(item), userDiscount), DataEntry(getKeyDescuento6TokPrice(item), currentTokenPrice), DataEntry("Estado de su pedido, tokens", "¡Adquisición Confirmada!"), DataEntry(getKeyItemUserOrderQty(item), orderQty), DataEntry("Suma transmitida a la PreICO, wvs:", totalAmount), DataEntry(getKeySaldoTokenQtyStartEtapa(item), (getValueSaldoTokenQtyStartEtapa(item) + orderQty)), DataEntry("Saldo de Tokens Bit-CO2 en oferta, F1 PreICO:", ((FirstFaseQty - getValueSaldoTokenQtyStartEtapa(item)) - orderQty)), DataEntry("Saldo de Tokens Bit-CO2, PreICO Achuar-Kapawi:", ((startTotalQty - getValueSaldoTokenQtyStartEtapa(item)) - orderQty)), DataEntry(getKeyBalanceSupplier(supplier), (getValueBalanceSupplier(supplier) + pmt.amount)), DataEntry("Dirección del Progr-Asoc11 en Waves-BlockChain:", "3N435b56ZjhKuX4ParKVEfv2YCNNZBrh4g6")]), TransferSet([ScriptTransfer(addressFromStringValue(userAddress), (10000 * orderQty), BitCO2)]))
194194 }
195195 }
196196 }
197197
198198
199199 @Verifier(tx)
200200 func verify () = match tx {
201201 case t: SetScriptTransaction =>
202202 sigVerify(tx.bodyBytes, tx.proofs[0], OwnerPubKey)
203203 case d: DataTransaction =>
204204 true
205205 case tx: TransferTransaction =>
206206 true
207207 case _ =>
208208 false
209209 }
210210

github/deemru/w8io/169f3d6 
115.96 ms