tx · ujwXPaje2sLDqU1KunEC6xffCtugYzJJzgwMTkhmjqb

3N428oqzMfFCLgCn8mH4fHqepsPqCWK33tU:  -0.01400000 Waves

2021.12.28 05:25 [1853486] smart account 3N428oqzMfFCLgCn8mH4fHqepsPqCWK33tU > SELF 0.00000000 Waves

{ "type": 13, "id": "ujwXPaje2sLDqU1KunEC6xffCtugYzJJzgwMTkhmjqb", "fee": 1400000, "feeAssetId": null, "timestamp": 1640658300093, "version": 2, "chainId": 84, "sender": "3N428oqzMfFCLgCn8mH4fHqepsPqCWK33tU", "senderPublicKey": "7dMYvyGEDJiErLViTHV8Bkg46pS7ZYZFZLnfXPrRg2QJ", "proofs": [ "2EUTup3q783RbJ4fDZxpdLhW9fzwzrDAQfQQcQfUzZKJCGMRodC2U9NwZeE2b9fGn7KZuNBLxdCr3Jzf3aqWUuqP" ], "script": "base64:AAIFAAAAAAAAAAYIAhIAEgAAAAAAAAAAAgAAAAFpAQAAAAh0dXJuT24xNAAAAAAJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAABWxlZDE0AAAAAAAAAAABBQAAAANuaWwAAAABaQEAAAAJdHVybk9mZjE0AAAAAAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAFbGVkMTQAAAAAAAAAAAAFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5cxHlzA==", "height": 1853486, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 84K27py4z4oVpynVUoygEpiLNdyEbAnMqNz1XkpkRswB Next: FBdZixKpzznAAT5A35hFiSWV1AZYMFKLdnrCeb8FmSja Diff:
OldNewDifferences
44
55
66 @Callable(a)
7-func turnOn14 () = {
8- let b = {
9- let c = getInteger(this, "wait14")
10- if ($isInstanceOf(c, "Int"))
11- then {
12- let d = c
13- d
14- }
15- else 0
16- }
17- let e = (lastBlock.height + 100)
18- if ((b > lastBlock.height))
19- then throw((("Wait block " + toString(b)) + " to turn On"))
20- else [IntegerEntry("wait14", e), IntegerEntry("led14", 1)]
21- }
7+func turnOn14 () = [IntegerEntry("led14", 1)]
228
239
2410
2511 @Callable(a)
26-func turnOff14 () = {
27- let b = {
28- let c = getInteger(this, "wait14")
29- if ($isInstanceOf(c, "Int"))
30- then {
31- let d = c
32- d
33- }
34- else 0
35- }
36- let e = (lastBlock.height + 100)
37- if ((b > lastBlock.height))
38- then throw((("Wait block " + toString(b)) + " to turn On"))
39- else [IntegerEntry("wait14", e), IntegerEntry("led14", 0)]
40- }
12+func turnOff14 () = [IntegerEntry("led14", 0)]
4113
4214
43-@Verifier(f)
44-func g () = sigVerify(f.bodyBytes, f.proofs[0], f.senderPublicKey)
15+@Verifier(b)
16+func c () = sigVerify(b.bodyBytes, b.proofs[0], b.senderPublicKey)
4517
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(a)
7-func turnOn14 () = {
8- let b = {
9- let c = getInteger(this, "wait14")
10- if ($isInstanceOf(c, "Int"))
11- then {
12- let d = c
13- d
14- }
15- else 0
16- }
17- let e = (lastBlock.height + 100)
18- if ((b > lastBlock.height))
19- then throw((("Wait block " + toString(b)) + " to turn On"))
20- else [IntegerEntry("wait14", e), IntegerEntry("led14", 1)]
21- }
7+func turnOn14 () = [IntegerEntry("led14", 1)]
228
239
2410
2511 @Callable(a)
26-func turnOff14 () = {
27- let b = {
28- let c = getInteger(this, "wait14")
29- if ($isInstanceOf(c, "Int"))
30- then {
31- let d = c
32- d
33- }
34- else 0
35- }
36- let e = (lastBlock.height + 100)
37- if ((b > lastBlock.height))
38- then throw((("Wait block " + toString(b)) + " to turn On"))
39- else [IntegerEntry("wait14", e), IntegerEntry("led14", 0)]
40- }
12+func turnOff14 () = [IntegerEntry("led14", 0)]
4113
4214
43-@Verifier(f)
44-func g () = sigVerify(f.bodyBytes, f.proofs[0], f.senderPublicKey)
15+@Verifier(b)
16+func c () = sigVerify(b.bodyBytes, b.proofs[0], b.senderPublicKey)
4517

github/deemru/w8io/026f985 
28.72 ms