tx · 2P7HD4v86Bb9UwFb7Sxz5f5uHA8a94hCaubjuuFD8ics
3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN: -0.01000000 Waves
2021.12.03 18:46 [1818296] smart account 3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN > SELF 0.00000000 Waves
{
"type": 13,
"id": "2P7HD4v86Bb9UwFb7Sxz5f5uHA8a94hCaubjuuFD8ics",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1638546430158,
"version": 2,
"chainId": 84,
"sender": "3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN",
"senderPublicKey": "3TJhvM5a7VSAiRyvEVwygRkiPC9ow5nM4LQ252H4vxWK",
"proofs": [
"2caLKtW5v7DhfFHo9Mc9chvtS3UJsr7sx9d5yNJBgL9qYWf7NMshAqpMFWsfFcsDPzKwQfhWhu51i9PhYqaSPAfC"
],
"script": "base64:AAIFAAAAAAAAAAcIAhIDCgEIAAAAAgAAAAAGbWFzdGVyAgAAACMzTXVXNHQxakNYSHQ4V1JzSFZMVWFyMzJFbnZKeFphUVdBeAAAAAAFc2VwYXICAAAABXx8fHx8AAAAAQAAAAFpAQAAAAVwYWludAAAAAEAAAAFaWRhdGEEAAAABG1heGkAAAAAAAAAAAEEAAAABHBpeGkAAAAAAAAAAAAEAAAADGNhbGxlckFkcmVzcwkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzBAAAAAVwaXh4eQkABLUAAAACBQAAAAVpZGF0YQUAAAAFc2VwYXIEAAAABG1lc3MJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIFAAAABm1hc3RlcgUAAAAFc2VwYXICAAAABzEwMDAwMDAFAAAABXNlcGFyAgAAAAEwBQAAAAVzZXBhcgIAAAADdXJsCgEAAAAJZ2V0cmVjb3JkAAAAAQAAAAF4BAAAAAckbWF0Y2gwCQAEIgAAAAEJAAGRAAAAAgUAAAAFcGl4eHkAAAAAAAAAAAADCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABlN0cmluZwQAAAABYQUAAAAHJG1hdGNoMAUAAAABYQcEAAAAA3JlYwkBAAAACWdldHJlY29yZAAAAAEAAAAAAAAAAAADCQAAAAAAAAIFAAAAA3JlYwcJAAACAAAAAQIAAAAKbm90IGV4aXN0cwkAAAIAAAABAgAAAAZleGlzdHMAAAAADjCFqg==",
"height": 1818296,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: J2RWo1srm7D2hyF1LSjCqXmftMaHnS5HhRkPpM1e86Gf
Next: 7ncA1nTiVmLekgqZYsd913QS6Zdtw5JhvtwXEVv2AGDK
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | | - | let owner = "3MuW4t1jCXHt8WRsHVLUar32EnvJxZaQWAx" |
---|
| 4 | + | let master = "3MuW4t1jCXHt8WRsHVLUar32EnvJxZaQWAx" |
---|
5 | 5 | | |
---|
6 | 6 | | let separ = "|||||" |
---|
7 | 7 | | |
---|
8 | 8 | | @Callable(i) |
---|
9 | 9 | | func paint (idata) = { |
---|
| 10 | + | let maxi = 1 |
---|
| 11 | + | let pixi = 0 |
---|
10 | 12 | | let callerAdress = toBase58String(i.caller.bytes) |
---|
11 | | - | let xy = split(idata, separ) |
---|
12 | | - | let mess = "sssssssssssssssssssssssssssssssss" |
---|
13 | | - | let out = [StringEntry(xy[0], mess), StringEntry(xy[1], mess), StringEntry(xy[2], mess)] |
---|
14 | | - | $Tuple2(out, unit) |
---|
| 13 | + | let pixxy = split(idata, separ) |
---|
| 14 | + | let mess = ((((((master + separ) + "1000000") + separ) + "0") + separ) + "url") |
---|
| 15 | + | func getrecord (x) = match getString(pixxy[0]) { |
---|
| 16 | + | case a: String => |
---|
| 17 | + | a |
---|
| 18 | + | case _ => |
---|
| 19 | + | false |
---|
| 20 | + | } |
---|
| 21 | + | |
---|
| 22 | + | let rec = getrecord(0) |
---|
| 23 | + | if ((rec == false)) |
---|
| 24 | + | then throw("not exists") |
---|
| 25 | + | else throw("exists") |
---|
15 | 26 | | } |
---|
16 | 27 | | |
---|
17 | 28 | | |
---|