tx · 7frAaU9G9yc1htRiMQcYyLLeyp3H1BDpkxikCEGZjc5T
3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN: -0.01000000 Waves
2021.12.03 13:39 [1817987] smart account 3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN > SELF 0.00000000 Waves
{
"type": 13,
"id": "7frAaU9G9yc1htRiMQcYyLLeyp3H1BDpkxikCEGZjc5T",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1638528050304,
"version": 2,
"chainId": 84,
"sender": "3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN",
"senderPublicKey": "3TJhvM5a7VSAiRyvEVwygRkiPC9ow5nM4LQ252H4vxWK",
"proofs": [
"2J6H47rjwbD3hRK71KUQWLV9ndB65YGD7nrHxnsAZceB63yQWzgdgMtV6a7G6EbqneMpdQzdfcSEpYUHGZrbvtFo"
],
"script": "base64:AAIFAAAAAAAAAAwIAhIDCgEIEgMKAQgAAAACAAAAAAVjYW5kbwIAAAAjM011VzR0MWpDWEh0OFdSc0hWTFVhcjMyRW52SnhaYVFXQXgAAAAABXNlcGFyAgAAAAV8fHx8fAAAAAIAAAABaQEAAAAGY3JlYXRlAAAAAQAAAAJ4eQQAAAAMY2FsbGVyQWRyZXNzCQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMEAAAABG1lc3MJAAS5AAAAAgkABEwAAAACAgAAACMzTjM3N01TRnpGZHd4Vzk3RU5wZnFmWkxZU25HelNNV3ZOTgkABEwAAAACAgAAAAN1cmwJAARMAAAAAgkAAaQAAAABAAAAAAAAAABkBQAAAANuaWwFAAAABXNlcGFyAwkAAAAAAAACBQAAAAVjYW5kbwUAAAAMY2FsbGVyQWRyZXNzCQAFFAAAAAIJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgUAAAACeHkFAAAABG1lc3MFAAAAA25pbAUAAAAEdW5pdAkAAAIAAAABAgAAACDQktGLINC90LUg0LzQvtC20LXRgtC1IHRvIGNyZWF0ZQAAAAFpAQAAAAZjaGFuZ2UAAAABAAAABXRyYW5zBAAAAAxjYWxsZXJBZHJlc3MJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwQAAAACdHIJAAS1AAAAAgUAAAAFdHJhbnMFAAAABXNlcGFyBAAAAARtZXNzCQAEuQAAAAIJAARMAAAAAgUAAAAMY2FsbGVyQWRyZXNzCQAETAAAAAIJAAGRAAAAAgUAAAACdHIAAAAAAAAAAAEJAARMAAAAAgkAAZEAAAACBQAAAAJ0cgAAAAAAAAAAAgUAAAADbmlsBQAAAAVzZXBhcgMJAAAAAAAAAgUAAAAFY2FuZG8FAAAADGNhbGxlckFkcmVzcwkABRQAAAACCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAGRAAAAAgUAAAACdHIAAAAAAAAAAAAFAAAABG1lc3MFAAAAA25pbAUAAAAEdW5pdAkAAAIAAAABAgAAACDQktGLINC90LUg0LzQvtC20LXRgtC1IHRvIGNyZWF0ZQAAAACyYUzo",
"height": 1817987,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: AUSwHeJaT8Ze6ofZimyUNHeKZY2eJ2iAc34fJqFdYdD2
Next: 2trKWQUDgNRFpLrQd2SBMU3xCacBdc8mTPnM73GLx2aJ
Diff:
Old | New | | Differences |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let a = "3MuW4t1jCXHt8WRsHVLUar32EnvJxZaQWAx" |
---|
5 | 5 | | |
---|
6 | | - | @Callable(b) |
---|
7 | | - | func create (c) = { |
---|
8 | | - | let d = toBase58String(b.caller.bytes) |
---|
9 | | - | let e = makeString(["3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN", "url", toString(100)], "|||||") |
---|
10 | | - | if ((a == d)) |
---|
11 | | - | then $Tuple2([StringEntry(c, e)], unit) |
---|
| 6 | + | let b = "|||||" |
---|
| 7 | + | |
---|
| 8 | + | @Callable(c) |
---|
| 9 | + | func create (d) = { |
---|
| 10 | + | let e = toBase58String(c.caller.bytes) |
---|
| 11 | + | let f = makeString(["3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN", "url", toString(100)], b) |
---|
| 12 | + | if ((a == e)) |
---|
| 13 | + | then $Tuple2([StringEntry(d, f)], unit) |
---|
12 | 14 | | else throw("Вы не можете to create") |
---|
13 | 15 | | } |
---|
14 | 16 | | |
---|
15 | 17 | | |
---|
16 | 18 | | |
---|
17 | | - | @Callable(b) |
---|
18 | | - | func change (c) = { |
---|
19 | | - | let d = toBase58String(b.caller.bytes) |
---|
20 | | - | let e = makeString(["3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN", "url", toString(100)], "|||||") |
---|
21 | | - | if ((a == d)) |
---|
22 | | - | then $Tuple2([StringEntry(c, e)], unit) |
---|
| 19 | + | @Callable(c) |
---|
| 20 | + | func change (g) = { |
---|
| 21 | + | let e = toBase58String(c.caller.bytes) |
---|
| 22 | + | let h = split(g, b) |
---|
| 23 | + | let f = makeString([e, h[1], h[2]], b) |
---|
| 24 | + | if ((a == e)) |
---|
| 25 | + | then $Tuple2([StringEntry(h[0], f)], unit) |
---|
23 | 26 | | else throw("Вы не можете to create") |
---|
24 | 27 | | } |
---|
25 | 28 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let a = "3MuW4t1jCXHt8WRsHVLUar32EnvJxZaQWAx" |
---|
5 | 5 | | |
---|
6 | | - | @Callable(b) |
---|
7 | | - | func create (c) = { |
---|
8 | | - | let d = toBase58String(b.caller.bytes) |
---|
9 | | - | let e = makeString(["3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN", "url", toString(100)], "|||||") |
---|
10 | | - | if ((a == d)) |
---|
11 | | - | then $Tuple2([StringEntry(c, e)], unit) |
---|
| 6 | + | let b = "|||||" |
---|
| 7 | + | |
---|
| 8 | + | @Callable(c) |
---|
| 9 | + | func create (d) = { |
---|
| 10 | + | let e = toBase58String(c.caller.bytes) |
---|
| 11 | + | let f = makeString(["3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN", "url", toString(100)], b) |
---|
| 12 | + | if ((a == e)) |
---|
| 13 | + | then $Tuple2([StringEntry(d, f)], unit) |
---|
12 | 14 | | else throw("Вы не можете to create") |
---|
13 | 15 | | } |
---|
14 | 16 | | |
---|
15 | 17 | | |
---|
16 | 18 | | |
---|
17 | | - | @Callable(b) |
---|
18 | | - | func change (c) = { |
---|
19 | | - | let d = toBase58String(b.caller.bytes) |
---|
20 | | - | let e = makeString(["3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN", "url", toString(100)], "|||||") |
---|
21 | | - | if ((a == d)) |
---|
22 | | - | then $Tuple2([StringEntry(c, e)], unit) |
---|
| 19 | + | @Callable(c) |
---|
| 20 | + | func change (g) = { |
---|
| 21 | + | let e = toBase58String(c.caller.bytes) |
---|
| 22 | + | let h = split(g, b) |
---|
| 23 | + | let f = makeString([e, h[1], h[2]], b) |
---|
| 24 | + | if ((a == e)) |
---|
| 25 | + | then $Tuple2([StringEntry(h[0], f)], unit) |
---|
23 | 26 | | else throw("Вы не можете to create") |
---|
24 | 27 | | } |
---|
25 | 28 | | |
---|
26 | 29 | | |
---|