tx · D8ZWkkoxL14N57metxowGhiB1r6E5q373ywV7CfYPq6B

3N435b56ZjhKuX4ParKVEfv2YCNNZBrh4g6:  -0.00900000 Waves

2022.07.12 12:05 [2136310] smart account 3N435b56ZjhKuX4ParKVEfv2YCNNZBrh4g6 > SELF 0.00000000 Waves

{ "type": 13, "id": "D8ZWkkoxL14N57metxowGhiB1r6E5q373ywV7CfYPq6B", "fee": 900000, "feeAssetId": null, "timestamp": 1657616768247, "version": 2, "chainId": 84, "sender": "3N435b56ZjhKuX4ParKVEfv2YCNNZBrh4g6", "senderPublicKey": "6dFJuNWW7URCn8EPKVhjucMZYeWccx9BZJ2HTCZLkENw", "proofs": [ "5aaGNxCAjXFBoP2kNZosc9iEj25R4fq8JX9VkmV2UudR9oXEfy2KcMsJtzt1r4SyTRVuoWiss9YBzTjpHMbxRb8u" ], "script": "base64:AAIDAAAAAAAAAAwIARIICgYICAgBAQEAAAAwAAAAAAZCaXRDTzIBAAAAIMUi0QAOPWzHrrHgLgYvt6byvqBTCBHKATKU5thr4LIYAAAAAA1zdGFydFRvdGFsUXR5AAAAAAAABKodAAAAAAxGaXJzdEZhc2VRdHkAAAAAAAAAedkAAAAADVNlY29uZEZhc2VRdHkAAAAAAAAEMEQAAAAAA3d2cwAAAAAABfXhAAAAAAAETk9ORQIAAAAEbm9uZQAAAAAFZXVyb3UAAAAAAAAAAGUAAAAABXVzZG53AAAAAAAAAAHeAAAAAAViY28yZQAAAAAAAAAACgAAAAALT3duZXJQdWJLZXkBAAAAIFOThcq+d+G19BoRzRfWbYb5NaT1Wk7n3nmVVmiZYoR0AAAAABpyY3B0TjA4RUNzeXNBZG1BY2hLYXBhd0IxMAkBAAAAB0FkZHJlc3MAAAABAQAAABoBVM3C0La6yM5FJupkd23d/yNjpZqjQhRHkQAAAAAORTJFMDhBZG1Bc29jMTECAAAAIzNOOGczZ0ZRdkptSENKelVjUWIyNnBiRk5tRGZhWnVYVlZTAAAAAA1Bc29jUHJlc3RlYzAxAgAAAC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hdGFFbnRyeQAAAAICAAAAMERpcmVjY2nDs24gZGVsIFByb2dyLUFzb2MxMSBlbiBXYXZlcy1CbG9ja0NoYWluOgIAAAAjM040MzViNTZaamhLdVg0UGFyS1ZFZnYyWUNOTlpCcmg0ZzYFAAAAA25pbAkBAAAAC1RyYW5zZmVyU2V0AAAAAQkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCQEAAAAcQGV4dHJVc2VyKGFkZHJlc3NGcm9tU3RyaW5nKQAAAAEFAAAAC3VzZXJBZGRyZXNzCQAAaAAAAAIAAAAAAAAAJxAFAAAACG9yZGVyUXR5BQAAAAZCaXRDTzIJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwUAAAAacmNwdE4wOEVDc3lzQWRtQWNoS2FwYXdCMTAFAAAAC3RvdGFsQW1vdW50BQAAAAR1bml0BQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAUU2V0U2NyaXB0VHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAtPd25lclB1YktleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPRGF0YVRyYW5zYWN0aW9uBAAAAAFkBQAAAAckbWF0Y2gwBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAACdHgFAAAAByRtYXRjaDAGB9DQfYA=", "height": 2136310, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 66heNHp224G1gGhYGSfBh1uEpoxsG5mRat8XxHxLFD36 Next: 48fcxrZjyvuMKq4kxvyd5zfNDMWNWKVYCojQLc958cfo Diff:
OldNewDifferences
1313
1414 let NONE = "none"
1515
16-let eurou = 102
16+let eurou = 101
1717
18-let usdnw = 547
18+let usdnw = 478
1919
2020 let bco2e = 10
2121
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)
183- let f1PjDirecAsocB9X10 = ((9 * FirstFaseQty) / 10)
183+ let f1PjDirecAsocB9X10 = (((9 * FirstFaseQty) / 10) + 1)
184184 let f1PjStartAdmFondsB1X10 = ((1 * FirstFaseQty) / 10)
185185 let pjStartAdmB8 = ((8 * f1PjStartAdmFondsB1X10) / 10)
186- let pjStartSysB2 = ((2 * f1PjStartAdmFondsB1X10) / 10)
186+ let pjStartSysB2 = (((2 * f1PjStartAdmFondsB1X10) / 10) + 1)
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 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), ScriptTransfer(rcptN08ECsysAdmAchKapawB10, totalAmount, unit)]))
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
16-let eurou = 102
16+let eurou = 101
1717
18-let usdnw = 547
18+let usdnw = 478
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
9696 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)
183- let f1PjDirecAsocB9X10 = ((9 * FirstFaseQty) / 10)
183+ let f1PjDirecAsocB9X10 = (((9 * FirstFaseQty) / 10) + 1)
184184 let f1PjStartAdmFondsB1X10 = ((1 * FirstFaseQty) / 10)
185185 let pjStartAdmB8 = ((8 * f1PjStartAdmFondsB1X10) / 10)
186- let pjStartSysB2 = ((2 * f1PjStartAdmFondsB1X10) / 10)
186+ let pjStartSysB2 = (((2 * f1PjStartAdmFondsB1X10) / 10) + 1)
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 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), ScriptTransfer(rcptN08ECsysAdmAchKapawB10, totalAmount, unit)]))
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 
90.30 ms