tx · 81epmhosU1kesfkWSuZdwgNqwDP1ybmYmtDAXW7orYAw

3N5v9ndbkGSWy1SfeJSz94tYU8qVNTUJV2q:  -0.01400000 Waves

2020.08.03 14:02 [1116086] smart account 3N5v9ndbkGSWy1SfeJSz94tYU8qVNTUJV2q > SELF 0.00000000 Waves

{ "type": 13, "id": "81epmhosU1kesfkWSuZdwgNqwDP1ybmYmtDAXW7orYAw", "fee": 1400000, "feeAssetId": null, "timestamp": 1596452522662, "version": 1, "sender": "3N5v9ndbkGSWy1SfeJSz94tYU8qVNTUJV2q", "senderPublicKey": "6tctCnkRasXYuZWRpzZz9ogLri6aifJ19LTtx9uFQv67", "proofs": [ "5NJit51x63Qs3fKfRH1AqFSUSX7hcZe8HqsuVKFqTcsv2Xom9PP8sy3UzHL5oWL5m4CrTHj7SKv52JKxjHhsv7pe" ], "script": "base64:AAIDAAAAAAAAADMIARIECgIICBIHCgUICAgBARIICgYICAgBAQgSBgoECAgIARIICgYICAgBAQgSBAoCCAEAAAA+AAAAAAd4Qml0Q08yAQAAACAgBGSmqgN7DW+mqvqXJVizlol6Uwz/77rGaIdsg1TcjQAAAAAIc3RhcnRRdHkAAAAAAAAEqh0AAAAACG5vbVByaWNlAAAAAAAAAAABAAAAAAN3dnMAAAAAAAX14QAAAAAAEHN1cHBsaWVyRGlzY291bnQAAAAAAAAAAAwAAAAABE5PTkUCAAAABG5vbmUAAAAAC093bmVyUHViS2V5AQAAACBXg6Dz9iwxuW6OZN3ObCk6NCcw047cUbg0y/YmycTlFAAAAAAGaXNzdWVyCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUS0gVj7khTyyW8drcBieKY28h0dbnPZfaAAAAAARlQWRkCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUTBaoO/bGBDOBrm064MWNCsZzgwdlxMLyAAAAAARwQWRkCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUr4Vcn4wBB78CoLaGa2WDuKHfP9Hd98MyAAAAAANpZ3YAAAAAAA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3aXRoV2F2ZXMDCQEAAAABIQAAAAEJAQAAAAlpc0RlZmluZWQAAAABCAgIBQAAAAJ0eAAAAAlzZWxsT3JkZXIAAAAJYXNzZXRQYWlyAAAACnByaWNlQXNzZXQGCQEAAAABIQAAAAEJAQAAAAlpc0RlZmluZWQAAAABCAgIBQAAAAJ0eAAAAAlzZWxsT3JkZXIAAAAJYXNzZXRQYWlyAAAAC2Ftb3VudEFzc2V0BQAAAAl3aXRoV2F2ZXMH8GFiJg==", "chainId": 84, "height": 1116086, "spentComplexity": 0 } View: original | compacted Prev: 5GYwzCMXDPv25LKYbSJpyitnBZTXGWn4tjU43Bx1pZfZ Next: EqSa9w7YmyiCZjN7pYLKmf6ZoqxowTkA14D7RjBTHALU Diff:
OldNewDifferences
33 {-# CONTENT_TYPE DAPP #-}
44 let xBitCO2 = base58'39yw38hm342hiK43SqELTaZRkTWJoBc22XpxmsSiBrsN'
55
6-let startQty = 5000000
6+let startQty = 305693
77
88 let nomPrice = 1
99
240240 then throw("Payment Amount can't be less than item Purchase Order")
241241 else if ((pmt.amount > totalAmount))
242242 then throw("Payment Amount can't be higher than item Purchase Order")
243- else ScriptResult(WriteSet([DataEntry("Tipo de Proyecto:", "Reserva Forestal Amazónica"), DataEntry("Categoría:", "Emisión de CO2 Evitada"), DataEntry("País/Ubicación:", "República del Ecuador"), DataEntry("Nombre del Proyecto:", "Reserva Amazónica Achuar-Kapawi"), DataEntry("Código:", "01-EC/SGT - ACHUARKAPAWI-01"), DataEntry("Emisor:", "Comunidad Achuar Kapawi"), DataEntry("Desarrollador/Responsable:", "Fundación Ecológica 'NASE'"), DataEntry("Etapas del Proyecto, Pre-ICO:", "2 Etapas"), DataEntry("Etapas del Proyecto, en Ejecución:", "A Definir, Fundación REDD"), DataEntry("Cantidad Total de Tokens Bit-CO2 a Emitir, I y II Etapa Pre-ICO:", "305693"), DataEntry("Precio Nominal, 1 token Bit-CO2:", "10.00 Euros"), DataEntry("Máximo Descuento ofrecido, I Etapa:", "12.00 %"), DataEntry(getKeyUserItemCounter(userAddress, item), (getValueUserItemCounter(userAddress, item) + 1)), DataEntry("Total Tokens Emitidos, I Etapa Pre-ICO", startQty), DataEntry(getKeyUserName(item), userName), DataEntry(getKeyUserCountry(item), userCountry), DataEntry(getKeyItemDiscountUser(item), userDiscount), DataEntry(getKeyItemUserOrderQty(item), orderQty), DataEntry("tokenPrice/Supplier, wvs", (nomPrice * wvs)), DataEntry("tokenPrice/User, wvs", currentTokenPrice), DataEntry("investedAmount/User, wvs", totalAmount), DataEntry("purchaseOrder/Status:", "¡Adquisición Confirmada!"), DataEntry(getKeyBalanceQtySupplier(item), (preIcoQty - orderQty)), DataEntry(getKeySaldoTokenQtyStartEtapa(item), (preIcoQty - orderQty)), DataEntry(getKeyBalanceSupplier(supplier), (balanceSupplier + pmt.amount)), DataEntry("Cuenta del Proyecto en BlockChain:", supplier)]), TransferSet([ScriptTransfer(addressFromStringValue(userAddress), orderQty, xBitCO2)]))
243+ else ScriptResult(WriteSet([DataEntry("Tipo de Proyecto:", "Reserva Forestal Amazónica"), DataEntry("Categoría:", "Emisión de CO2 Evitada"), DataEntry("País/Ubicación:", "República del Ecuador"), DataEntry("Nombre del Proyecto:", "Reserva Amazónica Achuar-Kapawi"), DataEntry("Código:", "01-EC/SGT - ACHUARKAPAWI-01"), DataEntry("Emisor:", "Comunidad Achuar Kapawi"), DataEntry("Desarrollador/Responsable:", "Fundación Ecológica 'NASE'"), DataEntry("Etapas del Proyecto, Pre-ICO:", "2 Etapas"), DataEntry("Etapas del Proyecto, en Ejecución:", "A Definir, Fundación REDD"), DataEntry("Cantidad Total de Tokens Bit-CO2 a Emitir, I y II Etapa Pre-ICO:", "305693"), DataEntry("Precio Nominal, 1 token Bit-CO2:", "10.00 Euros"), DataEntry("Máximo Descuento Ofrecido, I Etapa:", "12.00"), DataEntry(getKeyUserItemCounter(userAddress, item), (getValueUserItemCounter(userAddress, item) + 1)), DataEntry("Total Tokens Emitidos, I Etapa Pre-ICO", startQty), DataEntry(getKeyUserName(item), userName), DataEntry(getKeyUserCountry(item), userCountry), DataEntry(getKeyItemDiscountUser(item), userDiscount), DataEntry(getKeyItemUserOrderQty(item), orderQty), DataEntry("tokenPrice/Supplier, wvs", (nomPrice * wvs)), DataEntry("tokenPrice/User, wvs", currentTokenPrice), DataEntry("investedAmount/User, wvs", totalAmount), DataEntry("purchaseOrder/Status:", "¡Adquisición Confirmada!"), DataEntry(getKeyBalanceQtySupplier(item), (preIcoQty - orderQty)), DataEntry(getKeySaldoTokenQtyStartEtapa(item), (preIcoQty - orderQty)), DataEntry(getKeyBalanceSupplier(supplier), (balanceSupplier + pmt.amount)), DataEntry("Cuenta del Proyecto en BlockChain:", base58'3N8RGScPyKYySaXd5Z3VcpnttH2uBeMpSy4')]), TransferSet([ScriptTransfer(addressFromStringValue(userAddress), orderQty, xBitCO2)]))
244244 }
245245 }
246246
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let xBitCO2 = base58'39yw38hm342hiK43SqELTaZRkTWJoBc22XpxmsSiBrsN'
55
6-let startQty = 5000000
6+let startQty = 305693
77
88 let nomPrice = 1
99
1010 let wvs = 100000000
1111
1212 let supplierDiscount = 12
1313
1414 let NONE = "none"
1515
1616 let OwnerPubKey = base58'6tctCnkRasXYuZWRpzZz9ogLri6aifJ19LTtx9uFQv67'
1717
1818 let issuer = Address(base58'3Mvn8oonnpiasA3bkq36N9qeqqXWfFW437o')
1919
2020 let eAdd = Address(base58'3MvrQGkHQtyLTC2QXgPnQ6oCEWhHyUJpU4q')
2121
2222 let pAdd = Address(base58'3N5v9ndbkGSWy1SfeJSz94tYU8qVNTUJV2q')
2323
2424 let igv = 18
2525
2626 let cPB = 88
2727
2828 let uIP = 5
2929
3030 let pIP = 10
3131
3232 let sIP = 1
3333
3434 let eIP = 1
3535
3636 func getNumberByKey (key) = {
3737 let num = match getInteger(this, key) {
3838 case a: Int =>
3939 a
4040 case _ =>
4141 0
4242 }
4343 num
4444 }
4545
4646
4747 func getStrByKey (key) = {
4848 let str = match getString(this, key) {
4949 case a: String =>
5050 a
5151 case _ =>
5252 NONE
5353 }
5454 str
5555 }
5656
5757
5858 func getKeyItem (supplier,title) = ("Reserva Forestal Amazónica" + toBase58String(sha256(toBytes((supplier + title)))))
5959
6060
6161 func getKeyItemSupplier (supplier) = (supplier + "Comunidad Achuar Kapawi del Ecuador")
6262
6363
6464 func getValueItemSupplier (supplier) = getStrByKey(getKeyItemSupplier(supplier))
6565
6666
6767 func getKeyProjectCode (projectCode) = "01-EC/SGT - ACHUARKAPAWI-01"
6868
6969
7070 func getKeyProjectName (projectName) = "Reserva Amazónica Achuar-Kapawi"
7171
7272
7373 func getValueProjectName (projectName) = getStrByKey(getKeyProjectName(projectName))
7474
7575
7676 func getKeyProjectEtapa (projectAddress) = "AchuarKapawi, I Etapa: PreICO"
7777
7878
7979 func getValueProjectEtapa (projectAddress) = getStrByKey(getKeyProjectEtapa(projectAddress))
8080
8181
8282 func getKeyProjectCountry (item) = "República del Ecuador"
8383
8484
8585 func getKeyProjectDev (supplier) = "Fundación Ecológica 'NASE'"
8686
8787
8888 func getValueProjectDev (supplier) = getStrByKey(getKeyProjectDev(supplier))
8989
9090
9191 func getKeyTokenStartQty (item) = "15693 tokens Bit-CO2"
9292
9393
9494 func getKeyNomTokenPrice (item) = "10.00 Euros"
9595
9696
9797 func getKeyItemPriceSupplier (item) = "_waves"
9898
9999
100100 func getValueItemPriceSupplier (item) = getNumberByKey(getKeyItemPriceSupplier(item))
101101
102102
103103 func getKeyMaxDescuento (item) = "12.00% del Precio Nominal de 1 token Bit-CO2"
104104
105105
106106 func getKeyMinTokenPrice (item) = "8.80 Euros por 1 token Bit-CO2"
107107
108108
109109 func getKeyUserItemCounter (user,item) = "Order_№:"
110110
111111
112112 func getValueUserItemCounter (user,item) = getNumberByKey(getKeyUserItemCounter(user, item))
113113
114114
115115 func getKeyUserName (item) = "Nombre del Usuario:"
116116
117117
118118 func getValueUserName (item) = getStrByKey(getKeyUserName(item))
119119
120120
121121 func getKeyUserDocument (item) = "№ de Documento Nacional de Identidad / DNI del Usuario:"
122122
123123
124124 func getValueUserDocument (item) = getStrByKey(getKeyUserDocument(item))
125125
126126
127127 func getKeyUserCountry (item) = "País de Residencia del Usuario:"
128128
129129
130130 func getValueUserCountry (item) = getStrByKey(getKeyUserCountry(item))
131131
132132
133133 func getKeyItemDiscountUser (item) = "Descuento elejido por el Usuario, %:"
134134
135135
136136 func getValueItemDiscountUser (item) = getNumberByKey(getKeyItemDiscountUser(item))
137137
138138
139139 func getKeyItemDiscountSupplier (item) = "SupplierDiscount, max_%:"
140140
141141
142142 func getValueItemDiscountSupplier (item) = getNumberByKey(getKeyItemDiscountSupplier(item))
143143
144144
145145 func getKeyItemUserOrderQty (item) = "Orden de Compra, cantidad solicitada:"
146146
147147
148148 func getValueItemUserOrderQty (item) = getNumberByKey(getKeyItemUserOrderQty(item))
149149
150150
151151 func getKeySaldoTokenQtyStartEtapa (item) = "Tokens Ofertados en la presente etapa / Saldo:"
152152
153153
154154 func getValueSaldoTokenQtyStartEtapa (item) = getNumberByKey(getKeySaldoTokenQtyStartEtapa(item))
155155
156156
157157 func getKeyBalanceQtySupplier (item) = "Balance/Saldo, tokens:"
158158
159159
160160 func getValueBalanceQtySupplier (item) = getNumberByKey(getKeyBalanceQtySupplier(item))
161161
162162
163163 func getKeyBalanceSupplier (supplier) = "Ingresos por Venta Directa / BlockChain:"
164164
165165
166166 func getValueBalanceSupplier (supplier) = getNumberByKey(getKeyBalanceSupplier(supplier))
167167
168168
169169 func getKeyUI (item) = "UI,_wvs:"
170170
171171
172172 func getValueUI (item) = getNumberByKey(getKeyUI(item))
173173
174174
175175 func getKeyPI (item) = "PI,_%:"
176176
177177
178178 func getValuePI (item) = getNumberByKey(getKeyPI(item))
179179
180180
181181 func getKeySI (item) = "SI,_%:"
182182
183183
184184 func getValueSI (item) = getNumberByKey(getKeySI(item))
185185
186186
187187 func getKeyItemData (item) = "description: "
188188
189189
190190 @Callable(i)
191191 func deposit (title,supplierData) = {
192192 let pmt = extract(i.payment)
193193 if ((pmt.assetId != xBitCO2))
194194 then throw("deposito permitido solo en xBitCO2 tokens")
195195 else {
196196 let supplier = toBase58String(i.caller.bytes)
197197 let currentAmount = match getInteger(this, supplier) {
198198 case a: Int =>
199199 a
200200 case _ =>
201201 startQty
202202 }
203203 let newAmount = (currentAmount + pmt.amount)
204204 if ((0 >= newAmount))
205205 then throw("No hay xBitCO2 en su balance")
206206 else WriteSet([DataEntry(supplier, newAmount)])
207207 }
208208 }
209209
210210
211211
212212 @Callable(i)
213213 func purchase (item,userName,userCountry,userDiscount,orderQty) = {
214214 let pmt = extract(i.payment)
215215 if (isDefined(pmt.assetId))
216216 then throw("En la presente Plastaforma Ud. puede adquirir sus tokens xBitCO2 usando WavesKeeper y su token de pago Waves.")
217217 else {
218218 let supplier = match getString(this, getKeyItemSupplier(item)) {
219219 case a: String =>
220220 a
221221 case _ =>
222222 NONE
223223 }
224224 let preIcoQty = match getInteger(this, getKeyBalanceQtySupplier(item)) {
225225 case a: Int =>
226226 a
227227 case _ =>
228228 startQty
229229 }
230230 let balanceSupplier = match getInteger(this, getKeyBalanceSupplier(supplier)) {
231231 case a: Int =>
232232 a
233233 case _ =>
234234 0
235235 }
236236 let userAddress = toBase58String(i.caller.bytes)
237237 let currentTokenPrice = ((((100 - userDiscount) * nomPrice) * wvs) / 100)
238238 let totalAmount = (orderQty * currentTokenPrice)
239239 if ((totalAmount > pmt.amount))
240240 then throw("Payment Amount can't be less than item Purchase Order")
241241 else if ((pmt.amount > totalAmount))
242242 then throw("Payment Amount can't be higher than item Purchase Order")
243- else ScriptResult(WriteSet([DataEntry("Tipo de Proyecto:", "Reserva Forestal Amazónica"), DataEntry("Categoría:", "Emisión de CO2 Evitada"), DataEntry("País/Ubicación:", "República del Ecuador"), DataEntry("Nombre del Proyecto:", "Reserva Amazónica Achuar-Kapawi"), DataEntry("Código:", "01-EC/SGT - ACHUARKAPAWI-01"), DataEntry("Emisor:", "Comunidad Achuar Kapawi"), DataEntry("Desarrollador/Responsable:", "Fundación Ecológica 'NASE'"), DataEntry("Etapas del Proyecto, Pre-ICO:", "2 Etapas"), DataEntry("Etapas del Proyecto, en Ejecución:", "A Definir, Fundación REDD"), DataEntry("Cantidad Total de Tokens Bit-CO2 a Emitir, I y II Etapa Pre-ICO:", "305693"), DataEntry("Precio Nominal, 1 token Bit-CO2:", "10.00 Euros"), DataEntry("Máximo Descuento ofrecido, I Etapa:", "12.00 %"), DataEntry(getKeyUserItemCounter(userAddress, item), (getValueUserItemCounter(userAddress, item) + 1)), DataEntry("Total Tokens Emitidos, I Etapa Pre-ICO", startQty), DataEntry(getKeyUserName(item), userName), DataEntry(getKeyUserCountry(item), userCountry), DataEntry(getKeyItemDiscountUser(item), userDiscount), DataEntry(getKeyItemUserOrderQty(item), orderQty), DataEntry("tokenPrice/Supplier, wvs", (nomPrice * wvs)), DataEntry("tokenPrice/User, wvs", currentTokenPrice), DataEntry("investedAmount/User, wvs", totalAmount), DataEntry("purchaseOrder/Status:", "¡Adquisición Confirmada!"), DataEntry(getKeyBalanceQtySupplier(item), (preIcoQty - orderQty)), DataEntry(getKeySaldoTokenQtyStartEtapa(item), (preIcoQty - orderQty)), DataEntry(getKeyBalanceSupplier(supplier), (balanceSupplier + pmt.amount)), DataEntry("Cuenta del Proyecto en BlockChain:", supplier)]), TransferSet([ScriptTransfer(addressFromStringValue(userAddress), orderQty, xBitCO2)]))
243+ else ScriptResult(WriteSet([DataEntry("Tipo de Proyecto:", "Reserva Forestal Amazónica"), DataEntry("Categoría:", "Emisión de CO2 Evitada"), DataEntry("País/Ubicación:", "República del Ecuador"), DataEntry("Nombre del Proyecto:", "Reserva Amazónica Achuar-Kapawi"), DataEntry("Código:", "01-EC/SGT - ACHUARKAPAWI-01"), DataEntry("Emisor:", "Comunidad Achuar Kapawi"), DataEntry("Desarrollador/Responsable:", "Fundación Ecológica 'NASE'"), DataEntry("Etapas del Proyecto, Pre-ICO:", "2 Etapas"), DataEntry("Etapas del Proyecto, en Ejecución:", "A Definir, Fundación REDD"), DataEntry("Cantidad Total de Tokens Bit-CO2 a Emitir, I y II Etapa Pre-ICO:", "305693"), DataEntry("Precio Nominal, 1 token Bit-CO2:", "10.00 Euros"), DataEntry("Máximo Descuento Ofrecido, I Etapa:", "12.00"), DataEntry(getKeyUserItemCounter(userAddress, item), (getValueUserItemCounter(userAddress, item) + 1)), DataEntry("Total Tokens Emitidos, I Etapa Pre-ICO", startQty), DataEntry(getKeyUserName(item), userName), DataEntry(getKeyUserCountry(item), userCountry), DataEntry(getKeyItemDiscountUser(item), userDiscount), DataEntry(getKeyItemUserOrderQty(item), orderQty), DataEntry("tokenPrice/Supplier, wvs", (nomPrice * wvs)), DataEntry("tokenPrice/User, wvs", currentTokenPrice), DataEntry("investedAmount/User, wvs", totalAmount), DataEntry("purchaseOrder/Status:", "¡Adquisición Confirmada!"), DataEntry(getKeyBalanceQtySupplier(item), (preIcoQty - orderQty)), DataEntry(getKeySaldoTokenQtyStartEtapa(item), (preIcoQty - orderQty)), DataEntry(getKeyBalanceSupplier(supplier), (balanceSupplier + pmt.amount)), DataEntry("Cuenta del Proyecto en BlockChain:", base58'3N8RGScPyKYySaXd5Z3VcpnttH2uBeMpSy4')]), TransferSet([ScriptTransfer(addressFromStringValue(userAddress), orderQty, xBitCO2)]))
244244 }
245245 }
246246
247247
248248
249249 @Callable(i)
250250 func AddSupplierToken (title,name,country,preIcoQty,supplierDiscount,supplierData) = {
251251 let supplier = toBase58String(i.caller.bytes)
252252 let item = getKeyItem(supplier, title)
253253 if ((0 >= preIcoQty))
254254 then throw("Sorry, insufficient token offer")
255255 else WriteSet([DataEntry(("Supplier:_" + getKeyProjectDev(item)), supplier), DataEntry(("Title:_" + supplier), title), DataEntry(("ProjectName:_" + supplier), name), DataEntry(("Country:_" + supplier), country), DataEntry(getKeyBalanceQtySupplier(item), preIcoQty), DataEntry(("NomTokenPrice:_" + getKeyItemPriceSupplier(item)), (nomPrice * wvs)), DataEntry(("Max_Descuento_ofrecido:" + getKeyItemDiscountSupplier(item)), supplierDiscount), DataEntry(("Development:_" + getKeyItemData(item)), supplierData)])
256256 }
257257
258258
259259
260260 @Callable(i)
261261 func purchaseGTS (item,userName,userDocument,totalAmount) = {
262262 let pmt = extract(i.payment)
263263 if (isDefined(pmt.assetId))
264264 then throw("El Precio de los aves.")
265265 else {
266266 let supplier = match getString(this, getKeyItemSupplier(item)) {
267267 case a: String =>
268268 a
269269 case _ =>
270270 NONE
271271 }
272272 let preIcoQty = match getInteger(this, getKeyBalanceQtySupplier(item)) {
273273 case a: Int =>
274274 a
275275 case _ =>
276276 startQty
277277 }
278278 let balanceSupplier = match getInteger(this, getKeyBalanceSupplier(supplier)) {
279279 case a: Int =>
280280 a
281281 case _ =>
282282 0
283283 }
284284 let userAddress = toBase58String(i.caller.bytes)
285285 let subTotal = (totalAmount - ((igv * totalAmount) / 100))
286286 let uI = ((subTotal * uIP) / 100)
287287 let uBI = (uI / cPB)
288288 let pI = ((subTotal * pIP) / 100)
289289 let eI = ((subTotal * eIP) / 100)
290290 let eBI = ((subTotal * eIP) / (cPB * 100))
291291 let sI = ((totalAmount - pI) - eI)
292292 let sBI = ((subTotal * sIP) / (cPB * 100))
293293 if ((totalAmount > pmt.amount))
294294 then throw("Payment Amount can't be less than item Purchase Order")
295295 else if ((pmt.amount > totalAmount))
296296 then throw("Payment Amount can't be higher than item Purchase Order")
297297 else ScriptResult(WriteSet([DataEntry(getKeyUserItemCounter(userAddress, item), (getValueUserItemCounter(userAddress, item) + 1)), DataEntry(getKeyUserName(item), userName), DataEntry(getKeyUserDocument(item), userDocument), DataEntry("Payment_amount,_wvs", totalAmount), DataEntry("Imp, %", igv), DataEntry("STtl, wvs", subTotal), DataEntry("CP 1 B, wvs", (cPB * 1000000)), DataEntry(getKeyUI(item), uI), DataEntry("UBI", uBI), DataEntry(getKeyPI(item), pI), DataEntry("EcSys", eBI), DataEntry(("Order_Status:_" + userAddress), "Adquisición Confirmada!"), DataEntry(getKeySI(item), sI), DataEntry("SBI: b", sBI), DataEntry(getKeyBalanceSupplier(supplier), (balanceSupplier + pmt.amount))]), TransferSet([ScriptTransfer(i.caller, uBI, xBitCO2), ScriptTransfer(pAdd, pI, unit), ScriptTransfer(issuer, sI, unit), ScriptTransfer(issuer, sBI, xBitCO2), ScriptTransfer(eAdd, eI, unit), ScriptTransfer(eAdd, eBI, xBitCO2)]))
298298 }
299299 }
300300
301301
302302
303303 @Callable(i)
304304 func AddVendedorGTS (title,name,country,preIcoQty,supplierDiscount,supplierData) = {
305305 let supplier = toBase58String(i.caller.bytes)
306306 let item = getKeyItem(supplier, title)
307307 if ((0 >= preIcoQty))
308308 then throw("Sorry, insufficient token offer")
309309 else WriteSet([DataEntry(("Supplier:_" + getKeyProjectDev(item)), supplier), DataEntry(("Title:_" + supplier), title), DataEntry(("ProjectName:_" + supplier), name), DataEntry(("Country:_" + supplier), country), DataEntry(getKeyBalanceQtySupplier(item), preIcoQty), DataEntry(("NomTokenPrice:_" + getKeyItemPriceSupplier(item)), (nomPrice * wvs)), DataEntry(("Max_Descuento_ofrecido:" + getKeyItemDiscountSupplier(item)), supplierDiscount), DataEntry(("Development:_" + getKeyItemData(item)), supplierData)])
310310 }
311311
312312
313313
314314 @Callable(i)
315315 func withdraw (item,amount) = {
316316 let userAddress = toBase58String(i.caller.bytes)
317317 let supplier = match getString(this, getKeyItemSupplier(item)) {
318318 case a: String =>
319319 a
320320 case _ =>
321321 NONE
322322 }
323323 let preIcoQty = match getInteger(this, getKeyBalanceQtySupplier(item)) {
324324 case a: Int =>
325325 a
326326 case _ =>
327327 startQty
328328 }
329329 let newAmount = (preIcoQty - amount)
330330 if ((0 > amount))
331331 then throw("El balance de retiro no puede ser negativo!")
332332 else if ((0 >= newAmount))
333333 then throw("Ooppss.. Insuficiente balance!")
334334 else ScriptResult(WriteSet([DataEntry(item, newAmount)]), TransferSet([ScriptTransfer(i.caller, amount, xBitCO2)]))
335335 }
336336
337337
338338 @Verifier(tx)
339339 func verify () = match tx {
340340 case t: SetScriptTransaction =>
341341 sigVerify(tx.bodyBytes, tx.proofs[0], OwnerPubKey)
342342 case d: DataTransaction|ReissueTransaction =>
343343 true
344344 case tx: TransferTransaction =>
345345 true
346346 case tx: ExchangeTransaction =>
347347 let withWaves = if (!(isDefined(tx.sellOrder.assetPair.priceAsset)))
348348 then true
349349 else !(isDefined(tx.sellOrder.assetPair.amountAsset))
350350 withWaves
351351 case _ =>
352352 false
353353 }
354354

github/deemru/w8io/026f985 
63.85 ms