tx · EbRNPMnmTWZrq7eC8DG36PnnaMVR3iyKPH7x4T1bbSe

3MusfsY6PqDh1YnF7YyTi5ffVT16Dm2bqf6:  -0.01000000 Waves

2023.03.09 03:36 [2481838] smart account 3MusfsY6PqDh1YnF7YyTi5ffVT16Dm2bqf6 > SELF 0.00000000 Waves

{ "type": 13, "id": "EbRNPMnmTWZrq7eC8DG36PnnaMVR3iyKPH7x4T1bbSe", "fee": 1000000, "feeAssetId": null, "timestamp": 1678322330781, "version": 2, "chainId": 84, "sender": "3MusfsY6PqDh1YnF7YyTi5ffVT16Dm2bqf6", "senderPublicKey": "GmYZFRssDr88KiZt3x4LsJ6qfqaTfMUycQTKZVdipUgS", "proofs": [ "5m9Sh9gGe57Nd3kShG2LbqbgJGrUYBsNkuXa2sukFgC1auiLvrQqXMjL1564NGsBGXS8CCBhh5oKRRCwcqF66k5w" ], "script": "base64:BgIlCAISAwoBARIECgIIARIECgIYGBIECgIICBIDCgEIEgUKAwgICAMADG9wdGlvbnNfYWRkcgkBB0FkZHJlc3MBARoBVEFb+Cv2F+oqocvEivH7x7uyIGEx/ocgwQAEdFJVQgEgv7I1LEj/fS4nZAGEmW42z/vK94nfeiKN08fw7a6U2ZsABHRVU0QBIKskSmq2Qkbr0vzjebBhusOuaVdNUnrKRRynQB0RsCkOBgFpARFyZWlzc3VlRm9yRGVwQWRkcgEIcXVhbnRpdHkECWFkbWluTGlzdAQHJG1hdGNoMAkAnQgCBQxvcHRpb25zX2FkZHICCmFkbWluX2xpc3QDCQABAgUHJG1hdGNoMAIEVW5pdAIFdW5zZXQDCQABAgUHJG1hdGNoMAIGU3RyaW5nBAF4BQckbWF0Y2gwBQF4CQACAQILTWF0Y2ggZXJyb3IEEGNhbGxlckFkZHJlc3NTdHIJAKUIAQgFAWkGY2FsbGVyAwkBAiE9AgUJYWRtaW5MaXN0AgV1bnNldAQEdGVzdAkAnQgCCQERQGV4dHJOYXRpdmUoMTA2MikBBQlhZG1pbkxpc3QFEGNhbGxlck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CAIFBHRoaXMJANgEAQgIBQFpBmNhbGxlcgVieXRlcwMJAAECBQckbWF0Y2gwAgZTdHJpbmcEBGhpc3QFByRtYXRjaDAFBGhpc3QCBXVuc2V0AwkBAiE9AgUNaXNLbm93bkNhbGxlcgIFdW5zZXQJAJQKAgkAzAgCCQELU3RyaW5nRW50cnkCCQDYBAEICAUBaQZjYWxsZXIFYnl0ZXMJAKwCAgkArAICCQCsAgIJAKwCAgUEbmFtZQIBfAUDaW5uAgF8BQRvZ3JuCQDMCAIJAQ5TY3JpcHRUcmFuc2ZlcgMIBQFpBmNhbGxlcgDAhD0FBHVuaXQJAMwIAgkBDlNjcmlwdFRyYW5zZmVyAwgFAWkGY2FsbGVyAMCEPQUEdFVTRAUDbmlsBQR1bml0CQACAQIVQ2FuIGJlIHVzZWQgb25seSBvbmNlAQJ0eAEGdmVyaWZ5AAQHJG1hdGNoMAUCdHgDCQABAgUHJG1hdGNoMAIPRGF0YVRyYW5zYWN0aW9uBANkdHgFByRtYXRjaDAHCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAACAUCdHgPc2VuZGVyUHVibGljS2V5/EQZew==", "height": 2481838, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HEXE2ZWAwh6hsDvp1GmimaQDJyBZBZ3DR4cGnFYPGz9c Next: C3bC8nrvSTkg9mgfPnoou13FLk48LYTP6uUhZ2taz9dh Diff:
OldNewDifferences
88 let c = base58'CX4p6XcuSBUvv44r1avCqYka5PYAVzBK5hSXaT7maU85'
99
1010 @Callable(d)
11-func reissueForDepAddr (e,f) = {
12- let g = {
13- let h = getString(a, "admin_list")
14- if ($isInstanceOf(h, "Unit"))
11+func reissueForDepAddr (e) = {
12+ let f = {
13+ let g = getString(a, "admin_list")
14+ if ($isInstanceOf(g, "Unit"))
1515 then "unset"
16- else if ($isInstanceOf(h, "String"))
16+ else if ($isInstanceOf(g, "String"))
1717 then {
18- let i = h
19- i
18+ let h = g
19+ h
2020 }
2121 else throw("Match error")
2222 }
23- let j = toString(d.caller)
24- if ((g != "unset"))
23+ let i = toString(d.caller)
24+ if ((f != "unset"))
2525 then {
26- let k = getString(addressFromStringValue(g), j)
27- let l = {
28- let h = k
29- if ($isInstanceOf(h, "String"))
26+ let j = getString(addressFromStringValue(f), i)
27+ let k = {
28+ let g = j
29+ if ($isInstanceOf(g, "String"))
3030 then {
31- let i = h
32- i
31+ let h = g
32+ h
3333 }
34- else if ($isInstanceOf(h, "Unit"))
34+ else if ($isInstanceOf(g, "Unit"))
3535 then "no admin"
3636 else throw("Match error")
3737 }
38- if ((l != "no admin"))
38+ if ((k != "no admin"))
3939 then {
40- let m = Reissue(fromBase58String(e), f, true)
41- if ((m == m))
42- then $Tuple2([m], (((((((("Reissue error for param: token =>" + e) + " quantity:") + toString(f)) + ", isAdmin: ") + l) + ", callerAddressStr: ") + j) + "."))
40+ let l = Reissue(b, e, true)
41+ if ((l == l))
42+ then $Tuple2([l], (((((((("Reissue error for param: token =>" + toBase58String(b)) + " quantity:") + toString(e)) + ", isAdmin: ") + k) + ", callerAddressStr: ") + i) + "."))
4343 else throw("Strict value is not equal to itself.")
4444 }
45- else throw((((((("You not admin: " + g) + ", isAdmin: ") + l) + ", callerAddressStr: ") + j) + ", "))
45+ else throw((((((("You not admin: " + f) + ", isAdmin: ") + k) + ", callerAddressStr: ") + i) + ", "))
4646 }
4747 else throw("Unset admin list")
4848 }
5050
5151
5252 @Callable(d)
53-func reissueTokens (e,f) = {
54- let g = {
55- let h = getString(a, "admin_list")
56- if ($isInstanceOf(h, "Unit"))
53+func reissueTokens (m,e) = {
54+ let f = {
55+ let g = getString(a, "admin_list")
56+ if ($isInstanceOf(g, "Unit"))
5757 then "unset"
58- else if ($isInstanceOf(h, "String"))
58+ else if ($isInstanceOf(g, "String"))
5959 then {
60- let i = h
61- i
60+ let h = g
61+ h
6262 }
6363 else throw("Match error")
6464 }
65- let j = toString(d.caller)
66- if ((g != "unset"))
65+ let i = toString(d.caller)
66+ if ((f != "unset"))
6767 then {
68- let k = getString(addressFromStringValue(g), j)
69- let l = {
70- let h = k
71- if ($isInstanceOf(h, "String"))
68+ let j = getString(addressFromStringValue(f), i)
69+ let k = {
70+ let g = j
71+ if ($isInstanceOf(g, "String"))
7272 then {
73- let i = h
74- i
73+ let h = g
74+ h
7575 }
76- else if ($isInstanceOf(h, "Unit"))
76+ else if ($isInstanceOf(g, "Unit"))
7777 then "no admin"
7878 else throw("Match error")
7979 }
80- if ((l != "no admin"))
80+ if ((k != "no admin"))
8181 then {
82- let m = Reissue(fromBase58String(e), f, true)
83- $Tuple2([m], (((((((("Reissue error for param: token => " + e) + ", quantity:") + toString(f)) + ", isAdmin: ") + l) + ", callerAddressStr: ") + j) + "."))
82+ let l = Reissue(fromBase58String(m), e, true)
83+ $Tuple2([l], (((((((("Reissue error for param: token => " + m) + ", quantity:") + toString(e)) + ", isAdmin: ") + k) + ", callerAddressStr: ") + i) + "."))
8484 }
85- else throw((((((("You not admin: " + g) + ", isAdmin: ") + l) + ", callerAddressStr: ") + j) + ", "))
85+ else throw((((((("You not admin: " + f) + ", isAdmin: ") + k) + ", callerAddressStr: ") + i) + ", "))
8686 }
8787 else throw("Unset admin list")
8888 }
9494 let p = size(n)
9595 if ((100 >= p))
9696 then {
97- let g = {
98- let h = getString(this, "admin_list")
99- if ($isInstanceOf(h, "Unit"))
97+ let f = {
98+ let g = getString(this, "admin_list")
99+ if ($isInstanceOf(g, "Unit"))
100100 then "unset"
101- else if ($isInstanceOf(h, "String"))
101+ else if ($isInstanceOf(g, "String"))
102102 then {
103- let i = h
104- i
103+ let h = g
104+ h
105105 }
106106 else throw("Match error")
107107 }
126126
127127 D(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(z, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100)
128128 }
129- let j = toString(d.caller)
130- if ((g != "unset"))
129+ let i = toString(d.caller)
130+ if ((f != "unset"))
131131 then {
132- let k = getString(addressFromStringValue(g), j)
133- let l = {
134- let h = k
135- if ($isInstanceOf(h, "String"))
132+ let j = getString(addressFromStringValue(f), i)
133+ let k = {
134+ let g = j
135+ if ($isInstanceOf(g, "String"))
136136 then {
137- let i = h
138- i
137+ let h = g
138+ h
139139 }
140- else if ($isInstanceOf(h, "Unit"))
140+ else if ($isInstanceOf(g, "Unit"))
141141 then "no admin"
142142 else throw("Match error")
143143 }
146146 StringEntry(G[0], G[1])
147147 }
148148
149- if ((l != "no admin"))
149+ if ((k != "no admin"))
150150 then w
151- else throw((((((("You not admin: " + g) + ", isAdmin: ") + l) + ", callerAddressStr: ") + j) + ", "))
151+ else throw((((((("You not admin: " + f) + ", isAdmin: ") + k) + ", callerAddressStr: ") + i) + ", "))
152152 }
153153 else throw("Unset admin list")
154154 }
159159
160160 @Callable(d)
161161 func setOption (H,I) = {
162- let g = {
163- let h = getString(this, "admin_list")
164- if ($isInstanceOf(h, "Unit"))
162+ let f = {
163+ let g = getString(this, "admin_list")
164+ if ($isInstanceOf(g, "Unit"))
165165 then "unset"
166- else if ($isInstanceOf(h, "String"))
166+ else if ($isInstanceOf(g, "String"))
167167 then {
168- let i = h
169- i
168+ let h = g
169+ h
170170 }
171171 else throw("Match error")
172172 }
173- let j = toString(d.caller)
174- if ((g != "unset"))
173+ let i = toString(d.caller)
174+ if ((f != "unset"))
175175 then {
176- let k = getString(addressFromStringValue(g), j)
177- let l = {
178- let h = k
179- if ($isInstanceOf(h, "String"))
176+ let j = getString(addressFromStringValue(f), i)
177+ let k = {
178+ let g = j
179+ if ($isInstanceOf(g, "String"))
180180 then {
181- let i = h
182- i
181+ let h = g
182+ h
183183 }
184- else if ($isInstanceOf(h, "Unit"))
184+ else if ($isInstanceOf(g, "Unit"))
185185 then "no admin"
186186 else throw("Match error")
187187 }
188- if ((l != "no admin"))
188+ if ((k != "no admin"))
189189 then $Tuple2([StringEntry(H, I)], unit)
190- else throw((((((("You not admin: " + g) + ", isAdmin: ") + l) + ", callerAddressStr: ") + j) + ", "))
190+ else throw((((((("You not admin: " + f) + ", isAdmin: ") + k) + ", callerAddressStr: ") + i) + ", "))
191191 }
192192 else throw("Unset admin list")
193193 }
196196
197197 @Callable(d)
198198 func delOption (H) = {
199- let g = {
200- let h = getString(this, "admin_list")
201- if ($isInstanceOf(h, "Unit"))
199+ let f = {
200+ let g = getString(this, "admin_list")
201+ if ($isInstanceOf(g, "Unit"))
202202 then "unset"
203- else if ($isInstanceOf(h, "String"))
203+ else if ($isInstanceOf(g, "String"))
204204 then {
205- let i = h
206- i
205+ let h = g
206+ h
207207 }
208208 else throw("Match error")
209209 }
210- let j = toString(d.caller)
211- if ((g != "unset"))
210+ let i = toString(d.caller)
211+ if ((f != "unset"))
212212 then {
213- let k = getString(addressFromStringValue(g), j)
214- let l = {
215- let h = k
216- if ($isInstanceOf(h, "String"))
213+ let j = getString(addressFromStringValue(f), i)
214+ let k = {
215+ let g = j
216+ if ($isInstanceOf(g, "String"))
217217 then {
218- let i = h
219- i
218+ let h = g
219+ h
220220 }
221- else if ($isInstanceOf(h, "Unit"))
221+ else if ($isInstanceOf(g, "Unit"))
222222 then "no admin"
223223 else throw("Match error")
224224 }
225- if ((l != "no admin"))
225+ if ((k != "no admin"))
226226 then $Tuple2([DeleteEntry(H)], unit)
227- else throw((((((("You not admin: " + g) + ", isAdmin: ") + l) + ", callerAddressStr: ") + j) + ", "))
227+ else throw((((((("You not admin: " + f) + ", isAdmin: ") + k) + ", callerAddressStr: ") + i) + ", "))
228228 }
229229 else throw("Unset admin list")
230230 }
234234 @Callable(d)
235235 func regProvider (J,K,L) = {
236236 let M = {
237- let h = getString(this, toBase58String(d.caller.bytes))
238- if ($isInstanceOf(h, "String"))
237+ let g = getString(this, toBase58String(d.caller.bytes))
238+ if ($isInstanceOf(g, "String"))
239239 then {
240- let N = h
240+ let N = g
241241 N
242242 }
243243 else "unset"
250250
251251 @Verifier(O)
252252 func P () = {
253- let h = O
254- if ($isInstanceOf(h, "DataTransaction"))
253+ let g = O
254+ if ($isInstanceOf(g, "DataTransaction"))
255255 then {
256- let Q = h
256+ let Q = g
257257 false
258258 }
259259 else sigVerify(O.bodyBytes, O.proofs[0], O.senderPublicKey)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = Address(base58'3MusfsY6PqDh1YnF7YyTi5ffVT16Dm2bqf6')
55
66 let b = base58'DuJUjEZJWmpFUo3bubFX8tomUVitqZZNAPuhd6KWgJNE'
77
88 let c = base58'CX4p6XcuSBUvv44r1avCqYka5PYAVzBK5hSXaT7maU85'
99
1010 @Callable(d)
11-func reissueForDepAddr (e,f) = {
12- let g = {
13- let h = getString(a, "admin_list")
14- if ($isInstanceOf(h, "Unit"))
11+func reissueForDepAddr (e) = {
12+ let f = {
13+ let g = getString(a, "admin_list")
14+ if ($isInstanceOf(g, "Unit"))
1515 then "unset"
16- else if ($isInstanceOf(h, "String"))
16+ else if ($isInstanceOf(g, "String"))
1717 then {
18- let i = h
19- i
18+ let h = g
19+ h
2020 }
2121 else throw("Match error")
2222 }
23- let j = toString(d.caller)
24- if ((g != "unset"))
23+ let i = toString(d.caller)
24+ if ((f != "unset"))
2525 then {
26- let k = getString(addressFromStringValue(g), j)
27- let l = {
28- let h = k
29- if ($isInstanceOf(h, "String"))
26+ let j = getString(addressFromStringValue(f), i)
27+ let k = {
28+ let g = j
29+ if ($isInstanceOf(g, "String"))
3030 then {
31- let i = h
32- i
31+ let h = g
32+ h
3333 }
34- else if ($isInstanceOf(h, "Unit"))
34+ else if ($isInstanceOf(g, "Unit"))
3535 then "no admin"
3636 else throw("Match error")
3737 }
38- if ((l != "no admin"))
38+ if ((k != "no admin"))
3939 then {
40- let m = Reissue(fromBase58String(e), f, true)
41- if ((m == m))
42- then $Tuple2([m], (((((((("Reissue error for param: token =>" + e) + " quantity:") + toString(f)) + ", isAdmin: ") + l) + ", callerAddressStr: ") + j) + "."))
40+ let l = Reissue(b, e, true)
41+ if ((l == l))
42+ then $Tuple2([l], (((((((("Reissue error for param: token =>" + toBase58String(b)) + " quantity:") + toString(e)) + ", isAdmin: ") + k) + ", callerAddressStr: ") + i) + "."))
4343 else throw("Strict value is not equal to itself.")
4444 }
45- else throw((((((("You not admin: " + g) + ", isAdmin: ") + l) + ", callerAddressStr: ") + j) + ", "))
45+ else throw((((((("You not admin: " + f) + ", isAdmin: ") + k) + ", callerAddressStr: ") + i) + ", "))
4646 }
4747 else throw("Unset admin list")
4848 }
4949
5050
5151
5252 @Callable(d)
53-func reissueTokens (e,f) = {
54- let g = {
55- let h = getString(a, "admin_list")
56- if ($isInstanceOf(h, "Unit"))
53+func reissueTokens (m,e) = {
54+ let f = {
55+ let g = getString(a, "admin_list")
56+ if ($isInstanceOf(g, "Unit"))
5757 then "unset"
58- else if ($isInstanceOf(h, "String"))
58+ else if ($isInstanceOf(g, "String"))
5959 then {
60- let i = h
61- i
60+ let h = g
61+ h
6262 }
6363 else throw("Match error")
6464 }
65- let j = toString(d.caller)
66- if ((g != "unset"))
65+ let i = toString(d.caller)
66+ if ((f != "unset"))
6767 then {
68- let k = getString(addressFromStringValue(g), j)
69- let l = {
70- let h = k
71- if ($isInstanceOf(h, "String"))
68+ let j = getString(addressFromStringValue(f), i)
69+ let k = {
70+ let g = j
71+ if ($isInstanceOf(g, "String"))
7272 then {
73- let i = h
74- i
73+ let h = g
74+ h
7575 }
76- else if ($isInstanceOf(h, "Unit"))
76+ else if ($isInstanceOf(g, "Unit"))
7777 then "no admin"
7878 else throw("Match error")
7979 }
80- if ((l != "no admin"))
80+ if ((k != "no admin"))
8181 then {
82- let m = Reissue(fromBase58String(e), f, true)
83- $Tuple2([m], (((((((("Reissue error for param: token => " + e) + ", quantity:") + toString(f)) + ", isAdmin: ") + l) + ", callerAddressStr: ") + j) + "."))
82+ let l = Reissue(fromBase58String(m), e, true)
83+ $Tuple2([l], (((((((("Reissue error for param: token => " + m) + ", quantity:") + toString(e)) + ", isAdmin: ") + k) + ", callerAddressStr: ") + i) + "."))
8484 }
85- else throw((((((("You not admin: " + g) + ", isAdmin: ") + l) + ", callerAddressStr: ") + j) + ", "))
85+ else throw((((((("You not admin: " + f) + ", isAdmin: ") + k) + ", callerAddressStr: ") + i) + ", "))
8686 }
8787 else throw("Unset admin list")
8888 }
8989
9090
9191
9292 @Callable(d)
9393 func setOptions (n,o) = {
9494 let p = size(n)
9595 if ((100 >= p))
9696 then {
97- let g = {
98- let h = getString(this, "admin_list")
99- if ($isInstanceOf(h, "Unit"))
97+ let f = {
98+ let g = getString(this, "admin_list")
99+ if ($isInstanceOf(g, "Unit"))
100100 then "unset"
101- else if ($isInstanceOf(h, "String"))
101+ else if ($isInstanceOf(g, "String"))
102102 then {
103- let i = h
104- i
103+ let h = g
104+ h
105105 }
106106 else throw("Match error")
107107 }
108108 func q (r,s) = {
109109 let t = r
110110 let u = t._1
111111 let v = t._2
112112 $Tuple2((u :+ StringEntry(n[v], s)), (v + 1))
113113 }
114114
115115 let w = {
116116 let x = o
117117 let y = size(x)
118118 let z = $Tuple2(nil, 0)
119119 func A (B,C) = if ((C >= y))
120120 then B
121121 else q(B, x[C])
122122
123123 func D (B,C) = if ((C >= y))
124124 then B
125125 else throw("List size exceeds 100")
126126
127127 D(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(A(z, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100)
128128 }
129- let j = toString(d.caller)
130- if ((g != "unset"))
129+ let i = toString(d.caller)
130+ if ((f != "unset"))
131131 then {
132- let k = getString(addressFromStringValue(g), j)
133- let l = {
134- let h = k
135- if ($isInstanceOf(h, "String"))
132+ let j = getString(addressFromStringValue(f), i)
133+ let k = {
134+ let g = j
135+ if ($isInstanceOf(g, "String"))
136136 then {
137- let i = h
138- i
137+ let h = g
138+ h
139139 }
140- else if ($isInstanceOf(h, "Unit"))
140+ else if ($isInstanceOf(g, "Unit"))
141141 then "no admin"
142142 else throw("Match error")
143143 }
144144 func E (F) = {
145145 let G = split(F, "|")
146146 StringEntry(G[0], G[1])
147147 }
148148
149- if ((l != "no admin"))
149+ if ((k != "no admin"))
150150 then w
151- else throw((((((("You not admin: " + g) + ", isAdmin: ") + l) + ", callerAddressStr: ") + j) + ", "))
151+ else throw((((((("You not admin: " + f) + ", isAdmin: ") + k) + ", callerAddressStr: ") + i) + ", "))
152152 }
153153 else throw("Unset admin list")
154154 }
155155 else throw("The number of list elements must not exceed 100")
156156 }
157157
158158
159159
160160 @Callable(d)
161161 func setOption (H,I) = {
162- let g = {
163- let h = getString(this, "admin_list")
164- if ($isInstanceOf(h, "Unit"))
162+ let f = {
163+ let g = getString(this, "admin_list")
164+ if ($isInstanceOf(g, "Unit"))
165165 then "unset"
166- else if ($isInstanceOf(h, "String"))
166+ else if ($isInstanceOf(g, "String"))
167167 then {
168- let i = h
169- i
168+ let h = g
169+ h
170170 }
171171 else throw("Match error")
172172 }
173- let j = toString(d.caller)
174- if ((g != "unset"))
173+ let i = toString(d.caller)
174+ if ((f != "unset"))
175175 then {
176- let k = getString(addressFromStringValue(g), j)
177- let l = {
178- let h = k
179- if ($isInstanceOf(h, "String"))
176+ let j = getString(addressFromStringValue(f), i)
177+ let k = {
178+ let g = j
179+ if ($isInstanceOf(g, "String"))
180180 then {
181- let i = h
182- i
181+ let h = g
182+ h
183183 }
184- else if ($isInstanceOf(h, "Unit"))
184+ else if ($isInstanceOf(g, "Unit"))
185185 then "no admin"
186186 else throw("Match error")
187187 }
188- if ((l != "no admin"))
188+ if ((k != "no admin"))
189189 then $Tuple2([StringEntry(H, I)], unit)
190- else throw((((((("You not admin: " + g) + ", isAdmin: ") + l) + ", callerAddressStr: ") + j) + ", "))
190+ else throw((((((("You not admin: " + f) + ", isAdmin: ") + k) + ", callerAddressStr: ") + i) + ", "))
191191 }
192192 else throw("Unset admin list")
193193 }
194194
195195
196196
197197 @Callable(d)
198198 func delOption (H) = {
199- let g = {
200- let h = getString(this, "admin_list")
201- if ($isInstanceOf(h, "Unit"))
199+ let f = {
200+ let g = getString(this, "admin_list")
201+ if ($isInstanceOf(g, "Unit"))
202202 then "unset"
203- else if ($isInstanceOf(h, "String"))
203+ else if ($isInstanceOf(g, "String"))
204204 then {
205- let i = h
206- i
205+ let h = g
206+ h
207207 }
208208 else throw("Match error")
209209 }
210- let j = toString(d.caller)
211- if ((g != "unset"))
210+ let i = toString(d.caller)
211+ if ((f != "unset"))
212212 then {
213- let k = getString(addressFromStringValue(g), j)
214- let l = {
215- let h = k
216- if ($isInstanceOf(h, "String"))
213+ let j = getString(addressFromStringValue(f), i)
214+ let k = {
215+ let g = j
216+ if ($isInstanceOf(g, "String"))
217217 then {
218- let i = h
219- i
218+ let h = g
219+ h
220220 }
221- else if ($isInstanceOf(h, "Unit"))
221+ else if ($isInstanceOf(g, "Unit"))
222222 then "no admin"
223223 else throw("Match error")
224224 }
225- if ((l != "no admin"))
225+ if ((k != "no admin"))
226226 then $Tuple2([DeleteEntry(H)], unit)
227- else throw((((((("You not admin: " + g) + ", isAdmin: ") + l) + ", callerAddressStr: ") + j) + ", "))
227+ else throw((((((("You not admin: " + f) + ", isAdmin: ") + k) + ", callerAddressStr: ") + i) + ", "))
228228 }
229229 else throw("Unset admin list")
230230 }
231231
232232
233233
234234 @Callable(d)
235235 func regProvider (J,K,L) = {
236236 let M = {
237- let h = getString(this, toBase58String(d.caller.bytes))
238- if ($isInstanceOf(h, "String"))
237+ let g = getString(this, toBase58String(d.caller.bytes))
238+ if ($isInstanceOf(g, "String"))
239239 then {
240- let N = h
240+ let N = g
241241 N
242242 }
243243 else "unset"
244244 }
245245 if ((M != "unset"))
246246 then $Tuple2([StringEntry(toBase58String(d.caller.bytes), ((((J + "|") + K) + "|") + L)), ScriptTransfer(d.caller, 1000000, unit), ScriptTransfer(d.caller, 1000000, c)], unit)
247247 else throw("Can be used only once")
248248 }
249249
250250
251251 @Verifier(O)
252252 func P () = {
253- let h = O
254- if ($isInstanceOf(h, "DataTransaction"))
253+ let g = O
254+ if ($isInstanceOf(g, "DataTransaction"))
255255 then {
256- let Q = h
256+ let Q = g
257257 false
258258 }
259259 else sigVerify(O.bodyBytes, O.proofs[0], O.senderPublicKey)
260260 }
261261

github/deemru/w8io/169f3d6 
104.79 ms