tx · DZeD8MK5DK7B5gbFzhVCsk4xFAt4C6g5nLaNwfNjre4o 3N5xYa3t8rCyBcQvxebBM7Qg9Hjix7PzASV: -0.00900000 Waves 2022.08.05 16:02 [2171219] smart account 3N5xYa3t8rCyBcQvxebBM7Qg9Hjix7PzASV > SELF 0.00000000 Waves
{ "type": 13, "id": "DZeD8MK5DK7B5gbFzhVCsk4xFAt4C6g5nLaNwfNjre4o", "fee": 900000, "feeAssetId": null, "timestamp": 1659704574830, "version": 2, "chainId": 84, "sender": "3N5xYa3t8rCyBcQvxebBM7Qg9Hjix7PzASV", "senderPublicKey": "Cyf33duPHeDukNKXnrekipPBeivui6A3LrRgFxLXuQe5", "proofs": [ "2RghTBMx521AB9FGtwRcQgaEK7bkxwQCYNwZQMCSL5cUqwR7AXgcSKaEJw1NMyoqeM8B4w2dfnCd6uHwEEdLdf3f" ], "script": "base64:AAIDAAAAAAAAAAwIARIICgYICAgBAQEAAAAxAAAAAANTR1QBAAAAILGnwLyipxS3/m8T50CfSy0hX8wn1do2IfMjm00T1WeRAAAAAA1zdGFydFRvdGFsUXR5AAAAAAAABKodAAAAAAxGaXJzdEZhc2VRdHkAAAAAAAAAedkAAAAADVNlY29uZEZhc2VRdHkAAAAAAAAEMEQAAAAAA3d2cwAAAAAABfXhAAAAAAAETk9ORQIAAAAEbm9uZQAAAAAFZXVyb3UAAAAAAAAAAGUAAAAABXVzZG53AAAAAAAAAAJBAAAAAAViY28yZQAAAAAAAAAACgAAAAAKYWRtTjA4U0dUVwkBAAAAB0FkZHJlc3MAAAABAQAAABoBVDkEczCkU/Iu9CUnDhaZyqXscP0ID3xwqQAAAAASYWRtTjA4RUNwakFtYXpTR1Q2CQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFU0bzI+v0BWU54+fpfjqWsDHFy0/GGgesMAAAAAAphZG1QdWJLZXkxAQAAABoBVBHbBLCFIVQZj6iMNbG8y0EY2yLLPCdidgAAAAAKYWRtUHViS2V5MgEAAAAaAVR5cQ6e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AAAJAAJZAAAAAQIAAAAsQ3lmMzNkdVBIZUR1a05LWG5yZWtpcFBCZWl2dWk2QTNMclJnRnhMWHVRZTUHa3Om3g==", "height": 2171219, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2kJb3FysLsraXfLFKa3uHoqznCnRwR8biMSLQD2j4cHU Next: 3eT5RNLMSTknw5P2eesW5U1VtkXeNsZXKPb9TEfqwCpG Diff:
Old | New | Differences | |
---|---|---|---|
183 | 183 | then throw("Payment Amount can't be less than item Purchase Order") | |
184 | 184 | else if ((pmt.amount > totalAmount)) | |
185 | 185 | then throw("Payment Amount can't be higher than item Purchase Order") | |
186 | - | 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("tokens SGT a emitir en F1/F2 PreICO, total:", startTotalQty), DataEntry("tokens SGT en oferta F1 PreICO, unids", FirstFaseQty), DataEntry("tokens SGT en oferta/Intercambio en F1, 90% unids", f1PjOfertaSGT9X10), DataEntry("tokens SGT de Apoyo Admin-Inicial en F1, 10% unids", f1PjStartAdmFondsSGT1X10), DataEntry("tokens SGT en oferta F2 PreICO, unids.", SecondFaseQty), DataEntry("Cta. de Apoyo-Admin del Proyecto, blockchain", "3N935A2iWuGH3AmifpHVmQjoaA7KNX6E1fR"), 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 SGT en oferta F1 PreICO, unids.", ((FirstFaseQty - getValueSaldoTokenQtyStartEtapa(item)) - orderQty)), DataEntry("Saldo de Tokens SGT en PreICO Achuar-Kapawi:", ((startTotalQty - getValueSaldoTokenQtyStartEtapa(item)) - orderQty)), DataEntry(getKeyBalanceSupplier(supplier), (getValueBalanceSupplier(supplier) + pmt.amount)), DataEntry("Cta. Admin SGT del Ecosistema N08, blockchain:", "3Mu7Zd3UsSFicaf45vUFTpVsTZJWgTtvBhz")]), TransferSet([ScriptTransfer(addressFromStringValue(userAddress), (10000 * orderQty), SGT), ScriptTransfer(admN08SGTW, (( | |
186 | + | 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("tokens SGT a emitir en F1/F2 PreICO, total:", startTotalQty), DataEntry("tokens SGT en oferta F1 PreICO, unids", FirstFaseQty), DataEntry("tokens SGT en oferta/Intercambio en F1, 90% unids", f1PjOfertaSGT9X10), DataEntry("tokens SGT de Apoyo Admin-Inicial en F1, 10% unids", f1PjStartAdmFondsSGT1X10), DataEntry("tokens SGT en oferta F2 PreICO, unids.", SecondFaseQty), DataEntry("Cta. de Apoyo-Admin del Proyecto, blockchain", "3N935A2iWuGH3AmifpHVmQjoaA7KNX6E1fR"), 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 SGT en oferta F1 PreICO, unids.", ((FirstFaseQty - getValueSaldoTokenQtyStartEtapa(item)) - orderQty)), DataEntry("Saldo de Tokens SGT en PreICO Achuar-Kapawi:", ((startTotalQty - getValueSaldoTokenQtyStartEtapa(item)) - orderQty)), DataEntry(getKeyBalanceSupplier(supplier), (getValueBalanceSupplier(supplier) + pmt.amount)), DataEntry("Cta. Admin SGT del Ecosistema N08, blockchain:", "3Mu7Zd3UsSFicaf45vUFTpVsTZJWgTtvBhz")]), TransferSet([ScriptTransfer(addressFromStringValue(userAddress), (10000 * orderQty), SGT), ScriptTransfer(admN08SGTW, ((95 * pmt.amount) / 100), unit), ScriptTransfer(admN08ECpjAmazSGT6, ((5 * pmt.amount) / 100), unit)])) | |
187 | 187 | } | |
188 | 188 | } | |
189 | 189 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let SGT = base58'CxVXPje89EXJUtWEhGAG88t99cxaVWU6DrzniFfjYjig' | |
5 | 5 | ||
6 | 6 | let startTotalQty = 305693 | |
7 | 7 | ||
8 | 8 | let FirstFaseQty = 31193 | |
9 | 9 | ||
10 | 10 | let SecondFaseQty = 274500 | |
11 | 11 | ||
12 | 12 | let wvs = 100000000 | |
13 | 13 | ||
14 | 14 | let NONE = "none" | |
15 | 15 | ||
16 | 16 | let eurou = 101 | |
17 | 17 | ||
18 | 18 | let usdnw = 577 | |
19 | 19 | ||
20 | 20 | let bco2e = 10 | |
21 | 21 | ||
22 | 22 | let admN08SGTW = Address(base58'3Mu7Zd3UsSFicaf45vUFTpVsTZJWgTtvBhz') | |
23 | 23 | ||
24 | 24 | let admN08ECpjAmazSGT6 = Address(base58'3N935A2iWuGH3AmifpHVmQjoaA7KNX6E1fR') | |
25 | 25 | ||
26 | 26 | let admPubKey1 = base58'3MqYVdqk5vg2TPCjbNj3pmKHqVLMh7yeyVw' | |
27 | 27 | ||
28 | 28 | let admPubKey2 = base58'3MzzCyUcpBFkCGjo23eWmQFQfNoGr24JqPi' | |
29 | 29 | ||
30 | 30 | let admPubKey3 = base58'3MyifPtwHYvFh2J3zkVsxehJkscEsUKHxCk' | |
31 | 31 | ||
32 | 32 | let admPubKey4 = base58'3MyifPtwHYvFh2J3zkVsxehJkscEsUKHxCk' | |
33 | 33 | ||
34 | 34 | func getNumberByKey (key) = { | |
35 | 35 | let num = match getInteger(this, key) { | |
36 | 36 | case a: Int => | |
37 | 37 | a | |
38 | 38 | case _ => | |
39 | 39 | 0 | |
40 | 40 | } | |
41 | 41 | num | |
42 | 42 | } | |
43 | 43 | ||
44 | 44 | ||
45 | 45 | func getStrByKey (key) = { | |
46 | 46 | let str = match getString(this, key) { | |
47 | 47 | case a: String => | |
48 | 48 | a | |
49 | 49 | case _ => | |
50 | 50 | NONE | |
51 | 51 | } | |
52 | 52 | str | |
53 | 53 | } | |
54 | 54 | ||
55 | 55 | ||
56 | 56 | func getKeyProjectCategory (item) = "Categoría del Proyecto:" | |
57 | 57 | ||
58 | 58 | ||
59 | 59 | func getValueProjectCategory (item) = getStrByKey(getKeyProjectCategory(item)) | |
60 | 60 | ||
61 | 61 | ||
62 | 62 | func getKeyItemSupplier (supplier) = (supplier + "Comunidad Achuar Kapawi del Ecuador") | |
63 | 63 | ||
64 | 64 | ||
65 | 65 | func getKeyProjectName (item) = "Nombre del Proyecto:" | |
66 | 66 | ||
67 | 67 | ||
68 | 68 | func getValueProjectName (item) = getStrByKey(getKeyProjectName(item)) | |
69 | 69 | ||
70 | 70 | ||
71 | 71 | func getKeyProjectCountry (item) = "País | Ubicación:" | |
72 | 72 | ||
73 | 73 | ||
74 | 74 | func getValueProjectCountry (item) = getStrByKey(getKeyProjectCountry(item)) | |
75 | 75 | ||
76 | 76 | ||
77 | 77 | func getKeyProjectCode (item) = "Código:" | |
78 | 78 | ||
79 | 79 | ||
80 | 80 | func getValueProjectCode (item) = getStrByKey(getKeyProjectCode(item)) | |
81 | 81 | ||
82 | 82 | ||
83 | 83 | func getKeyProjectPropietary (item) = "Propietario | Beneficiario del Proyecto:" | |
84 | 84 | ||
85 | 85 | ||
86 | 86 | func getValueProjectPropietary (item) = getStrByKey(getKeyProjectPropietary(item)) | |
87 | 87 | ||
88 | 88 | ||
89 | 89 | func getKeyProjectDev (supplier) = "Desarrollador | Responsable Legal:" | |
90 | 90 | ||
91 | 91 | ||
92 | 92 | func getValueProjectDev (supplier) = getStrByKey(getKeyProjectDev(supplier)) | |
93 | 93 | ||
94 | 94 | ||
95 | 95 | func getKeyNomTokenPrice (item) = "Precio Nominal, 1 SGT:" | |
96 | 96 | ||
97 | 97 | ||
98 | 98 | func getKeyDescuento6TokPrice (item) = "Precio de 1 SGT con dscto elegido:" | |
99 | 99 | ||
100 | 100 | ||
101 | 101 | func getValueDescuento6TokPrice (item) = getNumberByKey(getKeyDescuento6TokPrice(item)) | |
102 | 102 | ||
103 | 103 | ||
104 | 104 | func getKeyFirstFaseQty (item) = "Cantidad de Tokens ofertados, F1 Pre-ICO:" | |
105 | 105 | ||
106 | 106 | ||
107 | 107 | func getValueFirstFaseQty (item) = getStrByKey(getKeyFirstFaseQty(item)) | |
108 | 108 | ||
109 | 109 | ||
110 | 110 | func getKeySaldoTokenQtyStartEtapa (item) = "Total de tokens realizados, Pre-ICO" | |
111 | 111 | ||
112 | 112 | ||
113 | 113 | func getValueSaldoTokenQtyStartEtapa (item) = getNumberByKey(getKeySaldoTokenQtyStartEtapa(item)) | |
114 | 114 | ||
115 | 115 | ||
116 | 116 | func getKeyBalanceSupplier (supplier) = "Fondos desde Tokens SGT, PreICO" | |
117 | 117 | ||
118 | 118 | ||
119 | 119 | func getValueBalanceSupplier (supplier) = getNumberByKey(getKeyBalanceSupplier(supplier)) | |
120 | 120 | ||
121 | 121 | ||
122 | 122 | func getKeyUserItemCounter (user,item) = "Order_№:" | |
123 | 123 | ||
124 | 124 | ||
125 | 125 | func getValueUserItemCounter (user,item) = getNumberByKey(getKeyUserItemCounter(user, item)) | |
126 | 126 | ||
127 | 127 | ||
128 | 128 | func getKeyUserDocument (item) = "Documento Nacional de Identidad, DNI del Usuario" | |
129 | 129 | ||
130 | 130 | ||
131 | 131 | func getValueUserDocument (item) = getStrByKey(getKeyUserDocument(item)) | |
132 | 132 | ||
133 | 133 | ||
134 | 134 | func getKeyUserCountry (item) = "País de Residencia del Usuario:" | |
135 | 135 | ||
136 | 136 | ||
137 | 137 | func getValueUserCountry (item) = getStrByKey(getKeyUserCountry(item)) | |
138 | 138 | ||
139 | 139 | ||
140 | 140 | func getKeyDiscount6User (item) = "Porcentaje de descuento elegido, %:" | |
141 | 141 | ||
142 | 142 | ||
143 | 143 | func getValueDiscount6User (item) = getNumberByKey(getKeyDiscount6User(item)) | |
144 | 144 | ||
145 | 145 | ||
146 | 146 | func getKeyItemUserOrderQty (item) = "Cantidad de tokens adquiridos:" | |
147 | 147 | ||
148 | 148 | ||
149 | 149 | func getValueItemUserOrderQty (item) = getNumberByKey(getKeyItemUserOrderQty(item)) | |
150 | 150 | ||
151 | 151 | ||
152 | 152 | @Callable(i) | |
153 | 153 | func purchaseSGT (item,userDocument,userCountry,userDiscount,orderQty,totalAmount) = { | |
154 | 154 | let pmt = extract(i.payment) | |
155 | 155 | if (isDefined(pmt.assetId)) | |
156 | 156 | then throw("Ud. puede adquirir tokens SGT usando WavesKeeper y su token de pago Waves.") | |
157 | 157 | else { | |
158 | 158 | let supplier = match getString(this, getKeyItemSupplier(item)) { | |
159 | 159 | case a: String => | |
160 | 160 | a | |
161 | 161 | case _ => | |
162 | 162 | NONE | |
163 | 163 | } | |
164 | 164 | let preIcoQty = match getInteger(this, getKeySaldoTokenQtyStartEtapa(item)) { | |
165 | 165 | case a: Int => | |
166 | 166 | a | |
167 | 167 | case _ => | |
168 | 168 | 0 | |
169 | 169 | } | |
170 | 170 | let balanceSupplier = match getInteger(this, getKeyBalanceSupplier(supplier)) { | |
171 | 171 | case a: Int => | |
172 | 172 | a | |
173 | 173 | case _ => | |
174 | 174 | 0 | |
175 | 175 | } | |
176 | 176 | let userAddress = toBase58String(i.caller.bytes) | |
177 | 177 | let currentTokenPrice = ((((((100 - userDiscount) * bco2e) * eurou) * wvs) / 100) / usdnw) | |
178 | 178 | let f1PjOfertaSGT9X10 = (((9 * FirstFaseQty) / 10) + 1) | |
179 | 179 | let f1PjStartAdmFondsSGT1X10 = ((1 * FirstFaseQty) / 10) | |
180 | 180 | if ((0 >= ((FirstFaseQty - preIcoQty) - orderQty))) | |
181 | 181 | then throw("Lo sentimos, por ahora no hay oferta de tokens para su transacción") | |
182 | 182 | else if ((totalAmount > pmt.amount)) | |
183 | 183 | then throw("Payment Amount can't be less than item Purchase Order") | |
184 | 184 | else if ((pmt.amount > totalAmount)) | |
185 | 185 | then throw("Payment Amount can't be higher than item Purchase Order") | |
186 | - | 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("tokens SGT a emitir en F1/F2 PreICO, total:", startTotalQty), DataEntry("tokens SGT en oferta F1 PreICO, unids", FirstFaseQty), DataEntry("tokens SGT en oferta/Intercambio en F1, 90% unids", f1PjOfertaSGT9X10), DataEntry("tokens SGT de Apoyo Admin-Inicial en F1, 10% unids", f1PjStartAdmFondsSGT1X10), DataEntry("tokens SGT en oferta F2 PreICO, unids.", SecondFaseQty), DataEntry("Cta. de Apoyo-Admin del Proyecto, blockchain", "3N935A2iWuGH3AmifpHVmQjoaA7KNX6E1fR"), 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 SGT en oferta F1 PreICO, unids.", ((FirstFaseQty - getValueSaldoTokenQtyStartEtapa(item)) - orderQty)), DataEntry("Saldo de Tokens SGT en PreICO Achuar-Kapawi:", ((startTotalQty - getValueSaldoTokenQtyStartEtapa(item)) - orderQty)), DataEntry(getKeyBalanceSupplier(supplier), (getValueBalanceSupplier(supplier) + pmt.amount)), DataEntry("Cta. Admin SGT del Ecosistema N08, blockchain:", "3Mu7Zd3UsSFicaf45vUFTpVsTZJWgTtvBhz")]), TransferSet([ScriptTransfer(addressFromStringValue(userAddress), (10000 * orderQty), SGT), ScriptTransfer(admN08SGTW, (( | |
186 | + | 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("tokens SGT a emitir en F1/F2 PreICO, total:", startTotalQty), DataEntry("tokens SGT en oferta F1 PreICO, unids", FirstFaseQty), DataEntry("tokens SGT en oferta/Intercambio en F1, 90% unids", f1PjOfertaSGT9X10), DataEntry("tokens SGT de Apoyo Admin-Inicial en F1, 10% unids", f1PjStartAdmFondsSGT1X10), DataEntry("tokens SGT en oferta F2 PreICO, unids.", SecondFaseQty), DataEntry("Cta. de Apoyo-Admin del Proyecto, blockchain", "3N935A2iWuGH3AmifpHVmQjoaA7KNX6E1fR"), 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 SGT en oferta F1 PreICO, unids.", ((FirstFaseQty - getValueSaldoTokenQtyStartEtapa(item)) - orderQty)), DataEntry("Saldo de Tokens SGT en PreICO Achuar-Kapawi:", ((startTotalQty - getValueSaldoTokenQtyStartEtapa(item)) - orderQty)), DataEntry(getKeyBalanceSupplier(supplier), (getValueBalanceSupplier(supplier) + pmt.amount)), DataEntry("Cta. Admin SGT del Ecosistema N08, blockchain:", "3Mu7Zd3UsSFicaf45vUFTpVsTZJWgTtvBhz")]), TransferSet([ScriptTransfer(addressFromStringValue(userAddress), (10000 * orderQty), SGT), ScriptTransfer(admN08SGTW, ((95 * pmt.amount) / 100), unit), ScriptTransfer(admN08ECpjAmazSGT6, ((5 * pmt.amount) / 100), unit)])) | |
187 | 187 | } | |
188 | 188 | } | |
189 | 189 | ||
190 | 190 | ||
191 | 191 | @Verifier(tx) | |
192 | 192 | func verify () = match tx { | |
193 | 193 | case t: SetScriptTransaction => | |
194 | 194 | sigVerify(tx.bodyBytes, tx.proofs[0], fromBase58String("Cyf33duPHeDukNKXnrekipPBeivui6A3LrRgFxLXuQe5")) | |
195 | 195 | case _ => | |
196 | 196 | false | |
197 | 197 | } | |
198 | 198 |
github/deemru/w8io/026f985 47.05 ms ◑