tx · EvjZaQqVZUYeFYKw5bXdWwzQxhgzfqmNJWkrfw26JWkp

3N3irEKCdj77h97aEbfj3fa3uMXCNCXVhKt:  -0.05000000 Waves

2023.03.22 10:50 [2500953] smart account 3N3irEKCdj77h97aEbfj3fa3uMXCNCXVhKt > SELF 0.00000000 Waves

{ "type": 13, "id": "EvjZaQqVZUYeFYKw5bXdWwzQxhgzfqmNJWkrfw26JWkp", "fee": 5000000, "feeAssetId": null, "timestamp": 1679471475030, "version": 2, "chainId": 84, "sender": "3N3irEKCdj77h97aEbfj3fa3uMXCNCXVhKt", "senderPublicKey": "FACNGaFYnR8yFbQFg9sRBpzGVCyzMyLeVw3JMhGQT1wn", "proofs": [ "3kv2wCjjL6Pnp4yK3WR9c46T8xFJYLfpHmhesPbv6e9agS6yvRBhgvBpHmuvHfshthBytb28HC7qT76EPHFzDUcP" ], "script": "base64:BgIGCAISABIAAgATcGVwZUNvbnRyYWN0QWRkcmVzcwIjM040a1haSEdrZTZ5UnEzWjU3cTdCVGdDclQyU0N2UUNZRVIADHBlcGVDb250cmFjdAkBEUBleHRyTmF0aXZlKDEwNjIpAQUTcGVwZUNvbnRyYWN0QWRkcmVzcwIBaQEHZ2V0UmF0ZQAEB3Jlc3VsdHMJAPwHBAUMcGVwZUNvbnRyYWN0AgdnZXRSYXRlBQNuaWwFA25pbAQHJG1hdGNoMAUHcmVzdWx0cwMJAAECBQckbWF0Y2gwAgZTdHJpbmcEAXQFByRtYXRjaDAJAJQKAgUDbmlsBQF0CQACAQIFRXJyb3IBaQEHZGVwb3NpdAAEB3Jlc3VsdHMJAPwHBAUMcGVwZUNvbnRyYWN0AgdkZXBvc2l0BQNuaWwIBQFpCHBheW1lbnRzBAckbWF0Y2gwBQdyZXN1bHRzAwkAAQIFByRtYXRjaDACCUxpc3RbQW55XQQDcmVzBQckbWF0Y2gwCQACAQICbTEDCQABAgUHJG1hdGNoMAIGKFVuaXQpBANyZXMFByRtYXRjaDAJAAIBAgJtMgkAAgECDWVycm9yIGRlcG9zaXQAn0LBwQ==", "height": 2500953, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5mRuJkRfzR8cXVvvoW9vhsPQPNXBdFCWGpiuh1u2T232 Next: BqJGCLK1AQ5eBeEfaUzoSKg5R1JKusBH2CxkTFMn2bfH Diff:
OldNewDifferences
2424 match results {
2525 case res: List[Any] =>
2626 throw("m1")
27- case res: (List[Any], Unit) =>
27+ case res: (Unit) =>
2828 throw("m2")
29- case res: ((List[Any], Unit), Unit) =>
30- throw("m3")
3129 case _ =>
3230 throw("error deposit")
3331 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let pepeContractAddress = "3N4kXZHGke6yRq3Z57q7BTgCrT2SCvQCYER"
55
66 let pepeContract = addressFromStringValue(pepeContractAddress)
77
88 @Callable(i)
99 func getRate () = {
1010 let results = invoke(pepeContract, "getRate", nil, nil)
1111 match results {
1212 case t: String =>
1313 $Tuple2(nil, t)
1414 case _ =>
1515 throw("Error")
1616 }
1717 }
1818
1919
2020
2121 @Callable(i)
2222 func deposit () = {
2323 let results = invoke(pepeContract, "deposit", nil, i.payments)
2424 match results {
2525 case res: List[Any] =>
2626 throw("m1")
27- case res: (List[Any], Unit) =>
27+ case res: (Unit) =>
2828 throw("m2")
29- case res: ((List[Any], Unit), Unit) =>
30- throw("m3")
3129 case _ =>
3230 throw("error deposit")
3331 }
3432 }
3533
3634

github/deemru/w8io/169f3d6 
29.00 ms