tx · GxsMfURcFG7DZ71zwitNWCsD7VcJVVKr7UsfxkfziJx3

3MqZkBUDKbXPKEq2sMtxtSahzX5n8AVDTyT:  -0.01700000 Waves

2021.05.20 16:00 [1534034] smart account 3MqZkBUDKbXPKEq2sMtxtSahzX5n8AVDTyT > SELF 0.00000000 Waves

{ "type": 13, "id": "GxsMfURcFG7DZ71zwitNWCsD7VcJVVKr7UsfxkfziJx3", "fee": 1700000, "feeAssetId": null, "timestamp": 1621515632821, "version": 2, "chainId": 84, "sender": "3MqZkBUDKbXPKEq2sMtxtSahzX5n8AVDTyT", "senderPublicKey": "5CSJYiEQvEGm3vH52UCQRkmhw7TV5ZzRhWptXi2hjM7T", "proofs": [ "4scjU5TdmtoyxDJTTmA8GVgyo66i8koEtyiiBb4BFrFCUyn197hXVG2LA5MJ8FzB6X5UFRP1Ef1zsNrH7jEng3fX" ], "script": "base64:AAIDAAAAAAAAACEIARIDCgEIEgMKAQgSAwoBCBIDCgEIEgMKAQgSBAoCCAgAAAAHAQAAAAx0cnlHZXRTdHJpbmcAAAABAAAAA2tleQQAAAADdmFsBAAAAAckbWF0Y2gwCQAEHQAAAAIFAAAABHRoaXMFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAGU3RyaW5nBAAAAAFiBQAAAAckbWF0Y2gwBQAAAAFiAgAAAAAFAAAAA3ZhbAEAAAAJaXNNYW5hZ2VyAAAAAQAAAAdhZGRyZXNzCQAAAAAAAAIFAAAAB2FkZHJlc3MFAAAABHRoaXMBAAAADXRyeUdldEludGVnZXIAAAABAAAAA2tleQQAAAADdmFsBAAAAAckbWF0Y2gwCQAEGgAAAAIFAAAABHRoaXMFAAAAA2tleQMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAADSW50BAAAAAFiBQAAAAckbWF0Y2gwBQAAAAFiAAAAAAAAAAAABQAAAAN2YWwBAAAADmlzV29ya2luZ0dyb3VwAAAAAQAAAAFhCQAAAAAAAAIJAQAAAAx0cnlHZXRTd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AAl2b3RpbmdLZXkFAAAADm5ld1ZvdGluZ1N0YXRlCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACBQAAAAh2b3RlZEtleQUAAAALbmV3Vm90ZWRWYWwJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIFAAAACHZvdGVzS2V5BQAAAAx2b3RlVmFsdWVJbnQFAAAAA25pbAkAAAIAAAABCQABLAAAAAICAAAAG1lvdSBoYXZlIG5vIHJpZ2h0cy4gQ2FsbGVyIAUAAAAGY2FsbGVyAAAAAPrynjQ=", "height": 1534034, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 45wYiWKPL6oEZ4bkbGpGGM5VuAwxqJPAJ9nJeNqCQK2Y Next: none Diff:
OldNewDifferences
6464 then throw("This user already exists")
6565 else {
6666 let p = l()
67- if ((lastIndexOf(p, g, 0) != 0))
67+ if ((lastIndexOf(p, g) != unit))
6868 then throw("This user is already in the group")
6969 else {
7070 let q = ((p + ";") + g)
8888 then throw("access only to the DAO Manager")
8989 else {
9090 let p = l()
91- if ((lastIndexOf(p, g, 0) != 0))
91+ if ((lastIndexOf(p, g) != unit))
9292 then throw("This user is already in the group")
9393 else {
9494 let q = ((p + ";") + g)
113113 }
114114 else ""
115115 }
116- if ((lastIndexOf(p, g, 0) != 0))
116+ if ((lastIndexOf(p, g) != unit))
117117 then throw("This user is already in the group")
118118 else {
119119 let q = ((p + ";") + g)
138138 }
139139 else ""
140140 }
141- if ((lastIndexOf(p, g, 0) != 0))
141+ if ((lastIndexOf(p, g) != unit))
142142 then throw("This user is already in the group")
143143 else {
144144 let q = ((p + ";") + g)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func a (b) = {
55 let c = {
66 let d = getString(this, b)
77 if ($isInstanceOf(d, "String"))
88 then {
99 let e = d
1010 e
1111 }
1212 else ""
1313 }
1414 c
1515 }
1616
1717
1818 func f (g) = (g == this)
1919
2020
2121 func h (b) = {
2222 let c = {
2323 let d = getInteger(this, b)
2424 if ($isInstanceOf(d, "Int"))
2525 then {
2626 let e = d
2727 e
2828 }
2929 else 0
3030 }
3131 c
3232 }
3333
3434
3535 func i (j) = (a((("working_group_" + toString(j)) + "_status")) == "approved")
3636
3737
3838 func k (j) = (a((("dao_member_" + toString(j)) + "_status")) == "approved")
3939
4040
4141 func l () = {
4242 let c = {
4343 let d = getString(this, "dao_members")
4444 if ($isInstanceOf(d, "String"))
4545 then {
4646 let e = d
4747 e
4848 }
4949 else ""
5050 }
5151 c
5252 }
5353
5454
5555 func m (n) = if ((n == "like"))
5656 then 1
5757 else if ((n == "dislike"))
5858 then -1
5959 else throw(("You need to vote with 'like' or 'dislike' value. You specified:" + n))
6060
6161
6262 @Callable(o)
6363 func aProposeCandidateForDAOMember (g) = if ((h((("member_" + g) + "_voting_state")) != 0))
6464 then throw("This user already exists")
6565 else {
6666 let p = l()
67- if ((lastIndexOf(p, g, 0) != 0))
67+ if ((lastIndexOf(p, g) != unit))
6868 then throw("This user is already in the group")
6969 else {
7070 let q = ((p + ";") + g)
7171 let r = h("dao_members_size")
7272 let s = (r + 1)
7373 WriteSet([DataEntry((("dao_member_" + g) + "_status"), "propose"), DataEntry("dao_members", q), DataEntry("dao_members_size", s)])
7474 }
7575 }
7676
7777
7878
7979 @Callable(o)
8080 func mRejectDAOMember (g) = if (!(f(o.caller)))
8181 then throw("access only to the DAO Manager")
8282 else WriteSet([DataEntry((("dao_member_" + g) + "_status"), "rejected")])
8383
8484
8585
8686 @Callable(o)
8787 func mAddDAOMember (g) = if (!(f(o.caller)))
8888 then throw("access only to the DAO Manager")
8989 else {
9090 let p = l()
91- if ((lastIndexOf(p, g, 0) != 0))
91+ if ((lastIndexOf(p, g) != unit))
9292 then throw("This user is already in the group")
9393 else {
9494 let q = ((p + ";") + g)
9595 let r = h("dao_members_size")
9696 let s = (r + 1)
9797 WriteSet([DataEntry((("dao_member_" + g) + "_status"), "approved"), DataEntry("dao_members", q), DataEntry("dao_members_size", s)])
9898 }
9999 }
100100
101101
102102
103103 @Callable(o)
104104 func mAddWorkingGroup (g) = if (!(f(o.caller)))
105105 then throw("access only to the DAO Manager")
106106 else {
107107 let p = {
108108 let d = getString(this, "dao_wg_members")
109109 if ($isInstanceOf(d, "String"))
110110 then {
111111 let e = d
112112 e
113113 }
114114 else ""
115115 }
116- if ((lastIndexOf(p, g, 0) != 0))
116+ if ((lastIndexOf(p, g) != unit))
117117 then throw("This user is already in the group")
118118 else {
119119 let q = ((p + ";") + g)
120120 let r = h("dao_wg_size")
121121 let s = (r + 1)
122122 WriteSet([DataEntry((("dao_wg_member_" + g) + "_status"), "approved"), DataEntry("dao_wg_members", q), DataEntry("dao_wg_size", s)])
123123 }
124124 }
125125
126126
127127
128128 @Callable(o)
129129 func mAddMembershipWorkingGroup (g) = if (!(f(o.caller)))
130130 then throw("access only to the DAO Manager")
131131 else {
132132 let p = {
133133 let d = getString(this, "dao_mwg_members")
134134 if ($isInstanceOf(d, "String"))
135135 then {
136136 let e = d
137137 e
138138 }
139139 else ""
140140 }
141- if ((lastIndexOf(p, g, 0) != 0))
141+ if ((lastIndexOf(p, g) != unit))
142142 then throw("This user is already in the group")
143143 else {
144144 let q = ((p + ";") + g)
145145 let r = h("dao_mwg_size")
146146 let s = (r + 1)
147147 WriteSet([DataEntry((("dao_mwg_member_" + g) + "_status"), "approved"), DataEntry("dao_mwg_members", q), DataEntry("dao_mwg_size", s)])
148148 }
149149 }
150150
151151
152152
153153 @Callable(o)
154154 func wmgMembershipVoteForDAOMember (t,u) = {
155155 let v = toString(o.caller)
156156 let w = toString(o.caller)
157157 let x = m(u)
158158 let y = (("dao_member_" + t) + "_vote")
159159 let z = (("dao_member_" + t) + "_voted")
160160 let A = ((("dao_member_" + t) + "_votes_") + v)
161161 let B = {
162162 let d = getString(this, z)
163163 if ($isInstanceOf(d, "String"))
164164 then {
165165 let e = d
166166 e
167167 }
168168 else ""
169169 }
170170 let C = ((v + ";") + B)
171171 let D = h(y)
172172 let E = (D + x)
173173 let F = a((("dao_mwg_member_" + v) + "_status"))
174174 if ((F == "approved"))
175175 then if ((h(((("dao_member_" + t) + "_votes_") + v)) > 0))
176176 then throw(("You have already voted. Caller " + v))
177177 else WriteSet([DataEntry(y, E), DataEntry(z, C), DataEntry(A, x)])
178178 else throw(("You have no rights. Caller " + v))
179179 }
180180
181181

github/deemru/w8io/169f3d6 
34.04 ms