Spaces:
Runtime error
Runtime error
gauravlochab
commited on
Commit
·
18fcfae
1
Parent(s):
94f3ea0
refactor: Update UNISWAP_ABI file path for better organization
Browse files- app_value_locked.py +1 -1
app_value_locked.py
CHANGED
|
@@ -42,7 +42,7 @@ def load_abi(filename):
|
|
| 42 |
contract_json = json.load(file)
|
| 43 |
return contract_json['abi']
|
| 44 |
|
| 45 |
-
UNISWAP_ABI = load_abi('
|
| 46 |
|
| 47 |
def get_logs(api_key, chain_name, from_block, to_block, contract_address, service_safe):
|
| 48 |
"""Fetch logs for the given contract and wallet address with specified topics."""
|
|
|
|
| 42 |
contract_json = json.load(file)
|
| 43 |
return contract_json['abi']
|
| 44 |
|
| 45 |
+
UNISWAP_ABI = load_abi('./contracts/NonfungiblePositionManager.json')
|
| 46 |
|
| 47 |
def get_logs(api_key, chain_name, from_block, to_block, contract_address, service_safe):
|
| 48 |
"""Fetch logs for the given contract and wallet address with specified topics."""
|