tx · Fs9osxYKiHkbWz5cWuuEMkBo4i2dDtW961v8BKy5GncS

3N3irEKCdj77h97aEbfj3fa3uMXCNCXVhKt:  -0.05000000 Waves

2023.03.22 10:27 [2500931] smart account 3N3irEKCdj77h97aEbfj3fa3uMXCNCXVhKt > SELF 0.00000000 Waves

{ "type": 13, "id": "Fs9osxYKiHkbWz5cWuuEMkBo4i2dDtW961v8BKy5GncS", "fee": 5000000, "feeAssetId": null, "timestamp": 1679470084502, "version": 2, "chainId": 84, "sender": "3N3irEKCdj77h97aEbfj3fa3uMXCNCXVhKt", "senderPublicKey": "FACNGaFYnR8yFbQFg9sRBpzGVCyzMyLeVw3JMhGQT1wn", "proofs": [ "4TqWAv4nfajJjfCNGAe5ixr36TbXrRUfwwvJaZtoCe2Yfa7vKTYmEMi5JDazqUbM7E3KXWsFPmcS9ceEgkNqe51" ], "script": "base64:BgIECAISAAIAE3BlcGVDb250cmFjdEFkZHJlc3MCIzNONGtYWkhHa2U2eVJxM1o1N3E3QlRnQ3JUMlNDdlFDWUVSAAxwZXBlQ29udHJhY3QJARFAZXh0ck5hdGl2ZSgxMDYyKQEFE3BlcGVDb250cmFjdEFkZHJlc3MBAWkBB2dldFJhdGUABAdyZXN1bHRzCQD8BwQFDHBlcGVDb250cmFjdAIHZ2V0UmF0ZQUDbmlsBQNuaWwEByRtYXRjaDAFB3Jlc3VsdHMDCQABAgUHJG1hdGNoMAIGU3RyaW5nBAF0BQckbWF0Y2gwCQCUCgIFA25pbAUBdAkAAgECBUVycm9yAPBBNkY=", "height": 2500931, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GtE5ZaUoLBVtUaB9tnW5ZoyBJuJQza3mQrQx5YYWbejR Next: 8YRLRBsoHsBSXDuf4CLY359k2BdABFrufoGJMLMxdAzx Diff:
OldNewDifferences
99 func getRate () = {
1010 let results = invoke(pepeContract, "getRate", nil, nil)
1111 match results {
12- case t: (Unit, String) =>
13-[StringEntry("rate1", t._2)]
14- case t: (List[Any], String) =>
15-[StringEntry("rate2", t._2)]
16- case t: (String) =>
17-[StringEntry("rate3", t._2)]
1812 case t: String =>
19-[StringEntry("rate4", t)]
13+ $Tuple2(nil, t)
2014 case _ =>
21-[IntegerEntry("fail", height)]
15+ throw("Error")
2216 }
2317 }
2418
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 {
12- case t: (Unit, String) =>
13-[StringEntry("rate1", t._2)]
14- case t: (List[Any], String) =>
15-[StringEntry("rate2", t._2)]
16- case t: (String) =>
17-[StringEntry("rate3", t._2)]
1812 case t: String =>
19-[StringEntry("rate4", t)]
13+ $Tuple2(nil, t)
2014 case _ =>
21-[IntegerEntry("fail", height)]
15+ throw("Error")
2216 }
2317 }
2418
2519

github/deemru/w8io/169f3d6 
41.39 ms