tx · 5nWh7k2939e2MBBu8Ab669ddpewgn3BH9fAk5UazcPpe

3MzCxx3HQhveT7EPtxKiavzeG5NaWfdWaqG:  -0.00100000 Waves

2022.08.22 17:39 [2195795] smart account 3MzCxx3HQhveT7EPtxKiavzeG5NaWfdWaqG > SELF 0.00000000 Waves

{ "type": 13, "id": "5nWh7k2939e2MBBu8Ab669ddpewgn3BH9fAk5UazcPpe", "fee": 100000, "feeAssetId": null, "timestamp": 1661179188629, "version": 2, "chainId": 84, "sender": "3MzCxx3HQhveT7EPtxKiavzeG5NaWfdWaqG", "senderPublicKey": "GsZLD13DqBHEqBVXCDjp7KqkLz78GSfeRJR8LFQnSFzu", "proofs": [ "4ipnbAVRWwXFme4VnUGHhzW5Dpv3XoHmwdrENt1rLqxRwdYxByHV32XFnLLbttxj6AbkvVAntvwcGHynmVcPLnLu" ], "script": "base64:AAIFAAAAAAAAAAcIAhIDCgEBAAAAAwEAAAAJYXNBbnlMaXN0AAAAAQAAAAF2BAAAAAckbWF0Y2gwBQAAAAF2AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAlMaXN0W0FueV0EAAAAAWwFAAAAByRtYXRjaDAFAAAAAWwJAAACAAAAAQIAAAAbZmFpbCB0byBjYXN0IGludG8gTGlzdFtBbnldAQAAAAVhc0ludAAAAAEAAAABdgQAAAAHJG1hdGNoMAUAAAABdgMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAADSW50BAAAAAFpBQAAAAckbWF0Y2gwBQAAAAFpCQAAAgAAAAECAAAAFWZhaWwgdG8gY2FzdCBpbnRvIEludAEAAAAFZ2V0QnIAAAAABAAAAAxtYXRoQ29udHJhY3QJAQAAABFAZXh0ck5hdGl2ZSgxMDYyKQAAAAECAAAAIzNON0xZZWZXazFXaHZDc1k1QTluVHEyNDRTYlZQbWhDeXBpBAAAAAdtZXRyaWNzCQEAAAAJYXNBbnlMaXN0AAAAAQkAA/wAAAAEBQAAAAxtYXRoQ29udHJhY3QCAAAAGmNhbGNOZXV0aW5vTWV0cmljc1JFQURPTkxZBQAAAANuaWwFAAAAA25pbAQAAAACYnIJAQAAAAVhc0ludAAAAAEJAAGRAAAAAgUAAAAHbWV0cmljcwAAAAAAAAAABwUAAAACYnIAAAABAAAAAWkBAAAABGNhbGwAAAABAAAABW5vbmNlBAAAAAxtYXRoQ29udHJhY3QJAQAAABFAZXh0ck5hdGl2ZSgxMDYyKQAAAAECAAAAIzNON0xZZWZXazFXaHZDc1k1QTluVHEyNDRTYlZQbWhDeXBpBAAAAAdtZXRyaWNzCQEAAAAJYXNBbnlMaXN0AAAAAQkAA/wAAAAEBQAAAAxtYXRoQ29udHJhY3QCAAAAGmNhbGNOZXV0aW5vTWV0cmljc1JFQURPTkxZBQAAAANuaWwFAAAAA25pbAQAAAACYnIJAQAAAAVnZXRCcgAAAAAJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIJAAEsAAAAAgIAAAACYnIJAAGkAAAAAQUAAAAFbm9uY2UFAAAAAmJyBQAAAANuaWwAAAAAWZJhFQ==", "height": 2195795, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9MZymkE2iwap8vGRa2DHHB6aDK8MJ1obJ3EUQznn5TWB Next: 2phCXR1eqtk6LoLrhdHwKpVFMpZM5XbJP7vYGBaLRfNj Diff:
OldNewDifferences
2626
2727
2828 @Callable(i)
29-func call () = {
29+func call (nonce) = {
3030 let mathContract = addressFromStringValue("3N7LYefWk1WhvCsY5A9nTq244SbVPmhCypi")
3131 let metrics = asAnyList(invoke(mathContract, "calcNeutinoMetricsREADONLY", nil, nil))
3232 let br = getBr()
33- throw(toString(br))
33+[IntegerEntry(("br" + toString(nonce)), br)]
3434 }
3535
3636
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func asAnyList (v) = match v {
55 case l: List[Any] =>
66 l
77 case _ =>
88 throw("fail to cast into List[Any]")
99 }
1010
1111
1212 func asInt (v) = match v {
1313 case i: Int =>
1414 i
1515 case _ =>
1616 throw("fail to cast into Int")
1717 }
1818
1919
2020 func getBr () = {
2121 let mathContract = addressFromStringValue("3N7LYefWk1WhvCsY5A9nTq244SbVPmhCypi")
2222 let metrics = asAnyList(invoke(mathContract, "calcNeutinoMetricsREADONLY", nil, nil))
2323 let br = asInt(metrics[7])
2424 br
2525 }
2626
2727
2828 @Callable(i)
29-func call () = {
29+func call (nonce) = {
3030 let mathContract = addressFromStringValue("3N7LYefWk1WhvCsY5A9nTq244SbVPmhCypi")
3131 let metrics = asAnyList(invoke(mathContract, "calcNeutinoMetricsREADONLY", nil, nil))
3232 let br = getBr()
33- throw(toString(br))
33+[IntegerEntry(("br" + toString(nonce)), br)]
3434 }
3535
3636

github/deemru/w8io/026f985 
45.73 ms