tx · EoYXaCXCFLuJZWJCV1wBATPTUHo4SKcbf5PTQNyMA3Bj

3MrQ4g9YCsAN2Wr4QUXiWAPhNPv7DGdQNWb:  -0.00800000 Waves

2023.03.17 20:46 [2494322] smart account 3MrQ4g9YCsAN2Wr4QUXiWAPhNPv7DGdQNWb > SELF 0.00000000 Waves

{ "type": 13, "id": "EoYXaCXCFLuJZWJCV1wBATPTUHo4SKcbf5PTQNyMA3Bj", "fee": 800000, "feeAssetId": null, "timestamp": 1679075241919, "version": 2, "chainId": 84, "sender": "3MrQ4g9YCsAN2Wr4QUXiWAPhNPv7DGdQNWb", "senderPublicKey": "2VQGRNRWyFAZvjDtkgZwdZcTwZvBJJ61n8zJfYYxm5eK", "proofs": [ "2yr5HaL6sXcC7KN4qnGr715UZhJN7WVdzEYYP947HyPAh9RmUvptYfNcnHEnkkybRmGSiSeSTp3qVePYahHckwEH" ], "script": "base64:BgJTCAISBAoCGBgSBQoDCBgYEgQKAggIEgQKAggIEgQKAggIEgUKAwgICBIDCgECEgMKAQgSBAoCCAgSBQoDCAgIEgQKAggIEgYKBAgBAQESBAoCAQEKAA5jb2xsZWN0aW9uTmFtZQkBEUBleHRyTmF0aXZlKDEwNTgpAQIOY29sbGVjdGlvbk5hbWUABnN5bWJvbAkBEUBleHRyTmF0aXZlKDEwNTgpAQIGc3ltYm9sAAtkZXNjcmlwdGlvbgkBEUBleHRyTmF0aXZlKDEwNTgpAQILZGVzY3JpcHRpb24AC3RvdGFsQW1vdW50CQERQGV4dHJOYXRpdmUoMTA1NSkBAgt0b3RhbEFtb3VudAAIZEFwcEpzb24JAQdBZGRyZXNzAQkA2QQBAiMzTXJHYVpWUmhrbkVHZkhKMTl0dFVQTm5EUm9GcWNIaFZONwAMdG9rZW5QYXltZW50CQEHQWRkcmVzcwEJARFAZXh0ck5hdGl2ZSgxMDU3KQECDHRva2VuUGF5bWVudAEMb25seUludGVybmFsAQZjYWxsZXIDCQAAAgUGY2FsbGVyBQR0aGlzBQR1bml0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AgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgCMSJ++", "height": 2494322, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: B3tsL5XLosYVtTEKZ2sj7g941hrCM3sGb71THYBfdgco Next: 6UizN46Thsu4CYNoex9qvHATgwUN7amsVoqCP5Rq1qar Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = getStringValue("collectionName")
55
66 let b = getStringValue("symbol")
77
88 let c = getStringValue("description")
99
1010 let d = getIntegerValue("totalAmount")
1111
1212 let e = Address(fromBase58String("3MrGaZVRhknEGfHJ19ttUPNnDRoFqcHhVN7"))
1313
1414 let f = Address(getBinaryValue("tokenPayment"))
1515
1616 func g (h) = if ((h == this))
1717 then unit
1818 else throw("Only internal call")
1919
2020
2121 func i (j,k) = if ((j == this))
2222 then StringEntry("костыль", "костыль")
2323 else ScriptTransfer(j, 1, k)
2424
2525
2626 func l (k) = valueOrErrorMessage(assetInfo(fromBase58String(k)), "Can't find asset by asset id")
2727
2828
2929 func m (h,k) = if ((assetBalance(h, fromBase58String(k)) == 1))
3030 then unit
3131 else throw("Only asset owner")
3232
3333
3434 @Callable(n)
3535 func makeJSONInternal (o,p) = valueOrElse(g(n.caller), {
3636 let q = invoke(e, "makeJSON", [o, p], nil)
3737 if ((q == q))
3838 then $Tuple2(nil, q)
3939 else throw("Strict value is not equal to itself.")
4040 })
4141
4242
4343
4444 @Callable(n)
4545 func addToJSONInternal (r,o,p) = valueOrElse(g(n.caller), {
4646 let q = invoke(e, "addToJSON", [r, o, p], nil)
4747 if ((q == q))
4848 then $Tuple2(nil, q)
4949 else throw("Strict value is not equal to itself.")
5050 })
5151
5252
5353
5454 @Callable(n)
5555 func readByJSONKeyInternal (r,s) = valueOrElse(g(n.caller), {
5656 let q = invoke(e, "readByJSONKey", [r, s], nil)
5757 if ((q == q))
5858 then $Tuple2(nil, q)
5959 else throw("Strict value is not equal to itself.")
6060 })
6161
6262
6363
6464 @Callable(n)
6565 func deleteByJSONKeyInternal (r,s) = valueOrElse(g(n.caller), {
6666 let q = invoke(e, "deleteByJSONKey", [r, s], nil)
6767 if ((q == q))
6868 then $Tuple2(nil, q)
6969 else throw("Strict value is not equal to itself.")
7070 })
7171
7272
7373
7474 @Callable(n)
7575 func storageJsonInternal (t,u) = valueOrElse(g(n.caller), [StringEntry(t, u)])
7676
7777
7878
7979 @Callable(n)
8080 func setUser (k,v,w) = {
8181 let q = invoke(e, "makeJSON", [["user", "expires"], [v, w]], nil)
8282 if ((q == q))
8383 then $Tuple2([StringEntry(("userOf-" + k), {
8484 let x = q
8585 if ($isInstanceOf(x, "String"))
8686 then x
8787 else throw(($getType(x) + " couldn't be cast to String"))
8888 })], q)
8989 else throw("Strict value is not equal to itself.")
9090 }
9191
9292
9393
9494 @Callable(n)
9595 func setTokenPayment (k) = valueOrElse(g(n.caller), [BinaryEntry("tokenPayment", k)])
9696
9797
9898
9999 @Callable(n)
100100 func deleteValueByKey (s) = valueOrElse(g(n.caller), [DeleteEntry(s)])
101101
102102
103103
104104 @Callable(n)
105105 func setString (s,y) = valueOrElse(g(n.caller), [StringEntry(s, y)])
106106
107107
108108
109109 @Callable(n)
110110 func init (a,b,c) = valueOrElse(g(n.caller), [StringEntry("collectionName", a), StringEntry("symbol", b), StringEntry("description", c), IntegerEntry("totalAmount", 0)])
111111
112112
113113
114114 @Callable(n)
115115 func mint (j,z) = {
116116 let A = (d + 1)
117117 let B = ((b + "#") + toString(A))
118118 let C = if ((16 >= size(B)))
119119 then B
120120 else toString(A)
121121 let r = {
122122 let x = invoke(e, "makeJSON", [["tokenURI"], [z]], nil)
123123 if ($isInstanceOf(x, "String"))
124124 then x
125125 else throw(($getType(x) + " couldn't be cast to String"))
126126 }
127127 let D = Issue(C, r, 1, 0, false, unit, height)
128128 let k = calculateAssetId(D)
129129 let E = Address(fromBase58String(j))
130130 let F = i(E, k)
131131 if ((F == F))
132132 then [D, F, IntegerEntry("totalAmount", A), StringEntry(C, z)]
133133 else throw("Strict value is not equal to itself.")
134134 }
135135
136136
137137
138138 @Callable(n)
139139 func initLend (k,G,H,I) = valueOrElse(m(n.caller, k), {
140140 let D = l(k)
141141 let z = {
142142 let x = invoke(e, "readByJSONKey", [D.description, "tokenURI"], nil)
143143 if ($isInstanceOf(x, "String"))
144144 then x
145145 else throw(($getType(x) + " couldn't be cast to String"))
146146 }
147147 if ((z == z))
148148 then {
149149 let J = getStringValue("Lends")
150150 let K = {
151151 let x = invoke(e, "deleteByJSONKey", [J, "lendCount"], nil)
152152 if ($isInstanceOf(x, "(String, String)"))
153153 then x
154154 else throw(($getType(x) + " couldn't be cast to (String, String)"))
155155 }
156156 if ((K == K))
157157 then {
158158 let L = K._1
159159 let M = toString((parseIntValue(L) + 1))
160160 let N = {
161161 let x = invoke(e, "makeJSON", [["supportedInterface", "assetdId", "tokenURI", "owner", "timeUnitSeconds", "timeUnitPrice", "timeUnitCount", "startTimestamp", "endTimestamp", "deposit", "claimed", "rents"], ["0", k, z, toString(n.caller), toString(G), toString(H), toString(I), toString(lastBlock.timestamp), toString((lastBlock.timestamp + (G * I))), "0", "0", "{\"name\":\"Rents\",\"rentCount\":\"0\"}"]], nil)
162162 if ($isInstanceOf(x, "String"))
163163 then x
164164 else throw(($getType(x) + " couldn't be cast to String"))
165165 }
166166 if ((N == N))
167167 then {
168168 let O = {
169169 let x = invoke(e, "addToJSON", [K._2, [L, "lendCount"], [N, M]], nil)
170170 if ($isInstanceOf(x, "String"))
171171 then x
172172 else throw(($getType(x) + " couldn't be cast to String"))
173173 }
174174 if ((O == O))
175175 then [StringEntry("Lends", O)]
176176 else throw("Strict value is not equal to itself.")
177177 }
178178 else throw("Strict value is not equal to itself.")
179179 }
180180 else throw("Strict value is not equal to itself.")
181181 }
182182 else throw("Strict value is not equal to itself.")
183183 })
184184
185185
186186
187187 @Callable(n)
188188 func initRent (L,I) = {
189189 let P = toString(L)
190190 let J = getStringValue("Lends")
191191 let Q = {
192192 let x = invoke(e, "deleteByJSONKey", [J, "lendCount"], nil)
193193 if ($isInstanceOf(x, "(String, String)"))
194194 then x
195195 else throw(($getType(x) + " couldn't be cast to (String, String)"))
196196 }
197197 if ((Q == Q))
198198 then {
199199 let R = {
200200 let x = invoke(e, "deleteByJSONKey", [Q._2, P], nil)
201201 if ($isInstanceOf(x, "(String, String)"))
202202 then x
203203 else throw(($getType(x) + " couldn't be cast to (String, String)"))
204204 }
205205 if ((R == R))
206206 then {
207207 let S = {
208208 let x = invoke(e, "deleteByJSONKey", [R._1, "rents"], nil)
209209 if ($isInstanceOf(x, "(String, String)"))
210210 then x
211211 else throw(($getType(x) + " couldn't be cast to (String, String)"))
212212 }
213213 if ((S == S))
214214 then {
215215 let T = {
216216 let x = invoke(e, "deleteByJSONKey", [S._1, "rentCount"], nil)
217217 if ($isInstanceOf(x, "(String, String)"))
218218 then x
219219 else throw(($getType(x) + " couldn't be cast to (String, String)"))
220220 }
221221 if ((T == T))
222222 then {
223223 let U = T._1
224224 let V = toString((parseIntValue(Q._1) + 1))
225225 let W = toString((parseIntValue(U) + 1))
226226 let G = parseIntValue({
227227 let x = invoke(e, "readByJSONKey", [S._2, "timeUnitSeconds"], nil)
228228 if ($isInstanceOf(x, "String"))
229229 then x
230230 else throw(($getType(x) + " couldn't be cast to String"))
231231 })
232232 if ((G == G))
233233 then {
234234 let X = {
235235 let x = invoke(e, "makeJSON", [["customer", "timeUnitCount", "startTimestamp", "endTimestamp", "closed"], [toString(n.caller), "0", I, toString(lastBlock.timestamp), toString((lastBlock.timestamp + (G * I))), "0"]], nil)
236236 if ($isInstanceOf(x, "String"))
237237 then x
238238 else throw(($getType(x) + " couldn't be cast to String"))
239239 }
240240 if ((X == X))
241241 then {
242242 let Y = invoke(e, "addToJSON", [T._2, [U, "rentCount"], [X, W]], nil)
243243 if ((Y == Y))
244244 then {
245245 let Z = invoke(e, "addToJSON", [S._2, ["rents"], [Y]], nil)
246246 if ((Z == Z))
247247 then {
248248 let O = {
249249 let x = invoke(e, "addToJSON", [R._2, [L, "lendCount"], [Z, V]], nil)
250250 if ($isInstanceOf(x, "String"))
251251 then x
252252 else throw(($getType(x) + " couldn't be cast to String"))
253253 }
254254 if ((O == O))
255255 then [StringEntry("Lends", O)]
256256 else throw("Strict value is not equal to itself.")
257257 }
258258 else throw("Strict value is not equal to itself.")
259259 }
260260 else throw("Strict value is not equal to itself.")
261261 }
262262 else throw("Strict value is not equal to itself.")
263263 }
264264 else throw("Strict value is not equal to itself.")
265265 }
266266 else throw("Strict value is not equal to itself.")
267267 }
268268 else throw("Strict value is not equal to itself.")
269269 }
270270 else throw("Strict value is not equal to itself.")
271271 }
272272 else throw("Strict value is not equal to itself.")
273273 }
274274
275275

github/deemru/w8io/026f985 
39.13 ms