tx · 2QeTbFHbUwzFeqeV46HMsMsjat1uTaFx8TYsukFR7Nbf
3N3irEKCdj77h97aEbfj3fa3uMXCNCXVhKt: -0.05000000 Waves
2023.03.22 11:33 [2500996] smart account 3N3irEKCdj77h97aEbfj3fa3uMXCNCXVhKt > SELF 0.00000000 Waves
{
"type": 13,
"id": "2QeTbFHbUwzFeqeV46HMsMsjat1uTaFx8TYsukFR7Nbf",
"fee": 5000000,
"feeAssetId": null,
"timestamp": 1679474026786,
"version": 2,
"chainId": 84,
"sender": "3N3irEKCdj77h97aEbfj3fa3uMXCNCXVhKt",
"senderPublicKey": "FACNGaFYnR8yFbQFg9sRBpzGVCyzMyLeVw3JMhGQT1wn",
"proofs": [
"2254qLQSreQeyzVymw6DvLBWU12mephZq9Tg12kzhQMVNW4pyEvL59f262vXVeEo6czfGrs6gUdBMPmFfDKXvkez"
],
"script": "base64:BgIGCAISABIAAgATcGVwZUNvbnRyYWN0QWRkcmVzcwIjM040a1haSEdrZTZ5UnEzWjU3cTdCVGdDclQyU0N2UUNZRVIADHBlcGVDb250cmFjdAkBEUBleHRyTmF0aXZlKDEwNjIpAQUTcGVwZUNvbnRyYWN0QWRkcmVzcwIBaQEHZ2V0UmF0ZQAEB3Jlc3VsdHMJAPwHBAUMcGVwZUNvbnRyYWN0AgdnZXRSYXRlBQNuaWwFA25pbAQHJG1hdGNoMAUHcmVzdWx0cwMJAAECBQckbWF0Y2gwAgZTdHJpbmcEAXQFByRtYXRjaDAJAJQKAgUDbmlsBQF0CQACAQIFRXJyb3IBaQEHZGVwb3NpdAAEB3Jlc3VsdHMJAPwHBAUMcGVwZUNvbnRyYWN0AgdkZXBvc2l0BQNuaWwIBQFpCHBheW1lbnRzBAckbWF0Y2gwBQdyZXN1bHRzAwkAAQIFByRtYXRjaDACBFVuaXQEAWEFByRtYXRjaDAFA25pbAkAAgECDUVycm9yIGRlcG9zaXQAFHEh8g==",
"height": 2500996,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 86Z561MoesHGQ3uoirEn2CNJ9nwRGAh2NZs7NxEGYVNt
Next: 6dqSR13AkJcTe5n48uyEH118aPSDkV82espR2dK82kZs
Diff:
Old | New | | Differences |
---|
26 | 26 | | if ($isInstanceOf(e, "Unit")) |
---|
27 | 27 | | then { |
---|
28 | 28 | | let g = e |
---|
29 | | - | throw("Err1") |
---|
| 29 | + | nil |
---|
30 | 30 | | } |
---|
31 | | - | else if ($isInstanceOf(e, "List[Any]")) |
---|
32 | | - | then { |
---|
33 | | - | let h = e |
---|
34 | | - | throw("Err2") |
---|
35 | | - | } |
---|
36 | | - | else throw("Error deposit") |
---|
| 31 | + | else throw("Error deposit") |
---|
37 | 32 | | } |
---|
38 | 33 | | |
---|
39 | 34 | | |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 6 #-} |
---|
2 | 2 | | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
3 | 3 | | {-# CONTENT_TYPE DAPP #-} |
---|
4 | 4 | | let a = "3N4kXZHGke6yRq3Z57q7BTgCrT2SCvQCYER" |
---|
5 | 5 | | |
---|
6 | 6 | | let b = addressFromStringValue(a) |
---|
7 | 7 | | |
---|
8 | 8 | | @Callable(c) |
---|
9 | 9 | | func getRate () = { |
---|
10 | 10 | | let d = invoke(b, "getRate", nil, nil) |
---|
11 | 11 | | let e = d |
---|
12 | 12 | | if ($isInstanceOf(e, "String")) |
---|
13 | 13 | | then { |
---|
14 | 14 | | let f = e |
---|
15 | 15 | | $Tuple2(nil, f) |
---|
16 | 16 | | } |
---|
17 | 17 | | else throw("Error") |
---|
18 | 18 | | } |
---|
19 | 19 | | |
---|
20 | 20 | | |
---|
21 | 21 | | |
---|
22 | 22 | | @Callable(c) |
---|
23 | 23 | | func deposit () = { |
---|
24 | 24 | | let d = invoke(b, "deposit", nil, c.payments) |
---|
25 | 25 | | let e = d |
---|
26 | 26 | | if ($isInstanceOf(e, "Unit")) |
---|
27 | 27 | | then { |
---|
28 | 28 | | let g = e |
---|
29 | | - | throw("Err1") |
---|
| 29 | + | nil |
---|
30 | 30 | | } |
---|
31 | | - | else if ($isInstanceOf(e, "List[Any]")) |
---|
32 | | - | then { |
---|
33 | | - | let h = e |
---|
34 | | - | throw("Err2") |
---|
35 | | - | } |
---|
36 | | - | else throw("Error deposit") |
---|
| 31 | + | else throw("Error deposit") |
---|
37 | 32 | | } |
---|
38 | 33 | | |
---|
39 | 34 | | |
---|