tx · J2RWo1srm7D2hyF1LSjCqXmftMaHnS5HhRkPpM1e86Gf 3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN: -0.01000000 Waves 2021.12.03 16:19 [1818145] smart account 3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN > SELF 0.00000000 Waves
{ "type": 13, "id": "J2RWo1srm7D2hyF1LSjCqXmftMaHnS5HhRkPpM1e86Gf", "fee": 1000000, "feeAssetId": null, "timestamp": 1638537615473, "version": 2, "chainId": 84, "sender": "3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN", "senderPublicKey": "3TJhvM5a7VSAiRyvEVwygRkiPC9ow5nM4LQ252H4vxWK", "proofs": [ "5XKf3FkSi2aY1z7gSbGgJPtq36A7Vr2A7f4c6ikmAhYhuLhd8dqF5FnSDdwqxdKAmZFchUW18ZLgEcmkfzQeGsb2" ], "script": "base64:AAIFAAAAAAAAAAcIAhIDCgEIAAAAAgAAAAAFb3duZXICAAAAIzNNdVc0dDFqQ1hIdDhXUnNIVkxVYXIzMkVudkp4WmFRV0F4AAAAAAVzZXBhcgIAAAAFfHx8fHwAAAABAAAAAWkBAAAABXBhaW50AAAAAQAAAAVpZGF0YQQAAAAMY2FsbGVyQWRyZXNzCQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMEAAAAAnh5CQAEtQAAAAIFAAAABWlkYXRhBQAAAAVzZXBhcgQAAAAEbWVzcwIAAAAhc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3NzBAAAAANvdXQJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkAAZEAAAACBQAAAAJ4eQAAAAAAAAAAAAUAAAAEbWVzcwkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABkQAAAAIFAAAAAnh5AAAAAAAAAAABBQAAAARtZXNzCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAGRAAAAAgUAAAACeHkAAAAAAAAAAAIFAAAABG1lc3MFAAAAA25pbAkABRQAAAACBQAAAANvdXQFAAAABHVuaXQAAAAALNmDXQ==", "height": 1818145, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3wKZBRkEzBQcUPVLC8KC8rHzr5iroC3aeXLtFyvr4bFE Next: 2P7HD4v86Bb9UwFb7Sxz5f5uHA8a94hCaubjuuFD8ics Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | - | let | |
4 | + | let owner = "3MuW4t1jCXHt8WRsHVLUar32EnvJxZaQWAx" | |
5 | 5 | ||
6 | 6 | let separ = "|||||" | |
7 | 7 | ||
8 | 8 | @Callable(i) | |
9 | - | func | |
9 | + | func paint (idata) = { | |
10 | 10 | let callerAdress = toBase58String(i.caller.bytes) | |
11 | - | let mess = makeString(["3N377MSFzFdwxW97ENpfqfZLYSnGzSMWvNN", "url", toString(100)], separ) | |
12 | - | if ((cando == callerAdress)) | |
13 | - | then $Tuple2([StringEntry(xy, mess)], unit) | |
14 | - | else throw("Вы не можете to create") | |
15 | - | } | |
16 | - | ||
17 | - | ||
18 | - | ||
19 | - | @Callable(i) | |
20 | - | func change (trans) = { | |
21 | - | let callerAdress = toBase58String(i.caller.bytes) | |
22 | - | let tr = split(trans, separ) | |
23 | - | let mess = makeString([callerAdress, tr[1], tr[2]], separ) | |
24 | - | let pmt = if ((size(i.payments) == 1)) | |
25 | - | then i.payments[0] | |
26 | - | else throw("Attached payment is required") | |
27 | - | if (isDefined(pmt.assetId)) | |
28 | - | then throw("works with waves only") | |
29 | - | else if ((cando == callerAdress)) | |
30 | - | then $Tuple2([StringEntry(tr[0], mess), ScriptTransfer(i.caller, 100000000, unit)], unit) | |
31 | - | else throw("Вы не можете to create") | |
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) | |
32 | 15 | } | |
33 | 16 | ||
34 | 17 |
github/deemru/w8io/026f985 17.88 ms ◑