tx · 5iTDoEFBk4VZKk9z8DpDarYmtf9EkqZHNNZdWKBW8Aao 3N7J6mMMkjVViBREz9y53JmcX7r7KZRXQpL: -0.04000000 Waves 2022.04.20 21:12 [2017212] smart account 3N7J6mMMkjVViBREz9y53JmcX7r7KZRXQpL > SELF 0.00000000 Waves
{ "type": 13, "id": "5iTDoEFBk4VZKk9z8DpDarYmtf9EkqZHNNZdWKBW8Aao", "fee": 4000000, "feeAssetId": null, "timestamp": 1650478376422, "version": 2, "chainId": 84, "sender": "3N7J6mMMkjVViBREz9y53JmcX7r7KZRXQpL", "senderPublicKey": "G6aSmaqLJ4p7jzm7BnQcZuqa2NRRLVtzqdYNjYErnEZZ", "proofs": [ "5zxgt8D1yZ87apzGto6p7Fp5uE4Fguqq4AZmoQ8wRNxCG4orDVQgZVxB32c5QQKizayZp9vQMcurgF8SwpFCGkkq" ], "script": "base64:AAIFAAAAAAAAADIIAhIFCgMICAgSBAoCCAgSBwoFCAgICAgSBAoCCAESBQoDCAgIEgUKAwgICBIECgIICAAAABMAAAAABENPTFMAAAAAAAAABAAAAAAABFJPV1MAAAAAAAAABAAAAAAACW5mdERvbWFpbgIAAAAYaHR0cHM6Ly9uZnQuZ3JpZGdhbmcuaW8vAAAAABVhZGRPd25lckFuZEFtb3VudEZ1bmMCAAAAEWFkZE93bmVyQW5kQW1vdW50AAAAAAVERUJVRwYAAAAAEW1pbkZvclNhbGVXYXZsZXRzAAAAAAAF9eEAAAAAABBtaW5QdXJjaGFzZVByaWNlAAAAAAAAD0JAAAAAAARkYXBwAgAAACMzTjdKNm1NTWtqVlZpQlJFejl5NTNKbWNYN3I3S1pSWFFwTAAAAAALZGFwcEFkZHJlc3MJAQAAAAdBZGRyZXNzAAAAAQkAAlkAAAABBQAAAARkYXBwAAAAABFob2xkaW5nc1B1YmxpY0tleQIAAAAsQXlBd1diTVBNN2E0VllrbjFiaEVCZnRDNVdaZ2Z2VVhncllEZTk4bXZMc3YAAAAACGhvbGRpbmdzAgAAACM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UPSVZg==", "height": 2017212, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: QQgwnMjhLeCsVEBwnmSpkCYX32MGVkdZgASC5HfiUXW Next: BADGqBX489kkRwiCmkk9SSNoHsJVC4End1wrhtSeNN3g Diff:
Old | New | Differences | |
---|---|---|---|
152 | 152 | ||
153 | 153 | ||
154 | 154 | @Callable(R) | |
155 | - | func evolve (n,o,y) = { | |
155 | + | func evolve (n,o,y,z,ab) = { | |
156 | 156 | let X = toBase58String(R.caller.bytes) | |
157 | - | let A = toBase58String(R.transactionId) | |
158 | - | let ab = x(n, o, y, X, A) | |
159 | - | let G = ab._1 | |
160 | - | let H = ab._2 | |
161 | - | let F = ab._3 | |
162 | - | let I = ab._4 | |
163 | - | (J(I, toBase58String(H), F, X, y) ++ [G, StringEntry(A, I), ScriptTransfer(R.caller, 1, H)]) | |
157 | + | if ((X != k)) | |
158 | + | then throw("This can only be triggering internally") | |
159 | + | else { | |
160 | + | let A = toBase58String(R.transactionId) | |
161 | + | let ac = x(n, o, y, z, A) | |
162 | + | let G = ac._1 | |
163 | + | let H = ac._2 | |
164 | + | let F = ac._3 | |
165 | + | let I = ac._4 | |
166 | + | (J(I, toBase58String(H), F, z, y) ++ [G, StringEntry(A, I), ScriptTransfer(Address(fromBase58String(z)), 1, H)]) | |
167 | + | } | |
164 | 168 | } | |
165 | 169 | ||
166 | 170 | ||
167 | 171 | ||
168 | 172 | @Callable(R) | |
169 | - | func burnForEvolve (ac) = { | |
170 | - | let ad = split(ac, "|") | |
171 | - | let ae = size(ad) | |
172 | - | let af = nil | |
173 | - | func ag (ah,ai) = if ((ai >= ae)) | |
174 | - | then ah | |
175 | - | else L(ah, ad[ai]) | |
176 | - | ||
177 | - | func aj (ah,ai) = if ((ai >= ae)) | |
178 | - | then ah | |
179 | - | else throw("List size exceeds 110") | |
180 | - | ||
181 | - | aj(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(af, 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), 101), 102), 103), 104), 105), 106), 107), 108), 109), 110) | |
182 | - | } | |
183 | - | ||
184 | - | ||
185 | - | ||
186 | - | @Callable(R) | |
187 | - | func putForSale (H,ak) = { | |
173 | + | func putForSale (H,ad) = { | |
188 | 174 | let X = toBase58String(R.caller.bytes) | |
189 | - | let | |
175 | + | let ae = { | |
190 | 176 | let P = assetInfo(fromBase58String(H)) | |
191 | 177 | if ($isInstanceOf(P, "Asset")) | |
192 | 178 | then { | |
193 | - | let | |
194 | - | | |
179 | + | let af = P | |
180 | + | af | |
195 | 181 | } | |
196 | 182 | else throw("Asset not found") | |
197 | 183 | } | |
198 | - | let | |
184 | + | let ag = u(ae.name) | |
199 | 185 | let z = { | |
200 | - | let P = getString(this, ( | |
186 | + | let P = getString(this, (ag + "_owner")) | |
201 | 187 | if ($isInstanceOf(P, "String")) | |
202 | 188 | then { | |
203 | - | let | |
204 | - | | |
189 | + | let ah = P | |
190 | + | ah | |
205 | 191 | } | |
206 | 192 | else throw("Owner not found in data") | |
207 | 193 | } | |
208 | - | if ((f > | |
194 | + | if ((f > ad)) | |
209 | 195 | then throw("Amount needs to be more than 1 wave") | |
210 | 196 | else if (if ((X != z)) | |
211 | 197 | then (X != k) | |
212 | 198 | else false) | |
213 | 199 | then throw("You are not able to put this asset up for sale") | |
214 | 200 | else { | |
215 | - | let aa = invoke(l, d, [X, H, | |
201 | + | let aa = invoke(l, d, [X, H, ad], [AttachedPayment(unit, 0)]) | |
216 | 202 | if ((aa == aa)) | |
217 | 203 | then [ScriptTransfer(l, 1, fromBase58String(H))] | |
218 | 204 | else throw("Strict value is not equal to itself.") | |
243 | 229 | ||
244 | 230 | ||
245 | 231 | @Callable(R) | |
246 | - | func adminPromotionPurchase (n,o, | |
232 | + | func adminPromotionPurchase (n,o,ai) = { | |
247 | 233 | let X = toBase58String(R.caller.bytes) | |
248 | 234 | if ((X != k)) | |
249 | 235 | then throw("This can only be triggering internally") | |
250 | 236 | else { | |
251 | 237 | let A = toBase58String(R.transactionId) | |
252 | - | let | |
253 | - | let G = | |
254 | - | let H = | |
255 | - | let F = | |
256 | - | let I = | |
238 | + | let aj = x(n, o, "1", ai, A) | |
239 | + | let G = aj._1 | |
240 | + | let H = aj._2 | |
241 | + | let F = aj._3 | |
242 | + | let I = aj._4 | |
257 | 243 | let Z = toBase58String(H) | |
258 | - | (J(I, Z, F, | |
244 | + | (J(I, Z, F, ai, "1") ++ [G, StringEntry(A, I), ScriptTransfer(Address(fromBase58String(ai)), 1, H)]) | |
259 | 245 | } | |
260 | 246 | } | |
261 | 247 | ||
262 | 248 | ||
263 | 249 | ||
264 | 250 | @Callable(R) | |
265 | - | func adminSetHandle (z, | |
251 | + | func adminSetHandle (z,ak) = { | |
266 | 252 | let X = toBase58String(R.caller.bytes) | |
267 | 253 | if ((X != k)) | |
268 | 254 | then throw("This can only be triggering internally") | |
269 | - | else [StringEntry((z + "_handle"), | |
255 | + | else [StringEntry((z + "_handle"), ak)] | |
270 | 256 | } | |
271 | 257 | ||
272 | 258 | ||
273 | - | @Verifier( | |
274 | - | func | |
259 | + | @Verifier(al) | |
260 | + | func am () = if (if (sigVerify(al.bodyBytes, al.proofs[0], al.senderPublicKey)) | |
275 | 261 | then true | |
276 | - | else (addressFromPublicKey( | |
262 | + | else (addressFromPublicKey(al.senderPublicKey) == l)) | |
277 | 263 | then true | |
278 | - | else (addressFromPublicKey( | |
264 | + | else (addressFromPublicKey(al.senderPublicKey) == i) | |
279 | 265 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = 1024 | |
5 | 5 | ||
6 | 6 | let b = 1024 | |
7 | 7 | ||
8 | 8 | let c = "https://nft.gridgang.io/" | |
9 | 9 | ||
10 | 10 | let d = "addOwnerAndAmount" | |
11 | 11 | ||
12 | 12 | let e = true | |
13 | 13 | ||
14 | 14 | let f = 100000000 | |
15 | 15 | ||
16 | 16 | let g = 1000000 | |
17 | 17 | ||
18 | 18 | let h = "3N7J6mMMkjVViBREz9y53JmcX7r7KZRXQpL" | |
19 | 19 | ||
20 | 20 | let i = Address(fromBase58String(h)) | |
21 | 21 | ||
22 | 22 | let j = "AyAwWbMPM7a4VYkn1bhEBftC5WZgfvUXgrYDe98mvLsv" | |
23 | 23 | ||
24 | 24 | let k = "3MwPsLy9F1mUQrdP37sCAKvHuE5HvPE674Y" | |
25 | 25 | ||
26 | 26 | let l = Address(fromBase58String(k)) | |
27 | 27 | ||
28 | 28 | func m (n,o) = ((n + ",") + o) | |
29 | 29 | ||
30 | 30 | ||
31 | 31 | func p (n,o) = m(n, o) | |
32 | 32 | ||
33 | 33 | ||
34 | 34 | func q (r) = { | |
35 | 35 | let s = split(r, ",") | |
36 | 36 | let t = $Tuple2(s[0], s[1]) | |
37 | 37 | t | |
38 | 38 | } | |
39 | 39 | ||
40 | 40 | ||
41 | 41 | func u (r) = { | |
42 | 42 | let v = q(r) | |
43 | 43 | let n = v._1 | |
44 | 44 | let o = v._2 | |
45 | 45 | let w = p(n, o) | |
46 | 46 | w | |
47 | 47 | } | |
48 | 48 | ||
49 | 49 | ||
50 | 50 | func x (n,o,y,z,A) = { | |
51 | 51 | let B = n | |
52 | 52 | let C = o | |
53 | 53 | let D = y | |
54 | 54 | let E = m(B, C) | |
55 | 55 | let F = ((c + A) + ".png") | |
56 | 56 | let G = Issue(E, F, 1, 0, false) | |
57 | 57 | let H = calculateAssetId(G) | |
58 | 58 | let I = p(B, C) | |
59 | 59 | $Tuple4(G, H, F, I) | |
60 | 60 | } | |
61 | 61 | ||
62 | 62 | ||
63 | 63 | func J (w,H,G,K,y) = [StringEntry((w + "_assetId"), H), StringEntry((w + "_asset"), G), StringEntry((w + "_owner"), K), StringEntry((w + "_gen"), y)] | |
64 | 64 | ||
65 | 65 | ||
66 | 66 | func L (M,N) = { | |
67 | 67 | let O = { | |
68 | 68 | let P = N | |
69 | 69 | if ($isInstanceOf(P, "Unit")) | |
70 | 70 | then "unset" | |
71 | 71 | else if ($isInstanceOf(P, "String")) | |
72 | 72 | then { | |
73 | 73 | let Q = P | |
74 | 74 | Q | |
75 | 75 | } | |
76 | 76 | else throw("Match error") | |
77 | 77 | } | |
78 | 78 | if ((O == "unset")) | |
79 | 79 | then M | |
80 | 80 | else { | |
81 | 81 | let H = { | |
82 | 82 | let P = getString(this, (O + "_assetId")) | |
83 | 83 | if ($isInstanceOf(P, "Unit")) | |
84 | 84 | then "unset" | |
85 | 85 | else if ($isInstanceOf(P, "String")) | |
86 | 86 | then { | |
87 | 87 | let Q = P | |
88 | 88 | Q | |
89 | 89 | } | |
90 | 90 | else throw("Match error") | |
91 | 91 | } | |
92 | 92 | if ((H == "unset")) | |
93 | 93 | then M | |
94 | 94 | else (M ++ [Burn(fromBase58String(H), 1)]) | |
95 | 95 | } | |
96 | 96 | } | |
97 | 97 | ||
98 | 98 | ||
99 | 99 | @Callable(R) | |
100 | 100 | func purchase (n,o,S) = { | |
101 | 101 | let w = p(n, o) | |
102 | 102 | let T = valueOrElse(R.payments[0].amount, 0) | |
103 | 103 | let U = { | |
104 | 104 | let P = getString(this, (w + "_assetId")) | |
105 | 105 | if ($isInstanceOf(P, "Unit")) | |
106 | 106 | then "unset" | |
107 | 107 | else if ($isInstanceOf(P, "String")) | |
108 | 108 | then { | |
109 | 109 | let V = P | |
110 | 110 | throw("This square has already been purchased") | |
111 | 111 | } | |
112 | 112 | else throw("Match error") | |
113 | 113 | } | |
114 | 114 | if ((g > T)) | |
115 | 115 | then throw((("You need to send at least " + toString(g)) + "WAVLETS to purchase a square")) | |
116 | 116 | else { | |
117 | 117 | let z = toBase58String(R.caller.bytes) | |
118 | 118 | let A = toBase58String(R.transactionId) | |
119 | 119 | let W = x(n, o, "1", z, A) | |
120 | 120 | let G = W._1 | |
121 | 121 | let H = W._2 | |
122 | 122 | let F = W._3 | |
123 | 123 | let I = W._4 | |
124 | 124 | (J(I, toBase58String(H), F, z, "1") ++ [G, StringEntry((z + "_handle"), S), StringEntry(A, I), ScriptTransfer(R.caller, 1, H)]) | |
125 | 125 | } | |
126 | 126 | } | |
127 | 127 | ||
128 | 128 | ||
129 | 129 | ||
130 | 130 | @Callable(R) | |
131 | 131 | func autoBuy (n,o) = { | |
132 | 132 | let X = toBase58String(R.caller.bytes) | |
133 | 133 | if (if ((X != k)) | |
134 | 134 | then (X != h) | |
135 | 135 | else false) | |
136 | 136 | then throw("This can only be triggering internally") | |
137 | 137 | else { | |
138 | 138 | let A = toBase58String(R.transactionId) | |
139 | 139 | let Y = x(n, o, "1", k, A) | |
140 | 140 | let G = Y._1 | |
141 | 141 | let H = Y._2 | |
142 | 142 | let F = Y._3 | |
143 | 143 | let I = Y._4 | |
144 | 144 | let Z = toBase58String(H) | |
145 | 145 | let aa = invoke(l, d, [k, Z, 3], [AttachedPayment(unit, 0)]) | |
146 | 146 | if ((aa == aa)) | |
147 | 147 | then (J(I, Z, F, k, "1") ++ [G, StringEntry(A, I), ScriptTransfer(l, 1, H)]) | |
148 | 148 | else throw("Strict value is not equal to itself.") | |
149 | 149 | } | |
150 | 150 | } | |
151 | 151 | ||
152 | 152 | ||
153 | 153 | ||
154 | 154 | @Callable(R) | |
155 | - | func evolve (n,o,y) = { | |
155 | + | func evolve (n,o,y,z,ab) = { | |
156 | 156 | let X = toBase58String(R.caller.bytes) | |
157 | - | let A = toBase58String(R.transactionId) | |
158 | - | let ab = x(n, o, y, X, A) | |
159 | - | let G = ab._1 | |
160 | - | let H = ab._2 | |
161 | - | let F = ab._3 | |
162 | - | let I = ab._4 | |
163 | - | (J(I, toBase58String(H), F, X, y) ++ [G, StringEntry(A, I), ScriptTransfer(R.caller, 1, H)]) | |
157 | + | if ((X != k)) | |
158 | + | then throw("This can only be triggering internally") | |
159 | + | else { | |
160 | + | let A = toBase58String(R.transactionId) | |
161 | + | let ac = x(n, o, y, z, A) | |
162 | + | let G = ac._1 | |
163 | + | let H = ac._2 | |
164 | + | let F = ac._3 | |
165 | + | let I = ac._4 | |
166 | + | (J(I, toBase58String(H), F, z, y) ++ [G, StringEntry(A, I), ScriptTransfer(Address(fromBase58String(z)), 1, H)]) | |
167 | + | } | |
164 | 168 | } | |
165 | 169 | ||
166 | 170 | ||
167 | 171 | ||
168 | 172 | @Callable(R) | |
169 | - | func burnForEvolve (ac) = { | |
170 | - | let ad = split(ac, "|") | |
171 | - | let ae = size(ad) | |
172 | - | let af = nil | |
173 | - | func ag (ah,ai) = if ((ai >= ae)) | |
174 | - | then ah | |
175 | - | else L(ah, ad[ai]) | |
176 | - | ||
177 | - | func aj (ah,ai) = if ((ai >= ae)) | |
178 | - | then ah | |
179 | - | else throw("List size exceeds 110") | |
180 | - | ||
181 | - | aj(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(ag(af, 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), 101), 102), 103), 104), 105), 106), 107), 108), 109), 110) | |
182 | - | } | |
183 | - | ||
184 | - | ||
185 | - | ||
186 | - | @Callable(R) | |
187 | - | func putForSale (H,ak) = { | |
173 | + | func putForSale (H,ad) = { | |
188 | 174 | let X = toBase58String(R.caller.bytes) | |
189 | - | let | |
175 | + | let ae = { | |
190 | 176 | let P = assetInfo(fromBase58String(H)) | |
191 | 177 | if ($isInstanceOf(P, "Asset")) | |
192 | 178 | then { | |
193 | - | let | |
194 | - | | |
179 | + | let af = P | |
180 | + | af | |
195 | 181 | } | |
196 | 182 | else throw("Asset not found") | |
197 | 183 | } | |
198 | - | let | |
184 | + | let ag = u(ae.name) | |
199 | 185 | let z = { | |
200 | - | let P = getString(this, ( | |
186 | + | let P = getString(this, (ag + "_owner")) | |
201 | 187 | if ($isInstanceOf(P, "String")) | |
202 | 188 | then { | |
203 | - | let | |
204 | - | | |
189 | + | let ah = P | |
190 | + | ah | |
205 | 191 | } | |
206 | 192 | else throw("Owner not found in data") | |
207 | 193 | } | |
208 | - | if ((f > | |
194 | + | if ((f > ad)) | |
209 | 195 | then throw("Amount needs to be more than 1 wave") | |
210 | 196 | else if (if ((X != z)) | |
211 | 197 | then (X != k) | |
212 | 198 | else false) | |
213 | 199 | then throw("You are not able to put this asset up for sale") | |
214 | 200 | else { | |
215 | - | let aa = invoke(l, d, [X, H, | |
201 | + | let aa = invoke(l, d, [X, H, ad], [AttachedPayment(unit, 0)]) | |
216 | 202 | if ((aa == aa)) | |
217 | 203 | then [ScriptTransfer(l, 1, fromBase58String(H))] | |
218 | 204 | else throw("Strict value is not equal to itself.") | |
219 | 205 | } | |
220 | 206 | } | |
221 | 207 | ||
222 | 208 | ||
223 | 209 | ||
224 | 210 | @Callable(R) | |
225 | 211 | func finalizeSale (H,z,S) = { | |
226 | 212 | let X = toBase58String(R.caller.bytes) | |
227 | 213 | if ((X != k)) | |
228 | 214 | then throw("This can only be triggering internally") | |
229 | 215 | else { | |
230 | 216 | let w = { | |
231 | 217 | let P = assetInfo(fromBase58String(H)) | |
232 | 218 | if ($isInstanceOf(P, "Asset")) | |
233 | 219 | then { | |
234 | 220 | let G = P | |
235 | 221 | G.name | |
236 | 222 | } | |
237 | 223 | else throw("Can't find asset") | |
238 | 224 | } | |
239 | 225 | [StringEntry((w + "_owner"), z), StringEntry((z + "_handle"), S)] | |
240 | 226 | } | |
241 | 227 | } | |
242 | 228 | ||
243 | 229 | ||
244 | 230 | ||
245 | 231 | @Callable(R) | |
246 | - | func adminPromotionPurchase (n,o, | |
232 | + | func adminPromotionPurchase (n,o,ai) = { | |
247 | 233 | let X = toBase58String(R.caller.bytes) | |
248 | 234 | if ((X != k)) | |
249 | 235 | then throw("This can only be triggering internally") | |
250 | 236 | else { | |
251 | 237 | let A = toBase58String(R.transactionId) | |
252 | - | let | |
253 | - | let G = | |
254 | - | let H = | |
255 | - | let F = | |
256 | - | let I = | |
238 | + | let aj = x(n, o, "1", ai, A) | |
239 | + | let G = aj._1 | |
240 | + | let H = aj._2 | |
241 | + | let F = aj._3 | |
242 | + | let I = aj._4 | |
257 | 243 | let Z = toBase58String(H) | |
258 | - | (J(I, Z, F, | |
244 | + | (J(I, Z, F, ai, "1") ++ [G, StringEntry(A, I), ScriptTransfer(Address(fromBase58String(ai)), 1, H)]) | |
259 | 245 | } | |
260 | 246 | } | |
261 | 247 | ||
262 | 248 | ||
263 | 249 | ||
264 | 250 | @Callable(R) | |
265 | - | func adminSetHandle (z, | |
251 | + | func adminSetHandle (z,ak) = { | |
266 | 252 | let X = toBase58String(R.caller.bytes) | |
267 | 253 | if ((X != k)) | |
268 | 254 | then throw("This can only be triggering internally") | |
269 | - | else [StringEntry((z + "_handle"), | |
255 | + | else [StringEntry((z + "_handle"), ak)] | |
270 | 256 | } | |
271 | 257 | ||
272 | 258 | ||
273 | - | @Verifier( | |
274 | - | func | |
259 | + | @Verifier(al) | |
260 | + | func am () = if (if (sigVerify(al.bodyBytes, al.proofs[0], al.senderPublicKey)) | |
275 | 261 | then true | |
276 | - | else (addressFromPublicKey( | |
262 | + | else (addressFromPublicKey(al.senderPublicKey) == l)) | |
277 | 263 | then true | |
278 | - | else (addressFromPublicKey( | |
264 | + | else (addressFromPublicKey(al.senderPublicKey) == i) | |
279 | 265 |
github/deemru/w8io/026f985 89.20 ms ◑