File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 4848 from ethpm_types .contract_type import ABI_W_SELECTOR_T , ContractType
4949 from pandas import DataFrame
5050
51+ from ape .api .networks import ProxyInfoAPI
5152 from ape .api .transactions import ReceiptAPI , TransactionAPI
5253 from ape .types .address import AddressType
5354
@@ -1483,6 +1484,8 @@ def at(
14831484 address : "AddressType" ,
14841485 txn_hash : Optional [Union [str , HexBytes ]] = None ,
14851486 fetch_from_explorer : bool = True ,
1487+ proxy_info : Optional ["ProxyInfoAPI" ] = None ,
1488+ detect_proxy : bool = True ,
14861489 ) -> ContractInstance :
14871490 """
14881491 Get a contract at the given address.
@@ -1507,9 +1510,11 @@ def at(
15071510 """
15081511 return self .chain_manager .contracts .instance_at (
15091512 address ,
1510- self .contract_type ,
1513+ contract_type = self .contract_type ,
15111514 txn_hash = txn_hash ,
15121515 fetch_from_explorer = fetch_from_explorer ,
1516+ proxy_info = proxy_info ,
1517+ detect_proxy = detect_proxy ,
15131518 )
15141519
15151520 @cached_property
You can’t perform that action at this time.
0 commit comments