tx · 685DpbXXLtJ6V4VTpKBYdMJKKtojeRtFxqzcW2PrwZCu
3N5Ju64uTPuaR4M4f9YB5LRYRNJ382MWrat: -0.00100000 Waves
2023.02.25 01:28 [2464357] smart account 3N5Ju64uTPuaR4M4f9YB5LRYRNJ382MWrat > SELF 0.00000000 Waves
{
"type": 13,
"id": "685DpbXXLtJ6V4VTpKBYdMJKKtojeRtFxqzcW2PrwZCu",
"fee": 100000,
"feeAssetId": null,
"timestamp": 1677277701176,
"version": 2,
"chainId": 84,
"sender": "3N5Ju64uTPuaR4M4f9YB5LRYRNJ382MWrat",
"senderPublicKey": "AwWYbCDs6GDxAT6diG2mfEqD7tFz9JXu9k234FS135kR",
"proofs": [
"5cfNXQsEXcyQ8AZgQprgJqCorXEzj6tTZj2vkxnKNaPJq24PPy5o2rL9LwJRkiqyn3v7ETRVqfnZeKFCbTsvvtsu"
],
"script": "base64:BgIGCAISABIAAQEJc29tZV9mdW5jAAkAlQoDACgAMgA8AgFpAQZmdW5jXzEABAZyZXN1bHQJAQlzb21lX2Z1bmMABAkkdDAzMTUzMzcFBnJlc3VsdAQBYQgFCSR0MDMxNTMzNwJfMQQBYggFCSR0MDMxNTMzNwJfMgQBYwgFCSR0MDMxNTMzNwJfMwkAlAoCBQNuaWwCDFJldHVybiB2YWx1ZQFpAQZmdW5jXzIABARhZGRyAiMzTjVKdTY0dVRQdWFSNE00ZjlZQjVMUllSTkozODJNV3JhdAQNaW52b2tlX3Jlc3VsdAoAAUAJAPwHBAUEdGhpcwIGZnVuY18xBQNuaWwFA25pbAMJAAECBQFAAgZTdHJpbmcFAUAJAAIBCQCsAgIJAAMBBQFAAhsgY291bGRuJ3QgYmUgY2FzdCB0byBTdHJpbmcFA25pbAA1mDU9",
"height": 2464357,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 3aELsFYUoLishK8tVoY9GcFBTJLqbfoVMkDwMMvEGXef
Next: 551RwxcD36Sdkz3qVQeaZ53ujkqSYRWUWK2dXCzwgza2
Diff:
Old | New | | Differences |
---|
7 | 7 | | @Callable(b) |
---|
8 | 8 | | func func_1 () = { |
---|
9 | 9 | | let c = a() |
---|
10 | | - | let d = c._1 |
---|
11 | | - | let e = c._2 |
---|
12 | | - | let f = c._3 |
---|
13 | | - | throw(((((toString(d) + " ") + toString(e)) + " ") + toString(f))) |
---|
| 10 | + | let d = c |
---|
| 11 | + | let e = d._1 |
---|
| 12 | + | let f = d._2 |
---|
| 13 | + | let g = d._3 |
---|
| 14 | + | $Tuple2(nil, "Return value") |
---|
14 | 15 | | } |
---|
15 | 16 | | |
---|
16 | 17 | | |
---|
17 | 18 | | |
---|
18 | 19 | | @Callable(b) |
---|
19 | 20 | | func func_2 () = { |
---|
20 | | - | let g = "3N5Ju64uTPuaR4M4f9YB5LRYRNJ382MWrat" |
---|
21 | | - | let h = invoke(this, "func_1", nil, nil) |
---|
| 21 | + | let h = "3N5Ju64uTPuaR4M4f9YB5LRYRNJ382MWrat" |
---|
| 22 | + | let i = { |
---|
| 23 | + | let j = invoke(this, "func_1", nil, nil) |
---|
| 24 | + | if ($isInstanceOf(j, "String")) |
---|
| 25 | + | then j |
---|
| 26 | + | else throw(($getType(j) + " couldn't be cast to String")) |
---|
| 27 | + | } |
---|
22 | 28 | | nil |
---|
23 | 29 | | } |
---|
24 | 30 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 6 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | func a () = $Tuple3(40, 50, 60) |
---|
5 | 5 | | |
---|
6 | 6 | | |
---|
7 | 7 | | @Callable(b) |
---|
8 | 8 | | func func_1 () = { |
---|
9 | 9 | | let c = a() |
---|
10 | | - | let d = c._1 |
---|
11 | | - | let e = c._2 |
---|
12 | | - | let f = c._3 |
---|
13 | | - | throw(((((toString(d) + " ") + toString(e)) + " ") + toString(f))) |
---|
| 10 | + | let d = c |
---|
| 11 | + | let e = d._1 |
---|
| 12 | + | let f = d._2 |
---|
| 13 | + | let g = d._3 |
---|
| 14 | + | $Tuple2(nil, "Return value") |
---|
14 | 15 | | } |
---|
15 | 16 | | |
---|
16 | 17 | | |
---|
17 | 18 | | |
---|
18 | 19 | | @Callable(b) |
---|
19 | 20 | | func func_2 () = { |
---|
20 | | - | let g = "3N5Ju64uTPuaR4M4f9YB5LRYRNJ382MWrat" |
---|
21 | | - | let h = invoke(this, "func_1", nil, nil) |
---|
| 21 | + | let h = "3N5Ju64uTPuaR4M4f9YB5LRYRNJ382MWrat" |
---|
| 22 | + | let i = { |
---|
| 23 | + | let j = invoke(this, "func_1", nil, nil) |
---|
| 24 | + | if ($isInstanceOf(j, "String")) |
---|
| 25 | + | then j |
---|
| 26 | + | else throw(($getType(j) + " couldn't be cast to String")) |
---|
| 27 | + | } |
---|
22 | 28 | | nil |
---|
23 | 29 | | } |
---|
24 | 30 | | |
---|
25 | 31 | | |
---|