Skip to content

Commit

Permalink
Update prediction_market_agent/agents/blockchain_coding_agent/functio…
Browse files Browse the repository at this point in the history
…ns.py

Co-authored-by: Peter Jung <[email protected]>
  • Loading branch information
gabrielfior and kongzii authored Nov 26, 2024
1 parent b1facda commit fcd6485
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def is_contract(web3: Web3, contract_address: ChecksumAddress) -> bool:
return bool(web3.eth.get_code(contract_address))


def fetch_read_methods_proxy(contract_address: str) -> t.Any:
def fetch_read_methods_proxy(contract_address: str) -> dict[str, t.Any]:
url = f"https://gnosis.blockscout.com/api/v2/smart-contracts/{contract_address}/methods-read-proxy?is_custom_abi=false"
r = requests.get(url)
return r.json()
Expand Down

0 comments on commit fcd6485

Please sign in to comment.