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:
OldNewDifferences
2626 if ($isInstanceOf(e, "Unit"))
2727 then {
2828 let g = e
29- throw("Err1")
29+ nil
3030 }
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")
3732 }
3833
3934
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "3N4kXZHGke6yRq3Z57q7BTgCrT2SCvQCYER"
55
66 let b = addressFromStringValue(a)
77
88 @Callable(c)
99 func getRate () = {
1010 let d = invoke(b, "getRate", nil, nil)
1111 let e = d
1212 if ($isInstanceOf(e, "String"))
1313 then {
1414 let f = e
1515 $Tuple2(nil, f)
1616 }
1717 else throw("Error")
1818 }
1919
2020
2121
2222 @Callable(c)
2323 func deposit () = {
2424 let d = invoke(b, "deposit", nil, c.payments)
2525 let e = d
2626 if ($isInstanceOf(e, "Unit"))
2727 then {
2828 let g = e
29- throw("Err1")
29+ nil
3030 }
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")
3732 }
3833
3934

github/deemru/w8io/169f3d6 
22.11 ms