tx · 4CqvyjetEQVwZCSDTgZtndheJRL4w1e3UPSDXYubSH51 3Mzic9U9SHa4kFbUs76JzposxwGJuQo7HN7: -0.01400000 Waves 2020.03.05 08:45 [895266] smart account 3Mzic9U9SHa4kFbUs76JzposxwGJuQo7HN7 > SELF 0.00000000 Waves
{ "type": 13, "id": "4CqvyjetEQVwZCSDTgZtndheJRL4w1e3UPSDXYubSH51", "fee": 1400000, "feeAssetId": null, "timestamp": 1583387185011, "version": 1, "sender": "3Mzic9U9SHa4kFbUs76JzposxwGJuQo7HN7", "senderPublicKey": "4VkX9X2ynH3jVicYptJb12ZNt1TaNaWuKArBjcicH3zg", "proofs": [ "3aX1asqRPpN3NFPYFHLj4GJFi8Mk5a3cQU3CVe2pEwVxiCKUtS2ooWXF6cNyWJWrfxtBDFGRZM2xn8VBxtFU3BPi" ], "script": "base64:AAIDAAAAAAAAACIIARIHCgUICAgICBIGCgQICAgIEgcKBQgICAEIEgQKAggIAAAADgAAAAAPc3RvcmFnZVZlcmlmaWVyCQEAAAAHZXh0cmFjdAAAAAEJAQAAABFhZGRyZXNzRnJvbVN0cmluZwAAAAECAAAAIzNOMnM1UnRhSFBCZW5Dc3gyRUNjb0ZSYllIeDNub1poWFcxAAAAAARiYW5rAgAAACMzTjFFNnRYZGRSb1ZhUmZROWRRM3ZnNUxhVzJmc2Q4SEt1YgAAAAANYWNjZXB0ZWRUb2tlbgEAAAAg6KVqvMp3QvJwYTI1Sk9Fg7m5HuWZZxfDcerZC6EEresBAAAACmNoZWNrRW50cnkAAAACAAAABnByZWZpeAAAAAR1dWlkBAAAAAckbWF0Y2gwCQAEHQAAAAIFAAAABHRoaXMJAAEsAAAAAgUAAAAGcHJlZml4BQAAAAR1dWlkAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAZTdHJpbmcEAAAAAWEFAAAAByRtYXRjaDAFAAAAAWECAAAABE5PTkUBAAAACWNoZWNrVVVJRAAAAAEAAAAEdXVpZAQAAAAHJG1hdGNoMAkABB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RjaDACAAAAF0ludm9rZVNjcmlwdFRyYW5zYWN0aW9uBAAAAANpbnYFAAAAByRtYXRjaDADCQAAAAAAAAIIBQAAAANpbnYAAAAIZnVuY3Rpb24CAAAAEWZpbGVDZXJ0aWZpY2F0aW9uCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAkAAlkAAAABCQEAAAAIYXNTdHJpbmcAAAABCQABkQAAAAIIBQAAAANpbnYAAAAEYXJncwAAAAAAAAAABAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V52c/O7Q==", "chainId": 84, "height": 895266, "spentComplexity": 0 } View: original | compacted Prev: 8xzk823Uw54otGZ6Pt2RR8QUw8nJVWngcRpSQ9Yib39U Next: 7BJR5VX1Cj55WWjCMuQfyTxkxbg13HcZdtaC8a1t6xwW Diff:
Old | New | Differences | |
---|---|---|---|
78 | 78 | } | |
79 | 79 | ||
80 | 80 | ||
81 | + | func asString (bv) = match bv { | |
82 | + | case bv0: String => | |
83 | + | bv0 | |
84 | + | case _ => | |
85 | + | throw("String expected") | |
86 | + | } | |
87 | + | ||
88 | + | ||
81 | 89 | @Callable(invoke) | |
82 | - | func fileCertification (hash,title,uuid,data) = { | |
90 | + | func fileCertification (hash,title,uuid,data,signerPubKey) = { | |
83 | 91 | let id = extract(invoke.transactionId) | |
84 | 92 | let entryExist = checkEntry(hash, uuid) | |
85 | 93 | let uuidExist = checkUUID(uuid) | |
86 | - | let callerAddress = toBase58String(invoke.caller.bytes) | |
94 | + | let callerIsDapp = (this == invoke.caller) | |
95 | + | let callerAddress = if (callerIsDapp) | |
96 | + | then toString(addressFromPublicKey(fromBase58String(signerPubKey))) | |
97 | + | else toBase58String(invoke.caller.bytes) | |
87 | 98 | let callerIsWhiteListedNum = checkIfWhiteListed(callerAddress) | |
88 | 99 | if ((entryExist != "NONE")) | |
89 | 100 | then throw("This entry already exist") | |
97 | 108 | then throw("Title is too long") | |
98 | 109 | else if ((callerIsWhiteListedNum > 0)) | |
99 | 110 | 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(invoke.caller, 500000, unit)])) | |
100 | - | else { | |
101 | - | let payment = extract(invoke.payment) | |
102 | - | let amount = extract(payment.amount) | |
103 | - | let paymentAssetId = if (isDefined(payment.assetId)) | |
104 | - | then extract(payment.assetId) | |
105 | - | else throw("Waves is not accepted as payment") | |
106 | - | let currentPrice = getIntegerValue(storageVerifier, ("certification_fee_" + toBase58String(extract(paymentAssetId)))) | |
107 | - | if ((acceptedToken != paymentAssetId)) | |
108 | - | then throw("This token is not accepted at the moment") | |
109 | - | else if (if ((amount != currentPrice)) | |
110 | - | then (0 >= callerIsWhiteListedNum) | |
111 | - | else false) | |
112 | - | then throw("The price is wrong") | |
113 | - | 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)])) | |
114 | - | } | |
111 | + | else if (!(callerIsDapp)) | |
112 | + | then { | |
113 | + | let payment = extract(invoke.payment) | |
114 | + | let amount = extract(payment.amount) | |
115 | + | let paymentAssetId = if (isDefined(payment.assetId)) | |
116 | + | then extract(payment.assetId) | |
117 | + | else throw("Waves is not accepted as payment") | |
118 | + | let currentPrice = getIntegerValue(storageVerifier, ("certification_fee_" + toBase58String(extract(paymentAssetId)))) | |
119 | + | if ((acceptedToken != paymentAssetId)) | |
120 | + | then throw("This token is not accepted at the moment") | |
121 | + | else if (if ((amount != currentPrice)) | |
122 | + | then (0 >= callerIsWhiteListedNum) | |
123 | + | else false) | |
124 | + | then throw("The price is wrong") | |
125 | + | 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)])) | |
126 | + | } | |
127 | + | else throw("You are not allowed to do that") | |
115 | 128 | } | |
116 | 129 | ||
117 | 130 | ||
237 | 250 | } | |
238 | 251 | ||
239 | 252 | ||
253 | + | @Verifier(tx) | |
254 | + | func verifier () = match tx { | |
255 | + | case inv: InvokeScriptTransaction => | |
256 | + | if ((inv.function == "fileCertification")) | |
257 | + | then sigVerify(tx.bodyBytes, tx.proofs[0], fromBase58String(asString(inv.args[4]))) | |
258 | + | else sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
259 | + | case _ => | |
260 | + | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
261 | + | } | |
262 | + |
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 | func checkEntry (prefix,uuid) = match getString(this, (prefix + uuid)) { | |
11 | 11 | case a: String => | |
12 | 12 | a | |
13 | 13 | case _ => | |
14 | 14 | "NONE" | |
15 | 15 | } | |
16 | 16 | ||
17 | 17 | ||
18 | 18 | func checkUUID (uuid) = match getString(this, uuid) { | |
19 | 19 | case a: String => | |
20 | 20 | a | |
21 | 21 | case _ => | |
22 | 22 | "NONE" | |
23 | 23 | } | |
24 | 24 | ||
25 | 25 | ||
26 | 26 | func checkIfWhiteListed (callerAddress) = match getInteger(this, ("addr_WHITELISTED_" + callerAddress)) { | |
27 | 27 | case a: Int => | |
28 | 28 | a | |
29 | 29 | case _ => | |
30 | 30 | 0 | |
31 | 31 | } | |
32 | 32 | ||
33 | 33 | ||
34 | 34 | func isAdress (addr) = if (if ((size(addr) == 35)) | |
35 | 35 | then (take(addr, 2) == "3N") | |
36 | 36 | else false) | |
37 | 37 | then true | |
38 | 38 | else (take(addr, 2) == "3M") | |
39 | 39 | ||
40 | 40 | ||
41 | 41 | func countParties (accumulator,addr) = if ((size(addr) > 0)) | |
42 | 42 | then (accumulator + 1) | |
43 | 43 | else (accumulator + 0) | |
44 | 44 | ||
45 | 45 | ||
46 | 46 | func checkIfPendingToSign (key) = match getString(this, key) { | |
47 | 47 | case a: String => | |
48 | 48 | if ((a == "PENDING")) | |
49 | 49 | then true | |
50 | 50 | else false | |
51 | 51 | case _ => | |
52 | 52 | false | |
53 | 53 | } | |
54 | 54 | ||
55 | 55 | ||
56 | 56 | func getValueString (json) = take(drop(json, 1), value(indexOf(drop(json, 1), "\""))) | |
57 | 57 | ||
58 | 58 | ||
59 | 59 | func getValue (json,key) = { | |
60 | 60 | let keyIndex = value(indexOf(json, (("\"" + key) + "\":"))) | |
61 | 61 | let data = drop(json, ((keyIndex + size(key)) + 3)) | |
62 | 62 | let jsonValue = getValueString(data) | |
63 | 63 | jsonValue | |
64 | 64 | } | |
65 | 65 | ||
66 | 66 | ||
67 | 67 | func getJsonBeforeValue (json,key) = { | |
68 | 68 | let keyIndex = value(indexOf(json, (("\"" + key) + "\":"))) | |
69 | 69 | let data = take(json, ((keyIndex + size(key)) + 3)) | |
70 | 70 | data | |
71 | 71 | } | |
72 | 72 | ||
73 | 73 | ||
74 | 74 | func getJsonAfterValue (json,key) = { | |
75 | 75 | let keyIndex = value(indexOf(json, (("\"" + key) + "\":"))) | |
76 | 76 | let data = takeRight(json, (size(json) - ((((keyIndex + size(key)) + 3) + 0) + 2))) | |
77 | 77 | data | |
78 | 78 | } | |
79 | 79 | ||
80 | 80 | ||
81 | + | func asString (bv) = match bv { | |
82 | + | case bv0: String => | |
83 | + | bv0 | |
84 | + | case _ => | |
85 | + | throw("String expected") | |
86 | + | } | |
87 | + | ||
88 | + | ||
81 | 89 | @Callable(invoke) | |
82 | - | func fileCertification (hash,title,uuid,data) = { | |
90 | + | func fileCertification (hash,title,uuid,data,signerPubKey) = { | |
83 | 91 | let id = extract(invoke.transactionId) | |
84 | 92 | let entryExist = checkEntry(hash, uuid) | |
85 | 93 | let uuidExist = checkUUID(uuid) | |
86 | - | let callerAddress = toBase58String(invoke.caller.bytes) | |
94 | + | let callerIsDapp = (this == invoke.caller) | |
95 | + | let callerAddress = if (callerIsDapp) | |
96 | + | then toString(addressFromPublicKey(fromBase58String(signerPubKey))) | |
97 | + | else toBase58String(invoke.caller.bytes) | |
87 | 98 | let callerIsWhiteListedNum = checkIfWhiteListed(callerAddress) | |
88 | 99 | if ((entryExist != "NONE")) | |
89 | 100 | then throw("This entry already exist") | |
90 | 101 | else if ((uuidExist != "NONE")) | |
91 | 102 | then throw("This uuid already exist") | |
92 | 103 | else if ((size(uuid) > 36)) | |
93 | 104 | then throw("Uuid is too long") | |
94 | 105 | else if ((size(hash) > 64)) | |
95 | 106 | then throw("Hash is too long") | |
96 | 107 | else if ((size(title) > 64)) | |
97 | 108 | then throw("Title is too long") | |
98 | 109 | else if ((callerIsWhiteListedNum > 0)) | |
99 | 110 | 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(invoke.caller, 500000, unit)])) | |
100 | - | else { | |
101 | - | let payment = extract(invoke.payment) | |
102 | - | let amount = extract(payment.amount) | |
103 | - | let paymentAssetId = if (isDefined(payment.assetId)) | |
104 | - | then extract(payment.assetId) | |
105 | - | else throw("Waves is not accepted as payment") | |
106 | - | let currentPrice = getIntegerValue(storageVerifier, ("certification_fee_" + toBase58String(extract(paymentAssetId)))) | |
107 | - | if ((acceptedToken != paymentAssetId)) | |
108 | - | then throw("This token is not accepted at the moment") | |
109 | - | else if (if ((amount != currentPrice)) | |
110 | - | then (0 >= callerIsWhiteListedNum) | |
111 | - | else false) | |
112 | - | then throw("The price is wrong") | |
113 | - | 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)])) | |
114 | - | } | |
111 | + | else if (!(callerIsDapp)) | |
112 | + | then { | |
113 | + | let payment = extract(invoke.payment) | |
114 | + | let amount = extract(payment.amount) | |
115 | + | let paymentAssetId = if (isDefined(payment.assetId)) | |
116 | + | then extract(payment.assetId) | |
117 | + | else throw("Waves is not accepted as payment") | |
118 | + | let currentPrice = getIntegerValue(storageVerifier, ("certification_fee_" + toBase58String(extract(paymentAssetId)))) | |
119 | + | if ((acceptedToken != paymentAssetId)) | |
120 | + | then throw("This token is not accepted at the moment") | |
121 | + | else if (if ((amount != currentPrice)) | |
122 | + | then (0 >= callerIsWhiteListedNum) | |
123 | + | else false) | |
124 | + | then throw("The price is wrong") | |
125 | + | 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)])) | |
126 | + | } | |
127 | + | else throw("You are not allowed to do that") | |
115 | 128 | } | |
116 | 129 | ||
117 | 130 | ||
118 | 131 | ||
119 | 132 | @Callable(invoke) | |
120 | 133 | func emailCertification (messageid,title,uuid,data) = { | |
121 | 134 | let id = extract(invoke.transactionId) | |
122 | 135 | let entryExist = checkEntry(messageid, uuid) | |
123 | 136 | let uuidExist = checkUUID(uuid) | |
124 | 137 | let callerAddress = toBase58String(invoke.caller.bytes) | |
125 | 138 | let callerIsWhiteListedNum = checkIfWhiteListed(callerAddress) | |
126 | 139 | if ((entryExist != "NONE")) | |
127 | 140 | then throw("This entry already exist") | |
128 | 141 | else if ((uuidExist != "NONE")) | |
129 | 142 | then throw("This uuid already exist") | |
130 | 143 | else if ((size(uuid) > 36)) | |
131 | 144 | then throw("Uuid is too long") | |
132 | 145 | else if ((size(messageid) > 64)) | |
133 | 146 | then throw("Message-id is too long") | |
134 | 147 | else if ((size(title) > 64)) | |
135 | 148 | then throw("Title is too long") | |
136 | 149 | else if ((callerIsWhiteListedNum > 0)) | |
137 | 150 | then ScriptResult(WriteSet([DataEntry(uuid, toBase58String(id)), DataEntry((messageid + uuid), toBase58String(id)), DataEntry((title + uuid), toBase58String(id)), DataEntry(("addr_WHITELISTED_" + callerAddress), (callerIsWhiteListedNum - 1)), DataEntry(((("data_ec_" + toBase58String(id)) + "_") + callerAddress), data)]), TransferSet([ScriptTransfer(invoke.caller, 500000, unit)])) | |
138 | 151 | else { | |
139 | 152 | let payment = extract(invoke.payment) | |
140 | 153 | let amount = extract(payment.amount) | |
141 | 154 | let paymentAssetId = if (isDefined(payment.assetId)) | |
142 | 155 | then extract(payment.assetId) | |
143 | 156 | else throw("Waves is not accepted as payment") | |
144 | 157 | let currentPrice = getIntegerValue(storageVerifier, ("certification_fee_" + toBase58String(extract(paymentAssetId)))) | |
145 | 158 | if ((acceptedToken != paymentAssetId)) | |
146 | 159 | then throw("This token is not accepted at the moment") | |
147 | 160 | else if (if ((amount != currentPrice)) | |
148 | 161 | then (0 >= callerIsWhiteListedNum) | |
149 | 162 | else false) | |
150 | 163 | then throw("The price is wrong") | |
151 | 164 | else ScriptResult(WriteSet([DataEntry(uuid, toBase58String(id)), DataEntry((messageid + uuid), toBase58String(id)), DataEntry((title + uuid), toBase58String(id)), DataEntry(((("data_ec_" + toBase58String(id)) + "_") + callerAddress), data)]), TransferSet([ScriptTransfer(addressFromStringValue(bank), amount, payment.assetId)])) | |
152 | 165 | } | |
153 | 166 | } | |
154 | 167 | ||
155 | 168 | ||
156 | 169 | ||
157 | 170 | @Callable(invoke) | |
158 | 171 | func createAgreement (hash,title,addresses,num,uuid) = { | |
159 | 172 | let id = extract(invoke.transactionId) | |
160 | 173 | let entryExist = checkEntry(hash, uuid) | |
161 | 174 | let uuidExist = checkUUID(uuid) | |
162 | 175 | let callerAddress = toBase58String(invoke.caller.bytes) | |
163 | 176 | let callerIsWhiteListedNum = checkIfWhiteListed(callerAddress) | |
164 | 177 | let JSON = ((((getJsonBeforeValue(addresses, "creator") + "\"") + toBase58String(invoke.caller.bytes)) + "\"") + getJsonAfterValue(addresses, "creator")) | |
165 | 178 | let addressesArray = [getValue(addresses, "address1"), getValue(addresses, "address2"), getValue(addresses, "address3"), getValue(addresses, "address4"), getValue(addresses, "address5"), getValue(addresses, "address6")] | |
166 | 179 | let totalAddresses = num | |
167 | 180 | let globalDataTitle = DataEntry((title + uuid), toBase58String(id)) | |
168 | 181 | let globalDataHash = DataEntry((hash + uuid), toBase58String(id)) | |
169 | 182 | let globalDataJson = DataEntry(((("data_MA_" + toBase58String(id)) + "_") + callerAddress), JSON) | |
170 | 183 | let globalDataOwner = DataEntry(((callerAddress + "_MA_") + toBase58String(id)), ("SIGNED_" + toBase58String(id))) | |
171 | 184 | let dataWhiteListed = DataEntry(("addr_WHITELISTED_" + callerAddress), (callerIsWhiteListedNum - (totalAddresses + 1))) | |
172 | 185 | if ((entryExist != "NONE")) | |
173 | 186 | then throw("This entry already exist") | |
174 | 187 | else if ((uuidExist != "NONE")) | |
175 | 188 | then throw("This uuid already exist") | |
176 | 189 | else if ((size(uuid) > 36)) | |
177 | 190 | then throw("Uuid is too long") | |
178 | 191 | else if ((size(hash) > 64)) | |
179 | 192 | then throw("Message-id is too long") | |
180 | 193 | else if ((size(title) > 64)) | |
181 | 194 | then throw("Title is too long") | |
182 | 195 | else if ((callerIsWhiteListedNum > 0)) | |
183 | 196 | then if (((totalAddresses + 1) > callerIsWhiteListedNum)) | |
184 | 197 | then throw("You don't have enough certification credit") | |
185 | 198 | else if ((totalAddresses == 6)) | |
186 | 199 | 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(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)])) | |
187 | 200 | else if ((totalAddresses == 5)) | |
188 | 201 | 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(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)])) | |
189 | 202 | else if ((totalAddresses == 4)) | |
190 | 203 | 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(addressesArray[0]), 0, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[1]), 0, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[2]), 0, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[3]), 0, acceptedToken)])) | |
191 | 204 | else if ((totalAddresses == 3)) | |
192 | 205 | 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(addressesArray[0]), 0, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[1]), 0, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[2]), 0, acceptedToken)])) | |
193 | 206 | else if ((totalAddresses == 2)) | |
194 | 207 | 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(addressesArray[0]), 0, acceptedToken), ScriptTransfer(addressFromStringValue(addressesArray[1]), 0, acceptedToken)])) | |
195 | 208 | else if ((totalAddresses == 1)) | |
196 | 209 | then ScriptResult(WriteSet([globalDataTitle, globalDataHash, globalDataJson, globalDataOwner, dataWhiteListed, DataEntry(((addressesArray[0] + "_MA_") + toBase58String(id)), "PENDING")]), TransferSet([ScriptTransfer(addressFromStringValue(addressesArray[0]), 0, acceptedToken)])) | |
197 | 210 | else throw("Wrong number of participants") | |
198 | 211 | else { | |
199 | 212 | let payment = extract(invoke.payment) | |
200 | 213 | let amount = if (isDefined(payment.amount)) | |
201 | 214 | then extract(payment.amount) | |
202 | 215 | else 0 | |
203 | 216 | let paymentAssetId = if (isDefined(payment.assetId)) | |
204 | 217 | then extract(payment.assetId) | |
205 | 218 | else acceptedToken | |
206 | 219 | let currentPrice = getIntegerValue(storageVerifier, ("certification_fee_" + toBase58String(extract(paymentAssetId)))) | |
207 | 220 | if (((currentPrice * (totalAddresses + 1)) > amount)) | |
208 | 221 | then throw(("The price is wrong, it should be " + toString((currentPrice * (totalAddresses + 1))))) | |
209 | 222 | else if ((totalAddresses == 6)) | |
210 | 223 | 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)])) | |
211 | 224 | else if ((totalAddresses == 5)) | |
212 | 225 | 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)])) | |
213 | 226 | else if ((totalAddresses == 4)) | |
214 | 227 | 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)])) | |
215 | 228 | else if ((totalAddresses == 3)) | |
216 | 229 | 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)])) | |
217 | 230 | else if ((totalAddresses == 2)) | |
218 | 231 | 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)])) | |
219 | 232 | else if ((totalAddresses == 1)) | |
220 | 233 | 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)])) | |
221 | 234 | else throw(("Needs 1 to 6 recipient addresses, currently sent: " + toString(totalAddresses))) | |
222 | 235 | } | |
223 | 236 | } | |
224 | 237 | ||
225 | 238 | ||
226 | 239 | ||
227 | 240 | @Callable(invoke) | |
228 | 241 | func signAgreement (hash,agreementId) = { | |
229 | 242 | let payment = extract(invoke.payment) | |
230 | 243 | let amount = extract(payment.amount) | |
231 | 244 | let id = extract(invoke.transactionId) | |
232 | 245 | let signer = toBase58String(invoke.caller.bytes) | |
233 | 246 | let signingRequestExist = checkIfPendingToSign(((signer + "_MA_") + agreementId)) | |
234 | 247 | if (!(signingRequestExist)) | |
235 | 248 | then throw("Sorry there is no pending signature") | |
236 | 249 | else ScriptResult(WriteSet([DataEntry(((signer + "_MA_") + agreementId), ("SIGNED_" + toBase58String(id)))]), TransferSet([ScriptTransfer(addressFromStringValue(signer), 500000, unit)])) | |
237 | 250 | } | |
238 | 251 | ||
239 | 252 | ||
253 | + | @Verifier(tx) | |
254 | + | func verifier () = match tx { | |
255 | + | case inv: InvokeScriptTransaction => | |
256 | + | if ((inv.function == "fileCertification")) | |
257 | + | then sigVerify(tx.bodyBytes, tx.proofs[0], fromBase58String(asString(inv.args[4]))) | |
258 | + | else sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
259 | + | case _ => | |
260 | + | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
261 | + | } | |
262 | + |
github/deemru/w8io/026f985 66.20 ms ◑