tx · EqSa9w7YmyiCZjN7pYLKmf6ZoqxowTkA14D7RjBTHALU

3N5v9ndbkGSWy1SfeJSz94tYU8qVNTUJV2q:  -0.01400000 Waves

2020.08.03 14:33 [1116118] smart account 3N5v9ndbkGSWy1SfeJSz94tYU8qVNTUJV2q > SELF 0.00000000 Waves

{ "type": 13, "id": "EqSa9w7YmyiCZjN7pYLKmf6ZoqxowTkA14D7RjBTHALU", "fee": 1400000, "feeAssetId": null, "timestamp": 1596454287638, "version": 1, "sender": "3N5v9ndbkGSWy1SfeJSz94tYU8qVNTUJV2q", "senderPublicKey": "6tctCnkRasXYuZWRpzZz9ogLri6aifJ19LTtx9uFQv67", "proofs": [ "2i8fuL1LoLoUtGq7UzKaYjx67jZyKjNPVdDTkfKebYnmzCbZPMMacAXk2gxzg3hauGW6gwDwkvGy2RhGHVwXt5XU" ], "script": "base64:AAIDAAAAAAAAADMIARIECgIICBIHCgUICAgBARIICgYICAgBAQgSBgoECAgIARIICgYICAgBAQgSBAoCCAEAAAA+AAAAAAd4Qml0Q08yAQAAACAgBGSmqgN7DW+mqvqXJVizlol6Uwz/77rGaIdsg1TcjQAAAAAIc3RhcnRRdHkAAAAAAAAEqh0AAAAACG5vbVByaWNlAAAAAAAAAAABAAAAAAN3dnMAAAAAAAX14QAAAAAAEHN1cHBsaWVyRGlzY291bnQAAAAAAAAAAAwAAAAABE5PTkUCAAAABG5vbmUAAAAAC093bmVyUHViS2V5AQAAACBXg6Dz9iwxuW6OZN3ObCk6NCcw047cUbg0y/YmycTlFAAAAAAGaXNzdWVyCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUS0gVj7khTyyW8drcBieKY28h0dbnPZfaAAAAAARlQWRkCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUTBaoO/bGBDOBrm064MWNCsZzgwdlxMLyAAAAAARwQWRkCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUr4Vcn4wBB78CoLaGa2WDuKHfP9Hd98MyAAAAAANpZ3YAAA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YWN0aW9uBAAAAAFkBQAAAAckbWF0Y2gwBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAACdHgFAAAAByRtYXRjaDAGAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNFeGNoYW5nZVRyYW5zYWN0aW9uBAAAAAJ0eAUAAAAHJG1hdGNoMAQAAAAJd2l0aFdhdmVzAwkBAAAAASEAAAABCQEAAAAJaXNEZWZpbmVkAAAAAQgICAUAAAACdHgAAAAJc2VsbE9yZGVyAAAACWFzc2V0UGFpcgAAAApwcmljZUFzc2V0BgkBAAAAASEAAAABCQEAAAAJaXNEZWZpbmVkAAAAAQgICAUAAAACdHgAAAAJc2VsbE9yZGVyAAAACWFzc2V0UGFpcgAAAAthbW91bnRBc3NldAUAAAAJd2l0aFdhdmVzB5umFkM=", "chainId": 84, "height": 1116118, "spentComplexity": 0 } View: original | compacted Prev: 81epmhosU1kesfkWSuZdwgNqwDP1ybmYmtDAXW7orYAw Next: 7uLudroUjddKrPFEeLUw9UqVXJm3d99mcikKdWaavT9v Diff:
OldNewDifferences
5555 }
5656
5757
58-func getKeyItem (supplier,title) = ("Reserva Forestal Amazónica" + toBase58String(sha256(toBytes((supplier + title)))))
58+func getKeyItem (supplier,item) = ("Reserva Forestal Amazónica" + toBase58String(sha256(toBytes((supplier + item)))))
5959
6060
6161 func getKeyItemSupplier (supplier) = (supplier + "Comunidad Achuar Kapawi del Ecuador")
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:", base58'3N8RGScPyKYySaXd5Z3VcpnttH2uBeMpSy4')]), 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(getKeyItem(supplier, item), "Reserva Forestal Amazónica Prueba1"), DataEntry(getKeyItemSupplier(supplier), getValueItemSupplier(supplier))]), 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
66 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
58-func getKeyItem (supplier,title) = ("Reserva Forestal Amazónica" + toBase58String(sha256(toBytes((supplier + title)))))
58+func getKeyItem (supplier,item) = ("Reserva Forestal Amazónica" + toBase58String(sha256(toBytes((supplier + item)))))
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:", base58'3N8RGScPyKYySaXd5Z3VcpnttH2uBeMpSy4')]), 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(getKeyItem(supplier, item), "Reserva Forestal Amazónica Prueba1"), DataEntry(getKeyItemSupplier(supplier), getValueItemSupplier(supplier))]), 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 
78.32 ms