tx · YqCWBs9dQa9C8sCdBsPo3ijyakPqhzGxF7kUztGJzY4 3NC28hSivrmsTUXaYD1x6L362J4ZpUnoTdB: -0.01400000 Waves 2021.09.29 12:18 [1724052] smart account 3NC28hSivrmsTUXaYD1x6L362J4ZpUnoTdB > SELF 0.00000000 Waves
{ "type": 13, "id": "YqCWBs9dQa9C8sCdBsPo3ijyakPqhzGxF7kUztGJzY4", "fee": 1400000, "feeAssetId": null, "timestamp": 1632907186010, "version": 2, "chainId": 84, "sender": "3NC28hSivrmsTUXaYD1x6L362J4ZpUnoTdB", "senderPublicKey": "Gd5NihbWQoWuTnSvq25TuV2BYZG4U1e9KDqZn9zBPix7", "proofs": [ "9WwsZwK1nkym87AdVgYjEdEQyqjPwi6pLa1gtYwMVByzCv3XjJjUWMzW3A5BR9A2pRvDqdnhEqVmATbbZ5TdTew" ], "script": "base64:AAIFAAAAAAAAACwIAhIHCgUICAgICBIECgIICBIGCgQICAgIEggKBggICAgICBIFCgMICAgSAAAAABAAAAAAD3N0b3JhZ2VWZXJpZmllcgkBAAAABXZhbHVlAAAAAQkABCYAAAABAgAAACMzTjJzNVJ0YUhQQmVuQ3N4MkVDY29GUmJZSHgzbm9aaFhXMQAAAAAEYmFuawIAAAAjM04xRTZ0WGRkUm9WYVJmUTlkUTN2ZzVMYVcyZnNkOEhLdWIAAAAADWFjY2VwdGVkVG9rZW4BAAAAIOilarzKd0LycGEyNUpPRYO5uR7lmWcXw3Hq2QuhBK3rAAAAAAZ1c2RuSUQCAAAALDNLRlhCR0dMQ2pBNVoyRHVXNERxOWZERHJIakpKUDFaRWthb2FqU3p1S3NDAQAAAApjaGVja0VudHJ5AAAAAgAAAAZwcmVmaXgAAAAEdXVpZAQAAAAHJG1hdGNoMAkABB0AAAACBQAAAAR0aGlzCQABLAAAAAIFAAAABnByZWZpeAUAAAAEdXVpZAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAGU3RyaW5nBAAAAAFhBQAAAAckbWF0Y2gwBQAAA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gFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACQACWQAAAAEJAQAAAAhhc1N0cmluZwAAAAEJAAGRAAAAAggFAAAAA2ludgAAAARhcmdzAAAAAAAAAAABCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleQkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXmfNfut", "height": 1724052, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4DWoe7GJk6iVHJsKdBfb9LXXKWJS31NkKDeaP37GmE38 Next: 5PQAGXCH6wDHJFQ2hKVFy5qaEJxRFigErvEiy4rZ31c5 Diff:
Old | New | Differences | |
---|---|---|---|
116 | 116 | then throw("Uuid should be 36 characters.") | |
117 | 117 | else if ((size(hash) != 64)) | |
118 | 118 | then throw("Hash should be 64 characters.") | |
119 | - | else if ((size(title) > | |
120 | - | then throw("Title is too long, | |
119 | + | else if ((size(title) > 100)) | |
120 | + | then throw("Title is too long, 100 characters max.") | |
121 | 121 | else if (if (if (contains(hash, "\"")) | |
122 | 122 | then true | |
123 | 123 | else contains(title, "\"")) | |
216 | 216 | then throw("Uuid is too long, 36 characters max.") | |
217 | 217 | else if ((size(domain) > 150)) | |
218 | 218 | then throw("Domain is too long, 150 characters max.") | |
219 | - | else if ((size(title) > | |
220 | - | then throw("Title is too long, | |
219 | + | else if ((size(title) > 100)) | |
220 | + | then throw("Title is too long, 100 characters max.") | |
221 | 221 | else if (if (if (contains(uuid, "\"")) | |
222 | 222 | then true | |
223 | 223 | else contains(title, "\"")) | |
276 | 276 | then throw("Uuid is too long, 36 characters max.") | |
277 | 277 | else if ((size(hash) > 64)) | |
278 | 278 | then throw("Message-id is too long, 64 characters max.") | |
279 | - | else if ((size(title) > | |
280 | - | then throw("Title is too long, | |
279 | + | else if ((size(title) > 100)) | |
280 | + | then throw("Title is too long, 100 characters max.") | |
281 | 281 | else if ((callerIsWhiteListedNum > 0)) | |
282 | 282 | then if (((totalAddresses + 1) > callerIsWhiteListedNum)) | |
283 | 283 | then throw("You don't have enough certification credit") |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let storageVerifier = value(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,ipfs,signerPubKey) = { | |
103 | 103 | let id = value(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 should be 36 characters.") | |
117 | 117 | else if ((size(hash) != 64)) | |
118 | 118 | then throw("Hash should be 64 characters.") | |
119 | - | else if ((size(title) > | |
120 | - | then throw("Title is too long, | |
119 | + | else if ((size(title) > 100)) | |
120 | + | then throw("Title is too long, 100 characters max.") | |
121 | 121 | else if (if (if (contains(hash, "\"")) | |
122 | 122 | then true | |
123 | 123 | else contains(title, "\"")) | |
124 | 124 | then true | |
125 | 125 | else contains(ipfs, "\"")) | |
126 | 126 | then throw("No \" allowed") | |
127 | 127 | else { | |
128 | 128 | let data = (((((((("{\"hash\":\"" + hash) + "\",\"timestamp\":") + toString(lastBlock.timestamp)) + ",\"title\":\"") + title) + "\",\"ipfs\":\"") + ipfs) + "\"}") | |
129 | 129 | if ((callerIsWhiteListedNum > 0)) | |
130 | 130 | then [StringEntry(uuid, toBase58String(id)), StringEntry((hash + uuid), toBase58String(id)), StringEntry((title + uuid), toBase58String(id)), IntegerEntry(("addr_WHITELISTED_" + callerAddress), (callerIsWhiteListedNum - 1)), StringEntry(((("data_fc_" + toBase58String(id)) + "_") + callerAddress), data), ScriptTransfer(addressFromStringValue(callerAddress), 0, acceptedToken)] | |
131 | 131 | else if (!(callerIsDapp)) | |
132 | 132 | then { | |
133 | 133 | let payment = value(invoke.payments[0]) | |
134 | 134 | let amount = value(payment.amount) | |
135 | 135 | let paymentAssetId = if (isDefined(payment.assetId)) | |
136 | 136 | then value(payment.assetId) | |
137 | 137 | else throw("Waves is not accepted as payment") | |
138 | 138 | let currentPrice = getIntegerValue(storageVerifier, ("certification_fee_" + toBase58String(value(paymentAssetId)))) | |
139 | 139 | if ((acceptedToken != paymentAssetId)) | |
140 | 140 | then throw("This token is not accepted at the moment") | |
141 | 141 | else if (if ((amount != currentPrice)) | |
142 | 142 | then (0 >= callerIsWhiteListedNum) | |
143 | 143 | else false) | |
144 | 144 | then throw("The price is wrong") | |
145 | 145 | else [StringEntry(uuid, toBase58String(id)), StringEntry((hash + uuid), toBase58String(id)), StringEntry((title + uuid), toBase58String(id)), StringEntry(((("data_fc_" + toBase58String(id)) + "_") + callerAddress), data), ScriptTransfer(addressFromStringValue(bank), amount, payment.assetId)] | |
146 | 146 | } | |
147 | 147 | else throw("You are not allowed to do that") | |
148 | 148 | } | |
149 | 149 | } | |
150 | 150 | ||
151 | 151 | ||
152 | 152 | ||
153 | 153 | @Callable(invoke) | |
154 | 154 | func revokeCertification (certificationId,signerPubKey) = { | |
155 | 155 | let id = value(invoke.transactionId) | |
156 | 156 | let callerIsDapp = (this == invoke.caller) | |
157 | 157 | let callerAddress = if (callerIsDapp) | |
158 | 158 | then toString(addressFromPublicKey(fromBase58String(signerPubKey))) | |
159 | 159 | else toBase58String(invoke.caller.bytes) | |
160 | 160 | let entryExist = match getString(this, ((("data_fc_" + certificationId) + "_") + callerAddress)) { | |
161 | 161 | case a: String => | |
162 | 162 | a | |
163 | 163 | case _ => | |
164 | 164 | "NONE" | |
165 | 165 | } | |
166 | 166 | let isRevoked = match getString(this, ("STATUS_FC_" + certificationId)) { | |
167 | 167 | case a: String => | |
168 | 168 | a | |
169 | 169 | case _ => | |
170 | 170 | "NONE" | |
171 | 171 | } | |
172 | 172 | let callerIsWhiteListedNum = checkIfWhiteListed(callerAddress) | |
173 | 173 | let newJson = (((dropRight(entryExist, 1) + ",\"status\":\"REVOKED_") + toBase58String(id)) + "\"}") | |
174 | 174 | if ((isRevoked != "NONE")) | |
175 | 175 | then throw("This certification have already been revoked.") | |
176 | 176 | else if ((entryExist == "NONE")) | |
177 | 177 | then throw("You cannot change the status of this certification.") | |
178 | 178 | else if ((callerIsWhiteListedNum > 0)) | |
179 | 179 | then [IntegerEntry(("addr_WHITELISTED_" + callerAddress), (callerIsWhiteListedNum - 1)), StringEntry(("STATUS_FC_" + certificationId), ("REVOKED_" + toBase58String(id))), StringEntry(((("data_fc_" + certificationId) + "_") + callerAddress), newJson)] | |
180 | 180 | else if (!(callerIsDapp)) | |
181 | 181 | then { | |
182 | 182 | let payment = value(invoke.payments[0]) | |
183 | 183 | let amount = value(payment.amount) | |
184 | 184 | let paymentAssetId = if (isDefined(payment.assetId)) | |
185 | 185 | then value(payment.assetId) | |
186 | 186 | else throw("Waves is not accepted as payment") | |
187 | 187 | let currentPrice = getIntegerValue(storageVerifier, ("certification_fee_" + toBase58String(value(paymentAssetId)))) | |
188 | 188 | if ((acceptedToken != paymentAssetId)) | |
189 | 189 | then throw("This token is not accepted at the moment") | |
190 | 190 | else if (if ((amount != currentPrice)) | |
191 | 191 | then (0 >= callerIsWhiteListedNum) | |
192 | 192 | else false) | |
193 | 193 | then throw("The price is wrong") | |
194 | 194 | else [StringEntry(("STATUS_FC_" + certificationId), ("REVOKED_" + toBase58String(id))), StringEntry(((("data_fc_" + certificationId) + "_") + callerAddress), newJson), ScriptTransfer(addressFromStringValue(bank), amount, payment.assetId)] | |
195 | 195 | } | |
196 | 196 | else throw("You are not allowed to do that") | |
197 | 197 | } | |
198 | 198 | ||
199 | 199 | ||
200 | 200 | ||
201 | 201 | @Callable(invoke) | |
202 | 202 | func emailCertification (domain,title,uuid,signerPubKey) = { | |
203 | 203 | let id = value(invoke.transactionId) | |
204 | 204 | let entryExist = checkEntryEmail(domain, uuid) | |
205 | 205 | let uuidExist = checkUUID(uuid) | |
206 | 206 | let callerIsDapp = (this == invoke.caller) | |
207 | 207 | let callerAddress = if (callerIsDapp) | |
208 | 208 | then toString(addressFromPublicKey(fromBase58String(signerPubKey))) | |
209 | 209 | else toBase58String(invoke.caller.bytes) | |
210 | 210 | let callerIsWhiteListedNum = checkIfWhiteListed(callerAddress) | |
211 | 211 | if ((entryExist != "NONE")) | |
212 | 212 | then throw("This entry already exist") | |
213 | 213 | else if ((uuidExist != "NONE")) | |
214 | 214 | then throw("This uuid already exist") | |
215 | 215 | else if ((size(uuid) > 36)) | |
216 | 216 | then throw("Uuid is too long, 36 characters max.") | |
217 | 217 | else if ((size(domain) > 150)) | |
218 | 218 | then throw("Domain is too long, 150 characters max.") | |
219 | - | else if ((size(title) > | |
220 | - | then throw("Title is too long, | |
219 | + | else if ((size(title) > 100)) | |
220 | + | then throw("Title is too long, 100 characters max.") | |
221 | 221 | else if (if (if (contains(uuid, "\"")) | |
222 | 222 | then true | |
223 | 223 | else contains(title, "\"")) | |
224 | 224 | then true | |
225 | 225 | else contains(domain, "\"")) | |
226 | 226 | then throw("No \" allowed") | |
227 | 227 | else { | |
228 | 228 | let data = (((((((("{\"messageid\":\"" + uuid) + "@") + domain) + "\",\"timestamp\":") + toString(lastBlock.timestamp)) + ",\"reference\":\"") + title) + "\"}") | |
229 | 229 | if ((callerIsWhiteListedNum > 0)) | |
230 | 230 | then [StringEntry(uuid, toBase58String(id)), StringEntry(((uuid + "@") + domain), toBase58String(id)), StringEntry((title + uuid), toBase58String(id)), IntegerEntry(("addr_WHITELISTED_" + callerAddress), (callerIsWhiteListedNum - 1)), StringEntry(((("data_ec_" + toBase58String(id)) + "_") + callerAddress), data), ScriptTransfer(addressFromStringValue(callerAddress), 0, acceptedToken)] | |
231 | 231 | else if (!(callerIsDapp)) | |
232 | 232 | then { | |
233 | 233 | let payment = value(invoke.payments[0]) | |
234 | 234 | let amount = value(payment.amount) | |
235 | 235 | let paymentAssetId = if (isDefined(payment.assetId)) | |
236 | 236 | then value(payment.assetId) | |
237 | 237 | else throw("Waves is not accepted as payment") | |
238 | 238 | let currentPrice = getIntegerValue(storageVerifier, ("certification_fee_" + toBase58String(value(paymentAssetId)))) | |
239 | 239 | if ((acceptedToken != paymentAssetId)) | |
240 | 240 | then throw("This token is not accepted at the moment") | |
241 | 241 | else if (if ((amount != currentPrice)) | |
242 | 242 | then (0 >= callerIsWhiteListedNum) | |
243 | 243 | else false) | |
244 | 244 | then throw("The price is wrong") | |
245 | 245 | else [StringEntry(uuid, toBase58String(id)), StringEntry(((uuid + "@") + domain), toBase58String(id)), StringEntry((title + uuid), toBase58String(id)), StringEntry(((("data_ec_" + toBase58String(id)) + "_") + callerAddress), data), ScriptTransfer(addressFromStringValue(bank), amount, payment.assetId)] | |
246 | 246 | } | |
247 | 247 | else throw("You are not allowed to do that") | |
248 | 248 | } | |
249 | 249 | } | |
250 | 250 | ||
251 | 251 | ||
252 | 252 | ||
253 | 253 | @Callable(invoke) | |
254 | 254 | func createAgreement (hash,title,stringifiedJSON,counterParts,signerPubKey,uuid) = { | |
255 | 255 | let id = value(invoke.transactionId) | |
256 | 256 | let entryExist = checkEntry(hash, uuid) | |
257 | 257 | let uuidExist = checkUUID(uuid) | |
258 | 258 | let callerIsDapp = (this == invoke.caller) | |
259 | 259 | let callerAddress = if (callerIsDapp) | |
260 | 260 | then toString(addressFromPublicKey(fromBase58String(signerPubKey))) | |
261 | 261 | else toBase58String(invoke.caller.bytes) | |
262 | 262 | let callerIsWhiteListedNum = checkIfWhiteListed(callerAddress) | |
263 | 263 | let JSON = ((((getJsonBeforeValue(stringifiedJSON, "creator") + "\"") + callerAddress) + "\"") + getJsonAfterValue(stringifiedJSON, "creator")) | |
264 | 264 | let addressesArray = split(counterParts, ",") | |
265 | 265 | let totalAddresses = size(addressesArray) | |
266 | 266 | let globalDataTitle = StringEntry((title + uuid), toBase58String(id)) | |
267 | 267 | let globalDataHash = StringEntry((hash + uuid), toBase58String(id)) | |
268 | 268 | let globalDataJson = StringEntry(((("data_MA_" + toBase58String(id)) + "_") + callerAddress), JSON) | |
269 | 269 | let globalDataOwner = StringEntry(((callerAddress + "_MA_") + toBase58String(id)), ("SIGNED_" + toBase58String(id))) | |
270 | 270 | let dataWhiteListed = IntegerEntry(("addr_WHITELISTED_" + callerAddress), (callerIsWhiteListedNum - (totalAddresses + 1))) | |
271 | 271 | if ((entryExist != "NONE")) | |
272 | 272 | then throw("This entry already exist") | |
273 | 273 | else if ((uuidExist != "NONE")) | |
274 | 274 | then throw("This uuid already exist") | |
275 | 275 | else if ((size(uuid) > 36)) | |
276 | 276 | then throw("Uuid is too long, 36 characters max.") | |
277 | 277 | else if ((size(hash) > 64)) | |
278 | 278 | then throw("Message-id is too long, 64 characters max.") | |
279 | - | else if ((size(title) > | |
280 | - | then throw("Title is too long, | |
279 | + | else if ((size(title) > 100)) | |
280 | + | then throw("Title is too long, 100 characters max.") | |
281 | 281 | else if ((callerIsWhiteListedNum > 0)) | |
282 | 282 | then if (((totalAddresses + 1) > callerIsWhiteListedNum)) | |
283 | 283 | then throw("You don't have enough certification credit") | |
284 | 284 | else if ((totalAddresses == 6)) | |
285 | 285 | then [globalDataTitle, globalDataHash, globalDataJson, globalDataOwner, dataWhiteListed, StringEntry(((addressesArray[0] + "_MA_") + toBase58String(id)), "PENDING"), StringEntry(((addressesArray[1] + "_MA_") + toBase58String(id)), "PENDING"), StringEntry(((addressesArray[2] + "_MA_") + toBase58String(id)), "PENDING"), StringEntry(((addressesArray[3] + "_MA_") + toBase58String(id)), "PENDING"), StringEntry(((addressesArray[4] + "_MA_") + toBase58String(id)), "PENDING"), StringEntry(((addressesArray[5] + "_MA_") + toBase58String(id)), "PENDING"), 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)] | |
286 | 286 | else if ((totalAddresses == 5)) | |
287 | 287 | then [globalDataTitle, globalDataHash, globalDataJson, globalDataOwner, dataWhiteListed, StringEntry(((addressesArray[0] + "_MA_") + toBase58String(id)), "PENDING"), StringEntry(((addressesArray[1] + "_MA_") + toBase58String(id)), "PENDING"), StringEntry(((addressesArray[2] + "_MA_") + toBase58String(id)), "PENDING"), StringEntry(((addressesArray[3] + "_MA_") + toBase58String(id)), "PENDING"), StringEntry(((addressesArray[4] + "_MA_") + toBase58String(id)), "PENDING"), 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)] | |
288 | 288 | else if ((totalAddresses == 4)) | |
289 | 289 | then [globalDataTitle, globalDataHash, globalDataJson, globalDataOwner, dataWhiteListed, StringEntry(((addressesArray[0] + "_MA_") + toBase58String(id)), "PENDING"), StringEntry(((addressesArray[1] + "_MA_") + toBase58String(id)), "PENDING"), StringEntry(((addressesArray[2] + "_MA_") + toBase58String(id)), "PENDING"), StringEntry(((addressesArray[3] + "_MA_") + toBase58String(id)), "PENDING"), 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)] | |
290 | 290 | else if ((totalAddresses == 3)) | |
291 | 291 | then [globalDataTitle, globalDataHash, globalDataJson, globalDataOwner, dataWhiteListed, StringEntry(((addressesArray[0] + "_MA_") + toBase58String(id)), "PENDING"), StringEntry(((addressesArray[1] + "_MA_") + toBase58String(id)), "PENDING"), StringEntry(((addressesArray[2] + "_MA_") + toBase58String(id)), "PENDING"), ScriptTransfer(addressFromStringValue(callerAddress), 0, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[0]), 0, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[1]), 0, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[2]), 0, acceptedToken)] | |
292 | 292 | else if ((totalAddresses == 2)) | |
293 | 293 | then [globalDataTitle, globalDataHash, globalDataJson, globalDataOwner, dataWhiteListed, StringEntry(((addressesArray[0] + "_MA_") + toBase58String(id)), "PENDING"), StringEntry(((addressesArray[1] + "_MA_") + toBase58String(id)), "PENDING"), ScriptTransfer(addressFromStringValue(callerAddress), 0, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[0]), 0, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[1]), 0, acceptedToken)] | |
294 | 294 | else if ((totalAddresses == 1)) | |
295 | 295 | then [globalDataTitle, globalDataHash, globalDataJson, globalDataOwner, dataWhiteListed, StringEntry(((addressesArray[0] + "_MA_") + toBase58String(id)), "PENDING"), ScriptTransfer(addressFromStringValue(callerAddress), 0, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[0]), 0, acceptedToken)] | |
296 | 296 | else throw("Wrong number of participants") | |
297 | 297 | else if (!(callerIsDapp)) | |
298 | 298 | then { | |
299 | 299 | let payment = value(invoke.payments[0]) | |
300 | 300 | let amount = if (isDefined(payment.amount)) | |
301 | 301 | then value(payment.amount) | |
302 | 302 | else 0 | |
303 | 303 | let paymentAssetId = if (isDefined(payment.assetId)) | |
304 | 304 | then value(payment.assetId) | |
305 | 305 | else acceptedToken | |
306 | 306 | let currentPrice = getIntegerValue(storageVerifier, ("certification_fee_" + toBase58String(value(paymentAssetId)))) | |
307 | 307 | if (((currentPrice * (totalAddresses + 1)) > amount)) | |
308 | 308 | then throw(("The price is wrong, it should be " + toString((currentPrice * (totalAddresses + 1))))) | |
309 | 309 | else if ((totalAddresses == 6)) | |
310 | 310 | then [globalDataTitle, globalDataHash, globalDataJson, globalDataOwner, StringEntry(((addressesArray[0] + "_MA_") + toBase58String(id)), "PENDING"), StringEntry(((addressesArray[1] + "_MA_") + toBase58String(id)), "PENDING"), StringEntry(((addressesArray[2] + "_MA_") + toBase58String(id)), "PENDING"), StringEntry(((addressesArray[3] + "_MA_") + toBase58String(id)), "PENDING"), StringEntry(((addressesArray[4] + "_MA_") + toBase58String(id)), "PENDING"), StringEntry(((addressesArray[5] + "_MA_") + toBase58String(id)), "PENDING"), 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)] | |
311 | 311 | else if ((totalAddresses == 5)) | |
312 | 312 | then [globalDataTitle, globalDataHash, globalDataJson, globalDataOwner, StringEntry(((addressesArray[0] + "_MA_") + toBase58String(id)), "PENDING"), StringEntry(((addressesArray[1] + "_MA_") + toBase58String(id)), "PENDING"), StringEntry(((addressesArray[2] + "_MA_") + toBase58String(id)), "PENDING"), StringEntry(((addressesArray[3] + "_MA_") + toBase58String(id)), "PENDING"), StringEntry(((addressesArray[4] + "_MA_") + toBase58String(id)), "PENDING"), 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)] | |
313 | 313 | else if ((totalAddresses == 4)) | |
314 | 314 | then [globalDataTitle, globalDataHash, globalDataJson, globalDataOwner, StringEntry(((addressesArray[0] + "_MA_") + toBase58String(id)), "PENDING"), StringEntry(((addressesArray[1] + "_MA_") + toBase58String(id)), "PENDING"), StringEntry(((addressesArray[2] + "_MA_") + toBase58String(id)), "PENDING"), StringEntry(((addressesArray[3] + "_MA_") + toBase58String(id)), "PENDING"), 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)] | |
315 | 315 | else if ((totalAddresses == 3)) | |
316 | 316 | then [globalDataTitle, globalDataHash, globalDataJson, globalDataOwner, StringEntry(((addressesArray[0] + "_MA_") + toBase58String(id)), "PENDING"), StringEntry(((addressesArray[1] + "_MA_") + toBase58String(id)), "PENDING"), StringEntry(((addressesArray[2] + "_MA_") + toBase58String(id)), "PENDING"), ScriptTransfer(addressFromStringValue(bank), amount, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[0]), 0, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[1]), 0, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[2]), 0, acceptedToken)] | |
317 | 317 | else if ((totalAddresses == 2)) | |
318 | 318 | then [globalDataTitle, globalDataHash, globalDataJson, globalDataOwner, StringEntry(((addressesArray[0] + "_MA_") + toBase58String(id)), "PENDING"), StringEntry(((addressesArray[1] + "_MA_") + toBase58String(id)), "PENDING"), ScriptTransfer(addressFromStringValue(bank), amount, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[0]), 0, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[1]), 0, acceptedToken)] | |
319 | 319 | else if ((totalAddresses == 1)) | |
320 | 320 | then [globalDataTitle, globalDataHash, globalDataJson, globalDataOwner, StringEntry(((addressesArray[0] + "_MA_") + toBase58String(id)), "PENDING"), ScriptTransfer(addressFromStringValue(bank), amount, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[0]), 0, acceptedToken)] | |
321 | 321 | else throw(("Needs 1 to 6 recipient addresses, currently sent: " + toString(totalAddresses))) | |
322 | 322 | } | |
323 | 323 | else throw("You are not allowed to do that") | |
324 | 324 | } | |
325 | 325 | ||
326 | 326 | ||
327 | 327 | ||
328 | 328 | @Callable(invoke) | |
329 | 329 | func signAgreement (hash,agreementId,signerPubKey) = { | |
330 | 330 | let payment = value(invoke.payments[0]) | |
331 | 331 | let amount = value(payment.amount) | |
332 | 332 | let id = value(invoke.transactionId) | |
333 | 333 | let callerIsDapp = (this == invoke.caller) | |
334 | 334 | let signer = if (callerIsDapp) | |
335 | 335 | then toString(addressFromPublicKey(fromBase58String(signerPubKey))) | |
336 | 336 | else toBase58String(invoke.caller.bytes) | |
337 | 337 | let signingRequestExist = checkIfPendingToSign(((signer + "_MA_") + agreementId)) | |
338 | 338 | if (!(signingRequestExist)) | |
339 | 339 | then throw("Sorry there is no pending signature") | |
340 | 340 | else [StringEntry(((signer + "_MA_") + agreementId), ("SIGNED_" + toBase58String(id))), ScriptTransfer(addressFromStringValue(signer), 0, acceptedToken)] | |
341 | 341 | } | |
342 | 342 | ||
343 | 343 | ||
344 | 344 | ||
345 | 345 | @Callable(invoke) | |
346 | 346 | func usdnSignCredits () = { | |
347 | 347 | let payment = value(invoke.payments[0]) | |
348 | 348 | let callerAddress = toBase58String(invoke.caller.bytes) | |
349 | 349 | let tokenId = value(payment.assetId) | |
350 | 350 | let amount = value(payment.amount) | |
351 | 351 | let numberOfCredits = ((amount * 2) / 1000000) | |
352 | 352 | let callerIsWhiteListedNum = checkIfWhiteListed(callerAddress) | |
353 | 353 | if ((toBase58String(tokenId) != usdnID)) | |
354 | 354 | then throw("Only USDN can be exchanged") | |
355 | 355 | else if (if (((amount % 1000000) != 0)) | |
356 | 356 | then ((amount % 1000000) != 500000) | |
357 | 357 | else false) | |
358 | 358 | then throw(((("You can only exchange multiple of 0.5, you sent:" + dropRight(toString(amount), 6)) + ".") + takeRight(toString(amount), 6))) | |
359 | 359 | else [IntegerEntry(("addr_WHITELISTED_" + callerAddress), (callerIsWhiteListedNum + numberOfCredits)), ScriptTransfer(addressFromStringValue(bank), amount, tokenId)] | |
360 | 360 | } | |
361 | 361 | ||
362 | 362 | ||
363 | 363 | @Verifier(tx) | |
364 | 364 | func verifier () = match tx { | |
365 | 365 | case inv: InvokeScriptTransaction => | |
366 | 366 | if (if ((inv.function == "fileCertification")) | |
367 | 367 | then true | |
368 | 368 | else (inv.function == "createAgreement")) | |
369 | 369 | then sigVerify(tx.bodyBytes, tx.proofs[0], fromBase58String(asString(inv.args[4]))) | |
370 | 370 | else if ((inv.function == "emailCertification")) | |
371 | 371 | then sigVerify(tx.bodyBytes, tx.proofs[0], fromBase58String(asString(inv.args[3]))) | |
372 | 372 | else if ((inv.function == "signAgreement")) | |
373 | 373 | then sigVerify(tx.bodyBytes, tx.proofs[0], fromBase58String(asString(inv.args[2]))) | |
374 | 374 | else if ((inv.function == "revokeCertification")) | |
375 | 375 | then sigVerify(tx.bodyBytes, tx.proofs[0], fromBase58String(asString(inv.args[1]))) | |
376 | 376 | else sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
377 | 377 | case _ => | |
378 | 378 | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
379 | 379 | } | |
380 | 380 |
github/deemru/w8io/026f985 88.48 ms ◑