tx · 93wXc4He3agFx8wuSwjPPG4i5ywJ4gAc9GAex5WySXbN

3MzCxx3HQhveT7EPtxKiavzeG5NaWfdWaqG:  -0.01000000 Waves

2023.05.24 15:25 [2592064] smart account 3MzCxx3HQhveT7EPtxKiavzeG5NaWfdWaqG > SELF 0.00000000 Waves

{ "type": 13, "id": "93wXc4He3agFx8wuSwjPPG4i5ywJ4gAc9GAex5WySXbN", "fee": 1000000, "feeAssetId": null, "timestamp": 1684931186633, "version": 2, "chainId": 84, "sender": "3MzCxx3HQhveT7EPtxKiavzeG5NaWfdWaqG", "senderPublicKey": "GsZLD13DqBHEqBVXCDjp7KqkLz78GSfeRJR8LFQnSFzu", "proofs": [ "44KCnFfvjMAgnL1DJPXmoZAxKsvXXEV8LhA9r1f9sEysY7thZocL5y6xhhL5eKSMzDnRuWmtAazRZZmZKwdo5mZX" ], "script": "base64:AAIFAAAAAAAAABcIAhIAEgUKAwgICBIECgIICBIECgIBAQAAAAIBAAAAA2FicwAAAAEAAAABdgMJAABmAAAAAgAAAAAAAAAAAAUAAAABdgkAAGgAAAACAP//////////BQAAAAF2BQAAAAF2AQAAAARyYW5kAAAAAgAAAARzZWVkAAAAA21heAkAAaQAAAABCQAAagAAAAIJAQAAAANhYnMAAAABCQAEsQAAAAEFAAAABHNlZWQFAAAAA21heAAAAAQAAAABaQEAAAAUdGVzdEN1cnJlbnRUaW1lc3RhbXAAAAAACQAAAgAAAAEJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAAaQAAAABBQAAAAZoZWlnaHQCAAAAAl9fCQABpAAAAAEIBQAAAAlsYXN0QmxvY2sAAAAJdGltZXN0YW1wAgAAAAJfXwkAAaQAAAABCAUAAAAJbGFzdEJsb2NrAAAABmhlaWdodAAAAAFpAQAAAAlzcGxpdFRlc3QAAAADAAAABGxpc3QAAAAGb2xkU3RyAAAABm5ld1N0cgQAAAAHbmV3TGlzdAkABLkAAAACCQAEtQAAAAIFAAAABGxpc3QFAAAABm9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5kNQkAASwAAAACCQABLAAAAAIFAAAABXJhbmQ0AgAAAAJfXwkBAAAABHJhbmQAAAACCQAAygAAAAIFAAAABHNlZWQAAAAAAAAAAAUFAAAAA251bQQAAAAFcmFuZDYJAAEsAAAAAgkAASwAAAACBQAAAAVyYW5kNQIAAAACX18JAQAAAARyYW5kAAAAAgkAAMoAAAACBQAAAARzZWVkAAAAAAAAAAAGBQAAAANudW0EAAAABXJhbmQ3CQABLAAAAAIJAAEsAAAAAgUAAAAFcmFuZDYCAAAAAl9fCQEAAAAEcmFuZAAAAAIJAADKAAAAAgUAAAAEc2VlZAAAAAAAAAAABwUAAAADbnVtBAAAAAVyYW5kOAkAASwAAAACCQABLAAAAAIFAAAABXJhbmQ3AgAAAAJfXwkBAAAABHJhbmQAAAACCQAAygAAAAIFAAAABHNlZWQAAAAAAAAAAAgFAAAAA251bQQAAAAFcmFuZDkJAAEsAAAAAgkAASwAAAACBQAAAAVyYW5kOAIAAAACX18JAQAAAARyYW5kAAAAAgkAAMoAAAACBQAAAARzZWVkAAAAAAAAAAAJBQAAAANudW0EAAAABnJhbmQxMAkAASwAAAACCQABLAAAAAIFAAAABXJhbmQ5AgAAAAJfXwkBAAAABHJhbmQAAAACCQAAygAAAAIFAAAABHNlZWQAAAAAAAAAAAoFAAAAA251bQkAAAIAAAABBQAAAAZyYW5kMTAAAAAAYl/uDQ==", "height": 2592064, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: DFicUdCfXaQUAoQo6Jt22br1Y7KarWavmPGyLyt3aGCi Next: 3MZVHp74UtNN8zmRzaZ4oDNAB6zRj9UzyitCKaVD2Crn Diff:
OldNewDifferences
1818 func splitTest (list,oldStr,newStr) = {
1919 let newList = makeString(split(list, oldStr), newStr)
2020 throw(newList)
21+ }
22+
23+
24+
25+@Callable(i)
26+func removeTest (listStr,removeStr) = {
27+ let data = split(listStr, removeStr)
28+ throw(toString(size(data)))
2129 }
2230
2331
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)
1313 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)
21+ }
22+
23+
24+
25+@Callable(i)
26+func removeTest (listStr,removeStr) = {
27+ let data = split(listStr, removeStr)
28+ throw(toString(size(data)))
2129 }
2230
2331
2432
2533 @Callable(i)
2634 func randTest (blockNum,num) = {
2735 let blockInfo = valueOrErrorMessage(blockInfoByHeight(blockNum), "vrf is not supported by block")
2836 let vrf = valueOrErrorMessage(blockInfo.vrf, "vrf is empty")
2937 let seed = sha256(vrf)
3038 let rand0 = rand(seed, num)
3139 let rand1 = ((rand0 + "__") + rand(drop(seed, 1), num))
3240 let rand2 = ((rand1 + "__") + rand(drop(seed, 2), num))
3341 let rand3 = ((rand2 + "__") + rand(drop(seed, 3), num))
3442 let rand4 = ((rand3 + "__") + rand(drop(seed, 4), num))
3543 let rand5 = ((rand4 + "__") + rand(drop(seed, 5), num))
3644 let rand6 = ((rand5 + "__") + rand(drop(seed, 6), num))
3745 let rand7 = ((rand6 + "__") + rand(drop(seed, 7), num))
3846 let rand8 = ((rand7 + "__") + rand(drop(seed, 8), num))
3947 let rand9 = ((rand8 + "__") + rand(drop(seed, 9), num))
4048 let rand10 = ((rand9 + "__") + rand(drop(seed, 10), num))
4149 throw(rand10)
4250 }
4351
4452

github/deemru/w8io/169f3d6 
34.85 ms