tx · FhjKQR8dGfqnh4AUo9Um3a46Ne5dgHkzjSVigY4rMwMj 3N8HydXY8jaCSmkRTG8H4kwfhep4HhYM2dt: -0.05000000 Waves 2023.10.06 13:31 [2786641] smart account 3N8HydXY8jaCSmkRTG8H4kwfhep4HhYM2dt > SELF 0.00000000 Waves
{ "type": 13, "id": "FhjKQR8dGfqnh4AUo9Um3a46Ne5dgHkzjSVigY4rMwMj", "fee": 5000000, "feeAssetId": null, "timestamp": 1696588276403, "version": 1, "sender": "3N8HydXY8jaCSmkRTG8H4kwfhep4HhYM2dt", "senderPublicKey": "521QUi2sucT3arBFJNbe36VKKiyfW6Vv46KmMLYs6SGy", "proofs": [ "4nx4qwieaAGmgMrioicsQqSjrd24AQgTjkfiSFYAghFf83hVoE1vzwZsjnxWgkztKDLxQ5N59i9yboFZNajwLcUh" ], "script": "base64:AAIFAAAAAAAAACEIAhIDCgEIEgQKAggIEgMKAQgSAwoBCBIDCgEIEgMKAQgAAAAwAQAAAAd0aHJvd0lmAAAAAgAAAAljb25kaXRpb24AAAAFZXJyb3IDBQAAAAljb25kaXRpb24JAAACAAAAAQUAAAAFZXJyb3IGAQAAAAh3cml0ZUludAAAAAIAAAADa2V5AAAABXZhbHVlAwkAAGYAAAACAAAAAAAAAAAABQAAAAV2YWx1ZQkAAAIAAAABCQABLAAAAAIJAAEsAAAAAgkAASwAAAACAgAAABd3cml0aW5nIG5lZ2F0aXZlIHZhbHVlIAkAAaQAAAABBQAAAAV2YWx1ZQIAAAAJIGZvciBrZXkgBQAAAANrZXkJAQAAAAxJbnRlZ2VyRW50cnkAAAACBQAAAANrZXkFAAAABXZhbHVlAQAAABB3cml0ZUNvbnN0U3RyaW5nAAAAAgAAAANrZXkAAAAFdmFsdWUDCQEAAAABIQAAAAEJAQAAAAlpc0RlZmluZWQAAAABCQAEHQAAAAIFAAAABHRoaXMFAAAAA2tleQkBAAAAC1N0cmluZ0VudHJ5AAAAAgUAAAADa2V5BQAAAAV2YWx1ZQkAAAI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Bvc2FsVm90aW5nU3RhcnRTdG9yZQAAAAEFAAAABHR4SWQJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQkBAAAAFnByb3Bvc2FsVm90aW5nRW5kU3RvcmUAAAABBQAAAAR0eElkCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEJAQAAAA9wcm9wb3NhbEJ5U3RvcmUAAAABBQAAAAR0eElkCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEJAQAAABdwcm9wb3NhbFRvdGFsUG93ZXJTdG9yZQAAAAEFAAAABHR4SWQJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQkBAAAAFXByb3Bvc2FsVG90YWxZZXNTdG9yZQAAAAEFAAAABHR4SWQJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQkBAAAAFHByb3Bvc2FsVG90YWxOb1N0b3JlAAAAAQUAAAAEdHhJZAkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABCQEAAAAUcHJvcG9zYWxVc2VyWWVzU3RvcmUAAAACBQAAAAR1c2VyBQAAAAR0eElkCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEJAQAAABNwcm9wb3NhbFVzZXJOb1N0b3JlAAAAAgUAAAAEdXNlcgUAAAAEdHhJZAkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABCQEAAAAadXNlckxhc3RQcm9wb3NlSGVpZ2h0U3RvcmUAAAABBQAAAAR1c2VyCQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAEJAQAAABRwcm9wb3NhbEFkZHJlc3NTdG9yZQAAAAEFAAAABHR4SWQFAAAAA25pbAkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4AAAAAg9+xhQ==", "chainId": 84, "height": 2786641, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 5 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | func throwIf (condition,error) = if (condition) | |
5 | + | then throw(error) | |
6 | + | else true | |
7 | + | ||
8 | + | ||
9 | + | func writeInt (key,value) = if ((0 > value)) | |
10 | + | then throw(((("writing negative value " + toString(value)) + " for key ") + key)) | |
11 | + | else IntegerEntry(key, value) | |
12 | + | ||
13 | + | ||
14 | + | func writeConstString (key,value) = if (!(isDefined(getString(this, key)))) | |
15 | + | then StringEntry(key, value) | |
16 | + | else throw(("already initialized: " + key)) | |
17 | + | ||
18 | + | ||
19 | + | func writeConstInt (key,value) = if (!(isDefined(getInteger(this, key)))) | |
20 | + | then IntegerEntry(key, value) | |
21 | + | else throw(("already exists: " + key)) | |
22 | + | ||
23 | + | ||
24 | + | func changeBy (key,value) = writeInt(key, (valueOrElse(getInteger(this, key), 0) + value)) | |
25 | + | ||
26 | + | ||
27 | + | func asInt (value) = match value { | |
28 | + | case int: Int => | |
29 | + | int | |
30 | + | case _ => | |
31 | + | throw("wrong type, expected: Int") | |
32 | + | } | |
33 | + | ||
34 | + | ||
35 | + | let configAddressStore = "configAddress" | |
36 | + | ||
37 | + | let configAddress = valueOrErrorMessage(addressFromString(valueOrErrorMessage(getString(this, configAddressStore), "mother voting: no configAddress")), "invalid config address") | |
38 | + | ||
39 | + | let votingResultContract = valueOrErrorMessage(addressFromString(valueOrErrorMessage(getString(configAddress, "contract_voting_result"), "no contract_voting_result")), "invalid contract_voting_result") | |
40 | + | ||
41 | + | let votingRewardsContract = valueOrErrorMessage(addressFromString(valueOrErrorMessage(getString(configAddress, "contract_voting_rewards"), "no contract_voting_rewards")), "invalid contract_voting_rewards") | |
42 | + | ||
43 | + | let stakingContract = valueOrErrorMessage(addressFromString(valueOrErrorMessage(getString(configAddress, "contract_staking"), "no staking_contract")), "invalid stakingContract") | |
44 | + | ||
45 | + | let HEIGHT = height | |
46 | + | ||
47 | + | func advise () = ("height: " + toString(HEIGHT)) | |
48 | + | ||
49 | + | ||
50 | + | let BASE = 1000 | |
51 | + | ||
52 | + | func opAllowed (op) = { | |
53 | + | let a = invoke(configAddress, "opAllowed", [op], nil) | |
54 | + | if ((a == a)) | |
55 | + | then true | |
56 | + | else throw("Strict value is not equal to itself.") | |
57 | + | } | |
58 | + | ||
59 | + | ||
60 | + | func proposalAddressStore (id) = ("proposal_address_" + id) | |
61 | + | ||
62 | + | ||
63 | + | func proposalHeightStore (id) = ("proposal_height_" + id) | |
64 | + | ||
65 | + | ||
66 | + | func proposalVotingStartStore (id) = ("proposal_votingstart_" + id) | |
67 | + | ||
68 | + | ||
69 | + | func proposalVotingEndStore (id) = ("proposal_votingend_" + id) | |
70 | + | ||
71 | + | ||
72 | + | func proposalByStore (id) = ("proposal_by_" + id) | |
73 | + | ||
74 | + | ||
75 | + | func proposalTotalPowerStore (id) = ("proposal_power_" + id) | |
76 | + | ||
77 | + | ||
78 | + | func proposalTotalYesStore (id) = ("proposal_yes_" + id) | |
79 | + | ||
80 | + | ||
81 | + | func proposalTotalNoStore (id) = ("proposal_no_" + id) | |
82 | + | ||
83 | + | ||
84 | + | func proposalUserYesStore (user,id) = ((("user_proposal_yes_" + user) + "_") + id) | |
85 | + | ||
86 | + | ||
87 | + | func proposalUserNoStore (user,id) = ((("user_proposal_no_" + user) + "_") + id) | |
88 | + | ||
89 | + | ||
90 | + | func userLastProposeHeightStore (user) = ("propose_lastheight_" + user) | |
91 | + | ||
92 | + | ||
93 | + | func userYes (user,id) = valueOrElse(getInteger(this, proposalUserYesStore(user, id)), 0) | |
94 | + | ||
95 | + | ||
96 | + | func userNo (user,id) = valueOrElse(getInteger(this, proposalUserNoStore(user, id)), 0) | |
97 | + | ||
98 | + | ||
99 | + | func userLastProposeHeight (user) = valueOrElse(getInteger(this, userLastProposeHeightStore(user)), -1) | |
100 | + | ||
101 | + | ||
102 | + | let thisAddress = toString(this) | |
103 | + | ||
104 | + | let userProposeDelay = valueOrErrorMessage(getInteger(configAddress, (thisAddress + "_user_propose_delay")), "user_propose_delay is not defined") | |
105 | + | ||
106 | + | let quorumRatio = valueOrErrorMessage(getInteger(configAddress, (thisAddress + "_proposal_quorum_ratio")), "proposalQuorumRatio is not defined") | |
107 | + | ||
108 | + | let passedRatio = valueOrErrorMessage(getInteger(configAddress, (thisAddress + "_proposal_passed_ratio")), "proposalThresholdRatio is not defined") | |
109 | + | ||
110 | + | let proposalMinRequired = valueOrErrorMessage(getInteger(configAddress, (thisAddress + "_proposal_min_power_required")), "min required is not defined") | |
111 | + | ||
112 | + | let votingStartOffset = valueOrErrorMessage(getInteger(configAddress, (thisAddress + "_proposal_votingstart_offset")), "proposal_votingstart_offset is not defined") | |
113 | + | ||
114 | + | let votingEndOffset = valueOrErrorMessage(getInteger(configAddress, (thisAddress + "_proposal_votingend_offset")), "proposal_votingend_offset is not defined") | |
115 | + | ||
116 | + | func userShares (user) = asInt(invoke(stakingContract, "userShares", [user], nil)) | |
117 | + | ||
118 | + | ||
119 | + | func userPower (user) = asInt(invoke(stakingContract, "userPower", [user], nil)) | |
120 | + | ||
121 | + | ||
122 | + | func proposalExists (txId) = match getInteger(this, proposalHeightStore(txId)) { | |
123 | + | case start: Int => | |
124 | + | true | |
125 | + | case _ => | |
126 | + | false | |
127 | + | } | |
128 | + | ||
129 | + | ||
130 | + | func proposalOnVoting (txId) = { | |
131 | + | let nonExistErr = "proposal doesn't exist" | |
132 | + | if (!(proposalExists(txId))) | |
133 | + | then throw(nonExistErr) | |
134 | + | else { | |
135 | + | let votingStart = valueOrErrorMessage(getInteger(this, proposalVotingStartStore(txId)), nonExistErr) | |
136 | + | let votingEnd = valueOrErrorMessage(getInteger(this, proposalVotingEndStore(txId)), nonExistErr) | |
137 | + | if ((votingStart > HEIGHT)) | |
138 | + | then throw(((("voting not started yet, discussion is in progress, voting will start at block " + toString(votingStart)) + ", now it's ") + toString(HEIGHT))) | |
139 | + | else if ((HEIGHT > votingEnd)) | |
140 | + | then throw(((("voting ended at block " + toString(votingEnd)) + ", now it's ") + toString(HEIGHT))) | |
141 | + | else true | |
142 | + | } | |
143 | + | } | |
144 | + | ||
145 | + | ||
146 | + | func proposalBeforeVoting (txId) = { | |
147 | + | let nonExistErr = "proposal doesn't exist" | |
148 | + | if (!(proposalExists(txId))) | |
149 | + | then throw(nonExistErr) | |
150 | + | else { | |
151 | + | let votingStart = valueOrErrorMessage(getInteger(this, proposalVotingStartStore(txId)), nonExistErr) | |
152 | + | if ((HEIGHT >= votingStart)) | |
153 | + | then throw("voting start is already happened") | |
154 | + | else true | |
155 | + | } | |
156 | + | } | |
157 | + | ||
158 | + | ||
159 | + | func totalVotingPower () = asInt(invoke(stakingContract, "totalShares", nil, nil)) | |
160 | + | ||
161 | + | ||
162 | + | func canBroadcast (id,yesInc,noInc) = { | |
163 | + | let votesYes = (valueOrElse(getInteger(("proposal_yes_" + id)), 0) + yesInc) | |
164 | + | let votesNo = (valueOrElse(getInteger(("proposal_no_" + id)), 0) + noInc) | |
165 | + | let totalPower = totalVotingPower() | |
166 | + | let totalVotes = (votesYes + votesNo) | |
167 | + | let hasQuorum = (((totalVotes * BASE) / totalPower) >= quorumRatio) | |
168 | + | let hasPassed = (((votesYes * BASE) / totalVotes) >= passedRatio) | |
169 | + | if (hasQuorum) | |
170 | + | then hasPassed | |
171 | + | else false | |
172 | + | } | |
173 | + | ||
174 | + | ||
175 | + | func adviseProposal (txId) = { | |
176 | + | let proposalHeight = valueOrErrorMessage(getInteger(proposalHeightStore(txId)), "no proposal") | |
177 | + | let votingStart = valueOrErrorMessage(getInteger(proposalVotingStartStore(txId)), "no proposal") | |
178 | + | let votingEnd = valueOrErrorMessage(getInteger(proposalVotingEndStore(txId)), "no proposal") | |
179 | + | let votesYes = valueOrElse(getInteger(proposalTotalYesStore(txId)), 0) | |
180 | + | let votesNo = valueOrElse(getInteger(proposalTotalNoStore(txId)), 0) | |
181 | + | let totalPowerSnap = valueOrElse(getInteger(proposalTotalPowerStore(txId)), 0) | |
182 | + | let totalVotes = (votesYes + votesNo) | |
183 | + | let hasQuorum = if ((totalVotes > 0)) | |
184 | + | then (((totalVotes * BASE) / totalPowerSnap) >= quorumRatio) | |
185 | + | else false | |
186 | + | let hasPassed = if ((totalVotes > 0)) | |
187 | + | then (((votesYes * BASE) / totalVotes) >= passedRatio) | |
188 | + | else false | |
189 | + | let inBlockchainHeight = valueOrElse(transactionHeightById(fromBase58String(txId)), 0) | |
190 | + | let status = if ((votingStart > HEIGHT)) | |
191 | + | then "discussion" | |
192 | + | else if ((votingEnd >= HEIGHT)) | |
193 | + | then "voting" | |
194 | + | else if (!(hasQuorum)) | |
195 | + | then "noQuorum" | |
196 | + | else if (!(hasPassed)) | |
197 | + | then "votingFailed" | |
198 | + | else if ((inBlockchainHeight > 0)) | |
199 | + | then "inBlockchain" | |
200 | + | else "waitingForTx" | |
201 | + | ((((((((((((((((((((("proposal_id: " + txId) + ", proposal_address: ") + valueOrErrorMessage(proposalAddressStore(txId), "no address")) + ", proposal_status: ") + status) + ", proposal_by: ") + valueOrErrorMessage(getString(this, proposalByStore(txId)), "no proposal")) + ", proposal_height: ") + toString(proposalHeight)) + ", proposal_txheight: ") + toString(inBlockchainHeight)) + ", proposal_votingstart: ") + toString(votingStart)) + ", proposal_votingend: ") + toString(votingEnd)) + ", proposal_power: ") + toString(totalPowerSnap)) + ", vote_yes: ") + toString(votesYes)) + ", vote_no: ") + toString(votesNo)) | |
202 | + | } | |
203 | + | ||
204 | + | ||
205 | + | func broadcastHeight (txId) = (getIntegerValue(proposalVotingEndStore(txId)) + 1) | |
206 | + | ||
207 | + | ||
208 | + | func rewards (user,votes) = invoke(votingRewardsContract, "countVote", [user, votes], nil) | |
209 | + | ||
210 | + | ||
211 | + | func setResult (txAddress,txId,result) = invoke(votingResultContract, "setResult", [txAddress, txId, result, broadcastHeight(txId)], nil) | |
212 | + | ||
213 | + | ||
214 | + | func setPower (txId) = IntegerEntry(proposalTotalPowerStore(txId), totalVotingPower()) | |
215 | + | ||
216 | + | ||
217 | + | @Callable(i) | |
218 | + | func init (config) = [writeConstString(configAddressStore, config)] | |
219 | + | ||
220 | + | ||
221 | + | ||
222 | + | @Callable(i) | |
223 | + | func propose (address,txId) = { | |
224 | + | let checks = opAllowed("governance_propose_tx") | |
225 | + | if ((checks == checks)) | |
226 | + | then { | |
227 | + | let user = toString(i.caller) | |
228 | + | let gv = userPower(user) | |
229 | + | if ((proposalMinRequired > gv)) | |
230 | + | then throw((((("not enough staked power to make proposal." + " Minimum required = ") + toString(proposalMinRequired)) + ", actual: = ") + toString(gv))) | |
231 | + | else { | |
232 | + | let last = userLastProposeHeight(user) | |
233 | + | if (if ((last > -1)) | |
234 | + | then ((last + userProposeDelay) > HEIGHT) | |
235 | + | else false) | |
236 | + | then throw(((("can't propose too often, last proroposal height: " + toString(last)) + ", blocks to wait: ") + toString(((last + userProposeDelay) - HEIGHT)))) | |
237 | + | else { | |
238 | + | let votingEnds = (HEIGHT + votingEndOffset) | |
239 | + | let e = invoke(votingRewardsContract, "votingEnds", [votingEnds], nil) | |
240 | + | if ((e == e)) | |
241 | + | then [writeConstInt(proposalHeightStore(txId), HEIGHT), writeConstInt(proposalVotingStartStore(txId), (HEIGHT + votingStartOffset)), writeConstInt(proposalVotingEndStore(txId), votingEnds), writeConstString(proposalByStore(txId), toString(i.caller)), writeInt(userLastProposeHeightStore(user), HEIGHT), writeConstString(proposalAddressStore(txId), address)] | |
242 | + | else throw("Strict value is not equal to itself.") | |
243 | + | } | |
244 | + | } | |
245 | + | } | |
246 | + | else throw("Strict value is not equal to itself.") | |
247 | + | } | |
248 | + | ||
249 | + | ||
250 | + | ||
251 | + | @Callable(i) | |
252 | + | func voteYes (txId) = { | |
253 | + | let checks = if (opAllowed("governance_vote_tx")) | |
254 | + | then proposalOnVoting(txId) | |
255 | + | else false | |
256 | + | if ((checks == checks)) | |
257 | + | then { | |
258 | + | let user = toString(i.caller) | |
259 | + | if ((userNo(user, txId) > 0)) | |
260 | + | then throw("already voted against, please retract your vote first") | |
261 | + | else { | |
262 | + | let yesDelta = (userShares(user) - userYes(user, txId)) | |
263 | + | let restake = invoke(stakingContract, "restakeFor", [user], nil) | |
264 | + | if ((restake == restake)) | |
265 | + | then { | |
266 | + | let txAddress = valueOrErrorMessage(getString(proposalAddressStore(txId)), "proposal address not found") | |
267 | + | let result = canBroadcast(txId, yesDelta, 0) | |
268 | + | let s = setResult(txAddress, txId, result) | |
269 | + | if ((s == s)) | |
270 | + | then { | |
271 | + | let r = rewards(user, yesDelta) | |
272 | + | if ((r == r)) | |
273 | + | then [setPower(txId), changeBy(proposalUserYesStore(user, txId), yesDelta), changeBy(proposalTotalYesStore(txId), yesDelta)] | |
274 | + | else throw("Strict value is not equal to itself.") | |
275 | + | } | |
276 | + | else throw("Strict value is not equal to itself.") | |
277 | + | } | |
278 | + | else throw("Strict value is not equal to itself.") | |
279 | + | } | |
280 | + | } | |
281 | + | else throw("Strict value is not equal to itself.") | |
282 | + | } | |
283 | + | ||
284 | + | ||
285 | + | ||
286 | + | @Callable(i) | |
287 | + | func voteNo (txId) = { | |
288 | + | let checks = if (opAllowed("governance_vote_tx")) | |
289 | + | then proposalOnVoting(txId) | |
290 | + | else false | |
291 | + | if ((checks == checks)) | |
292 | + | then { | |
293 | + | let user = toString(i.caller) | |
294 | + | if ((userYes(user, txId) > 0)) | |
295 | + | then throw("already voted for, please retract your vote first") | |
296 | + | else { | |
297 | + | let noDelta = (userShares(user) - userNo(user, txId)) | |
298 | + | let restake = invoke(stakingContract, "restakeFor", [user], nil) | |
299 | + | if ((restake == restake)) | |
300 | + | then { | |
301 | + | let txAddress = valueOrErrorMessage(getString(proposalAddressStore(txId)), "proposal address not found") | |
302 | + | let result = canBroadcast(txId, 0, noDelta) | |
303 | + | let s = setResult(txAddress, txId, result) | |
304 | + | if ((s == s)) | |
305 | + | then { | |
306 | + | let r = rewards(user, noDelta) | |
307 | + | if ((r == r)) | |
308 | + | then [setPower(txId), changeBy(proposalUserNoStore(user, txId), noDelta), changeBy(proposalTotalNoStore(txId), noDelta)] | |
309 | + | else throw("Strict value is not equal to itself.") | |
310 | + | } | |
311 | + | else throw("Strict value is not equal to itself.") | |
312 | + | } | |
313 | + | else throw("Strict value is not equal to itself.") | |
314 | + | } | |
315 | + | } | |
316 | + | else throw("Strict value is not equal to itself.") | |
317 | + | } | |
318 | + | ||
319 | + | ||
320 | + | ||
321 | + | @Callable(i) | |
322 | + | func retract (txId) = { | |
323 | + | let checks = if (opAllowed("governance_retract_vote")) | |
324 | + | then proposalOnVoting(txId) | |
325 | + | else false | |
326 | + | if ((checks == checks)) | |
327 | + | then { | |
328 | + | let user = toString(i.caller) | |
329 | + | let yes = userYes(user, txId) | |
330 | + | let no = userNo(user, txId) | |
331 | + | let txAddress = valueOrErrorMessage(getString(proposalAddressStore(txId)), "proposal address not found") | |
332 | + | let result = canBroadcast(txId, -(yes), -(no)) | |
333 | + | let s = setResult(txAddress, txId, result) | |
334 | + | if ((s == s)) | |
335 | + | then { | |
336 | + | let r = rewards(user, (-(yes) - no)) | |
337 | + | if ((r == r)) | |
338 | + | then [changeBy(proposalTotalYesStore(txId), -(yes)), changeBy(proposalTotalNoStore(txId), -(no)), DeleteEntry(proposalUserYesStore(user, txId)), DeleteEntry(proposalUserNoStore(user, txId))] | |
339 | + | else throw("Strict value is not equal to itself.") | |
340 | + | } | |
341 | + | else throw("Strict value is not equal to itself.") | |
342 | + | } | |
343 | + | else throw("Strict value is not equal to itself.") | |
344 | + | } | |
345 | + | ||
346 | + | ||
347 | + | ||
348 | + | @Callable(i) | |
349 | + | func retractProposal (txId) = { | |
350 | + | let checks = if (opAllowed("governance_retract_proposal_tx")) | |
351 | + | then proposalBeforeVoting(txId) | |
352 | + | else false | |
353 | + | if ((checks == checks)) | |
354 | + | then { | |
355 | + | let by = valueOrErrorMessage(getString(this, proposalByStore(txId)), "proposal doesn't exist") | |
356 | + | let user = toString(i.caller) | |
357 | + | if ((by != user)) | |
358 | + | then throw("only owner can retract proposal") | |
359 | + | else [DeleteEntry(proposalHeightStore(txId)), DeleteEntry(proposalVotingStartStore(txId)), DeleteEntry(proposalVotingEndStore(txId)), DeleteEntry(proposalByStore(txId)), DeleteEntry(proposalTotalPowerStore(txId)), DeleteEntry(proposalTotalYesStore(txId)), DeleteEntry(proposalTotalNoStore(txId)), DeleteEntry(proposalUserYesStore(user, txId)), DeleteEntry(proposalUserNoStore(user, txId)), DeleteEntry(userLastProposeHeightStore(user)), DeleteEntry(proposalAddressStore(txId))] | |
360 | + | } | |
361 | + | else throw("Strict value is not equal to itself.") | |
362 | + | } | |
363 | + | ||
364 | + |
github/deemru/w8io/fabc49c 30.47 ms ◑