tx · HV6jjsGdcS8TbPvEi5tivZMvGmPhjDmPMzSCxQydDN2E

3MsGaPwSZGbRkHeU5kYsEFJCX4PPujd5SJ7:  -0.01000000 Waves

2021.09.23 22:55 [1716157] smart account 3MsGaPwSZGbRkHeU5kYsEFJCX4PPujd5SJ7 > SELF 0.00000000 Waves

{ "type": 13, "id": "HV6jjsGdcS8TbPvEi5tivZMvGmPhjDmPMzSCxQydDN2E", "fee": 1000000, "feeAssetId": null, "timestamp": 1632426940300, "version": 1, "sender": "3MsGaPwSZGbRkHeU5kYsEFJCX4PPujd5SJ7", "senderPublicKey": "8bucJnjo1rN155Zycpsunmsw9y98tqwuFbimJV4onPSe", "proofs": [ "3retNHbBf3T1WdWM5uJjuUCNLoJdWKQ3bgF3NWwx2juUaag2ziRDdNxoDg223C2N1MjcBfs88dP9ZSxs6mh6jJnB" ], "script": "base64:AAIFAAAAAAAAAA0IAhIDCgEBEgQKAggBAAAAAAAAAAIAAAABaQEAAAAIZGF0YWJhc2UAAAABAAAABXZhbHVlBAAAAARiYXNlCQACWAAAAAEIBQAAAAFpAAAADXRyYW5zYWN0aW9uSWQEAAAAA2tleQkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIFAAAABGJhc2UFAAAABGJhc2UFAAAABGJhc2UFAAAABGJhc2UFAAAABGJhc2UJAAEvAAAAAgUAAAAEYmFzZQAAAAAAAAAAIAQAAAAEY2FsbAkAA/wAAAAEBQAAAAR0aGlzAgAAAAhrZXl2YWx1ZQkABEwAAAACBQAAAANrZXkJAARMAAAAAgkAAGUAAAACBQAAAAV2YWx1ZQAAAAAAAAAAAQUAAAADbmlsBQAAAANuaWwDCQAAAAAAAAIFAAAABGNhbGwFAAAABGNhbGwFAAAAA25pbAkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4AAAABaQEAAAAIa2V5dmFsdWUAAAACAAAAA2tleQAAAAV2YWx1ZQMJAABmAAAAAgUAAAAFdmFsdWUAAAAAAAAAAAAEAAAAAnJuCQAD/AAAAAQFAAAABHRoaXMCAAAACGtleXZhbHVlCQAETAAAAAIFAAAAA2tleQkABEwAAAACCQAAZQAAAAIFAAAABXZhbHVlAAAAAAAAAAABBQAAAANuaWwFAAAAA25pbAMJAAAAAAAAAgUAAAACcm4FAAAAAnJuCQAETAAAAAIJAQAAAAxCb29sZWFuRW50cnkAAAACCQABLAAAAAIJAAGkAAAAAQkAAGQAAAACAAAAAAAAAABkBQAAAAV2YWx1ZQUAAAADa2V5BgUAAAADbmlsCQAAAgAAAAECAAAAJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkABEwAAAACCQEAAAAMQm9vbGVhbkVudHJ5AAAAAgkAASwAAAACCQABpAAAAAEAAAAAAAAAAGQFAAAAA2tleQYFAAAAA25pbAAAAABsAG26", "chainId": 84, "height": 1716157, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: C47uGo41NXbpZiHS4nw4zcia8qriPYstt3hByTXGkCsV Next: Bo5DR168A5ahqMVQWwzYRxH6YEZ34ZjmjQ64vb3nykFc Diff:
OldNewDifferences
44
55
66 @Callable(a)
7-func database () = {
8- let b = toBase58String(a.transactionId)
9- let c = (((((b + b) + b) + b) + b) + take(b, 32))
10- let d = 100
11-[BooleanEntry((toString(d) + c), true)]
7+func database (b) = {
8+ let c = toBase58String(a.transactionId)
9+ let d = (((((c + c) + c) + c) + c) + take(c, 32))
10+ let e = invoke(this, "keyvalue", [d, (b - 1)], nil)
11+ if ((e == e))
12+ then nil
13+ else throw("Strict value is not equal to itself.")
1214 }
15+
16+
17+
18+@Callable(a)
19+func keyvalue (d,b) = if ((b > 0))
20+ then {
21+ let f = invoke(this, "keyvalue", [d, (b - 1)], nil)
22+ if ((f == f))
23+ then [BooleanEntry((toString((100 + b)) + d), true)]
24+ else throw("Strict value is not equal to itself.")
25+ }
26+ else [BooleanEntry((toString(100) + d), true)]
1327
1428
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(a)
7-func database () = {
8- let b = toBase58String(a.transactionId)
9- let c = (((((b + b) + b) + b) + b) + take(b, 32))
10- let d = 100
11-[BooleanEntry((toString(d) + c), true)]
7+func database (b) = {
8+ let c = toBase58String(a.transactionId)
9+ let d = (((((c + c) + c) + c) + c) + take(c, 32))
10+ let e = invoke(this, "keyvalue", [d, (b - 1)], nil)
11+ if ((e == e))
12+ then nil
13+ else throw("Strict value is not equal to itself.")
1214 }
15+
16+
17+
18+@Callable(a)
19+func keyvalue (d,b) = if ((b > 0))
20+ then {
21+ let f = invoke(this, "keyvalue", [d, (b - 1)], nil)
22+ if ((f == f))
23+ then [BooleanEntry((toString((100 + b)) + d), true)]
24+ else throw("Strict value is not equal to itself.")
25+ }
26+ else [BooleanEntry((toString(100) + d), true)]
1327
1428

github/deemru/w8io/169f3d6 
41.34 ms