tx · 8crTXgv7ZCoWZqrXCYvQYDnsmAk49cvSGQ2uUfpc4F3Y
3NA74UCyBvSMNmrJEuKH2oZz2bpsa54WXTw: -0.01000000 Waves
2023.11.27 14:50 [2861776] smart account 3NA74UCyBvSMNmrJEuKH2oZz2bpsa54WXTw > SELF 0.00000000 Waves
{
"type": 13,
"id": "8crTXgv7ZCoWZqrXCYvQYDnsmAk49cvSGQ2uUfpc4F3Y",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1701085868544,
"version": 2,
"chainId": 84,
"sender": "3NA74UCyBvSMNmrJEuKH2oZz2bpsa54WXTw",
"senderPublicKey": "2V4QH4WaAJJdGPLhM4412YXL4QL5H5hbMjgEoo2rEEwF",
"proofs": [
"r6Bs1H2eXpxbqsgRopca4wE9SHKmSCUDyWoLbfv1CB5YtG68KKPzTCqExwxH3UiEEUmKgcJh6EW1De8hJxkhtkL"
],
"script": "base64:AAIFAAAAAAAAAAQIAhIAAAAAAAAAAAEAAAABaQEAAAAaSW5pdGlhdGVfQ29udHJhY3RfU2h1dGRvd24AAAAABAAAABFhZGRTaHV0ZG93blN0YXR1cwQAAAAHJG1hdGNoMAkABBoAAAACBQAAAAR0aGlzAgAAAA9TaHV0ZG93bl9TdGF0dXMDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAA0ludAQAAAABYQUAAAAHJG1hdGNoMAUAAAABYQAAAAAAAAAAAAMJAAAAAAAAAgUAAAARYWRkU2h1dGRvd25TdGF0dXMAAAAAAAAAAAAJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAAD1NodXRkb3duX1N0YXR1cwAAAAAAAAAAAQUAAAADbmlsCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACAgAAAA9TaHV0ZG93bl9TdGF0dXMAAAAAAAAAAAAFAAAAA25pbAAAAAAjzywl",
"height": 2861776,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: none
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 5 #-} |
---|
| 2 | + | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
| 3 | + | {-# CONTENT_TYPE DAPP #-} |
---|
| 4 | + | |
---|
| 5 | + | |
---|
| 6 | + | @Callable(i) |
---|
| 7 | + | func Initiate_Contract_Shutdown () = { |
---|
| 8 | + | let addShutdownStatus = match getInteger(this, "Shutdown_Status") { |
---|
| 9 | + | case a: Int => |
---|
| 10 | + | a |
---|
| 11 | + | case _ => |
---|
| 12 | + | 0 |
---|
| 13 | + | } |
---|
| 14 | + | if ((addShutdownStatus == 0)) |
---|
| 15 | + | then [IntegerEntry("Shutdown_Status", 1)] |
---|
| 16 | + | else [IntegerEntry("Shutdown_Status", 0)] |
---|
| 17 | + | } |
---|
| 18 | + | |
---|
| 19 | + | |
---|