tx · 2N1U5LUS7T16W241rhJuoh5Kaa6mHRcRGraMLZqeJj16 3NC28hSivrmsTUXaYD1x6L362J4ZpUnoTdB: -0.01400000 Waves 2020.07.11 13:56 [1082522] smart account 3NC28hSivrmsTUXaYD1x6L362J4ZpUnoTdB > SELF 0.00000000 Waves
{ "type": 13, "id": "2N1U5LUS7T16W241rhJuoh5Kaa6mHRcRGraMLZqeJj16", "fee": 1400000, "feeAssetId": null, "timestamp": 1594465022385, "version": 1, "sender": "3NC28hSivrmsTUXaYD1x6L362J4ZpUnoTdB", "senderPublicKey": "Gd5NihbWQoWuTnSvq25TuV2BYZG4U1e9KDqZn9zBPix7", "proofs": [ "fbKSkzn72oVwqTA3o5fSkE79UBfkY12F6cDCpmWdPKByCdHG6FuBXcxbdXS9KuFMdfvf8ZHr7WrqRr8v7FpwmpM" ], "script": "base64:AAIDAAAAAAAAAC0IARIHCgUICAgICBIECgIICBIHCgUICAgICBIICgYICAgICAgSBQoDCAgIEgAAAAAQAAAAAA9zdG9yYWdlVmVyaWZpZXIJAQAAAAdleHRyYWN0AAAAAQkBAAAAEWFkZHJlc3NGcm9tU3RyaW5nAAAAAQIAAAAjM04yczVSdGFIUEJlbkNzeDJFQ2NvRlJiWUh4M25vWmhYVzEAAAAABGJhbmsCAAAAIzNOMUU2dFhkZFJvVmFSZlE5ZFEzdmc1TGFXMmZzZDhIS3ViAAAAAA1hY2NlcHRlZFRva2VuAQAAACDopWq8yndC8nBhMjVKT0WDubke5ZlnF8Nx6tkLoQSt6wAAAAAGdXNkbklEAgAAACwzS0ZYQkdHTENqQTVaMkR1VzREcTlmRERySGpKSlAxWkVrYW9halN6dUtzQwEAAAAKY2hlY2tFbnRyeQAAAAIAAAAGcHJlZml4AAAABHV1aWQEAAAAByRtYXRjaDAJAAQdAAAAAgUAAAAEdGhpcwkAASwAAAACBQAAAAZwcmVmaXgFAAAABHV1aWQDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABlN0cmluZwQAAAABYQUAAAA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AQkAAZEAAAACCAUAAAADaW52AAAABGFyZ3MAAAAAAAAAAAIDCQAAAAAAAAIIBQAAAANpbnYAAAAIZnVuY3Rpb24CAAAAE3Jldm9rZUNlcnRpZmljYXRpb24JAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACQACWQAAAAEJAQAAAAhhc1N0cmluZwAAAAEJAAGRAAAAAggFAAAAA2ludgAAAARhcmdzAAAAAAAAAAABCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleQkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXlLZBDx", "chainId": 84, "height": 1082522, "spentComplexity": 0 } View: original | compacted Prev: FbzkSH4iPAk8MdwS4zvvVyunsaYLj1WFFepQXF5dwZJ7 Next: J9jnwM8fiUZPejecZTBkiRWwVkM655PDiKh6YiuUujGa Diff:
Old | New | Differences | |
---|---|---|---|
174 | 174 | then (0 >= callerIsWhiteListedNum) | |
175 | 175 | else false) | |
176 | 176 | then throw("The price is wrong") | |
177 | - | else ScriptResult(WriteSet([DataEntry( | |
177 | + | else ScriptResult(WriteSet([DataEntry("data_fc_CgKjiPZmkjDaRVvssssk4ju8DjP5M9To5zQGYi57iJSw_3NCzApG3ka4tvDuKX8HxnJtXe7eJw5PmdVt", "{\"hash\":\"7f694c7f6e13f36be311119b7464ee6bb10fc31c4b2f8d93a99b54a1305cab68\",\"timestamp\":1594377490108,\"title\":\"user-page.jpg\",\"status\":\"REVOKED_GyzuH1BSZVwMucbSBd2nxr1YS8kpJdkwYQg7PEnNz9Lu\"}")]), TransferSet([ScriptTransfer(addressFromStringValue(bank), amount, payment.assetId)])) | |
178 | 178 | } | |
179 | 179 | else throw("You are not allowed to do that") | |
180 | 180 | } |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let storageVerifier = extract(addressFromString("3N2s5RtaHPBenCsx2ECcoFRbYHx3noZhXW1")) | |
5 | 5 | ||
6 | 6 | let bank = "3N1E6tXddRoVaRfQ9dQ3vg5LaW2fsd8HKub" | |
7 | 7 | ||
8 | 8 | let acceptedToken = base58'Gf9t8FA4H3ssoZPCwrg3KwUFCci8zuUFP9ssRsUY3s6a' | |
9 | 9 | ||
10 | 10 | let usdnID = "3KFXBGGLCjA5Z2DuW4Dq9fDDrHjJJP1ZEkaoajSzuKsC" | |
11 | 11 | ||
12 | 12 | func checkEntry (prefix,uuid) = match getString(this, (prefix + uuid)) { | |
13 | 13 | case a: String => | |
14 | 14 | a | |
15 | 15 | case _ => | |
16 | 16 | "NONE" | |
17 | 17 | } | |
18 | 18 | ||
19 | 19 | ||
20 | 20 | func checkEntryEmail (uuid,domain) = match getString(this, ((uuid + "@") + domain)) { | |
21 | 21 | case a: String => | |
22 | 22 | a | |
23 | 23 | case _ => | |
24 | 24 | "NONE" | |
25 | 25 | } | |
26 | 26 | ||
27 | 27 | ||
28 | 28 | func checkUUID (uuid) = match getString(this, uuid) { | |
29 | 29 | case a: String => | |
30 | 30 | a | |
31 | 31 | case _ => | |
32 | 32 | "NONE" | |
33 | 33 | } | |
34 | 34 | ||
35 | 35 | ||
36 | 36 | func checkIfWhiteListed (callerAddress) = match getInteger(this, ("addr_WHITELISTED_" + callerAddress)) { | |
37 | 37 | case a: Int => | |
38 | 38 | a | |
39 | 39 | case _ => | |
40 | 40 | 0 | |
41 | 41 | } | |
42 | 42 | ||
43 | 43 | ||
44 | 44 | func isAdress (addr) = if (if (if ((size(addr) == 35)) | |
45 | 45 | then (take(addr, 2) == "3P") | |
46 | 46 | else false) | |
47 | 47 | then true | |
48 | 48 | else (take(addr, 2) == "3N")) | |
49 | 49 | then true | |
50 | 50 | else (take(addr, 2) == "3M") | |
51 | 51 | ||
52 | 52 | ||
53 | 53 | func countParties (accumulator,addr) = if ((size(addr) > 0)) | |
54 | 54 | then (accumulator + 1) | |
55 | 55 | else (accumulator + 0) | |
56 | 56 | ||
57 | 57 | ||
58 | 58 | func checkIfPendingToSign (key) = match getString(this, key) { | |
59 | 59 | case a: String => | |
60 | 60 | if ((a == "PENDING")) | |
61 | 61 | then true | |
62 | 62 | else false | |
63 | 63 | case _ => | |
64 | 64 | false | |
65 | 65 | } | |
66 | 66 | ||
67 | 67 | ||
68 | 68 | func getValueString (json) = take(drop(json, 1), value(indexOf(drop(json, 1), "\""))) | |
69 | 69 | ||
70 | 70 | ||
71 | 71 | func getValue (json,key) = { | |
72 | 72 | let keyIndex = value(indexOf(json, (("\"" + key) + "\":"))) | |
73 | 73 | let data = drop(json, ((keyIndex + size(key)) + 3)) | |
74 | 74 | let jsonValue = getValueString(data) | |
75 | 75 | jsonValue | |
76 | 76 | } | |
77 | 77 | ||
78 | 78 | ||
79 | 79 | func getJsonBeforeValue (json,key) = { | |
80 | 80 | let keyIndex = value(indexOf(json, (("\"" + key) + "\":"))) | |
81 | 81 | let data = take(json, ((keyIndex + size(key)) + 3)) | |
82 | 82 | data | |
83 | 83 | } | |
84 | 84 | ||
85 | 85 | ||
86 | 86 | func getJsonAfterValue (json,key) = { | |
87 | 87 | let keyIndex = value(indexOf(json, (("\"" + key) + "\":"))) | |
88 | 88 | let data = takeRight(json, (size(json) - ((((keyIndex + size(key)) + 3) + 0) + 2))) | |
89 | 89 | data | |
90 | 90 | } | |
91 | 91 | ||
92 | 92 | ||
93 | 93 | func asString (bv) = match bv { | |
94 | 94 | case bv0: String => | |
95 | 95 | bv0 | |
96 | 96 | case _ => | |
97 | 97 | throw("Sponsored Public Key String expected") | |
98 | 98 | } | |
99 | 99 | ||
100 | 100 | ||
101 | 101 | @Callable(invoke) | |
102 | 102 | func fileCertification (hash,title,uuid,data,signerPubKey) = { | |
103 | 103 | let id = extract(invoke.transactionId) | |
104 | 104 | let entryExist = checkEntry(hash, uuid) | |
105 | 105 | let uuidExist = checkUUID(uuid) | |
106 | 106 | let callerIsDapp = (this == invoke.caller) | |
107 | 107 | let callerAddress = if (callerIsDapp) | |
108 | 108 | then toString(addressFromPublicKey(fromBase58String(signerPubKey))) | |
109 | 109 | else toBase58String(invoke.caller.bytes) | |
110 | 110 | let callerIsWhiteListedNum = checkIfWhiteListed(callerAddress) | |
111 | 111 | if ((entryExist != "NONE")) | |
112 | 112 | then throw("This entry already exist") | |
113 | 113 | else if ((uuidExist != "NONE")) | |
114 | 114 | then throw("This uuid already exist") | |
115 | 115 | else if ((size(uuid) > 36)) | |
116 | 116 | then throw("Uuid is too long, 36 characters max.") | |
117 | 117 | else if ((size(hash) > 64)) | |
118 | 118 | then throw("Hash is too long, 64 characters max.") | |
119 | 119 | else if ((size(title) > 64)) | |
120 | 120 | then throw("Title is too long, 64 characters max.") | |
121 | 121 | else if ((callerIsWhiteListedNum > 0)) | |
122 | 122 | then ScriptResult(WriteSet([DataEntry(uuid, toBase58String(id)), DataEntry((hash + uuid), toBase58String(id)), DataEntry((title + uuid), toBase58String(id)), DataEntry(("addr_WHITELISTED_" + callerAddress), (callerIsWhiteListedNum - 1)), DataEntry(((("data_fc_" + toBase58String(id)) + "_") + callerAddress), data)]), TransferSet([ScriptTransfer(addressFromStringValue(callerAddress), 0, acceptedToken)])) | |
123 | 123 | else if (!(callerIsDapp)) | |
124 | 124 | then { | |
125 | 125 | let payment = extract(invoke.payment) | |
126 | 126 | let amount = extract(payment.amount) | |
127 | 127 | let paymentAssetId = if (isDefined(payment.assetId)) | |
128 | 128 | then extract(payment.assetId) | |
129 | 129 | else throw("Waves is not accepted as payment") | |
130 | 130 | let currentPrice = getIntegerValue(storageVerifier, ("certification_fee_" + toBase58String(extract(paymentAssetId)))) | |
131 | 131 | if ((acceptedToken != paymentAssetId)) | |
132 | 132 | then throw("This token is not accepted at the moment") | |
133 | 133 | else if (if ((amount != currentPrice)) | |
134 | 134 | then (0 >= callerIsWhiteListedNum) | |
135 | 135 | else false) | |
136 | 136 | then throw("The price is wrong") | |
137 | 137 | else ScriptResult(WriteSet([DataEntry(uuid, toBase58String(id)), DataEntry((hash + uuid), toBase58String(id)), DataEntry((title + uuid), toBase58String(id)), DataEntry(((("data_fc_" + toBase58String(id)) + "_") + callerAddress), data)]), TransferSet([ScriptTransfer(addressFromStringValue(bank), amount, payment.assetId)])) | |
138 | 138 | } | |
139 | 139 | else throw("You are not allowed to do that") | |
140 | 140 | } | |
141 | 141 | ||
142 | 142 | ||
143 | 143 | ||
144 | 144 | @Callable(invoke) | |
145 | 145 | func revokeCertification (certificationId,signerPubKey) = { | |
146 | 146 | let id = extract(invoke.transactionId) | |
147 | 147 | let callerIsDapp = (this == invoke.caller) | |
148 | 148 | let callerAddress = if (callerIsDapp) | |
149 | 149 | then toString(addressFromPublicKey(fromBase58String(signerPubKey))) | |
150 | 150 | else toBase58String(invoke.caller.bytes) | |
151 | 151 | let entryExist = match getString(this, ((("data_fc_" + certificationId) + "_") + callerAddress)) { | |
152 | 152 | case a: String => | |
153 | 153 | a | |
154 | 154 | case _ => | |
155 | 155 | "NONE" | |
156 | 156 | } | |
157 | 157 | let callerIsWhiteListedNum = checkIfWhiteListed(callerAddress) | |
158 | 158 | let newJson = (((dropRight(entryExist, 1) + ",\"status\":\"REVOKED_") + toBase58String(id)) + "\"}") | |
159 | 159 | if ((entryExist == "NONE")) | |
160 | 160 | then throw("You cannot change the status of this certification.") | |
161 | 161 | else if ((callerIsWhiteListedNum > 0)) | |
162 | 162 | then WriteSet([DataEntry(("addr_WHITELISTED_" + callerAddress), (callerIsWhiteListedNum - 1)), DataEntry("data_fc_CgKjiPZmkjDaRVvssssk4ju8DjP5M9To5zQGYi57iJSw_3NCzApG3ka4tvDuKX8HxnJtXe7eJw5PmdVt", "{\"hash\":\"7f694c7f6e13f36be311119b7464ee6bb10fc31c4b2f8d93a99b54a1305cab68\",\"timestamp\":1594377490108,\"title\":\"user-page.jpg\",\"status\":\"REVOKED_GyzuH1BSZVwMucbSBd2nxr1YS8kpJdkwYQg7PEnNz9Lu\"}")]) | |
163 | 163 | else if (!(callerIsDapp)) | |
164 | 164 | then { | |
165 | 165 | let payment = extract(invoke.payment) | |
166 | 166 | let amount = extract(payment.amount) | |
167 | 167 | let paymentAssetId = if (isDefined(payment.assetId)) | |
168 | 168 | then extract(payment.assetId) | |
169 | 169 | else throw("Waves is not accepted as payment") | |
170 | 170 | let currentPrice = getIntegerValue(storageVerifier, ("certification_fee_" + toBase58String(extract(paymentAssetId)))) | |
171 | 171 | if ((acceptedToken != paymentAssetId)) | |
172 | 172 | then throw("This token is not accepted at the moment") | |
173 | 173 | else if (if ((amount != currentPrice)) | |
174 | 174 | then (0 >= callerIsWhiteListedNum) | |
175 | 175 | else false) | |
176 | 176 | then throw("The price is wrong") | |
177 | - | else ScriptResult(WriteSet([DataEntry( | |
177 | + | else ScriptResult(WriteSet([DataEntry("data_fc_CgKjiPZmkjDaRVvssssk4ju8DjP5M9To5zQGYi57iJSw_3NCzApG3ka4tvDuKX8HxnJtXe7eJw5PmdVt", "{\"hash\":\"7f694c7f6e13f36be311119b7464ee6bb10fc31c4b2f8d93a99b54a1305cab68\",\"timestamp\":1594377490108,\"title\":\"user-page.jpg\",\"status\":\"REVOKED_GyzuH1BSZVwMucbSBd2nxr1YS8kpJdkwYQg7PEnNz9Lu\"}")]), TransferSet([ScriptTransfer(addressFromStringValue(bank), amount, payment.assetId)])) | |
178 | 178 | } | |
179 | 179 | else throw("You are not allowed to do that") | |
180 | 180 | } | |
181 | 181 | ||
182 | 182 | ||
183 | 183 | ||
184 | 184 | @Callable(invoke) | |
185 | 185 | func emailCertification (domain,title,uuid,data,signerPubKey) = { | |
186 | 186 | let id = extract(invoke.transactionId) | |
187 | 187 | let entryExist = checkEntryEmail(domain, uuid) | |
188 | 188 | let uuidExist = checkUUID(uuid) | |
189 | 189 | let callerIsDapp = (this == invoke.caller) | |
190 | 190 | let callerAddress = if (callerIsDapp) | |
191 | 191 | then toString(addressFromPublicKey(fromBase58String(signerPubKey))) | |
192 | 192 | else toBase58String(invoke.caller.bytes) | |
193 | 193 | let callerIsWhiteListedNum = checkIfWhiteListed(callerAddress) | |
194 | 194 | if ((entryExist != "NONE")) | |
195 | 195 | then throw("This entry already exist") | |
196 | 196 | else if ((uuidExist != "NONE")) | |
197 | 197 | then throw("This uuid already exist") | |
198 | 198 | else if ((size(uuid) > 36)) | |
199 | 199 | then throw("Uuid is too long, 36 characters max.") | |
200 | 200 | else if ((size(domain) > 64)) | |
201 | 201 | then throw("Domain is too long, 64 characters max.") | |
202 | 202 | else if ((size(title) > 64)) | |
203 | 203 | then throw("Title is too long, 64 characters max.") | |
204 | 204 | else if ((callerIsWhiteListedNum > 0)) | |
205 | 205 | then ScriptResult(WriteSet([DataEntry(uuid, toBase58String(id)), DataEntry(((uuid + "@") + domain), toBase58String(id)), DataEntry((title + uuid), toBase58String(id)), DataEntry(("addr_WHITELISTED_" + callerAddress), (callerIsWhiteListedNum - 1)), DataEntry(((("data_ec_" + toBase58String(id)) + "_") + callerAddress), data)]), TransferSet([ScriptTransfer(addressFromStringValue(callerAddress), 0, acceptedToken)])) | |
206 | 206 | else if (!(callerIsDapp)) | |
207 | 207 | then { | |
208 | 208 | let payment = extract(invoke.payment) | |
209 | 209 | let amount = extract(payment.amount) | |
210 | 210 | let paymentAssetId = if (isDefined(payment.assetId)) | |
211 | 211 | then extract(payment.assetId) | |
212 | 212 | else throw("Waves is not accepted as payment") | |
213 | 213 | let currentPrice = getIntegerValue(storageVerifier, ("certification_fee_" + toBase58String(extract(paymentAssetId)))) | |
214 | 214 | if ((acceptedToken != paymentAssetId)) | |
215 | 215 | then throw("This token is not accepted at the moment") | |
216 | 216 | else if (if ((amount != currentPrice)) | |
217 | 217 | then (0 >= callerIsWhiteListedNum) | |
218 | 218 | else false) | |
219 | 219 | then throw("The price is wrong") | |
220 | 220 | else ScriptResult(WriteSet([DataEntry(uuid, toBase58String(id)), DataEntry(((uuid + "@") + domain), toBase58String(id)), DataEntry((title + uuid), toBase58String(id)), DataEntry(((("data_ec_" + toBase58String(id)) + "_") + callerAddress), data)]), TransferSet([ScriptTransfer(addressFromStringValue(bank), amount, payment.assetId)])) | |
221 | 221 | } | |
222 | 222 | else throw("You are not allowed to do that") | |
223 | 223 | } | |
224 | 224 | ||
225 | 225 | ||
226 | 226 | ||
227 | 227 | @Callable(invoke) | |
228 | 228 | func createAgreement (hash,title,stringifiedJSON,counterParts,signerPubKey,uuid) = { | |
229 | 229 | let id = extract(invoke.transactionId) | |
230 | 230 | let entryExist = checkEntry(hash, uuid) | |
231 | 231 | let uuidExist = checkUUID(uuid) | |
232 | 232 | let callerIsDapp = (this == invoke.caller) | |
233 | 233 | let callerAddress = if (callerIsDapp) | |
234 | 234 | then toString(addressFromPublicKey(fromBase58String(signerPubKey))) | |
235 | 235 | else toBase58String(invoke.caller.bytes) | |
236 | 236 | let callerIsWhiteListedNum = checkIfWhiteListed(callerAddress) | |
237 | 237 | let JSON = ((((getJsonBeforeValue(stringifiedJSON, "creator") + "\"") + callerAddress) + "\"") + getJsonAfterValue(stringifiedJSON, "creator")) | |
238 | 238 | let addressesArray = split(counterParts, ",") | |
239 | 239 | let totalAddresses = size(addressesArray) | |
240 | 240 | let globalDataTitle = DataEntry((title + uuid), toBase58String(id)) | |
241 | 241 | let globalDataHash = DataEntry((hash + uuid), toBase58String(id)) | |
242 | 242 | let globalDataJson = DataEntry(((("data_MA_" + toBase58String(id)) + "_") + callerAddress), JSON) | |
243 | 243 | let globalDataOwner = DataEntry(((callerAddress + "_MA_") + toBase58String(id)), ("SIGNED_" + toBase58String(id))) | |
244 | 244 | let dataWhiteListed = DataEntry(("addr_WHITELISTED_" + callerAddress), (callerIsWhiteListedNum - (totalAddresses + 1))) | |
245 | 245 | if ((entryExist != "NONE")) | |
246 | 246 | then throw("This entry already exist") | |
247 | 247 | else if ((uuidExist != "NONE")) | |
248 | 248 | then throw("This uuid already exist") | |
249 | 249 | else if ((size(uuid) > 36)) | |
250 | 250 | then throw("Uuid is too long, 36 characters max.") | |
251 | 251 | else if ((size(hash) > 64)) | |
252 | 252 | then throw("Message-id is too long, 64 characters max.") | |
253 | 253 | else if ((size(title) > 64)) | |
254 | 254 | then throw("Title is too long, 64 characters max.") | |
255 | 255 | else if ((callerIsWhiteListedNum > 0)) | |
256 | 256 | then if (((totalAddresses + 1) > callerIsWhiteListedNum)) | |
257 | 257 | then throw("You don't have enough certification credit") | |
258 | 258 | else if ((totalAddresses == 6)) | |
259 | 259 | then ScriptResult(WriteSet([globalDataTitle, globalDataHash, globalDataJson, globalDataOwner, dataWhiteListed, DataEntry(((addressesArray[0] + "_MA_") + toBase58String(id)), "PENDING"), DataEntry(((addressesArray[1] + "_MA_") + toBase58String(id)), "PENDING"), DataEntry(((addressesArray[2] + "_MA_") + toBase58String(id)), "PENDING"), DataEntry(((addressesArray[3] + "_MA_") + toBase58String(id)), "PENDING"), DataEntry(((addressesArray[4] + "_MA_") + toBase58String(id)), "PENDING"), DataEntry(((addressesArray[5] + "_MA_") + toBase58String(id)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(callerAddress), 0, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[0]), 0, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[1]), 0, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[2]), 0, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[3]), 0, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[4]), 0, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[5]), 0, acceptedToken)])) | |
260 | 260 | else if ((totalAddresses == 5)) | |
261 | 261 | then ScriptResult(WriteSet([globalDataTitle, globalDataHash, globalDataJson, globalDataOwner, dataWhiteListed, DataEntry(((addressesArray[0] + "_MA_") + toBase58String(id)), "PENDING"), DataEntry(((addressesArray[1] + "_MA_") + toBase58String(id)), "PENDING"), DataEntry(((addressesArray[2] + "_MA_") + toBase58String(id)), "PENDING"), DataEntry(((addressesArray[3] + "_MA_") + toBase58String(id)), "PENDING"), DataEntry(((addressesArray[4] + "_MA_") + toBase58String(id)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(callerAddress), 0, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[0]), 0, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[1]), 0, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[2]), 0, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[3]), 0, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[4]), 0, acceptedToken)])) | |
262 | 262 | else if ((totalAddresses == 4)) | |
263 | 263 | then ScriptResult(WriteSet([globalDataTitle, globalDataHash, globalDataJson, globalDataOwner, dataWhiteListed, DataEntry(((addressesArray[0] + "_MA_") + toBase58String(id)), "PENDING"), DataEntry(((addressesArray[1] + "_MA_") + toBase58String(id)), "PENDING"), DataEntry(((addressesArray[2] + "_MA_") + toBase58String(id)), "PENDING"), DataEntry(((addressesArray[3] + "_MA_") + toBase58String(id)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(callerAddress), 0, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[0]), 0, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[1]), 0, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[2]), 0, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[3]), 0, acceptedToken)])) | |
264 | 264 | else if ((totalAddresses == 3)) | |
265 | 265 | then ScriptResult(WriteSet([globalDataTitle, globalDataHash, globalDataJson, globalDataOwner, dataWhiteListed, DataEntry(((addressesArray[0] + "_MA_") + toBase58String(id)), "PENDING"), DataEntry(((addressesArray[1] + "_MA_") + toBase58String(id)), "PENDING"), DataEntry(((addressesArray[2] + "_MA_") + toBase58String(id)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(callerAddress), 0, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[0]), 0, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[1]), 0, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[2]), 0, acceptedToken)])) | |
266 | 266 | else if ((totalAddresses == 2)) | |
267 | 267 | then ScriptResult(WriteSet([globalDataTitle, globalDataHash, globalDataJson, globalDataOwner, dataWhiteListed, DataEntry(((addressesArray[0] + "_MA_") + toBase58String(id)), "PENDING"), DataEntry(((addressesArray[1] + "_MA_") + toBase58String(id)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(callerAddress), 0, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[0]), 0, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[1]), 0, acceptedToken)])) | |
268 | 268 | else if ((totalAddresses == 1)) | |
269 | 269 | then ScriptResult(WriteSet([globalDataTitle, globalDataHash, globalDataJson, globalDataOwner, dataWhiteListed, DataEntry(((addressesArray[0] + "_MA_") + toBase58String(id)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(callerAddress), 0, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[0]), 0, acceptedToken)])) | |
270 | 270 | else throw("Wrong number of participants") | |
271 | 271 | else if (!(callerIsDapp)) | |
272 | 272 | then { | |
273 | 273 | let payment = extract(invoke.payment) | |
274 | 274 | let amount = if (isDefined(payment.amount)) | |
275 | 275 | then extract(payment.amount) | |
276 | 276 | else 0 | |
277 | 277 | let paymentAssetId = if (isDefined(payment.assetId)) | |
278 | 278 | then extract(payment.assetId) | |
279 | 279 | else acceptedToken | |
280 | 280 | let currentPrice = getIntegerValue(storageVerifier, ("certification_fee_" + toBase58String(extract(paymentAssetId)))) | |
281 | 281 | if (((currentPrice * (totalAddresses + 1)) > amount)) | |
282 | 282 | then throw(("The price is wrong, it should be " + toString((currentPrice * (totalAddresses + 1))))) | |
283 | 283 | else if ((totalAddresses == 6)) | |
284 | 284 | then ScriptResult(WriteSet([globalDataTitle, globalDataHash, globalDataJson, globalDataOwner, DataEntry(((addressesArray[0] + "_MA_") + toBase58String(id)), "PENDING"), DataEntry(((addressesArray[1] + "_MA_") + toBase58String(id)), "PENDING"), DataEntry(((addressesArray[2] + "_MA_") + toBase58String(id)), "PENDING"), DataEntry(((addressesArray[3] + "_MA_") + toBase58String(id)), "PENDING"), DataEntry(((addressesArray[4] + "_MA_") + toBase58String(id)), "PENDING"), DataEntry(((addressesArray[5] + "_MA_") + toBase58String(id)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(bank), amount, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[0]), 0, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[1]), 0, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[2]), 0, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[3]), 0, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[4]), 0, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[5]), 0, acceptedToken)])) | |
285 | 285 | else if ((totalAddresses == 5)) | |
286 | 286 | then ScriptResult(WriteSet([globalDataTitle, globalDataHash, globalDataJson, globalDataOwner, DataEntry(((addressesArray[0] + "_MA_") + toBase58String(id)), "PENDING"), DataEntry(((addressesArray[1] + "_MA_") + toBase58String(id)), "PENDING"), DataEntry(((addressesArray[2] + "_MA_") + toBase58String(id)), "PENDING"), DataEntry(((addressesArray[3] + "_MA_") + toBase58String(id)), "PENDING"), DataEntry(((addressesArray[4] + "_MA_") + toBase58String(id)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(bank), amount, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[0]), 0, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[1]), 0, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[2]), 0, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[3]), 0, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[4]), 0, acceptedToken)])) | |
287 | 287 | else if ((totalAddresses == 4)) | |
288 | 288 | then ScriptResult(WriteSet([globalDataTitle, globalDataHash, globalDataJson, globalDataOwner, DataEntry(((addressesArray[0] + "_MA_") + toBase58String(id)), "PENDING"), DataEntry(((addressesArray[1] + "_MA_") + toBase58String(id)), "PENDING"), DataEntry(((addressesArray[2] + "_MA_") + toBase58String(id)), "PENDING"), DataEntry(((addressesArray[3] + "_MA_") + toBase58String(id)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(bank), amount, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[0]), 0, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[1]), 0, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[2]), 0, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[3]), 0, acceptedToken)])) | |
289 | 289 | else if ((totalAddresses == 3)) | |
290 | 290 | then ScriptResult(WriteSet([globalDataTitle, globalDataHash, globalDataJson, globalDataOwner, DataEntry(((addressesArray[0] + "_MA_") + toBase58String(id)), "PENDING"), DataEntry(((addressesArray[1] + "_MA_") + toBase58String(id)), "PENDING"), DataEntry(((addressesArray[2] + "_MA_") + toBase58String(id)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(bank), amount, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[0]), 0, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[1]), 0, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[2]), 0, acceptedToken)])) | |
291 | 291 | else if ((totalAddresses == 2)) | |
292 | 292 | then ScriptResult(WriteSet([globalDataTitle, globalDataHash, globalDataJson, globalDataOwner, DataEntry(((addressesArray[0] + "_MA_") + toBase58String(id)), "PENDING"), DataEntry(((addressesArray[1] + "_MA_") + toBase58String(id)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(bank), amount, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[0]), 0, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[1]), 0, acceptedToken)])) | |
293 | 293 | else if ((totalAddresses == 1)) | |
294 | 294 | then ScriptResult(WriteSet([globalDataTitle, globalDataHash, globalDataJson, globalDataOwner, DataEntry(((addressesArray[0] + "_MA_") + toBase58String(id)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(bank), amount, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[0]), 0, acceptedToken)])) | |
295 | 295 | else throw(("Needs 1 to 6 recipient addresses, currently sent: " + toString(totalAddresses))) | |
296 | 296 | } | |
297 | 297 | else throw("You are not allowed to do that") | |
298 | 298 | } | |
299 | 299 | ||
300 | 300 | ||
301 | 301 | ||
302 | 302 | @Callable(invoke) | |
303 | 303 | func signAgreement (hash,agreementId,signerPubKey) = { | |
304 | 304 | let payment = extract(invoke.payment) | |
305 | 305 | let amount = extract(payment.amount) | |
306 | 306 | let id = extract(invoke.transactionId) | |
307 | 307 | let callerIsDapp = (this == invoke.caller) | |
308 | 308 | let signer = if (callerIsDapp) | |
309 | 309 | then toString(addressFromPublicKey(fromBase58String(signerPubKey))) | |
310 | 310 | else toBase58String(invoke.caller.bytes) | |
311 | 311 | let signingRequestExist = checkIfPendingToSign(((signer + "_MA_") + agreementId)) | |
312 | 312 | if (!(signingRequestExist)) | |
313 | 313 | then throw("Sorry there is no pending signature") | |
314 | 314 | else ScriptResult(WriteSet([DataEntry(((signer + "_MA_") + agreementId), ("SIGNED_" + toBase58String(id)))]), TransferSet([ScriptTransfer(addressFromStringValue(signer), 0, acceptedToken)])) | |
315 | 315 | } | |
316 | 316 | ||
317 | 317 | ||
318 | 318 | ||
319 | 319 | @Callable(invoke) | |
320 | 320 | func usdnSignCredits () = { | |
321 | 321 | let payment = extract(invoke.payment) | |
322 | 322 | let callerAddress = toBase58String(invoke.caller.bytes) | |
323 | 323 | let tokenId = extract(payment.assetId) | |
324 | 324 | let amount = extract(payment.amount) | |
325 | 325 | let numberOfCredits = ((amount * 2) / 1000000) | |
326 | 326 | let callerIsWhiteListedNum = checkIfWhiteListed(callerAddress) | |
327 | 327 | if ((toBase58String(tokenId) != usdnID)) | |
328 | 328 | then throw("Only USDN can be exchanged") | |
329 | 329 | else if (if (((amount % 1000000) != 0)) | |
330 | 330 | then ((amount % 1000000) != 500000) | |
331 | 331 | else false) | |
332 | 332 | then throw(((("You can only exchange multiple of 0.5, you sent:" + dropRight(toString(amount), 6)) + ".") + takeRight(toString(amount), 6))) | |
333 | 333 | else ScriptResult(WriteSet([DataEntry(("addr_WHITELISTED_" + callerAddress), (callerIsWhiteListedNum + numberOfCredits))]), TransferSet([ScriptTransfer(addressFromStringValue(bank), amount, tokenId)])) | |
334 | 334 | } | |
335 | 335 | ||
336 | 336 | ||
337 | 337 | @Verifier(tx) | |
338 | 338 | func verifier () = match tx { | |
339 | 339 | case inv: InvokeScriptTransaction => | |
340 | 340 | if (if (if ((inv.function == "fileCertification")) | |
341 | 341 | then true | |
342 | 342 | else (inv.function == "emailCertification")) | |
343 | 343 | then true | |
344 | 344 | else (inv.function == "createAgreement")) | |
345 | 345 | then sigVerify(tx.bodyBytes, tx.proofs[0], fromBase58String(asString(inv.args[4]))) | |
346 | 346 | else if ((inv.function == "signAgreement")) | |
347 | 347 | then sigVerify(tx.bodyBytes, tx.proofs[0], fromBase58String(asString(inv.args[2]))) | |
348 | 348 | else if ((inv.function == "revokeCertification")) | |
349 | 349 | then sigVerify(tx.bodyBytes, tx.proofs[0], fromBase58String(asString(inv.args[1]))) | |
350 | 350 | else sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
351 | 351 | case _ => | |
352 | 352 | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
353 | 353 | } | |
354 | 354 |
github/deemru/w8io/026f985 71.96 ms ◑