tx · EgnLTvTXXb26voa7PBwQhiqrwehzkrVLYDfZuKSTG8RK 3NC28hSivrmsTUXaYD1x6L362J4ZpUnoTdB: -0.01400000 Waves 2021.01.18 05:55 [1358289] smart account 3NC28hSivrmsTUXaYD1x6L362J4ZpUnoTdB > SELF 0.00000000 Waves
{ "type": 13, "id": "EgnLTvTXXb26voa7PBwQhiqrwehzkrVLYDfZuKSTG8RK", "fee": 1400000, "feeAssetId": null, "timestamp": 1610938599129, "version": 2, "chainId": 84, "sender": "3NC28hSivrmsTUXaYD1x6L362J4ZpUnoTdB", "senderPublicKey": "Gd5NihbWQoWuTnSvq25TuV2BYZG4U1e9KDqZn9zBPix7", "proofs": [ "4vySP84kJQvAbA4jBT1x4zKd4DkpUHcMMhQ8tovSXpfqp2hvFVy6nUA2iSQFjRNm7AyiL5wJFKpv46doU1gDwjJu" ], "script": "base64:AAIDAAAAAAAAAC0IARIHCgUICAgICBIECgIICBIHCgUICAgICBIICgYICAgICAgSBQoDCAgIEgAAAAAQAAAAAA9zdG9yYWdlVmVyaWZpZXIJAQAAAAdleHRyYWN0AAAAAQkBAAAAEWFkZHJlc3NGcm9tU3RyaW5nAAAAAQIAAAAjM04yczVSdGFIUEJlbkNzeDJFQ2NvRlJiWUh4M25vWmhYVzEAAAAABGJhbmsCAAAAIzNOMUU2dFhkZFJvVmFSZlE5ZFEzdmc1TGFXMmZzZDhIS3ViAAAAAA1hY2NlcHRlZFRva2VuAQAAACDopWq8yndC8nBhMjVKT0WDubke5ZlnF8Nx6tkLoQSt6wAAAAAGdXNkbklEAgAAACwzS0ZYQkdHTENqQTVaMkR1VzREcTlmRERySGpKSlAxWkVrYW9halN6dUtzQwEAAAAKY2hlY2tFbnRyeQAAAAIAAAAGcHJlZml4AAAABHV1aWQEAAAAByRtYXRjaDAJAAQdAAAAAgUAAAAEdGhpcwkAASwAAAACBQAAAAZwcmVmaXgFAAAABHV1aWQDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABlN0cmluZwQAA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AAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAJAAJZAAAAAQkBAAAACGFzU3RyaW5nAAAAAQkAAZEAAAACCAUAAAADaW52AAAABGFyZ3MAAAAAAAAAAAIDCQAAAAAAAAIIBQAAAANpbnYAAAAIZnVuY3Rpb24CAAAAE3Jldm9rZUNlcnRpZmljYXRpb24JAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACQACWQAAAAEJAQAAAAhhc1N0cmluZwAAAAEJAAGRAAAAAggFAAAAA2ludgAAAARhcmdzAAAAAAAAAAABCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleQkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXk8R6Wx", "height": 1358289, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5fv6tuMjjGxjfDTF2LARXBpkDFP5cgj244KqF6o4yAKi Next: FdYDozj552AqNm3WaY2ypPnbC1TXBioXnSNLsuyxRHVq Diff:
Old | New | Differences | |
---|---|---|---|
1 | - | {-# STDLIB_VERSION | |
1 | + | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | - | let a = | |
4 | + | let a = extract(addressFromString("3N2s5RtaHPBenCsx2ECcoFRbYHx3noZhXW1")) | |
5 | 5 | ||
6 | 6 | let b = "3N1E6tXddRoVaRfQ9dQ3vg5LaW2fsd8HKub" | |
7 | 7 | ||
53 | 53 | } | |
54 | 54 | ||
55 | 55 | ||
56 | - | func o (p) = { | |
57 | - | let h = getString(this, p) | |
56 | + | func o (p) = if (if (if ((size(p) == 35)) | |
57 | + | then (take(p, 2) == "3P") | |
58 | + | else false) | |
59 | + | then true | |
60 | + | else (take(p, 2) == "3N")) | |
61 | + | then true | |
62 | + | else (take(p, 2) == "3M") | |
63 | + | ||
64 | + | ||
65 | + | func q (r,p) = if ((size(p) > 0)) | |
66 | + | then (r + 1) | |
67 | + | else (r + 0) | |
68 | + | ||
69 | + | ||
70 | + | func s (t) = { | |
71 | + | let h = getString(this, t) | |
58 | 72 | if ($isInstanceOf(h, "String")) | |
59 | 73 | then { | |
60 | 74 | let i = h | |
66 | 80 | } | |
67 | 81 | ||
68 | 82 | ||
69 | - | func | |
83 | + | func u (v) = take(drop(v, 1), value(indexOf(drop(v, 1), "\""))) | |
70 | 84 | ||
71 | 85 | ||
72 | - | func | |
73 | - | let | |
74 | - | let | |
75 | - | let | |
76 | - | | |
86 | + | func w (v,t) = { | |
87 | + | let x = value(indexOf(v, (("\"" + t) + "\":"))) | |
88 | + | let y = drop(v, ((x + size(t)) + 3)) | |
89 | + | let z = u(y) | |
90 | + | z | |
77 | 91 | } | |
78 | 92 | ||
79 | 93 | ||
80 | - | func | |
81 | - | let | |
82 | - | let | |
83 | - | | |
94 | + | func A (v,t) = { | |
95 | + | let x = value(indexOf(v, (("\"" + t) + "\":"))) | |
96 | + | let y = take(v, ((x + size(t)) + 3)) | |
97 | + | y | |
84 | 98 | } | |
85 | 99 | ||
86 | 100 | ||
87 | - | func | |
88 | - | let | |
89 | - | let | |
90 | - | | |
101 | + | func B (v,t) = { | |
102 | + | let x = value(indexOf(v, (("\"" + t) + "\":"))) | |
103 | + | let y = takeRight(v, (size(v) - ((((x + size(t)) + 3) + 0) + 2))) | |
104 | + | y | |
91 | 105 | } | |
92 | 106 | ||
93 | 107 | ||
94 | - | func | |
95 | - | let h = | |
108 | + | func C (D) = { | |
109 | + | let h = D | |
96 | 110 | if ($isInstanceOf(h, "String")) | |
97 | 111 | then { | |
98 | - | let | |
99 | - | | |
112 | + | let E = h | |
113 | + | E | |
100 | 114 | } | |
101 | 115 | else throw("Sponsored Public Key String expected") | |
102 | 116 | } | |
103 | 117 | ||
104 | 118 | ||
105 | - | @Callable( | |
106 | - | func fileCertification ( | |
107 | - | let | |
108 | - | let | |
109 | - | let | |
110 | - | let | |
111 | - | let n = if ( | |
112 | - | then toString(addressFromPublicKey(fromBase58String( | |
113 | - | else toBase58String( | |
114 | - | let | |
115 | - | if (( | |
119 | + | @Callable(F) | |
120 | + | func fileCertification (G,H,g,y,I) = { | |
121 | + | let J = extract(F.transactionId) | |
122 | + | let K = e(G, g) | |
123 | + | let L = l(g) | |
124 | + | let M = (this == F.caller) | |
125 | + | let n = if (M) | |
126 | + | then toString(addressFromPublicKey(fromBase58String(I))) | |
127 | + | else toBase58String(F.caller.bytes) | |
128 | + | let N = m(n) | |
129 | + | if ((K != "NONE")) | |
116 | 130 | then throw("This entry already exist") | |
117 | - | else if (( | |
131 | + | else if ((L != "NONE")) | |
118 | 132 | then throw("This uuid already exist") | |
119 | 133 | else if ((size(g) != 36)) | |
120 | - | then throw("Uuid | |
121 | - | else if ((size( | |
122 | - | then throw(" | |
123 | - | else if ((size( | |
134 | + | then throw("Uuid should be 36 characters.") | |
135 | + | else if ((size(G) != 64)) | |
136 | + | then throw("Hash should be 64 characters.") | |
137 | + | else if ((size(H) > 64)) | |
124 | 138 | then throw("Title is too long, 64 characters max.") | |
125 | - | else if (( | |
126 | - | then [ | |
127 | - | else if (!( | |
139 | + | else if ((N > 0)) | |
140 | + | then ScriptResult(WriteSet([DataEntry(g, toBase58String(J)), DataEntry((G + g), toBase58String(J)), DataEntry((H + g), toBase58String(J)), DataEntry(("addr_WHITELISTED_" + n), (N - 1)), DataEntry(((("data_fc_" + toBase58String(J)) + "_") + n), y)]), TransferSet([ScriptTransfer(addressFromStringValue(n), 0, c)])) | |
141 | + | else if (!(M)) | |
128 | 142 | then { | |
129 | - | let | |
130 | - | let | |
131 | - | let | |
132 | - | then | |
143 | + | let O = extract(F.payment) | |
144 | + | let P = extract(O.amount) | |
145 | + | let Q = if (isDefined(O.assetId)) | |
146 | + | then extract(O.assetId) | |
133 | 147 | else throw("Waves is not accepted as payment") | |
134 | - | let | |
135 | - | if ((c != | |
148 | + | let R = getIntegerValue(a, ("certification_fee_" + toBase58String(extract(Q)))) | |
149 | + | if ((c != Q)) | |
136 | 150 | then throw("This token is not accepted at the moment") | |
137 | - | else if (if (( | |
138 | - | then (0 >= | |
151 | + | else if (if ((P != R)) | |
152 | + | then (0 >= N) | |
139 | 153 | else false) | |
140 | 154 | then throw("The price is wrong") | |
141 | - | else [ | |
155 | + | else ScriptResult(WriteSet([DataEntry(g, toBase58String(J)), DataEntry((G + g), toBase58String(J)), DataEntry((H + g), toBase58String(J)), DataEntry(((("data_fc_" + toBase58String(J)) + "_") + n), y)]), TransferSet([ScriptTransfer(addressFromStringValue(b), P, O.assetId)])) | |
142 | 156 | } | |
143 | 157 | else throw("You are not allowed to do that") | |
144 | 158 | } | |
145 | 159 | ||
146 | 160 | ||
147 | 161 | ||
148 | - | @Callable( | |
149 | - | func revokeCertification ( | |
150 | - | let | |
151 | - | let | |
152 | - | let n = if ( | |
153 | - | then toString(addressFromPublicKey(fromBase58String( | |
154 | - | else toBase58String( | |
155 | - | let | |
156 | - | let h = getString(this, ((("data_fc_" + | |
162 | + | @Callable(F) | |
163 | + | func revokeCertification (S,I) = { | |
164 | + | let J = extract(F.transactionId) | |
165 | + | let M = (this == F.caller) | |
166 | + | let n = if (M) | |
167 | + | then toString(addressFromPublicKey(fromBase58String(I))) | |
168 | + | else toBase58String(F.caller.bytes) | |
169 | + | let K = { | |
170 | + | let h = getString(this, ((("data_fc_" + S) + "_") + n)) | |
157 | 171 | if ($isInstanceOf(h, "String")) | |
158 | 172 | then { | |
159 | 173 | let i = h | |
161 | 175 | } | |
162 | 176 | else "NONE" | |
163 | 177 | } | |
164 | - | let | |
165 | - | let h = getString(this, ("STATUS_FC_" + | |
178 | + | let T = { | |
179 | + | let h = getString(this, ("STATUS_FC_" + S)) | |
166 | 180 | if ($isInstanceOf(h, "String")) | |
167 | 181 | then { | |
168 | 182 | let i = h | |
170 | 184 | } | |
171 | 185 | else "NONE" | |
172 | 186 | } | |
173 | - | let | |
174 | - | if (( | |
187 | + | let N = m(n) | |
188 | + | if ((T != "NONE")) | |
175 | 189 | then throw("This certification have already been revoked.") | |
176 | - | else if (( | |
190 | + | else if ((K == "NONE")) | |
177 | 191 | then throw("You cannot change the status of this certification.") | |
178 | 192 | else { | |
179 | - | let | |
180 | - | if (( | |
181 | - | then [ | |
182 | - | else if (!( | |
193 | + | let U = (((dropRight(K, 1) + ",\"status\":\"REVOKED_") + toBase58String(J)) + "\"}") | |
194 | + | if ((N > 0)) | |
195 | + | then WriteSet([DataEntry(("addr_WHITELISTED_" + n), (N - 1)), DataEntry(("STATUS_FC_" + S), ("REVOKED_" + toBase58String(J))), DataEntry(((("data_fc_" + S) + "_") + n), U)]) | |
196 | + | else if (!(M)) | |
183 | 197 | then { | |
184 | - | let | |
185 | - | let | |
186 | - | let | |
187 | - | then | |
198 | + | let O = extract(F.payment) | |
199 | + | let P = extract(O.amount) | |
200 | + | let Q = if (isDefined(O.assetId)) | |
201 | + | then extract(O.assetId) | |
188 | 202 | else throw("Waves is not accepted as payment") | |
189 | - | let | |
190 | - | if ((c != | |
203 | + | let R = getIntegerValue(a, ("certification_fee_" + toBase58String(extract(Q)))) | |
204 | + | if ((c != Q)) | |
191 | 205 | then throw("This token is not accepted at the moment") | |
192 | - | else if (if (( | |
193 | - | then (0 >= | |
206 | + | else if (if ((P != R)) | |
207 | + | then (0 >= N) | |
194 | 208 | else false) | |
195 | 209 | then throw("The price is wrong") | |
196 | - | else [ | |
210 | + | else ScriptResult(WriteSet([DataEntry(("STATUS_FC_" + S), ("REVOKED_" + toBase58String(J))), DataEntry(((("data_fc_" + S) + "_") + n), U)]), TransferSet([ScriptTransfer(addressFromStringValue(b), P, O.assetId)])) | |
197 | 211 | } | |
198 | 212 | else throw("You are not allowed to do that") | |
199 | 213 | } | |
201 | 215 | ||
202 | 216 | ||
203 | 217 | ||
204 | - | @Callable( | |
205 | - | func emailCertification (k,g, | |
206 | - | let | |
207 | - | let | |
208 | - | let | |
209 | - | let | |
210 | - | let n = if ( | |
211 | - | then toString(addressFromPublicKey(fromBase58String( | |
212 | - | else toBase58String( | |
213 | - | let | |
214 | - | if (( | |
218 | + | @Callable(F) | |
219 | + | func emailCertification (k,H,g,y,I) = { | |
220 | + | let J = extract(F.transactionId) | |
221 | + | let K = j(k, g) | |
222 | + | let L = l(g) | |
223 | + | let M = (this == F.caller) | |
224 | + | let n = if (M) | |
225 | + | then toString(addressFromPublicKey(fromBase58String(I))) | |
226 | + | else toBase58String(F.caller.bytes) | |
227 | + | let N = m(n) | |
228 | + | if ((K != "NONE")) | |
215 | 229 | then throw("This entry already exist") | |
216 | - | else if (( | |
230 | + | else if ((L != "NONE")) | |
217 | 231 | then throw("This uuid already exist") | |
218 | 232 | else if ((size(g) > 36)) | |
219 | 233 | then throw("Uuid is too long, 36 characters max.") | |
220 | 234 | else if ((size(k) > 64)) | |
221 | 235 | then throw("Domain is too long, 64 characters max.") | |
222 | - | else if ((size( | |
236 | + | else if ((size(H) > 64)) | |
223 | 237 | then throw("Title is too long, 64 characters max.") | |
224 | - | else if (( | |
225 | - | then [ | |
226 | - | else if (!( | |
238 | + | else if ((N > 0)) | |
239 | + | then ScriptResult(WriteSet([DataEntry(g, toBase58String(J)), DataEntry(((g + "@") + k), toBase58String(J)), DataEntry((H + g), toBase58String(J)), DataEntry(("addr_WHITELISTED_" + n), (N - 1)), DataEntry(((("data_ec_" + toBase58String(J)) + "_") + n), y)]), TransferSet([ScriptTransfer(addressFromStringValue(n), 0, c)])) | |
240 | + | else if (!(M)) | |
227 | 241 | then { | |
228 | - | let | |
229 | - | let | |
230 | - | let | |
231 | - | then | |
242 | + | let O = extract(F.payment) | |
243 | + | let P = extract(O.amount) | |
244 | + | let Q = if (isDefined(O.assetId)) | |
245 | + | then extract(O.assetId) | |
232 | 246 | else throw("Waves is not accepted as payment") | |
233 | - | let | |
234 | - | if ((c != | |
247 | + | let R = getIntegerValue(a, ("certification_fee_" + toBase58String(extract(Q)))) | |
248 | + | if ((c != Q)) | |
235 | 249 | then throw("This token is not accepted at the moment") | |
236 | - | else if (if (( | |
237 | - | then (0 >= | |
250 | + | else if (if ((P != R)) | |
251 | + | then (0 >= N) | |
238 | 252 | else false) | |
239 | 253 | then throw("The price is wrong") | |
240 | - | else [ | |
254 | + | else ScriptResult(WriteSet([DataEntry(g, toBase58String(J)), DataEntry(((g + "@") + k), toBase58String(J)), DataEntry((H + g), toBase58String(J)), DataEntry(((("data_ec_" + toBase58String(J)) + "_") + n), y)]), TransferSet([ScriptTransfer(addressFromStringValue(b), P, O.assetId)])) | |
241 | 255 | } | |
242 | 256 | else throw("You are not allowed to do that") | |
243 | 257 | } | |
244 | 258 | ||
245 | 259 | ||
246 | 260 | ||
247 | - | @Callable( | |
248 | - | func createAgreement ( | |
249 | - | let | |
250 | - | let | |
251 | - | let | |
252 | - | let | |
253 | - | let n = if ( | |
254 | - | then toString(addressFromPublicKey(fromBase58String( | |
255 | - | else toBase58String( | |
256 | - | let | |
257 | - | let | |
258 | - | let | |
259 | - | let | |
260 | - | let | |
261 | - | let | |
262 | - | let | |
263 | - | let | |
264 | - | let | |
265 | - | if (( | |
261 | + | @Callable(F) | |
262 | + | func createAgreement (G,H,V,W,I,g) = { | |
263 | + | let J = extract(F.transactionId) | |
264 | + | let K = e(G, g) | |
265 | + | let L = l(g) | |
266 | + | let M = (this == F.caller) | |
267 | + | let n = if (M) | |
268 | + | then toString(addressFromPublicKey(fromBase58String(I))) | |
269 | + | else toBase58String(F.caller.bytes) | |
270 | + | let N = m(n) | |
271 | + | let X = ((((A(V, "creator") + "\"") + n) + "\"") + B(V, "creator")) | |
272 | + | let Y = split(W, ",") | |
273 | + | let Z = size(Y) | |
274 | + | let aa = DataEntry((H + g), toBase58String(J)) | |
275 | + | let ab = DataEntry((G + g), toBase58String(J)) | |
276 | + | let ac = DataEntry(((("data_MA_" + toBase58String(J)) + "_") + n), X) | |
277 | + | let ad = DataEntry(((n + "_MA_") + toBase58String(J)), ("SIGNED_" + toBase58String(J))) | |
278 | + | let ae = DataEntry(("addr_WHITELISTED_" + n), (N - (Z + 1))) | |
279 | + | if ((K != "NONE")) | |
266 | 280 | then throw("This entry already exist") | |
267 | - | else if (( | |
281 | + | else if ((L != "NONE")) | |
268 | 282 | then throw("This uuid already exist") | |
269 | - | else if ((size(g) | |
270 | - | then throw("Uuid | |
271 | - | else if ((size( | |
272 | - | then throw(" | |
273 | - | else if ((size( | |
283 | + | else if ((size(g) > 36)) | |
284 | + | then throw("Uuid is too long, 36 characters max.") | |
285 | + | else if ((size(G) > 64)) | |
286 | + | then throw("Message-id is too long, 64 characters max.") | |
287 | + | else if ((size(H) > 64)) | |
274 | 288 | then throw("Title is too long, 64 characters max.") | |
275 | - | else if (( | |
276 | - | then if ((( | |
289 | + | else if ((N > 0)) | |
290 | + | then if (((Z + 1) > N)) | |
277 | 291 | then throw("You don't have enough certification credit") | |
278 | - | else if (( | |
279 | - | then [ | |
280 | - | else if (( | |
281 | - | then [ | |
282 | - | else if (( | |
283 | - | then [ | |
284 | - | else if (( | |
285 | - | then [ | |
286 | - | else if (( | |
287 | - | then [ | |
288 | - | else if (( | |
289 | - | then [ | |
292 | + | else if ((Z == 6)) | |
293 | + | then ScriptResult(WriteSet([aa, ab, ac, ad, ae, DataEntry(((Y[0] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[1] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[2] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[3] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[4] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[5] + "_MA_") + toBase58String(J)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(n), 0, c), ScriptTransfer(addressFromStringValue(Y[0]), 0, c), ScriptTransfer(addressFromStringValue(Y[1]), 0, c), ScriptTransfer(addressFromStringValue(Y[2]), 0, c), ScriptTransfer(addressFromStringValue(Y[3]), 0, c), ScriptTransfer(addressFromStringValue(Y[4]), 0, c), ScriptTransfer(addressFromStringValue(Y[5]), 0, c)])) | |
294 | + | else if ((Z == 5)) | |
295 | + | then ScriptResult(WriteSet([aa, ab, ac, ad, ae, DataEntry(((Y[0] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[1] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[2] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[3] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[4] + "_MA_") + toBase58String(J)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(n), 0, c), ScriptTransfer(addressFromStringValue(Y[0]), 0, c), ScriptTransfer(addressFromStringValue(Y[1]), 0, c), ScriptTransfer(addressFromStringValue(Y[2]), 0, c), ScriptTransfer(addressFromStringValue(Y[3]), 0, c), ScriptTransfer(addressFromStringValue(Y[4]), 0, c)])) | |
296 | + | else if ((Z == 4)) | |
297 | + | then ScriptResult(WriteSet([aa, ab, ac, ad, ae, DataEntry(((Y[0] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[1] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[2] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[3] + "_MA_") + toBase58String(J)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(n), 0, c), ScriptTransfer(addressFromStringValue(Y[0]), 0, c), ScriptTransfer(addressFromStringValue(Y[1]), 0, c), ScriptTransfer(addressFromStringValue(Y[2]), 0, c), ScriptTransfer(addressFromStringValue(Y[3]), 0, c)])) | |
298 | + | else if ((Z == 3)) | |
299 | + | then ScriptResult(WriteSet([aa, ab, ac, ad, ae, DataEntry(((Y[0] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[1] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[2] + "_MA_") + toBase58String(J)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(n), 0, c), ScriptTransfer(addressFromStringValue(Y[0]), 0, c), ScriptTransfer(addressFromStringValue(Y[1]), 0, c), ScriptTransfer(addressFromStringValue(Y[2]), 0, c)])) | |
300 | + | else if ((Z == 2)) | |
301 | + | then ScriptResult(WriteSet([aa, ab, ac, ad, ae, DataEntry(((Y[0] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[1] + "_MA_") + toBase58String(J)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(n), 0, c), ScriptTransfer(addressFromStringValue(Y[0]), 0, c), ScriptTransfer(addressFromStringValue(Y[1]), 0, c)])) | |
302 | + | else if ((Z == 1)) | |
303 | + | then ScriptResult(WriteSet([aa, ab, ac, ad, ae, DataEntry(((Y[0] + "_MA_") + toBase58String(J)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(n), 0, c), ScriptTransfer(addressFromStringValue(Y[0]), 0, c)])) | |
290 | 304 | else throw("Wrong number of participants") | |
291 | - | else if (!( | |
305 | + | else if (!(M)) | |
292 | 306 | then { | |
293 | - | let | |
294 | - | let | |
295 | - | then | |
307 | + | let O = extract(F.payment) | |
308 | + | let P = if (isDefined(O.amount)) | |
309 | + | then extract(O.amount) | |
296 | 310 | else 0 | |
297 | - | let | |
298 | - | then | |
311 | + | let Q = if (isDefined(O.assetId)) | |
312 | + | then extract(O.assetId) | |
299 | 313 | else c | |
300 | - | let | |
301 | - | if ((( | |
302 | - | then throw(("The price is wrong, it should be " + toString(( | |
303 | - | else if (( | |
304 | - | then [ | |
305 | - | else if (( | |
306 | - | then [ | |
307 | - | else if (( | |
308 | - | then [ | |
309 | - | else if (( | |
310 | - | then [ | |
311 | - | else if (( | |
312 | - | then [ | |
313 | - | else if (( | |
314 | - | then [ | |
315 | - | else throw(("Needs 1 to 6 recipient addresses, currently sent: " + toString( | |
314 | + | let R = getIntegerValue(a, ("certification_fee_" + toBase58String(extract(Q)))) | |
315 | + | if (((R * (Z + 1)) > P)) | |
316 | + | then throw(("The price is wrong, it should be " + toString((R * (Z + 1))))) | |
317 | + | else if ((Z == 6)) | |
318 | + | then ScriptResult(WriteSet([aa, ab, ac, ad, DataEntry(((Y[0] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[1] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[2] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[3] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[4] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[5] + "_MA_") + toBase58String(J)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(b), P, c), ScriptTransfer(addressFromStringValue(Y[0]), 0, c), ScriptTransfer(addressFromStringValue(Y[1]), 0, c), ScriptTransfer(addressFromStringValue(Y[2]), 0, c), ScriptTransfer(addressFromStringValue(Y[3]), 0, c), ScriptTransfer(addressFromStringValue(Y[4]), 0, c), ScriptTransfer(addressFromStringValue(Y[5]), 0, c)])) | |
319 | + | else if ((Z == 5)) | |
320 | + | then ScriptResult(WriteSet([aa, ab, ac, ad, DataEntry(((Y[0] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[1] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[2] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[3] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[4] + "_MA_") + toBase58String(J)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(b), P, c), ScriptTransfer(addressFromStringValue(Y[0]), 0, c), ScriptTransfer(addressFromStringValue(Y[1]), 0, c), ScriptTransfer(addressFromStringValue(Y[2]), 0, c), ScriptTransfer(addressFromStringValue(Y[3]), 0, c), ScriptTransfer(addressFromStringValue(Y[4]), 0, c)])) | |
321 | + | else if ((Z == 4)) | |
322 | + | then ScriptResult(WriteSet([aa, ab, ac, ad, DataEntry(((Y[0] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[1] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[2] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[3] + "_MA_") + toBase58String(J)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(b), P, c), ScriptTransfer(addressFromStringValue(Y[0]), 0, c), ScriptTransfer(addressFromStringValue(Y[1]), 0, c), ScriptTransfer(addressFromStringValue(Y[2]), 0, c), ScriptTransfer(addressFromStringValue(Y[3]), 0, c)])) | |
323 | + | else if ((Z == 3)) | |
324 | + | then ScriptResult(WriteSet([aa, ab, ac, ad, DataEntry(((Y[0] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[1] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[2] + "_MA_") + toBase58String(J)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(b), P, c), ScriptTransfer(addressFromStringValue(Y[0]), 0, c), ScriptTransfer(addressFromStringValue(Y[1]), 0, c), ScriptTransfer(addressFromStringValue(Y[2]), 0, c)])) | |
325 | + | else if ((Z == 2)) | |
326 | + | then ScriptResult(WriteSet([aa, ab, ac, ad, DataEntry(((Y[0] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[1] + "_MA_") + toBase58String(J)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(b), P, c), ScriptTransfer(addressFromStringValue(Y[0]), 0, c), ScriptTransfer(addressFromStringValue(Y[1]), 0, c)])) | |
327 | + | else if ((Z == 1)) | |
328 | + | then ScriptResult(WriteSet([aa, ab, ac, ad, DataEntry(((Y[0] + "_MA_") + toBase58String(J)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(b), P, c), ScriptTransfer(addressFromStringValue(Y[0]), 0, c)])) | |
329 | + | else throw(("Needs 1 to 6 recipient addresses, currently sent: " + toString(Z))) | |
316 | 330 | } | |
317 | 331 | else throw("You are not allowed to do that") | |
318 | 332 | } | |
319 | 333 | ||
320 | 334 | ||
321 | 335 | ||
322 | - | @Callable( | |
323 | - | func signAgreement ( | |
324 | - | let | |
325 | - | let | |
326 | - | let | |
327 | - | let | |
328 | - | let | |
329 | - | then toString(addressFromPublicKey(fromBase58String( | |
330 | - | else toBase58String( | |
331 | - | let | |
332 | - | if (!( | |
336 | + | @Callable(F) | |
337 | + | func signAgreement (G,af,I) = { | |
338 | + | let O = extract(F.payment) | |
339 | + | let P = extract(O.amount) | |
340 | + | let J = extract(F.transactionId) | |
341 | + | let M = (this == F.caller) | |
342 | + | let ag = if (M) | |
343 | + | then toString(addressFromPublicKey(fromBase58String(I))) | |
344 | + | else toBase58String(F.caller.bytes) | |
345 | + | let ah = s(((ag + "_MA_") + af)) | |
346 | + | if (!(ah)) | |
333 | 347 | then throw("Sorry there is no pending signature") | |
334 | - | else [ | |
348 | + | else ScriptResult(WriteSet([DataEntry(((ag + "_MA_") + af), ("SIGNED_" + toBase58String(J)))]), TransferSet([ScriptTransfer(addressFromStringValue(ag), 0, c)])) | |
335 | 349 | } | |
336 | 350 | ||
337 | 351 | ||
338 | 352 | ||
339 | - | @Callable( | |
353 | + | @Callable(F) | |
340 | 354 | func usdnSignCredits () = { | |
341 | - | let | |
342 | - | let n = toBase58String( | |
343 | - | let | |
344 | - | let | |
345 | - | let | |
346 | - | let | |
347 | - | if ((toBase58String( | |
355 | + | let O = extract(F.payment) | |
356 | + | let n = toBase58String(F.caller.bytes) | |
357 | + | let ai = extract(O.assetId) | |
358 | + | let P = extract(O.amount) | |
359 | + | let aj = ((P * 2) / 1000000) | |
360 | + | let N = m(n) | |
361 | + | if ((toBase58String(ai) != d)) | |
348 | 362 | then throw("Only USDN can be exchanged") | |
349 | - | else if (if ((( | |
350 | - | then (( | |
363 | + | else if (if (((P % 1000000) != 0)) | |
364 | + | then ((P % 1000000) != 500000) | |
351 | 365 | else false) | |
352 | - | then throw(((("You can only exchange multiple of 0.5, you sent:" + dropRight(toString( | |
353 | - | else [ | |
366 | + | then throw(((("You can only exchange multiple of 0.5, you sent:" + dropRight(toString(P), 6)) + ".") + takeRight(toString(P), 6))) | |
367 | + | else ScriptResult(WriteSet([DataEntry(("addr_WHITELISTED_" + n), (N + aj))]), TransferSet([ScriptTransfer(addressFromStringValue(b), P, ai)])) | |
354 | 368 | } | |
355 | 369 | ||
356 | 370 | ||
357 | - | @Verifier( | |
358 | - | func | |
359 | - | let h = | |
371 | + | @Verifier(ak) | |
372 | + | func al () = { | |
373 | + | let h = ak | |
360 | 374 | if ($isInstanceOf(h, "InvokeScriptTransaction")) | |
361 | 375 | then { | |
362 | - | let | |
363 | - | if (if (if (( | |
376 | + | let am = h | |
377 | + | if (if (if ((am.function == "fileCertification")) | |
364 | 378 | then true | |
365 | - | else ( | |
379 | + | else (am.function == "emailCertification")) | |
366 | 380 | then true | |
367 | - | else ( | |
368 | - | then sigVerify( | |
369 | - | else if (( | |
370 | - | then sigVerify( | |
371 | - | else if (( | |
372 | - | then sigVerify( | |
373 | - | else sigVerify( | |
381 | + | else (am.function == "createAgreement")) | |
382 | + | then sigVerify(ak.bodyBytes, ak.proofs[0], fromBase58String(C(am.args[4]))) | |
383 | + | else if ((am.function == "signAgreement")) | |
384 | + | then sigVerify(ak.bodyBytes, ak.proofs[0], fromBase58String(C(am.args[2]))) | |
385 | + | else if ((am.function == "revokeCertification")) | |
386 | + | then sigVerify(ak.bodyBytes, ak.proofs[0], fromBase58String(C(am.args[1]))) | |
387 | + | else sigVerify(ak.bodyBytes, ak.proofs[0], ak.senderPublicKey) | |
374 | 388 | } | |
375 | - | else sigVerify( | |
389 | + | else sigVerify(ak.bodyBytes, ak.proofs[0], ak.senderPublicKey) | |
376 | 390 | } | |
377 | 391 |
Old | New | Differences | |
---|---|---|---|
1 | - | {-# STDLIB_VERSION | |
1 | + | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | - | let a = | |
4 | + | let a = extract(addressFromString("3N2s5RtaHPBenCsx2ECcoFRbYHx3noZhXW1")) | |
5 | 5 | ||
6 | 6 | let b = "3N1E6tXddRoVaRfQ9dQ3vg5LaW2fsd8HKub" | |
7 | 7 | ||
8 | 8 | let c = base58'Gf9t8FA4H3ssoZPCwrg3KwUFCci8zuUFP9ssRsUY3s6a' | |
9 | 9 | ||
10 | 10 | let d = "3KFXBGGLCjA5Z2DuW4Dq9fDDrHjJJP1ZEkaoajSzuKsC" | |
11 | 11 | ||
12 | 12 | func e (f,g) = { | |
13 | 13 | let h = getString(this, (f + g)) | |
14 | 14 | if ($isInstanceOf(h, "String")) | |
15 | 15 | then { | |
16 | 16 | let i = h | |
17 | 17 | i | |
18 | 18 | } | |
19 | 19 | else "NONE" | |
20 | 20 | } | |
21 | 21 | ||
22 | 22 | ||
23 | 23 | func j (g,k) = { | |
24 | 24 | let h = getString(this, ((g + "@") + k)) | |
25 | 25 | if ($isInstanceOf(h, "String")) | |
26 | 26 | then { | |
27 | 27 | let i = h | |
28 | 28 | i | |
29 | 29 | } | |
30 | 30 | else "NONE" | |
31 | 31 | } | |
32 | 32 | ||
33 | 33 | ||
34 | 34 | func l (g) = { | |
35 | 35 | let h = getString(this, g) | |
36 | 36 | if ($isInstanceOf(h, "String")) | |
37 | 37 | then { | |
38 | 38 | let i = h | |
39 | 39 | i | |
40 | 40 | } | |
41 | 41 | else "NONE" | |
42 | 42 | } | |
43 | 43 | ||
44 | 44 | ||
45 | 45 | func m (n) = { | |
46 | 46 | let h = getInteger(this, ("addr_WHITELISTED_" + n)) | |
47 | 47 | if ($isInstanceOf(h, "Int")) | |
48 | 48 | then { | |
49 | 49 | let i = h | |
50 | 50 | i | |
51 | 51 | } | |
52 | 52 | else 0 | |
53 | 53 | } | |
54 | 54 | ||
55 | 55 | ||
56 | - | func o (p) = { | |
57 | - | let h = getString(this, p) | |
56 | + | func o (p) = if (if (if ((size(p) == 35)) | |
57 | + | then (take(p, 2) == "3P") | |
58 | + | else false) | |
59 | + | then true | |
60 | + | else (take(p, 2) == "3N")) | |
61 | + | then true | |
62 | + | else (take(p, 2) == "3M") | |
63 | + | ||
64 | + | ||
65 | + | func q (r,p) = if ((size(p) > 0)) | |
66 | + | then (r + 1) | |
67 | + | else (r + 0) | |
68 | + | ||
69 | + | ||
70 | + | func s (t) = { | |
71 | + | let h = getString(this, t) | |
58 | 72 | if ($isInstanceOf(h, "String")) | |
59 | 73 | then { | |
60 | 74 | let i = h | |
61 | 75 | if ((i == "PENDING")) | |
62 | 76 | then true | |
63 | 77 | else false | |
64 | 78 | } | |
65 | 79 | else false | |
66 | 80 | } | |
67 | 81 | ||
68 | 82 | ||
69 | - | func | |
83 | + | func u (v) = take(drop(v, 1), value(indexOf(drop(v, 1), "\""))) | |
70 | 84 | ||
71 | 85 | ||
72 | - | func | |
73 | - | let | |
74 | - | let | |
75 | - | let | |
76 | - | | |
86 | + | func w (v,t) = { | |
87 | + | let x = value(indexOf(v, (("\"" + t) + "\":"))) | |
88 | + | let y = drop(v, ((x + size(t)) + 3)) | |
89 | + | let z = u(y) | |
90 | + | z | |
77 | 91 | } | |
78 | 92 | ||
79 | 93 | ||
80 | - | func | |
81 | - | let | |
82 | - | let | |
83 | - | | |
94 | + | func A (v,t) = { | |
95 | + | let x = value(indexOf(v, (("\"" + t) + "\":"))) | |
96 | + | let y = take(v, ((x + size(t)) + 3)) | |
97 | + | y | |
84 | 98 | } | |
85 | 99 | ||
86 | 100 | ||
87 | - | func | |
88 | - | let | |
89 | - | let | |
90 | - | | |
101 | + | func B (v,t) = { | |
102 | + | let x = value(indexOf(v, (("\"" + t) + "\":"))) | |
103 | + | let y = takeRight(v, (size(v) - ((((x + size(t)) + 3) + 0) + 2))) | |
104 | + | y | |
91 | 105 | } | |
92 | 106 | ||
93 | 107 | ||
94 | - | func | |
95 | - | let h = | |
108 | + | func C (D) = { | |
109 | + | let h = D | |
96 | 110 | if ($isInstanceOf(h, "String")) | |
97 | 111 | then { | |
98 | - | let | |
99 | - | | |
112 | + | let E = h | |
113 | + | E | |
100 | 114 | } | |
101 | 115 | else throw("Sponsored Public Key String expected") | |
102 | 116 | } | |
103 | 117 | ||
104 | 118 | ||
105 | - | @Callable( | |
106 | - | func fileCertification ( | |
107 | - | let | |
108 | - | let | |
109 | - | let | |
110 | - | let | |
111 | - | let n = if ( | |
112 | - | then toString(addressFromPublicKey(fromBase58String( | |
113 | - | else toBase58String( | |
114 | - | let | |
115 | - | if (( | |
119 | + | @Callable(F) | |
120 | + | func fileCertification (G,H,g,y,I) = { | |
121 | + | let J = extract(F.transactionId) | |
122 | + | let K = e(G, g) | |
123 | + | let L = l(g) | |
124 | + | let M = (this == F.caller) | |
125 | + | let n = if (M) | |
126 | + | then toString(addressFromPublicKey(fromBase58String(I))) | |
127 | + | else toBase58String(F.caller.bytes) | |
128 | + | let N = m(n) | |
129 | + | if ((K != "NONE")) | |
116 | 130 | then throw("This entry already exist") | |
117 | - | else if (( | |
131 | + | else if ((L != "NONE")) | |
118 | 132 | then throw("This uuid already exist") | |
119 | 133 | else if ((size(g) != 36)) | |
120 | - | then throw("Uuid | |
121 | - | else if ((size( | |
122 | - | then throw(" | |
123 | - | else if ((size( | |
134 | + | then throw("Uuid should be 36 characters.") | |
135 | + | else if ((size(G) != 64)) | |
136 | + | then throw("Hash should be 64 characters.") | |
137 | + | else if ((size(H) > 64)) | |
124 | 138 | then throw("Title is too long, 64 characters max.") | |
125 | - | else if (( | |
126 | - | then [ | |
127 | - | else if (!( | |
139 | + | else if ((N > 0)) | |
140 | + | then ScriptResult(WriteSet([DataEntry(g, toBase58String(J)), DataEntry((G + g), toBase58String(J)), DataEntry((H + g), toBase58String(J)), DataEntry(("addr_WHITELISTED_" + n), (N - 1)), DataEntry(((("data_fc_" + toBase58String(J)) + "_") + n), y)]), TransferSet([ScriptTransfer(addressFromStringValue(n), 0, c)])) | |
141 | + | else if (!(M)) | |
128 | 142 | then { | |
129 | - | let | |
130 | - | let | |
131 | - | let | |
132 | - | then | |
143 | + | let O = extract(F.payment) | |
144 | + | let P = extract(O.amount) | |
145 | + | let Q = if (isDefined(O.assetId)) | |
146 | + | then extract(O.assetId) | |
133 | 147 | else throw("Waves is not accepted as payment") | |
134 | - | let | |
135 | - | if ((c != | |
148 | + | let R = getIntegerValue(a, ("certification_fee_" + toBase58String(extract(Q)))) | |
149 | + | if ((c != Q)) | |
136 | 150 | then throw("This token is not accepted at the moment") | |
137 | - | else if (if (( | |
138 | - | then (0 >= | |
151 | + | else if (if ((P != R)) | |
152 | + | then (0 >= N) | |
139 | 153 | else false) | |
140 | 154 | then throw("The price is wrong") | |
141 | - | else [ | |
155 | + | else ScriptResult(WriteSet([DataEntry(g, toBase58String(J)), DataEntry((G + g), toBase58String(J)), DataEntry((H + g), toBase58String(J)), DataEntry(((("data_fc_" + toBase58String(J)) + "_") + n), y)]), TransferSet([ScriptTransfer(addressFromStringValue(b), P, O.assetId)])) | |
142 | 156 | } | |
143 | 157 | else throw("You are not allowed to do that") | |
144 | 158 | } | |
145 | 159 | ||
146 | 160 | ||
147 | 161 | ||
148 | - | @Callable( | |
149 | - | func revokeCertification ( | |
150 | - | let | |
151 | - | let | |
152 | - | let n = if ( | |
153 | - | then toString(addressFromPublicKey(fromBase58String( | |
154 | - | else toBase58String( | |
155 | - | let | |
156 | - | let h = getString(this, ((("data_fc_" + | |
162 | + | @Callable(F) | |
163 | + | func revokeCertification (S,I) = { | |
164 | + | let J = extract(F.transactionId) | |
165 | + | let M = (this == F.caller) | |
166 | + | let n = if (M) | |
167 | + | then toString(addressFromPublicKey(fromBase58String(I))) | |
168 | + | else toBase58String(F.caller.bytes) | |
169 | + | let K = { | |
170 | + | let h = getString(this, ((("data_fc_" + S) + "_") + n)) | |
157 | 171 | if ($isInstanceOf(h, "String")) | |
158 | 172 | then { | |
159 | 173 | let i = h | |
160 | 174 | i | |
161 | 175 | } | |
162 | 176 | else "NONE" | |
163 | 177 | } | |
164 | - | let | |
165 | - | let h = getString(this, ("STATUS_FC_" + | |
178 | + | let T = { | |
179 | + | let h = getString(this, ("STATUS_FC_" + S)) | |
166 | 180 | if ($isInstanceOf(h, "String")) | |
167 | 181 | then { | |
168 | 182 | let i = h | |
169 | 183 | i | |
170 | 184 | } | |
171 | 185 | else "NONE" | |
172 | 186 | } | |
173 | - | let | |
174 | - | if (( | |
187 | + | let N = m(n) | |
188 | + | if ((T != "NONE")) | |
175 | 189 | then throw("This certification have already been revoked.") | |
176 | - | else if (( | |
190 | + | else if ((K == "NONE")) | |
177 | 191 | then throw("You cannot change the status of this certification.") | |
178 | 192 | else { | |
179 | - | let | |
180 | - | if (( | |
181 | - | then [ | |
182 | - | else if (!( | |
193 | + | let U = (((dropRight(K, 1) + ",\"status\":\"REVOKED_") + toBase58String(J)) + "\"}") | |
194 | + | if ((N > 0)) | |
195 | + | then WriteSet([DataEntry(("addr_WHITELISTED_" + n), (N - 1)), DataEntry(("STATUS_FC_" + S), ("REVOKED_" + toBase58String(J))), DataEntry(((("data_fc_" + S) + "_") + n), U)]) | |
196 | + | else if (!(M)) | |
183 | 197 | then { | |
184 | - | let | |
185 | - | let | |
186 | - | let | |
187 | - | then | |
198 | + | let O = extract(F.payment) | |
199 | + | let P = extract(O.amount) | |
200 | + | let Q = if (isDefined(O.assetId)) | |
201 | + | then extract(O.assetId) | |
188 | 202 | else throw("Waves is not accepted as payment") | |
189 | - | let | |
190 | - | if ((c != | |
203 | + | let R = getIntegerValue(a, ("certification_fee_" + toBase58String(extract(Q)))) | |
204 | + | if ((c != Q)) | |
191 | 205 | then throw("This token is not accepted at the moment") | |
192 | - | else if (if (( | |
193 | - | then (0 >= | |
206 | + | else if (if ((P != R)) | |
207 | + | then (0 >= N) | |
194 | 208 | else false) | |
195 | 209 | then throw("The price is wrong") | |
196 | - | else [ | |
210 | + | else ScriptResult(WriteSet([DataEntry(("STATUS_FC_" + S), ("REVOKED_" + toBase58String(J))), DataEntry(((("data_fc_" + S) + "_") + n), U)]), TransferSet([ScriptTransfer(addressFromStringValue(b), P, O.assetId)])) | |
197 | 211 | } | |
198 | 212 | else throw("You are not allowed to do that") | |
199 | 213 | } | |
200 | 214 | } | |
201 | 215 | ||
202 | 216 | ||
203 | 217 | ||
204 | - | @Callable( | |
205 | - | func emailCertification (k,g, | |
206 | - | let | |
207 | - | let | |
208 | - | let | |
209 | - | let | |
210 | - | let n = if ( | |
211 | - | then toString(addressFromPublicKey(fromBase58String( | |
212 | - | else toBase58String( | |
213 | - | let | |
214 | - | if (( | |
218 | + | @Callable(F) | |
219 | + | func emailCertification (k,H,g,y,I) = { | |
220 | + | let J = extract(F.transactionId) | |
221 | + | let K = j(k, g) | |
222 | + | let L = l(g) | |
223 | + | let M = (this == F.caller) | |
224 | + | let n = if (M) | |
225 | + | then toString(addressFromPublicKey(fromBase58String(I))) | |
226 | + | else toBase58String(F.caller.bytes) | |
227 | + | let N = m(n) | |
228 | + | if ((K != "NONE")) | |
215 | 229 | then throw("This entry already exist") | |
216 | - | else if (( | |
230 | + | else if ((L != "NONE")) | |
217 | 231 | then throw("This uuid already exist") | |
218 | 232 | else if ((size(g) > 36)) | |
219 | 233 | then throw("Uuid is too long, 36 characters max.") | |
220 | 234 | else if ((size(k) > 64)) | |
221 | 235 | then throw("Domain is too long, 64 characters max.") | |
222 | - | else if ((size( | |
236 | + | else if ((size(H) > 64)) | |
223 | 237 | then throw("Title is too long, 64 characters max.") | |
224 | - | else if (( | |
225 | - | then [ | |
226 | - | else if (!( | |
238 | + | else if ((N > 0)) | |
239 | + | then ScriptResult(WriteSet([DataEntry(g, toBase58String(J)), DataEntry(((g + "@") + k), toBase58String(J)), DataEntry((H + g), toBase58String(J)), DataEntry(("addr_WHITELISTED_" + n), (N - 1)), DataEntry(((("data_ec_" + toBase58String(J)) + "_") + n), y)]), TransferSet([ScriptTransfer(addressFromStringValue(n), 0, c)])) | |
240 | + | else if (!(M)) | |
227 | 241 | then { | |
228 | - | let | |
229 | - | let | |
230 | - | let | |
231 | - | then | |
242 | + | let O = extract(F.payment) | |
243 | + | let P = extract(O.amount) | |
244 | + | let Q = if (isDefined(O.assetId)) | |
245 | + | then extract(O.assetId) | |
232 | 246 | else throw("Waves is not accepted as payment") | |
233 | - | let | |
234 | - | if ((c != | |
247 | + | let R = getIntegerValue(a, ("certification_fee_" + toBase58String(extract(Q)))) | |
248 | + | if ((c != Q)) | |
235 | 249 | then throw("This token is not accepted at the moment") | |
236 | - | else if (if (( | |
237 | - | then (0 >= | |
250 | + | else if (if ((P != R)) | |
251 | + | then (0 >= N) | |
238 | 252 | else false) | |
239 | 253 | then throw("The price is wrong") | |
240 | - | else [ | |
254 | + | else ScriptResult(WriteSet([DataEntry(g, toBase58String(J)), DataEntry(((g + "@") + k), toBase58String(J)), DataEntry((H + g), toBase58String(J)), DataEntry(((("data_ec_" + toBase58String(J)) + "_") + n), y)]), TransferSet([ScriptTransfer(addressFromStringValue(b), P, O.assetId)])) | |
241 | 255 | } | |
242 | 256 | else throw("You are not allowed to do that") | |
243 | 257 | } | |
244 | 258 | ||
245 | 259 | ||
246 | 260 | ||
247 | - | @Callable( | |
248 | - | func createAgreement ( | |
249 | - | let | |
250 | - | let | |
251 | - | let | |
252 | - | let | |
253 | - | let n = if ( | |
254 | - | then toString(addressFromPublicKey(fromBase58String( | |
255 | - | else toBase58String( | |
256 | - | let | |
257 | - | let | |
258 | - | let | |
259 | - | let | |
260 | - | let | |
261 | - | let | |
262 | - | let | |
263 | - | let | |
264 | - | let | |
265 | - | if (( | |
261 | + | @Callable(F) | |
262 | + | func createAgreement (G,H,V,W,I,g) = { | |
263 | + | let J = extract(F.transactionId) | |
264 | + | let K = e(G, g) | |
265 | + | let L = l(g) | |
266 | + | let M = (this == F.caller) | |
267 | + | let n = if (M) | |
268 | + | then toString(addressFromPublicKey(fromBase58String(I))) | |
269 | + | else toBase58String(F.caller.bytes) | |
270 | + | let N = m(n) | |
271 | + | let X = ((((A(V, "creator") + "\"") + n) + "\"") + B(V, "creator")) | |
272 | + | let Y = split(W, ",") | |
273 | + | let Z = size(Y) | |
274 | + | let aa = DataEntry((H + g), toBase58String(J)) | |
275 | + | let ab = DataEntry((G + g), toBase58String(J)) | |
276 | + | let ac = DataEntry(((("data_MA_" + toBase58String(J)) + "_") + n), X) | |
277 | + | let ad = DataEntry(((n + "_MA_") + toBase58String(J)), ("SIGNED_" + toBase58String(J))) | |
278 | + | let ae = DataEntry(("addr_WHITELISTED_" + n), (N - (Z + 1))) | |
279 | + | if ((K != "NONE")) | |
266 | 280 | then throw("This entry already exist") | |
267 | - | else if (( | |
281 | + | else if ((L != "NONE")) | |
268 | 282 | then throw("This uuid already exist") | |
269 | - | else if ((size(g) | |
270 | - | then throw("Uuid | |
271 | - | else if ((size( | |
272 | - | then throw(" | |
273 | - | else if ((size( | |
283 | + | else if ((size(g) > 36)) | |
284 | + | then throw("Uuid is too long, 36 characters max.") | |
285 | + | else if ((size(G) > 64)) | |
286 | + | then throw("Message-id is too long, 64 characters max.") | |
287 | + | else if ((size(H) > 64)) | |
274 | 288 | then throw("Title is too long, 64 characters max.") | |
275 | - | else if (( | |
276 | - | then if ((( | |
289 | + | else if ((N > 0)) | |
290 | + | then if (((Z + 1) > N)) | |
277 | 291 | then throw("You don't have enough certification credit") | |
278 | - | else if (( | |
279 | - | then [ | |
280 | - | else if (( | |
281 | - | then [ | |
282 | - | else if (( | |
283 | - | then [ | |
284 | - | else if (( | |
285 | - | then [ | |
286 | - | else if (( | |
287 | - | then [ | |
288 | - | else if (( | |
289 | - | then [ | |
292 | + | else if ((Z == 6)) | |
293 | + | then ScriptResult(WriteSet([aa, ab, ac, ad, ae, DataEntry(((Y[0] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[1] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[2] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[3] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[4] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[5] + "_MA_") + toBase58String(J)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(n), 0, c), ScriptTransfer(addressFromStringValue(Y[0]), 0, c), ScriptTransfer(addressFromStringValue(Y[1]), 0, c), ScriptTransfer(addressFromStringValue(Y[2]), 0, c), ScriptTransfer(addressFromStringValue(Y[3]), 0, c), ScriptTransfer(addressFromStringValue(Y[4]), 0, c), ScriptTransfer(addressFromStringValue(Y[5]), 0, c)])) | |
294 | + | else if ((Z == 5)) | |
295 | + | then ScriptResult(WriteSet([aa, ab, ac, ad, ae, DataEntry(((Y[0] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[1] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[2] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[3] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[4] + "_MA_") + toBase58String(J)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(n), 0, c), ScriptTransfer(addressFromStringValue(Y[0]), 0, c), ScriptTransfer(addressFromStringValue(Y[1]), 0, c), ScriptTransfer(addressFromStringValue(Y[2]), 0, c), ScriptTransfer(addressFromStringValue(Y[3]), 0, c), ScriptTransfer(addressFromStringValue(Y[4]), 0, c)])) | |
296 | + | else if ((Z == 4)) | |
297 | + | then ScriptResult(WriteSet([aa, ab, ac, ad, ae, DataEntry(((Y[0] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[1] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[2] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[3] + "_MA_") + toBase58String(J)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(n), 0, c), ScriptTransfer(addressFromStringValue(Y[0]), 0, c), ScriptTransfer(addressFromStringValue(Y[1]), 0, c), ScriptTransfer(addressFromStringValue(Y[2]), 0, c), ScriptTransfer(addressFromStringValue(Y[3]), 0, c)])) | |
298 | + | else if ((Z == 3)) | |
299 | + | then ScriptResult(WriteSet([aa, ab, ac, ad, ae, DataEntry(((Y[0] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[1] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[2] + "_MA_") + toBase58String(J)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(n), 0, c), ScriptTransfer(addressFromStringValue(Y[0]), 0, c), ScriptTransfer(addressFromStringValue(Y[1]), 0, c), ScriptTransfer(addressFromStringValue(Y[2]), 0, c)])) | |
300 | + | else if ((Z == 2)) | |
301 | + | then ScriptResult(WriteSet([aa, ab, ac, ad, ae, DataEntry(((Y[0] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[1] + "_MA_") + toBase58String(J)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(n), 0, c), ScriptTransfer(addressFromStringValue(Y[0]), 0, c), ScriptTransfer(addressFromStringValue(Y[1]), 0, c)])) | |
302 | + | else if ((Z == 1)) | |
303 | + | then ScriptResult(WriteSet([aa, ab, ac, ad, ae, DataEntry(((Y[0] + "_MA_") + toBase58String(J)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(n), 0, c), ScriptTransfer(addressFromStringValue(Y[0]), 0, c)])) | |
290 | 304 | else throw("Wrong number of participants") | |
291 | - | else if (!( | |
305 | + | else if (!(M)) | |
292 | 306 | then { | |
293 | - | let | |
294 | - | let | |
295 | - | then | |
307 | + | let O = extract(F.payment) | |
308 | + | let P = if (isDefined(O.amount)) | |
309 | + | then extract(O.amount) | |
296 | 310 | else 0 | |
297 | - | let | |
298 | - | then | |
311 | + | let Q = if (isDefined(O.assetId)) | |
312 | + | then extract(O.assetId) | |
299 | 313 | else c | |
300 | - | let | |
301 | - | if ((( | |
302 | - | then throw(("The price is wrong, it should be " + toString(( | |
303 | - | else if (( | |
304 | - | then [ | |
305 | - | else if (( | |
306 | - | then [ | |
307 | - | else if (( | |
308 | - | then [ | |
309 | - | else if (( | |
310 | - | then [ | |
311 | - | else if (( | |
312 | - | then [ | |
313 | - | else if (( | |
314 | - | then [ | |
315 | - | else throw(("Needs 1 to 6 recipient addresses, currently sent: " + toString( | |
314 | + | let R = getIntegerValue(a, ("certification_fee_" + toBase58String(extract(Q)))) | |
315 | + | if (((R * (Z + 1)) > P)) | |
316 | + | then throw(("The price is wrong, it should be " + toString((R * (Z + 1))))) | |
317 | + | else if ((Z == 6)) | |
318 | + | then ScriptResult(WriteSet([aa, ab, ac, ad, DataEntry(((Y[0] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[1] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[2] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[3] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[4] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[5] + "_MA_") + toBase58String(J)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(b), P, c), ScriptTransfer(addressFromStringValue(Y[0]), 0, c), ScriptTransfer(addressFromStringValue(Y[1]), 0, c), ScriptTransfer(addressFromStringValue(Y[2]), 0, c), ScriptTransfer(addressFromStringValue(Y[3]), 0, c), ScriptTransfer(addressFromStringValue(Y[4]), 0, c), ScriptTransfer(addressFromStringValue(Y[5]), 0, c)])) | |
319 | + | else if ((Z == 5)) | |
320 | + | then ScriptResult(WriteSet([aa, ab, ac, ad, DataEntry(((Y[0] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[1] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[2] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[3] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[4] + "_MA_") + toBase58String(J)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(b), P, c), ScriptTransfer(addressFromStringValue(Y[0]), 0, c), ScriptTransfer(addressFromStringValue(Y[1]), 0, c), ScriptTransfer(addressFromStringValue(Y[2]), 0, c), ScriptTransfer(addressFromStringValue(Y[3]), 0, c), ScriptTransfer(addressFromStringValue(Y[4]), 0, c)])) | |
321 | + | else if ((Z == 4)) | |
322 | + | then ScriptResult(WriteSet([aa, ab, ac, ad, DataEntry(((Y[0] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[1] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[2] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[3] + "_MA_") + toBase58String(J)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(b), P, c), ScriptTransfer(addressFromStringValue(Y[0]), 0, c), ScriptTransfer(addressFromStringValue(Y[1]), 0, c), ScriptTransfer(addressFromStringValue(Y[2]), 0, c), ScriptTransfer(addressFromStringValue(Y[3]), 0, c)])) | |
323 | + | else if ((Z == 3)) | |
324 | + | then ScriptResult(WriteSet([aa, ab, ac, ad, DataEntry(((Y[0] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[1] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[2] + "_MA_") + toBase58String(J)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(b), P, c), ScriptTransfer(addressFromStringValue(Y[0]), 0, c), ScriptTransfer(addressFromStringValue(Y[1]), 0, c), ScriptTransfer(addressFromStringValue(Y[2]), 0, c)])) | |
325 | + | else if ((Z == 2)) | |
326 | + | then ScriptResult(WriteSet([aa, ab, ac, ad, DataEntry(((Y[0] + "_MA_") + toBase58String(J)), "PENDING"), DataEntry(((Y[1] + "_MA_") + toBase58String(J)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(b), P, c), ScriptTransfer(addressFromStringValue(Y[0]), 0, c), ScriptTransfer(addressFromStringValue(Y[1]), 0, c)])) | |
327 | + | else if ((Z == 1)) | |
328 | + | then ScriptResult(WriteSet([aa, ab, ac, ad, DataEntry(((Y[0] + "_MA_") + toBase58String(J)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(b), P, c), ScriptTransfer(addressFromStringValue(Y[0]), 0, c)])) | |
329 | + | else throw(("Needs 1 to 6 recipient addresses, currently sent: " + toString(Z))) | |
316 | 330 | } | |
317 | 331 | else throw("You are not allowed to do that") | |
318 | 332 | } | |
319 | 333 | ||
320 | 334 | ||
321 | 335 | ||
322 | - | @Callable( | |
323 | - | func signAgreement ( | |
324 | - | let | |
325 | - | let | |
326 | - | let | |
327 | - | let | |
328 | - | let | |
329 | - | then toString(addressFromPublicKey(fromBase58String( | |
330 | - | else toBase58String( | |
331 | - | let | |
332 | - | if (!( | |
336 | + | @Callable(F) | |
337 | + | func signAgreement (G,af,I) = { | |
338 | + | let O = extract(F.payment) | |
339 | + | let P = extract(O.amount) | |
340 | + | let J = extract(F.transactionId) | |
341 | + | let M = (this == F.caller) | |
342 | + | let ag = if (M) | |
343 | + | then toString(addressFromPublicKey(fromBase58String(I))) | |
344 | + | else toBase58String(F.caller.bytes) | |
345 | + | let ah = s(((ag + "_MA_") + af)) | |
346 | + | if (!(ah)) | |
333 | 347 | then throw("Sorry there is no pending signature") | |
334 | - | else [ | |
348 | + | else ScriptResult(WriteSet([DataEntry(((ag + "_MA_") + af), ("SIGNED_" + toBase58String(J)))]), TransferSet([ScriptTransfer(addressFromStringValue(ag), 0, c)])) | |
335 | 349 | } | |
336 | 350 | ||
337 | 351 | ||
338 | 352 | ||
339 | - | @Callable( | |
353 | + | @Callable(F) | |
340 | 354 | func usdnSignCredits () = { | |
341 | - | let | |
342 | - | let n = toBase58String( | |
343 | - | let | |
344 | - | let | |
345 | - | let | |
346 | - | let | |
347 | - | if ((toBase58String( | |
355 | + | let O = extract(F.payment) | |
356 | + | let n = toBase58String(F.caller.bytes) | |
357 | + | let ai = extract(O.assetId) | |
358 | + | let P = extract(O.amount) | |
359 | + | let aj = ((P * 2) / 1000000) | |
360 | + | let N = m(n) | |
361 | + | if ((toBase58String(ai) != d)) | |
348 | 362 | then throw("Only USDN can be exchanged") | |
349 | - | else if (if ((( | |
350 | - | then (( | |
363 | + | else if (if (((P % 1000000) != 0)) | |
364 | + | then ((P % 1000000) != 500000) | |
351 | 365 | else false) | |
352 | - | then throw(((("You can only exchange multiple of 0.5, you sent:" + dropRight(toString( | |
353 | - | else [ | |
366 | + | then throw(((("You can only exchange multiple of 0.5, you sent:" + dropRight(toString(P), 6)) + ".") + takeRight(toString(P), 6))) | |
367 | + | else ScriptResult(WriteSet([DataEntry(("addr_WHITELISTED_" + n), (N + aj))]), TransferSet([ScriptTransfer(addressFromStringValue(b), P, ai)])) | |
354 | 368 | } | |
355 | 369 | ||
356 | 370 | ||
357 | - | @Verifier( | |
358 | - | func | |
359 | - | let h = | |
371 | + | @Verifier(ak) | |
372 | + | func al () = { | |
373 | + | let h = ak | |
360 | 374 | if ($isInstanceOf(h, "InvokeScriptTransaction")) | |
361 | 375 | then { | |
362 | - | let | |
363 | - | if (if (if (( | |
376 | + | let am = h | |
377 | + | if (if (if ((am.function == "fileCertification")) | |
364 | 378 | then true | |
365 | - | else ( | |
379 | + | else (am.function == "emailCertification")) | |
366 | 380 | then true | |
367 | - | else ( | |
368 | - | then sigVerify( | |
369 | - | else if (( | |
370 | - | then sigVerify( | |
371 | - | else if (( | |
372 | - | then sigVerify( | |
373 | - | else sigVerify( | |
381 | + | else (am.function == "createAgreement")) | |
382 | + | then sigVerify(ak.bodyBytes, ak.proofs[0], fromBase58String(C(am.args[4]))) | |
383 | + | else if ((am.function == "signAgreement")) | |
384 | + | then sigVerify(ak.bodyBytes, ak.proofs[0], fromBase58String(C(am.args[2]))) | |
385 | + | else if ((am.function == "revokeCertification")) | |
386 | + | then sigVerify(ak.bodyBytes, ak.proofs[0], fromBase58String(C(am.args[1]))) | |
387 | + | else sigVerify(ak.bodyBytes, ak.proofs[0], ak.senderPublicKey) | |
374 | 388 | } | |
375 | - | else sigVerify( | |
389 | + | else sigVerify(ak.bodyBytes, ak.proofs[0], ak.senderPublicKey) | |
376 | 390 | } | |
377 | 391 |
github/deemru/w8io/026f985 250.00 ms ◑