tx · 6ovZRJs1LGeeVfzAqAZ5nW7dp1QbqpNWWcWpEFjVaA3c
3N7eEzkCtBoWaNRe4ZuTPrChbnjBLKDb9Bx: -0.01000000 Waves
2023.05.26 13:15 [2594809] smart account 3N7eEzkCtBoWaNRe4ZuTPrChbnjBLKDb9Bx > SELF 0.00000000 Waves
{
"type": 13,
"id": "6ovZRJs1LGeeVfzAqAZ5nW7dp1QbqpNWWcWpEFjVaA3c",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1685096136438,
"version": 2,
"chainId": 84,
"sender": "3N7eEzkCtBoWaNRe4ZuTPrChbnjBLKDb9Bx",
"senderPublicKey": "2NK7BrUZMvnHzAoHnJfz3FuDBP5zYUNoxshB49AH2kbc",
"proofs": [
"5b3XuF3rHHu51UfdMQoYCc1xqopJTEdJH9z62qnvipTfSS2WXR89BtWTdqPxnnBn2fnBUA3T1ACgyR93un2Hr4YN"
],
"script": "base64:BgIHCAISAwoBAQABAWkBA2ZvbwEJaXRlcmF0aW9uBANyZXMJAP0HBAUEdGhpcwIDZm9vCQDMCAIFCWl0ZXJhdGlvbgUDbmlsBQNuaWwDCQAAAgUDcmVzBQNyZXMDCQBmAgUJaXRlcmF0aW9uAAAEBmdldEtleQkAmggCBQR0aGlzAgRjYWxsBAZnZXRJbnQJAGUCCgABQAUGZ2V0S2V5AwkAAQIFAUACA0ludAUBQAkAAgEJAKwCAgkAAwEFAUACGCBjb3VsZG4ndCBiZSBjYXN0IHRvIEludAABCQCUCgIJAMwIAgkBDEludGVnZXJFbnRyeQICBGNhbGwFCWl0ZXJhdGlvbgUDbmlsBQNyZXMJAMwIAgkBDEludGVnZXJFbnRyeQICBGNhbGwFCWl0ZXJhdGlvbgUDbmlsCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAEJHeWY=",
"height": 2594809,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: CyuV3oJA7gEQj9bthZNTAgyJP84sf1p2x3bUcCQwfqhb
Next: CmroPF3Cz5Zn3GpTuNjfjS4ysbQ8AqN9AfBjNf36Joat
Diff:
Old | New | | Differences |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(a) |
---|
7 | | - | func foo (b,c) = { |
---|
8 | | - | let d = reentrantInvoke(this, "foo", [b, c], nil) |
---|
9 | | - | if ((d == d)) |
---|
10 | | - | then if ((b > c)) |
---|
11 | | - | then $Tuple2(nil, d) |
---|
| 7 | + | func foo (b) = { |
---|
| 8 | + | let c = reentrantInvoke(this, "foo", [b], nil) |
---|
| 9 | + | if ((c == c)) |
---|
| 10 | + | then if ((b > 0)) |
---|
| 11 | + | then { |
---|
| 12 | + | let d = getInteger(this, "call") |
---|
| 13 | + | let e = ({ |
---|
| 14 | + | let f = d |
---|
| 15 | + | if ($isInstanceOf(f, "Int")) |
---|
| 16 | + | then f |
---|
| 17 | + | else throw(($getType(f) + " couldn't be cast to Int")) |
---|
| 18 | + | } - 1) |
---|
| 19 | + | $Tuple2([IntegerEntry("call", b)], c) |
---|
| 20 | + | } |
---|
12 | 21 | | else [IntegerEntry("call", b)] |
---|
13 | 22 | | else throw("Strict value is not equal to itself.") |
---|
14 | 23 | | } |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 6 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | |
---|
5 | 5 | | |
---|
6 | 6 | | @Callable(a) |
---|
7 | | - | func foo (b,c) = { |
---|
8 | | - | let d = reentrantInvoke(this, "foo", [b, c], nil) |
---|
9 | | - | if ((d == d)) |
---|
10 | | - | then if ((b > c)) |
---|
11 | | - | then $Tuple2(nil, d) |
---|
| 7 | + | func foo (b) = { |
---|
| 8 | + | let c = reentrantInvoke(this, "foo", [b], nil) |
---|
| 9 | + | if ((c == c)) |
---|
| 10 | + | then if ((b > 0)) |
---|
| 11 | + | then { |
---|
| 12 | + | let d = getInteger(this, "call") |
---|
| 13 | + | let e = ({ |
---|
| 14 | + | let f = d |
---|
| 15 | + | if ($isInstanceOf(f, "Int")) |
---|
| 16 | + | then f |
---|
| 17 | + | else throw(($getType(f) + " couldn't be cast to Int")) |
---|
| 18 | + | } - 1) |
---|
| 19 | + | $Tuple2([IntegerEntry("call", b)], c) |
---|
| 20 | + | } |
---|
12 | 21 | | else [IntegerEntry("call", b)] |
---|
13 | 22 | | else throw("Strict value is not equal to itself.") |
---|
14 | 23 | | } |
---|
15 | 24 | | |
---|
16 | 25 | | |
---|