tx · BWXQEyj3pdxU4ukiqwGKtszeg5DBULEV44Pzz1tRtbtJ 3N7J6mMMkjVViBREz9y53JmcX7r7KZRXQpL: -0.04000000 Waves 2022.04.20 01:29 [2016042] smart account 3N7J6mMMkjVViBREz9y53JmcX7r7KZRXQpL > SELF 0.00000000 Waves
{ "type": 13, "id": "BWXQEyj3pdxU4ukiqwGKtszeg5DBULEV44Pzz1tRtbtJ", "fee": 4000000, "feeAssetId": null, "timestamp": 1650407367808, "version": 2, "chainId": 84, "sender": "3N7J6mMMkjVViBREz9y53JmcX7r7KZRXQpL", "senderPublicKey": "G6aSmaqLJ4p7jzm7BnQcZuqa2NRRLVtzqdYNjYErnEZZ", "proofs": [ "5AGK8T3VGaqrkNF44W4JmaLJbhfmjEztVwxuP2wCcychk9G5bnYftQxcTszTeM446wY1X1HL72vjUx174TszzEm4" ], "script": "base64:AAIFAAAAAAAAADEIAhIFCgMICAgSBAoCCAgSBgoECAgICBIECgIIARIFCgMICAgSBQoDCAgIEgQKAggIAAAAEgAAAAAEQ09MUwAAAAAAAAAEAAAAAAAEUk9XUwAAAAAAAAAEAAAAAAAJbmZ0RG9tYWluAgAAABhodHRwczovL25mdC5ncmlkZ2FuZy5pby8AAAAAFWFkZE93bmVyQW5kQW1vdW50RnVuYwIAAAARYWRkT3duZXJBbmRBbW91bnQAAAAABURFQlVHBgAAAAARbWluRm9yU2FsZVdhdmxldHMAAAAAAAX14QAAAAAAEG1pblB1cmNoYXNlUHJpY2UAAAAAAAAPQkAAAAAABGRhcHACAAAAIzNON0o2bU1Na2pWVmlCUkV6OXk1M0ptY1g3cjdLWlJYUXBMAAAAAAtkYXBwQWRkcmVzcwkBAAAAB0FkZHJlc3MAAAABCQACWQAAAAEFAAAABGRhcHAAAAAAEWhvbGRpbmdzUHVibGljS2V5AgAAACxBeUF3V2JNUE03YTRWWWtuMWJoRUJmdEM1V1pnZnZVWGdyWURlOThtdkxzdgAAAAAIaG9sZGluZ3MCAAAAIzNNd1BzTHk5R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AAA9zZW5kZXJQdWJsaWNLZXkGCQAAAAAAAAIJAQAAABRhZGRyZXNzRnJvbVB1YmxpY0tleQAAAAEIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkFAAAAD2hvbGRpbmdzQWRkcmVzcwYJAAAAAAAAAgkBAAAAFGFkZHJlc3NGcm9tUHVibGljS2V5AAAAAQgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleQUAAAALZGFwcEFkZHJlc3MzJQM7", "height": 2016042, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Ef3zYniofQUL7D4jzkYeGDLp8qEQohmi16uN8SiSq9fp Next: HSVG75L6UBtr3LSeJmNVcigC1AgziJ3mMCmpn86Dt2tR Diff:
Old | New | Differences | |
---|---|---|---|
223 | 223 | } | |
224 | 224 | ||
225 | 225 | ||
226 | - | ||
227 | - | @Callable(L) | |
228 | - | func burnTest (H) = [Burn(fromBase58String(H), 1)] | |
229 | - | ||
230 | - | ||
231 | 226 | @Verifier(af) | |
232 | 227 | func ag () = if (if (sigVerify(af.bodyBytes, af.proofs[0], af.senderPublicKey)) | |
233 | 228 | then true |
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 | @Callable(L) | |
67 | 67 | func purchase (n,o,M) = { | |
68 | 68 | let w = p(n, o) | |
69 | 69 | let N = valueOrElse(L.payments[0].amount, 0) | |
70 | 70 | let O = { | |
71 | 71 | let P = getString(this, (w + "_assetId")) | |
72 | 72 | if ($isInstanceOf(P, "Unit")) | |
73 | 73 | then "unset" | |
74 | 74 | else if ($isInstanceOf(P, "String")) | |
75 | 75 | then { | |
76 | 76 | let Q = P | |
77 | 77 | throw("This square has already been purchased") | |
78 | 78 | } | |
79 | 79 | else throw("Match error") | |
80 | 80 | } | |
81 | 81 | if ((g > N)) | |
82 | 82 | then throw((("You need to send at least " + toString(g)) + "WAVLETS to purchase a square")) | |
83 | 83 | else { | |
84 | 84 | let z = toBase58String(L.caller.bytes) | |
85 | 85 | let A = toBase58String(L.transactionId) | |
86 | 86 | let R = x(n, o, "1", z, A) | |
87 | 87 | let G = R._1 | |
88 | 88 | let H = R._2 | |
89 | 89 | let F = R._3 | |
90 | 90 | let I = R._4 | |
91 | 91 | (J(I, toBase58String(H), F, z, "1") ++ [G, StringEntry((z + "_handle"), M), StringEntry(A, I), ScriptTransfer(L.caller, 1, H)]) | |
92 | 92 | } | |
93 | 93 | } | |
94 | 94 | ||
95 | 95 | ||
96 | 96 | ||
97 | 97 | @Callable(L) | |
98 | 98 | func autoBuy (n,o) = { | |
99 | 99 | let S = toBase58String(L.caller.bytes) | |
100 | 100 | if (if ((S != k)) | |
101 | 101 | then (S != h) | |
102 | 102 | else false) | |
103 | 103 | then throw("This can only be triggering internally") | |
104 | 104 | else { | |
105 | 105 | let A = toBase58String(L.transactionId) | |
106 | 106 | let T = x(n, o, "1", k, A) | |
107 | 107 | let G = T._1 | |
108 | 108 | let H = T._2 | |
109 | 109 | let F = T._3 | |
110 | 110 | let I = T._4 | |
111 | 111 | let U = toBase58String(H) | |
112 | 112 | let V = invoke(l, d, [k, U, 3], [AttachedPayment(unit, 0)]) | |
113 | 113 | if ((V == V)) | |
114 | 114 | then (J(I, U, F, k, "1") ++ [G, StringEntry(A, I), ScriptTransfer(l, 1, H)]) | |
115 | 115 | else throw("Strict value is not equal to itself.") | |
116 | 116 | } | |
117 | 117 | } | |
118 | 118 | ||
119 | 119 | ||
120 | 120 | ||
121 | 121 | @Callable(L) | |
122 | 122 | func evolve (n,o,y,z) = { | |
123 | 123 | let S = toBase58String(L.caller.bytes) | |
124 | 124 | if ((S != k)) | |
125 | 125 | then throw("This can only be triggering internally") | |
126 | 126 | else { | |
127 | 127 | let A = toBase58String(L.transactionId) | |
128 | 128 | let W = x(n, o, y, z, A) | |
129 | 129 | let G = W._1 | |
130 | 130 | let H = W._2 | |
131 | 131 | let F = W._3 | |
132 | 132 | let I = W._4 | |
133 | 133 | (J(I, toBase58String(H), F, z, y) ++ [G, StringEntry(A, I), ScriptTransfer(Address(fromBase58String(z)), 1, H)]) | |
134 | 134 | } | |
135 | 135 | } | |
136 | 136 | ||
137 | 137 | ||
138 | 138 | ||
139 | 139 | @Callable(L) | |
140 | 140 | func putForSale (H,X) = { | |
141 | 141 | let S = toBase58String(L.caller.bytes) | |
142 | 142 | let Y = { | |
143 | 143 | let P = assetInfo(fromBase58String(H)) | |
144 | 144 | if ($isInstanceOf(P, "Asset")) | |
145 | 145 | then { | |
146 | 146 | let Z = P | |
147 | 147 | Z | |
148 | 148 | } | |
149 | 149 | else throw("Asset not found") | |
150 | 150 | } | |
151 | 151 | let aa = u(Y.name) | |
152 | 152 | let z = { | |
153 | 153 | let P = getString(this, (aa + "_owner")) | |
154 | 154 | if ($isInstanceOf(P, "String")) | |
155 | 155 | then { | |
156 | 156 | let ab = P | |
157 | 157 | ab | |
158 | 158 | } | |
159 | 159 | else throw("Owner not found in data") | |
160 | 160 | } | |
161 | 161 | if ((f > X)) | |
162 | 162 | then throw("Amount needs to be more than 1 wave") | |
163 | 163 | else if (if ((S != z)) | |
164 | 164 | then (S != k) | |
165 | 165 | else false) | |
166 | 166 | then throw("You are not able to put this asset up for sale") | |
167 | 167 | else { | |
168 | 168 | let V = invoke(l, d, [S, H, X], [AttachedPayment(unit, 0)]) | |
169 | 169 | if ((V == V)) | |
170 | 170 | then [ScriptTransfer(l, 1, fromBase58String(H))] | |
171 | 171 | else throw("Strict value is not equal to itself.") | |
172 | 172 | } | |
173 | 173 | } | |
174 | 174 | ||
175 | 175 | ||
176 | 176 | ||
177 | 177 | @Callable(L) | |
178 | 178 | func finalizeSale (H,z,M) = { | |
179 | 179 | let S = toBase58String(L.caller.bytes) | |
180 | 180 | if ((S != k)) | |
181 | 181 | then throw("This can only be triggering internally") | |
182 | 182 | else { | |
183 | 183 | let w = { | |
184 | 184 | let P = assetInfo(fromBase58String(H)) | |
185 | 185 | if ($isInstanceOf(P, "Asset")) | |
186 | 186 | then { | |
187 | 187 | let G = P | |
188 | 188 | G.name | |
189 | 189 | } | |
190 | 190 | else throw("Can't find asset") | |
191 | 191 | } | |
192 | 192 | [StringEntry((w + "_owner"), z), StringEntry((z + "_handle"), M)] | |
193 | 193 | } | |
194 | 194 | } | |
195 | 195 | ||
196 | 196 | ||
197 | 197 | ||
198 | 198 | @Callable(L) | |
199 | 199 | func adminPromotionPurchase (n,o,ac) = { | |
200 | 200 | let S = toBase58String(L.caller.bytes) | |
201 | 201 | if ((S != k)) | |
202 | 202 | then throw("This can only be triggering internally") | |
203 | 203 | else { | |
204 | 204 | let A = toBase58String(L.transactionId) | |
205 | 205 | let ad = x(n, o, "1", ac, A) | |
206 | 206 | let G = ad._1 | |
207 | 207 | let H = ad._2 | |
208 | 208 | let F = ad._3 | |
209 | 209 | let I = ad._4 | |
210 | 210 | let U = toBase58String(H) | |
211 | 211 | (J(I, U, F, ac, "1") ++ [G, StringEntry(A, I), ScriptTransfer(Address(fromBase58String(ac)), 1, H)]) | |
212 | 212 | } | |
213 | 213 | } | |
214 | 214 | ||
215 | 215 | ||
216 | 216 | ||
217 | 217 | @Callable(L) | |
218 | 218 | func adminSetHandle (z,ae) = { | |
219 | 219 | let S = toBase58String(L.caller.bytes) | |
220 | 220 | if ((S != k)) | |
221 | 221 | then throw("This can only be triggering internally") | |
222 | 222 | else [StringEntry((z + "_handle"), ae)] | |
223 | 223 | } | |
224 | 224 | ||
225 | 225 | ||
226 | - | ||
227 | - | @Callable(L) | |
228 | - | func burnTest (H) = [Burn(fromBase58String(H), 1)] | |
229 | - | ||
230 | - | ||
231 | 226 | @Verifier(af) | |
232 | 227 | func ag () = if (if (sigVerify(af.bodyBytes, af.proofs[0], af.senderPublicKey)) | |
233 | 228 | then true | |
234 | 229 | else (addressFromPublicKey(af.senderPublicKey) == l)) | |
235 | 230 | then true | |
236 | 231 | else (addressFromPublicKey(af.senderPublicKey) == i) | |
237 | 232 |
github/deemru/w8io/169f3d6 56.01 ms ◑