tx · CuQTXsDzxMZZRRB4skY9EqsvwZfeW9enfyjhaRQDTP51 3MvqUEAdK8oa1jDS82eqYYVoHTX3S71rRPa: -0.01400000 Waves 2019.09.08 13:42 [666990] smart account 3MvqUEAdK8oa1jDS82eqYYVoHTX3S71rRPa > SELF 0.00000000 Waves
{ "type": 13, "id": "CuQTXsDzxMZZRRB4skY9EqsvwZfeW9enfyjhaRQDTP51", "fee": 1400000, "feeAssetId": null, "timestamp": 1567939348766, "version": 1, "sender": "3MvqUEAdK8oa1jDS82eqYYVoHTX3S71rRPa", "senderPublicKey": "HktRLq8bnL31myXeh7WVXAuMw8Qb7yrhPfMVxucQVeU", "proofs": [ "53S52gaEyx23NTR1QKyMgNWF3nvCJUUyi4vTN52wpwLTmQuY4GkdaA9q4SozKdCc1mt2KVCzzHXyRvrM6D7qPjVV" ], "script": "base64:AAIDAAAAAAAAAAAAAAABAAAAAAhudWxsSG9tZQIAAAABMAAAAAIAAAABaQEAAAAHc2V0aG9tZQAAAAEAAAAGaG9tZUlkBAAAAAxzZWxsZXJCYXNlNTgJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwQAAAAFd3JpdGUJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIFAAAADHNlbGxlckJhc2U1OAUAAAAGaG9tZUlkCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACAgAAAApzZXRob21lTG9nCQABLAAAAAIJAAEsAAAAAgUAAAAMc2VsbGVyQmFzZTU4AgAAAAQgLT4gBQAAAAZob21lSWQFAAAAA25pbAkBAAAADFNjcmlwdFJlc3VsdAAAAAIFAAAABXdyaXRlCQEAAAALVHJhbnNmZXJTZXQAAAABBQAAAANuaWwAAAABaQEAAAAEbWFpbgAAAAIAAAAMc2VsbGVyVmVjdG9yAAAABmhvbWVJZAQAAAADcG10CQEAAAAHZXh0cmFjdAAAAAEIBQAAAAFpAAAAB3BheW1lbnQDCQEAAAAJaXNEZWZpbmVkAAAAAQgFAAAAA3BtdAAAAAdhc3NldElkCQAAAgAAAAECAAAAFXBheW1lbnQgaXMgb25seSB3YXZlcwQAAAAKYnVlckJhc2U1OAkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzBAAAAA1zZWxsZXJBZGRyZXNzCQEAAAAUYWRkcmVzc0Zyb21QdWJsaWNLZXkAAAABBQAAAAxzZWxsZXJWZWN0b3IEAAAAAWEJAQAAAAdBZGRyZXNzAAAAAQUAAAAMc2VsbGVyVmVjdG9yBAAAAAJzMQkAAlgAAAABBQAAAAxzZWxsZXJWZWN0b3IEAAAAAnMyCQACWAAAAAEIBQAAAA1zZWxsZXJBZGRyZXNzAAAABWJ5dGVzBAAAAAJzMwkAAlgAAAABCAUAAAABYQAAAAVieXRlcwkBAAAADFNjcmlwdFJlc3VsdAAAAAIJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAICAAAAB21haW5Mb2cJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIFAAAAAnMxAgAAAAMgLSAFAAAAAnMyAgAAAAMgLSAJAAQlAAAAAQUAAAANc2VsbGVyQWRkcmVzcwIAAAAEIC0+IAUAAAAKYnVlckJhc2U1OAUAAAADbmlsCQEAAAALVHJhbnNmZXJTZXQAAAABBQAAAANuaWwAAAAAGK/VsQ==", "chainId": 84, "height": 666990, "spentComplexity": 0 } View: original | compacted Prev: EyKz4xroBaE8jZM41uy9kzXpp6ijW4vMwKJk31AGVojW Next: 6fweZoJRCVMokmwW5WyRTpmFtNWShRjGSsexAK8Tmjva Diff:
Old | New | Differences | |
---|---|---|---|
24 | 24 | let k = toBase58String(f) | |
25 | 25 | let l = toBase58String(i.bytes) | |
26 | 26 | let m = toBase58String(j.bytes) | |
27 | - | ScriptResult(WriteSet([DataEntry("mainLog", ((((((k + " - ") + l) + " - ") + | |
27 | + | ScriptResult(WriteSet([DataEntry("mainLog", ((((((k + " - ") + l) + " - ") + toString(i)) + " -> ") + h))]), TransferSet(nil)) | |
28 | 28 | } | |
29 | 29 | } | |
30 | 30 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "0" | |
5 | 5 | ||
6 | 6 | @Callable(b) | |
7 | 7 | func sethome (c) = { | |
8 | 8 | let d = toBase58String(b.caller.bytes) | |
9 | 9 | let e = WriteSet([DataEntry(d, c), DataEntry("sethomeLog", ((d + " -> ") + c))]) | |
10 | 10 | ScriptResult(e, TransferSet(nil)) | |
11 | 11 | } | |
12 | 12 | ||
13 | 13 | ||
14 | 14 | ||
15 | 15 | @Callable(b) | |
16 | 16 | func main (f,c) = { | |
17 | 17 | let g = extract(b.payment) | |
18 | 18 | if (isDefined(g.assetId)) | |
19 | 19 | then throw("payment is only waves") | |
20 | 20 | else { | |
21 | 21 | let h = toBase58String(b.caller.bytes) | |
22 | 22 | let i = addressFromPublicKey(f) | |
23 | 23 | let j = Address(f) | |
24 | 24 | let k = toBase58String(f) | |
25 | 25 | let l = toBase58String(i.bytes) | |
26 | 26 | let m = toBase58String(j.bytes) | |
27 | - | ScriptResult(WriteSet([DataEntry("mainLog", ((((((k + " - ") + l) + " - ") + | |
27 | + | ScriptResult(WriteSet([DataEntry("mainLog", ((((((k + " - ") + l) + " - ") + toString(i)) + " -> ") + h))]), TransferSet(nil)) | |
28 | 28 | } | |
29 | 29 | } | |
30 | 30 | ||
31 | 31 |
github/deemru/w8io/169f3d6 31.57 ms ◑