tx · G4jgCwq1WcnjP4z49WYovWy6wfJTC1Lg31iQb75JCv3F
3Mpzoqx78tk8hqzCbRTJ1a93mZ4eaFzTL1F: -0.01000000 Waves
2021.11.29 14:03 [1812259] smart account 3Mpzoqx78tk8hqzCbRTJ1a93mZ4eaFzTL1F > SELF 0.00000000 Waves
{
"type": 13,
"id": "G4jgCwq1WcnjP4z49WYovWy6wfJTC1Lg31iQb75JCv3F",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1638183888495,
"version": 2,
"chainId": 84,
"sender": "3Mpzoqx78tk8hqzCbRTJ1a93mZ4eaFzTL1F",
"senderPublicKey": "2Sk1FmTnvi9RcWLLofx3ihkjqgRdF4D2Md46VxDMTGSR",
"proofs": [
"4cPGMXKHkSHzJ6iCh23r1URPVZAdBLYjrVFSCBNNgrtTwYoRqQEUzkjSm5wr7wSA1sPUETsgFbpAR3x2LpPUFCME"
],
"script": "base64:AAIFAAAAAAAAAAYIAhIAEgAAAAAAAAAAAgAAAAFpAQAAAAR0ZXN0AAAAAAkABRQAAAACCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAABHRlc3QJAAJYAAAAAQgFAAAAAWkAAAANdHJhbnNhY3Rpb25JZAUAAAADbmlsAAAAAAAAAAABAAAAAWkBAAAABGNhbGwAAAAABAAAAAFhCgAAAAABQAkAA/wAAAAEBQAAAAR0aGlzAgAAAAR0ZXN0BQAAAANuaWwFAAAAA25pbAMJAAABAAAAAgUAAAABQAIAAAADSW50BQAAAAFACQAAAgAAAAECAAAAGENvdWxkbid0IGNhc3QgQW55IHRvIEludAMJAAAAAAAAAgUAAAABYQUAAAABYQkABRQAAAACBQAAAANuaWwFAAAABHVuaXQJAAACAAAAAQIAAAAkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAAAAAAuW6jk=",
"height": 1812259,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: DoZypadEeuidZywk9KwSJNK8UeDLX1GxesAjkDszLxor
Next: 8oaprXZQBUXyKN8bcixU6TbtFUAxETiHvLfEsjG5zNmv
Diff:
Old | New | | Differences |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | | - | func test () = (nil :+ StringEntry("test", toBase58String(i.transactionId))) |
---|
| 7 | + | func test () = $Tuple2([StringEntry("test", toBase58String(i.transactionId))], 1) |
---|
8 | 8 | | |
---|
9 | 9 | | |
---|
10 | 10 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(i) |
---|
7 | | - | func test () = (nil :+ StringEntry("test", toBase58String(i.transactionId))) |
---|
| 7 | + | func test () = $Tuple2([StringEntry("test", toBase58String(i.transactionId))], 1) |
---|
8 | 8 | | |
---|
9 | 9 | | |
---|
10 | 10 | | |
---|
11 | 11 | | @Callable(i) |
---|
12 | 12 | | func call () = { |
---|
13 | 13 | | let a = { |
---|
14 | 14 | | let @ = invoke(this, "test", nil, nil) |
---|
15 | 15 | | if ($isInstanceOf(@, "Int")) |
---|
16 | 16 | | then @ |
---|
17 | 17 | | else throw("Couldn't cast Any to Int") |
---|
18 | 18 | | } |
---|
19 | 19 | | if ((a == a)) |
---|
20 | 20 | | then $Tuple2(nil, unit) |
---|
21 | 21 | | else throw("Strict value is not equal to itself.") |
---|
22 | 22 | | } |
---|
23 | 23 | | |
---|
24 | 24 | | |
---|