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(i)
7-func turnOn14 () = {
8- let waitBlock = match getInteger(this, "wait14") {
9- case a: Int =>
10- a
11- case _ =>
12- 0
13- }
14- let newWait = (lastBlock.height + 100)
15- if ((waitBlock > lastBlock.height))
16- then throw((("Wait block " + toString(waitBlock)) + " to turn On"))
17- else [IntegerEntry("wait14", newWait), IntegerEntry("led14", 1)]
18- }
7+func turnOn14 () = [IntegerEntry("led14", 1)]
198
209
2110
2211 @Callable(i)
23-func turnOff14 () = {
24- let waitBlock = match getInteger(this, "wait14") {
25- case a: Int =>
26- a
27- case _ =>
28- 0
29- }
30- let newWait = (lastBlock.height + 100)
31- if ((waitBlock > lastBlock.height))
32- then throw((("Wait block " + toString(waitBlock)) + " to turn On"))
33- else [IntegerEntry("wait14", newWait), IntegerEntry("led14", 0)]
34- }
12+func turnOff14 () = [IntegerEntry("led14", 0)]
3513
3614
3715 @Verifier(tx)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
7-func turnOn14 () = {
8- let waitBlock = match getInteger(this, "wait14") {
9- case a: Int =>
10- a
11- case _ =>
12- 0
13- }
14- let newWait = (lastBlock.height + 100)
15- if ((waitBlock > lastBlock.height))
16- then throw((("Wait block " + toString(waitBlock)) + " to turn On"))
17- else [IntegerEntry("wait14", newWait), IntegerEntry("led14", 1)]
18- }
7+func turnOn14 () = [IntegerEntry("led14", 1)]
198
209
2110
2211 @Callable(i)
23-func turnOff14 () = {
24- let waitBlock = match getInteger(this, "wait14") {
25- case a: Int =>
26- a
27- case _ =>
28- 0
29- }
30- let newWait = (lastBlock.height + 100)
31- if ((waitBlock > lastBlock.height))
32- then throw((("Wait block " + toString(waitBlock)) + " to turn On"))
33- else [IntegerEntry("wait14", newWait), IntegerEntry("led14", 0)]
34- }
12+func turnOff14 () = [IntegerEntry("led14", 0)]
3513
3614
3715 @Verifier(tx)
3816 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
3917

github/deemru/w8io/026f985 
19.14 ms