tx · E9A2imsGF14Dwn8jDWh5B4Y3MhYY9fjnTvPxaRchtns3 3MxwtQTF1cHZBzHdVMmfdeeTJAoF58usNzC: -0.01400000 Waves 2019.10.24 23:04 [734630] smart account 3MxwtQTF1cHZBzHdVMmfdeeTJAoF58usNzC > SELF 0.00000000 Waves
{ "type": 13, "id": "E9A2imsGF14Dwn8jDWh5B4Y3MhYY9fjnTvPxaRchtns3", "fee": 1400000, "feeAssetId": null, "timestamp": 1571947372306, "version": 1, "sender": "3MxwtQTF1cHZBzHdVMmfdeeTJAoF58usNzC", "senderPublicKey": "AtB1c3RaAbi5bMXf4twdpm182Pcj5tgADufjhfxjt5YP", "proofs": [ "64Ck55evcJv2KybrvFQvmWGYQPDDj6fsy41DtAWnsJ9xXmpUbktcgibcvWjuFpioXo64xqQYrYc5zcRJdCD7y9Xy" ], "script": "base64:AAIDAAAAAAAAAAQIARIAAAAAAgAAAAALb3duZXJQdWJLZXkBAAAAIJLVH1aKS7GiLdMgBtKumrDgMoaT5BFPrNSzSjm7iLMkAQAAAApyYW5kb21pemVyAAAAAQAAAANpbnYEAAAABGxhc3QEAAAAByRtYXRjaDAJAAQcAAAAAgUAAAAEdGhpcwIAAAAEdGVzdAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAKQnl0ZVZlY3RvcgQAAAABcwUAAAAHJG1hdGNoMAUAAAABcwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAEVW5pdAQAAAABYQUAAAAHJG1hdGNoMAEAAAAMV2F2ZXNMb3R0b1YyCQEAAAAFdGhyb3cAAAAABAAAAARyYW5kCQAAywAAAAIJAADLAAAAAgkAAMsAAAACCQAAywAAAAIJAADLAAAAAgUAAAAEbGFzdAgFAAAAA2ludgAAAA10cmFuc2FjdGlvbklkCAUAAAADaW52AAAAD2NhbGxlclB1YmxpY0tleQgFAAAACWxhc3RCbG9jawAAABNnZW5lcmF0aW9uU2lnbmF0dXJlCQABmgAAAAEIBQAAAAlsYXN0QmxvY2sAAAAJdGltZXN0YW1wCQABmgAAAAEIBQAAAAlsYXN0QmxvY2sAAAAGaGVpZ2h0CQAB9wAAAAEFAAAABHJhbmQAAAABAAAAA2ludgEAAAAEdGVzdAAAAAAJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAICAAAABHRlc3QJAABqAAAAAgkABLEAAAABCQEAAAAKcmFuZG9taXplcgAAAAEFAAAAA2ludgAAAAAAAAAACgUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAFFNldFNjcmlwdFRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAALb3duZXJQdWJLZXkDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAF0ludm9rZVNjcmlwdFRyYW5zYWN0aW9uBAAAAAFjBQAAAAckbWF0Y2gwBgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPRGF0YVRyYW5zYWN0aW9uBAAAAAFkBQAAAAckbWF0Y2gwBgfwPj54", "chainId": 84, "height": 734630, "spentComplexity": 0 } View: original | compacted Prev: J9XzMd5vLGowibNrZEwrgLzQcgzb8bec84X1PLi5nry Next: HSspPBtqEFCwSgCXde7ZL2jea9H4Y4BpQWE74M4PgD4C Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = base58'AtB1c3RaAbi5bMXf4twdpm182Pcj5tgADufjhfxjt5YP' | |
5 | 5 | ||
6 | 6 | func b (c) = { | |
7 | 7 | let d = { | |
8 | 8 | let e = getBinary(this, "test") | |
9 | 9 | if ($isInstanceOf(e, "ByteVector")) | |
10 | 10 | then { | |
11 | 11 | let f = e | |
12 | 12 | f | |
13 | 13 | } | |
14 | 14 | else if ($isInstanceOf(e, "Unit")) | |
15 | 15 | then { | |
16 | 16 | let g = e | |
17 | 17 | base58'2ee4oFDYriWJ9EMeR' | |
18 | 18 | } | |
19 | 19 | else throw() | |
20 | 20 | } | |
21 | 21 | let h = (((((d + c.transactionId) + c.callerPublicKey) + lastBlock.generationSignature) + toBytes(lastBlock.timestamp)) + toBytes(lastBlock.height)) | |
22 | 22 | sha256(h) | |
23 | 23 | } | |
24 | 24 | ||
25 | 25 | ||
26 | 26 | @Callable(c) | |
27 | 27 | func test () = WriteSet([DataEntry("test", (toInt(b(c)) % 10))]) | |
28 | 28 | ||
29 | 29 | ||
30 | 30 | @Verifier(i) | |
31 | 31 | func j () = { | |
32 | 32 | let e = i | |
33 | 33 | if ($isInstanceOf(e, "SetScriptTransaction")) | |
34 | 34 | then { | |
35 | 35 | let k = e | |
36 | 36 | sigVerify(i.bodyBytes, i.proofs[0], a) | |
37 | 37 | } | |
38 | 38 | else if ($isInstanceOf(e, "InvokeScriptTransaction")) | |
39 | 39 | then { | |
40 | 40 | let l = e | |
41 | 41 | true | |
42 | 42 | } | |
43 | 43 | else if ($isInstanceOf(e, "DataTransaction")) | |
44 | 44 | then { | |
45 | 45 | let m = e | |
46 | 46 | true | |
47 | 47 | } | |
48 | 48 | else false | |
49 | 49 | } | |
50 | 50 |
github/deemru/w8io/169f3d6 34.09 ms ◑