Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f95b403

Browse files
author
Kotsias, Panagiotis-Christos
committed
Changed prefixes from check_ to get_
1 parent 784eecb commit f95b403

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

etherscan/configs/stable.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -153,13 +153,13 @@
153153
"address": "0xBB9bc244D798123fDe783fCc1C72d3Bb8C189413"
154154
}
155155
},
156-
"check_contract_execution_status": {
156+
"get_contract_execution_status": {
157157
"module": "transactions",
158158
"kwargs": {
159159
"txhash": "0x15f8e5ea1079d9a0bb04a4c58ae5fe7654b5b2b4463375ff7ffb490aa0032f3a"
160160
}
161161
},
162-
"check_tx_receipt_status": {
162+
"get_tx_receipt_status": {
163163
"module": "transactions",
164164
"kwargs": {
165165
"txhash": "0x513c1ba0bebf66436b5fed86ab668452b7805593c05073eb2d51d3a52f480a76"

etherscan/modules/transactions.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
class Transactions:
77
@staticmethod
8-
def check_contract_execution_status(txhash: str) -> str:
8+
def get_contract_execution_status(txhash: str) -> str:
99
url = (
1010
f"{fields.MODULE}"
1111
f"{modules.TRANSACTION}"
@@ -17,7 +17,7 @@ def check_contract_execution_status(txhash: str) -> str:
1717
return url
1818

1919
@staticmethod
20-
def check_tx_receipt_status(txhash: str) -> str:
20+
def get_tx_receipt_status(txhash: str) -> str:
2121
url = (
2222
f"{fields.MODULE}"
2323
f"{modules.TRANSACTION}"

0 commit comments

Comments
 (0)