tx · DFicUdCfXaQUAoQo6Jt22br1Y7KarWavmPGyLyt3aGCi

3MzCxx3HQhveT7EPtxKiavzeG5NaWfdWaqG:  -0.01000000 Waves

2022.12.30 15:29 [2383041] smart account 3MzCxx3HQhveT7EPtxKiavzeG5NaWfdWaqG > SELF 0.00000000 Waves

{ "type": 13, "id": "DFicUdCfXaQUAoQo6Jt22br1Y7KarWavmPGyLyt3aGCi", "fee": 1000000, "feeAssetId": null, "timestamp": 1672403363129, "version": 2, "chainId": 84, "sender": "3MzCxx3HQhveT7EPtxKiavzeG5NaWfdWaqG", "senderPublicKey": "GsZLD13DqBHEqBVXCDjp7KqkLz78GSfeRJR8LFQnSFzu", "proofs": [ "AkqqJH8yMTRmiATB5zQihahP2VXMmJ6wPXoFjLa2W2i4rp94CTSkTDTotx1Y4GS2bhLYs7CFpav4Ag6nGychBkt" ], "script": "base64:AAIFAAAAAAAAABEIAhIAEgUKAwgICBIECgIBAQAAAAIBAAAAA2FicwAAAAEAAAABdgMJAABmAAAAAgAAAAAAAAAAAAUAAAABdgkAAGgAAAACAP//////////BQAAAAF2BQAAAAF2AQAAAARyYW5kAAAAAgAAAARzZWVkAAAAA21heAkAAaQAAAABCQAAagAAAAIJAQAAAANhYnMAAAABCQAEsQAAAAEFAAAABHNlZWQFAAAAA21heAAAAAMAAAABaQEAAAAUdGVzdEN1cnJlbnRUaW1lc3RhbXAAAAAACQAAAgAAAAEJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAAaQAAAABBQAAAAZoZWlnaHQCAAAAAl9fCQABpAAAAAEIBQAAAAlsYXN0QmxvY2sAAAAJdGltZXN0YW1wAgAAAAJfXwkAAaQAAAABCAUAAAAJbGFzdEJsb2NrAAAABmhlaWdodAAAAAFpAQAAAAlzcGxpdFRlc3QAAAADAAAABGxpc3QAAAAGb2xkU3RyAAAABm5ld1N0cgQAAAAHbmV3TGlzdAkABLkAAAACCQAEtQAAAAIFAAAABGxpc3QFAAAABm9sZFN0c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kBAAAABHJhbmQAAAACCQAAygAAAAIFAAAABHNlZWQAAAAAAAAAAAYFAAAAA251bQQAAAAFcmFuZDcJAAEsAAAAAgkAASwAAAACBQAAAAVyYW5kNgIAAAACX18JAQAAAARyYW5kAAAAAgkAAMoAAAACBQAAAARzZWVkAAAAAAAAAAAHBQAAAANudW0EAAAABXJhbmQ4CQABLAAAAAIJAAEsAAAAAgUAAAAFcmFuZDcCAAAAAl9fCQEAAAAEcmFuZAAAAAIJAADKAAAAAgUAAAAEc2VlZAAAAAAAAAAACAUAAAADbnVtBAAAAAVyYW5kOQkAASwAAAACCQABLAAAAAIFAAAABXJhbmQ4AgAAAAJfXwkBAAAABHJhbmQAAAACCQAAygAAAAIFAAAABHNlZWQAAAAAAAAAAAkFAAAAA251bQQAAAAGcmFuZDEwCQABLAAAAAIJAAEsAAAAAgUAAAAFcmFuZDkCAAAAAl9fCQEAAAAEcmFuZAAAAAIJAADKAAAAAgUAAAAEc2VlZAAAAAAAAAAACgUAAAADbnVtCQAAAgAAAAEFAAAABnJhbmQxMAAAAADkAZuR", "height": 2383041, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Bh999ub9LDNjErs44byLQ6FTpHVfEDNCBrTcrEum59WH Next: 93wXc4He3agFx8wuSwjPPG4i5ywJ4gAc9GAex5WySXbN Diff:
OldNewDifferences
1010
1111
1212 @Callable(i)
13-func testCurrentTimestamp () = throw(toString(lastBlock.timestamp))
13+func testCurrentTimestamp () = throw(((((toString(height) + "__") + toString(lastBlock.timestamp)) + "__") + toString(lastBlock.height)))
1414
1515
1616
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func abs (v) = if ((0 > v))
55 then (-1 * v)
66 else v
77
88
99 func rand (seed,max) = toString((abs(toInt(seed)) % max))
1010
1111
1212 @Callable(i)
13-func testCurrentTimestamp () = throw(toString(lastBlock.timestamp))
13+func testCurrentTimestamp () = throw(((((toString(height) + "__") + toString(lastBlock.timestamp)) + "__") + toString(lastBlock.height)))
1414
1515
1616
1717 @Callable(i)
1818 func splitTest (list,oldStr,newStr) = {
1919 let newList = makeString(split(list, oldStr), newStr)
2020 throw(newList)
2121 }
2222
2323
2424
2525 @Callable(i)
2626 func randTest (blockNum,num) = {
2727 let blockInfo = valueOrErrorMessage(blockInfoByHeight(blockNum), "vrf is not supported by block")
2828 let vrf = valueOrErrorMessage(blockInfo.vrf, "vrf is empty")
2929 let seed = sha256(vrf)
3030 let rand0 = rand(seed, num)
3131 let rand1 = ((rand0 + "__") + rand(drop(seed, 1), num))
3232 let rand2 = ((rand1 + "__") + rand(drop(seed, 2), num))
3333 let rand3 = ((rand2 + "__") + rand(drop(seed, 3), num))
3434 let rand4 = ((rand3 + "__") + rand(drop(seed, 4), num))
3535 let rand5 = ((rand4 + "__") + rand(drop(seed, 5), num))
3636 let rand6 = ((rand5 + "__") + rand(drop(seed, 6), num))
3737 let rand7 = ((rand6 + "__") + rand(drop(seed, 7), num))
3838 let rand8 = ((rand7 + "__") + rand(drop(seed, 8), num))
3939 let rand9 = ((rand8 + "__") + rand(drop(seed, 9), num))
4040 let rand10 = ((rand9 + "__") + rand(drop(seed, 10), num))
4141 throw(rand10)
4242 }
4343
4444

github/deemru/w8io/026f985 
26.80 ms