tx · Hwu5a59LmVmQnvrTbdKaAi2noCH4d4zAu9iQo9ZxwcSu 3N7y8qhNA8RXkfuzGTLdtmZFZmwbhZtLJhb: -0.05000000 Waves 2023.02.14 22:02 [2449689] smart account 3N7y8qhNA8RXkfuzGTLdtmZFZmwbhZtLJhb > SELF 0.00000000 Waves
{ "type": 13, "id": "Hwu5a59LmVmQnvrTbdKaAi2noCH4d4zAu9iQo9ZxwcSu", "fee": 5000000, "feeAssetId": null, "timestamp": 1676401464252, "version": 2, "chainId": 84, "sender": "3N7y8qhNA8RXkfuzGTLdtmZFZmwbhZtLJhb", "senderPublicKey": "GWpjPX6mt3HRdUusZGysPeTyNhb6kELXVYQRJny11i59", "proofs": [ "4y4M6VutfqNigSWkRdjE9gZfafE3XTLRm9YDNC9zzDqYp9BYUbcDMbWKbrgWtPJpuAFDjMhzHLVCPSR3Vn8vJPNP" ], "script": "base64:AAIFAAAAAAAAAB4IAhIDCgEIEgQKAggIEgQKAhgYEgQKAggIEgMKAQgAAAAAAAAABQAAAAFpAQAAAAlhY2NlcHRSZWcAAAABAAAADXByb3ZpZGVyX2FkZHIEAAAADG9wdGlvbnNfYWRkcgkBAAAAB0FkZHJlc3MAAAABAQAAABoBVEFb+Cv2F+oqocvEivH7x7uyIGEx/ocgwQQAAAAJYWRtaW5MaXN0BAAAAAckbWF0Y2gwCQAEHQAAAAIFAAAADG9wdGlvbnNfYWRkcgIAAAAKYWRtaW5fbGlzdAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAEVW5pdAIAAAAFdW5zZXQDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABlN0cmluZwQAAAABeAUAAAAHJG1hdGNoMAUAAAABeAkAAAIAAAABAgAAAAtNYXRjaCBlcnJvcgQAAAAQY2FsbGVyQWRkcmVzc1N0cgkABCUAAAABCAUAAAABaQAAAAZjYWxsZXIDCQEAAAACIT0AAAACBQAAAAlhZG1pbkxpc3QCAAAABXVuc2V0BAAAAAR0ZXN0CQAEHQAAA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AAAAICAAAAD1lvdSBub3QgYWRtaW46IAUAAAAJYWRtaW5MaXN0AgAAAAssIGlzQWRtaW46IAUAAAAHaXNBZG1pbgIAAAAULCBjYWxsZXJBZGRyZXNzU3RyOiAFAAAAEGNhbGxlckFkZHJlc3NTdHICAAAAAiwgCQAAAgAAAAECAAAAEFVuc2V0IGFkbWluIGxpc3QAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABAAAAAckbWF0Y2gwBQAAAAJ0eAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXnU21SN", "height": 2449689, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 7xJQ1uhGCqGLXDZ8uJYfiRCzhyUV3Bur8wFkfcVpESCv Next: none Diff:
Old | New | Differences | |
---|---|---|---|
66 | 66 | } | |
67 | 67 | ||
68 | 68 | ||
69 | + | ||
70 | + | @Callable(i) | |
71 | + | func setOptions (opts,vals) = { | |
72 | + | let opt_size = size(opts) | |
73 | + | if ((100 >= opt_size)) | |
74 | + | then { | |
75 | + | let options_addr = Address(base58'3MusfsY6PqDh1YnF7YyTi5ffVT16Dm2bqf6') | |
76 | + | let adminList = match getString(options_addr, "admin_list") { | |
77 | + | case _: Unit => | |
78 | + | "unset" | |
79 | + | case x: String => | |
80 | + | x | |
81 | + | case _ => | |
82 | + | throw("Match error") | |
83 | + | } | |
84 | + | func addStringEntry (accum,nextValue) = { | |
85 | + | let $t025702593 = accum | |
86 | + | let result = $t025702593._1 | |
87 | + | let j = $t025702593._2 | |
88 | + | $Tuple2((result :+ StringEntry(opts[j], nextValue)), (j + 1)) | |
89 | + | } | |
90 | + | ||
91 | + | let r = { | |
92 | + | let $l = vals | |
93 | + | let $s = size($l) | |
94 | + | let $acc0 = $Tuple2(nil, 0) | |
95 | + | func $f0_1 ($a,$i) = if (($i >= $s)) | |
96 | + | then $a | |
97 | + | else addStringEntry($a, $l[$i]) | |
98 | + | ||
99 | + | func $f0_2 ($a,$i) = if (($i >= $s)) | |
100 | + | then $a | |
101 | + | else throw("List size exceeds 100") | |
102 | + | ||
103 | + | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 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) | |
104 | + | } | |
105 | + | let callerAddressStr = toString(i.caller) | |
106 | + | if ((adminList != "unset")) | |
107 | + | then { | |
108 | + | let test = getString(addressFromStringValue(adminList), callerAddressStr) | |
109 | + | let isAdmin = match test { | |
110 | + | case x: String => | |
111 | + | x | |
112 | + | case _: Unit => | |
113 | + | "no admin" | |
114 | + | case _ => | |
115 | + | throw("Match error") | |
116 | + | } | |
117 | + | func add_elm (options) = { | |
118 | + | let opt = split(options, "|") | |
119 | + | StringEntry(opt[0], opt[1]) | |
120 | + | } | |
121 | + | ||
122 | + | if ((isAdmin != "no admin")) | |
123 | + | then r | |
124 | + | else throw((((((("You not admin: " + adminList) + ", isAdmin: ") + isAdmin) + ", callerAddressStr: ") + callerAddressStr) + ", ")) | |
125 | + | } | |
126 | + | else throw("Unset admin list") | |
127 | + | } | |
128 | + | else throw("The number of list elements must not exceed 100") | |
129 | + | } | |
130 | + | ||
131 | + | ||
132 | + | ||
133 | + | @Callable(i) | |
134 | + | func setOption (variable,value) = { | |
135 | + | let options_addr = Address(base58'3MusfsY6PqDh1YnF7YyTi5ffVT16Dm2bqf6') | |
136 | + | let adminList = match getString(options_addr, "admin_list") { | |
137 | + | case _: Unit => | |
138 | + | "unset" | |
139 | + | case x: String => | |
140 | + | x | |
141 | + | case _ => | |
142 | + | throw("Match error") | |
143 | + | } | |
144 | + | let callerAddressStr = toString(i.caller) | |
145 | + | if ((adminList != "unset")) | |
146 | + | then { | |
147 | + | let test = getString(addressFromStringValue(adminList), callerAddressStr) | |
148 | + | let isAdmin = match test { | |
149 | + | case x: String => | |
150 | + | x | |
151 | + | case _: Unit => | |
152 | + | "no admin" | |
153 | + | case _ => | |
154 | + | throw("Match error") | |
155 | + | } | |
156 | + | if ((isAdmin != "no admin")) | |
157 | + | then $Tuple2([StringEntry(variable, value)], unit) | |
158 | + | else throw((((((("You not admin: " + adminList) + ", isAdmin: ") + isAdmin) + ", callerAddressStr: ") + callerAddressStr) + ", ")) | |
159 | + | } | |
160 | + | else throw("Unset admin list") | |
161 | + | } | |
162 | + | ||
163 | + | ||
164 | + | ||
165 | + | @Callable(i) | |
166 | + | func delOption (variable) = { | |
167 | + | let options_addr = Address(base58'3MusfsY6PqDh1YnF7YyTi5ffVT16Dm2bqf6') | |
168 | + | let adminList = match getString(options_addr, "admin_list") { | |
169 | + | case _: Unit => | |
170 | + | "unset" | |
171 | + | case x: String => | |
172 | + | x | |
173 | + | case _ => | |
174 | + | throw("Match error") | |
175 | + | } | |
176 | + | let callerAddressStr = toString(i.caller) | |
177 | + | if ((adminList != "unset")) | |
178 | + | then { | |
179 | + | let test = getString(addressFromStringValue(adminList), callerAddressStr) | |
180 | + | let isAdmin = match test { | |
181 | + | case x: String => | |
182 | + | x | |
183 | + | case _: Unit => | |
184 | + | "no admin" | |
185 | + | case _ => | |
186 | + | throw("Match error") | |
187 | + | } | |
188 | + | if ((isAdmin != "no admin")) | |
189 | + | then $Tuple2([DeleteEntry(variable)], unit) | |
190 | + | else throw((((((("You not admin: " + adminList) + ", isAdmin: ") + isAdmin) + ", callerAddressStr: ") + callerAddressStr) + ", ")) | |
191 | + | } | |
192 | + | else throw("Unset admin list") | |
193 | + | } | |
194 | + | ||
195 | + | ||
69 | 196 | @Verifier(tx) | |
70 | 197 | func verify () = match tx { | |
71 | 198 | case _ => |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | ||
5 | 5 | ||
6 | 6 | @Callable(i) | |
7 | 7 | func acceptReg (provider_addr) = { | |
8 | 8 | let options_addr = Address(base58'3MusfsY6PqDh1YnF7YyTi5ffVT16Dm2bqf6') | |
9 | 9 | let adminList = match getString(options_addr, "admin_list") { | |
10 | 10 | case _: Unit => | |
11 | 11 | "unset" | |
12 | 12 | case x: String => | |
13 | 13 | x | |
14 | 14 | case _ => | |
15 | 15 | throw("Match error") | |
16 | 16 | } | |
17 | 17 | let callerAddressStr = toString(i.caller) | |
18 | 18 | if ((adminList != "unset")) | |
19 | 19 | then { | |
20 | 20 | let test = getString(addressFromStringValue(adminList), callerAddressStr) | |
21 | 21 | let isAdmin = match test { | |
22 | 22 | case x: String => | |
23 | 23 | x | |
24 | 24 | case _: Unit => | |
25 | 25 | "no admin" | |
26 | 26 | case _ => | |
27 | 27 | throw("Match error") | |
28 | 28 | } | |
29 | 29 | if ((isAdmin != "no admin")) | |
30 | 30 | then $Tuple2([StringEntry(provider_addr, "")], unit) | |
31 | 31 | else throw((((((("You not admin: " + adminList) + ", isAdmin: ") + isAdmin) + ", callerAddressStr: ") + callerAddressStr) + ", ")) | |
32 | 32 | } | |
33 | 33 | else throw("Unset admin list") | |
34 | 34 | } | |
35 | 35 | ||
36 | 36 | ||
37 | 37 | ||
38 | 38 | @Callable(i) | |
39 | 39 | func rejectReg (provider_addr,confirm_data) = { | |
40 | 40 | let options_addr = Address(base58'3MusfsY6PqDh1YnF7YyTi5ffVT16Dm2bqf6') | |
41 | 41 | let adminList = match getString(options_addr, "admin_list") { | |
42 | 42 | case _: Unit => | |
43 | 43 | "unset" | |
44 | 44 | case x: String => | |
45 | 45 | x | |
46 | 46 | case _ => | |
47 | 47 | throw("Match error") | |
48 | 48 | } | |
49 | 49 | let callerAddressStr = toString(i.caller) | |
50 | 50 | if ((adminList != "unset")) | |
51 | 51 | then { | |
52 | 52 | let test = getString(addressFromStringValue(adminList), callerAddressStr) | |
53 | 53 | let isAdmin = match test { | |
54 | 54 | case x: String => | |
55 | 55 | x | |
56 | 56 | case _: Unit => | |
57 | 57 | "no admin" | |
58 | 58 | case _ => | |
59 | 59 | throw("Match error") | |
60 | 60 | } | |
61 | 61 | if ((isAdmin != "no admin")) | |
62 | 62 | then $Tuple2([StringEntry(provider_addr, confirm_data)], unit) | |
63 | 63 | else throw((((((("You not admin: " + adminList) + ", isAdmin: ") + isAdmin) + ", callerAddressStr: ") + callerAddressStr) + ", ")) | |
64 | 64 | } | |
65 | 65 | else throw("Unset admin list") | |
66 | 66 | } | |
67 | 67 | ||
68 | 68 | ||
69 | + | ||
70 | + | @Callable(i) | |
71 | + | func setOptions (opts,vals) = { | |
72 | + | let opt_size = size(opts) | |
73 | + | if ((100 >= opt_size)) | |
74 | + | then { | |
75 | + | let options_addr = Address(base58'3MusfsY6PqDh1YnF7YyTi5ffVT16Dm2bqf6') | |
76 | + | let adminList = match getString(options_addr, "admin_list") { | |
77 | + | case _: Unit => | |
78 | + | "unset" | |
79 | + | case x: String => | |
80 | + | x | |
81 | + | case _ => | |
82 | + | throw("Match error") | |
83 | + | } | |
84 | + | func addStringEntry (accum,nextValue) = { | |
85 | + | let $t025702593 = accum | |
86 | + | let result = $t025702593._1 | |
87 | + | let j = $t025702593._2 | |
88 | + | $Tuple2((result :+ StringEntry(opts[j], nextValue)), (j + 1)) | |
89 | + | } | |
90 | + | ||
91 | + | let r = { | |
92 | + | let $l = vals | |
93 | + | let $s = size($l) | |
94 | + | let $acc0 = $Tuple2(nil, 0) | |
95 | + | func $f0_1 ($a,$i) = if (($i >= $s)) | |
96 | + | then $a | |
97 | + | else addStringEntry($a, $l[$i]) | |
98 | + | ||
99 | + | func $f0_2 ($a,$i) = if (($i >= $s)) | |
100 | + | then $a | |
101 | + | else throw("List size exceeds 100") | |
102 | + | ||
103 | + | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 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) | |
104 | + | } | |
105 | + | let callerAddressStr = toString(i.caller) | |
106 | + | if ((adminList != "unset")) | |
107 | + | then { | |
108 | + | let test = getString(addressFromStringValue(adminList), callerAddressStr) | |
109 | + | let isAdmin = match test { | |
110 | + | case x: String => | |
111 | + | x | |
112 | + | case _: Unit => | |
113 | + | "no admin" | |
114 | + | case _ => | |
115 | + | throw("Match error") | |
116 | + | } | |
117 | + | func add_elm (options) = { | |
118 | + | let opt = split(options, "|") | |
119 | + | StringEntry(opt[0], opt[1]) | |
120 | + | } | |
121 | + | ||
122 | + | if ((isAdmin != "no admin")) | |
123 | + | then r | |
124 | + | else throw((((((("You not admin: " + adminList) + ", isAdmin: ") + isAdmin) + ", callerAddressStr: ") + callerAddressStr) + ", ")) | |
125 | + | } | |
126 | + | else throw("Unset admin list") | |
127 | + | } | |
128 | + | else throw("The number of list elements must not exceed 100") | |
129 | + | } | |
130 | + | ||
131 | + | ||
132 | + | ||
133 | + | @Callable(i) | |
134 | + | func setOption (variable,value) = { | |
135 | + | let options_addr = Address(base58'3MusfsY6PqDh1YnF7YyTi5ffVT16Dm2bqf6') | |
136 | + | let adminList = match getString(options_addr, "admin_list") { | |
137 | + | case _: Unit => | |
138 | + | "unset" | |
139 | + | case x: String => | |
140 | + | x | |
141 | + | case _ => | |
142 | + | throw("Match error") | |
143 | + | } | |
144 | + | let callerAddressStr = toString(i.caller) | |
145 | + | if ((adminList != "unset")) | |
146 | + | then { | |
147 | + | let test = getString(addressFromStringValue(adminList), callerAddressStr) | |
148 | + | let isAdmin = match test { | |
149 | + | case x: String => | |
150 | + | x | |
151 | + | case _: Unit => | |
152 | + | "no admin" | |
153 | + | case _ => | |
154 | + | throw("Match error") | |
155 | + | } | |
156 | + | if ((isAdmin != "no admin")) | |
157 | + | then $Tuple2([StringEntry(variable, value)], unit) | |
158 | + | else throw((((((("You not admin: " + adminList) + ", isAdmin: ") + isAdmin) + ", callerAddressStr: ") + callerAddressStr) + ", ")) | |
159 | + | } | |
160 | + | else throw("Unset admin list") | |
161 | + | } | |
162 | + | ||
163 | + | ||
164 | + | ||
165 | + | @Callable(i) | |
166 | + | func delOption (variable) = { | |
167 | + | let options_addr = Address(base58'3MusfsY6PqDh1YnF7YyTi5ffVT16Dm2bqf6') | |
168 | + | let adminList = match getString(options_addr, "admin_list") { | |
169 | + | case _: Unit => | |
170 | + | "unset" | |
171 | + | case x: String => | |
172 | + | x | |
173 | + | case _ => | |
174 | + | throw("Match error") | |
175 | + | } | |
176 | + | let callerAddressStr = toString(i.caller) | |
177 | + | if ((adminList != "unset")) | |
178 | + | then { | |
179 | + | let test = getString(addressFromStringValue(adminList), callerAddressStr) | |
180 | + | let isAdmin = match test { | |
181 | + | case x: String => | |
182 | + | x | |
183 | + | case _: Unit => | |
184 | + | "no admin" | |
185 | + | case _ => | |
186 | + | throw("Match error") | |
187 | + | } | |
188 | + | if ((isAdmin != "no admin")) | |
189 | + | then $Tuple2([DeleteEntry(variable)], unit) | |
190 | + | else throw((((((("You not admin: " + adminList) + ", isAdmin: ") + isAdmin) + ", callerAddressStr: ") + callerAddressStr) + ", ")) | |
191 | + | } | |
192 | + | else throw("Unset admin list") | |
193 | + | } | |
194 | + | ||
195 | + | ||
69 | 196 | @Verifier(tx) | |
70 | 197 | func verify () = match tx { | |
71 | 198 | case _ => | |
72 | 199 | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
73 | 200 | } | |
74 | 201 |
github/deemru/w8io/169f3d6 29.83 ms ◑