tx · DbHGfv3y5MkraeexbJtsjAvYiQxBVX7oQpbAa5sRYnRh
3Mpzoqx78tk8hqzCbRTJ1a93mZ4eaFzTL1F: -0.01000000 Waves
2021.11.29 14:08 [1812264] smart account 3Mpzoqx78tk8hqzCbRTJ1a93mZ4eaFzTL1F > SELF 0.00000000 Waves
{
"type": 13,
"id": "DbHGfv3y5MkraeexbJtsjAvYiQxBVX7oQpbAa5sRYnRh",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1638184162290,
"version": 2,
"chainId": 84,
"sender": "3Mpzoqx78tk8hqzCbRTJ1a93mZ4eaFzTL1F",
"senderPublicKey": "2Sk1FmTnvi9RcWLLofx3ihkjqgRdF4D2Md46VxDMTGSR",
"proofs": [
"3kFJKT1ZRh86BRx9CbMf8mB365ejdGEkGQjSL1FZwGt4mG5FssjnV9o9nDBhNHFxNTCZXHGX7KuhnS9xscdSKQvo"
],
"script": "base64:AAIFAAAAAAAAAAYIAhIAEgAAAAAAAAAAAgAAAAFpAQAAAAR0ZXN0AAAAAAkABRQAAAACCQAETAAAAAIJAQAAAAxCb29sZWFuRW50cnkAAAACCQABLAAAAAICAAAABXRlc3RfCQACWAAAAAEIBQAAAAFpAAAADXRyYW5zYWN0aW9uSWQGBQAAAANuaWwAAAAAAAAAAAEAAAABaQEAAAAEY2FsbAAAAAAEAAAAAWEKAAAAAAFACQAD/AAAAAQFAAAABHRoaXMCAAAABHRlc3QFAAAAA25pbAUAAAADbmlsAwkAAAEAAAACBQAAAAFAAgAAAANJbnQFAAAAAUAJAAACAAAAAQIAAAAYQ291bGRuJ3QgY2FzdCBBbnkgdG8gSW50CQAFFAAAAAIFAAAAA25pbAUAAAABYQAAAADfZp0+",
"height": 1812264,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 8oaprXZQBUXyKN8bcixU6TbtFUAxETiHvLfEsjG5zNmv
Next: 6UTBsRAu8p6dZE8Bw4KjCNVkgEzNbABDHcJNLvy9kTEw
Diff:
Old | New | | Differences |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(a) |
---|
7 | | - | func test () = $Tuple2([StringEntry("test", toBase58String(a.transactionId))], 1) |
---|
| 7 | + | func test () = $Tuple2([BooleanEntry(("test_" + toBase58String(a.transactionId)), true)], 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(a) |
---|
7 | | - | func test () = $Tuple2([StringEntry("test", toBase58String(a.transactionId))], 1) |
---|
| 7 | + | func test () = $Tuple2([BooleanEntry(("test_" + toBase58String(a.transactionId)), true)], 1) |
---|
8 | 8 | | |
---|
9 | 9 | | |
---|
10 | 10 | | |
---|
11 | 11 | | @Callable(a) |
---|
12 | 12 | | func call () = { |
---|
13 | 13 | | let b = { |
---|
14 | 14 | | let c = invoke(this, "test", nil, nil) |
---|
15 | 15 | | if ($isInstanceOf(c, "Int")) |
---|
16 | 16 | | then c |
---|
17 | 17 | | else throw("Couldn't cast Any to Int") |
---|
18 | 18 | | } |
---|
19 | 19 | | $Tuple2(nil, b) |
---|
20 | 20 | | } |
---|
21 | 21 | | |
---|
22 | 22 | | |
---|