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//////////BQAAAAF2BQAAAAF2AQAAAARyYW5kAAAAAgAAAARzZWVkAAAAA21heAkAAaQAAAABCQAAagAAAAIJAQAAAANhYnMAAAABCQAEsQAAAAEFAAAABHNlZWQFAAAAA21heAAAAAMAAAABaQEAAAAUdGVzdEN1cnJlbnRUaW1lc3RhbXAAAAAACQAAAgAAAAEJAAGkAAAAAQgFAAAACWxhc3RCbG9jawAAAAl0aW1lc3RhbXAAAAABaQEAAAAJc3BsaXRUZXN0AAAAAwAAAARsaXN0AAAABm9sZFN0cgAAAAZuZXdTdHIEAAAAB25ld0xpc3QJAAS5AAAAAgkABLUAAAACBQAAAARsaXN0BQAAAAZvbGRTdHIFAAAABm5ld1N0cgkAAAIAAAABBQAAAAduZXdMaXN0AAAAAWkBAAAACHJhbmRUZXN0AAAAAgAAAAhibG9ja051bQAAAANudW0EAAAACWJsb2NrSW5mbwkBAAAAE3ZhbHVlT3JFcn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AgUAAAAEc2VlZAAAAAAAAAAABwUAAAADbnVtBAAAAAVyYW5kOAkAASwAAAACCQABLAAAAAIFAAAABXJhbmQ3AgAAAAJfXwkBAAAABHJhbmQAAAACCQAAygAAAAIFAAAABHNlZWQAAAAAAAAAAAgFAAAAA251bQQAAAAFcmFuZDkJAAEsAAAAAgkAASwAAAACBQAAAAVyYW5kOAIAAAACX18JAQAAAARyYW5kAAAAAgkAAMoAAAACBQAAAARzZWVkAAAAAAAAAAAJBQAAAANudW0EAAAABnJhbmQxMAkAASwAAAACCQABLAAAAAIFAAAABXJhbmQ5AgAAAAJfXwkBAAAABHJhbmQAAAACCQAAygAAAAIFAAAABHNlZWQAAAAAAAAAAAoFAAAAA251bQkAAAIAAAABBQAAAAZyYW5kMTAAAAAAPYP+yg==", "height": 2383038, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: H7s4ReZktXKs4iyxDWtdBea7dToGqwQhQ7JYvhvBBgg2 Next: DFicUdCfXaQUAoQo6Jt22br1Y7KarWavmPGyLyt3aGCi Diff:
OldNewDifferences
77
88
99 func c (d,e) = toString((a(toInt(d)) % e))
10+
11+
12+@Callable(f)
13+func testCurrentTimestamp () = throw(toString(lastBlock.timestamp))
14+
1015
1116
1217 @Callable(f)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func a (b) = if ((0 > b))
55 then (-1 * b)
66 else b
77
88
99 func c (d,e) = toString((a(toInt(d)) % e))
10+
11+
12+@Callable(f)
13+func testCurrentTimestamp () = throw(toString(lastBlock.timestamp))
14+
1015
1116
1217 @Callable(f)
1318 func splitTest (g,h,i) = {
1419 let j = makeString(split(g, h), i)
1520 throw(j)
1621 }
1722
1823
1924
2025 @Callable(f)
2126 func randTest (k,l) = {
2227 let m = valueOrErrorMessage(blockInfoByHeight(k), "vrf is not supported by block")
2328 let n = valueOrErrorMessage(m.vrf, "vrf is empty")
2429 let d = sha256(n)
2530 let o = c(d, l)
2631 let p = ((o + "__") + c(drop(d, 1), l))
2732 let q = ((p + "__") + c(drop(d, 2), l))
2833 let r = ((q + "__") + c(drop(d, 3), l))
2934 let s = ((r + "__") + c(drop(d, 4), l))
3035 let t = ((s + "__") + c(drop(d, 5), l))
3136 let u = ((t + "__") + c(drop(d, 6), l))
3237 let v = ((u + "__") + c(drop(d, 7), l))
3338 let w = ((v + "__") + c(drop(d, 8), l))
3439 let x = ((w + "__") + c(drop(d, 9), l))
3540 let y = ((x + "__") + c(drop(d, 10), l))
3641 throw(y)
3742 }
3843
3944

github/deemru/w8io/169f3d6 
42.93 ms