tx · Bh999ub9LDNjErs44byLQ6FTpHVfEDNCBrTcrEum59WH 3MzCxx3HQhveT7EPtxKiavzeG5NaWfdWaqG: -0.01000000 Waves 2022.12.30 15:26 [2383038] smart account 3MzCxx3HQhveT7EPtxKiavzeG5NaWfdWaqG > SELF 0.00000000 Waves
{ "type": 13, "id": "Bh999ub9LDNjErs44byLQ6FTpHVfEDNCBrTcrEum59WH", "fee": 1000000, "feeAssetId": null, "timestamp": 1672403216428, "version": 2, "chainId": 84, "sender": "3MzCxx3HQhveT7EPtxKiavzeG5NaWfdWaqG", "senderPublicKey": "GsZLD13DqBHEqBVXCDjp7KqkLz78GSfeRJR8LFQnSFzu", "proofs": [ "gMtyAFU7BBLS5ThqzvcDRLnRnDdpGoHaXnLhzbd7spx3h5hBGE3MfnqDwVGmAd4enwGRwvi94e7c1RZnv7RoAom" ], "script": "base64:AAIFAAAAAAAAABEIAhIAEgUKAwgICBIECgIBAQAAAAIBAAAAA2FicwAAAAEAAAABdgMJAABmAAAAAgAAAAAAAAAAAAUAAAABdgkAAGgAAAACAP//////////BQAAAAF2BQAAAAF2AQAAAARyYW5kAAAAAgAAAARzZWVkAAAAA21heAkAAaQAAAABCQAAagAAAAIJAQAAAANhYnMAAAABCQAEsQAAAAEFAAAABHNlZWQFAAAAA21heAAAAAMAAAABaQEAAAAUdGVzdEN1cnJlbnRUaW1lc3RhbXAAAAAACQAAAgAAAAEJAAGkAAAAAQgFAAAACWxhc3RCbG9jawAAAAl0aW1lc3RhbXAAAAABaQEAAAAJc3BsaXRUZXN0AAAAAwAAAARsaXN0AAAABm9sZFN0cgAAAAZuZXdTdHIEAAAAB25ld0xpc3QJAAS5AAAAAgkABLUAAAACBQAAAARsaXN0BQAAAAZvbGRTdHIFAAAABm5ld1N0cgkAAAIAAAABBQAAAAduZXdMaXN0AAAAAWkBAAAACHJhbmRUZXN0AAAAAgAAAAhibG9ja051bQAAAANudW0EAAAACWJsb2NrSW5mbwkBAAAAE3ZhbHVlT3JFcnJ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gUAAAAEc2VlZAAAAAAAAAAABwUAAAADbnVtBAAAAAVyYW5kOAkAASwAAAACCQABLAAAAAIFAAAABXJhbmQ3AgAAAAJfXwkBAAAABHJhbmQAAAACCQAAygAAAAIFAAAABHNlZWQAAAAAAAAAAAgFAAAAA251bQQAAAAFcmFuZDkJAAEsAAAAAgkAASwAAAACBQAAAAVyYW5kOAIAAAACX18JAQAAAARyYW5kAAAAAgkAAMoAAAACBQAAAARzZWVkAAAAAAAAAAAJBQAAAANudW0EAAAABnJhbmQxMAkAASwAAAACCQABLAAAAAIFAAAABXJhbmQ5AgAAAAJfXwkBAAAABHJhbmQAAAACCQAAygAAAAIFAAAABHNlZWQAAAAAAAAAAAoFAAAAA251bQkAAAIAAAABBQAAAAZyYW5kMTAAAAAAPYP+yg==", "height": 2383038, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: H7s4ReZktXKs4iyxDWtdBea7dToGqwQhQ7JYvhvBBgg2 Next: DFicUdCfXaQUAoQo6Jt22br1Y7KarWavmPGyLyt3aGCi Diff:
Old | New | Differences | |
---|---|---|---|
7 | 7 | ||
8 | 8 | ||
9 | 9 | func c (d,e) = toString((a(toInt(d)) % e)) | |
10 | + | ||
11 | + | ||
12 | + | @Callable(f) | |
13 | + | func testCurrentTimestamp () = throw(toString(lastBlock.timestamp)) | |
14 | + | ||
10 | 15 | ||
11 | 16 | ||
12 | 17 | @Callable(f) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | func a (b) = if ((0 > b)) | |
5 | 5 | then (-1 * b) | |
6 | 6 | else b | |
7 | 7 | ||
8 | 8 | ||
9 | 9 | func c (d,e) = toString((a(toInt(d)) % e)) | |
10 | + | ||
11 | + | ||
12 | + | @Callable(f) | |
13 | + | func testCurrentTimestamp () = throw(toString(lastBlock.timestamp)) | |
14 | + | ||
10 | 15 | ||
11 | 16 | ||
12 | 17 | @Callable(f) | |
13 | 18 | func splitTest (g,h,i) = { | |
14 | 19 | let j = makeString(split(g, h), i) | |
15 | 20 | throw(j) | |
16 | 21 | } | |
17 | 22 | ||
18 | 23 | ||
19 | 24 | ||
20 | 25 | @Callable(f) | |
21 | 26 | func randTest (k,l) = { | |
22 | 27 | let m = valueOrErrorMessage(blockInfoByHeight(k), "vrf is not supported by block") | |
23 | 28 | let n = valueOrErrorMessage(m.vrf, "vrf is empty") | |
24 | 29 | let d = sha256(n) | |
25 | 30 | let o = c(d, l) | |
26 | 31 | let p = ((o + "__") + c(drop(d, 1), l)) | |
27 | 32 | let q = ((p + "__") + c(drop(d, 2), l)) | |
28 | 33 | let r = ((q + "__") + c(drop(d, 3), l)) | |
29 | 34 | let s = ((r + "__") + c(drop(d, 4), l)) | |
30 | 35 | let t = ((s + "__") + c(drop(d, 5), l)) | |
31 | 36 | let u = ((t + "__") + c(drop(d, 6), l)) | |
32 | 37 | let v = ((u + "__") + c(drop(d, 7), l)) | |
33 | 38 | let w = ((v + "__") + c(drop(d, 8), l)) | |
34 | 39 | let x = ((w + "__") + c(drop(d, 9), l)) | |
35 | 40 | let y = ((x + "__") + c(drop(d, 10), l)) | |
36 | 41 | throw(y) | |
37 | 42 | } | |
38 | 43 | ||
39 | 44 |
github/deemru/w8io/169f3d6 42.93 ms ◑