Skip to content

Commit

Permalink
Add repr
Browse files Browse the repository at this point in the history
  • Loading branch information
miohtama committed Jun 19, 2023
1 parent 7a34d17 commit e0c5357
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions eth_defi/enzyme/vault.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ class Vault:
#:
payment_forwarder: Optional[Contract] = None

def __repr__(self) -> str:
return f"<Vault vault={self.vault.address} adapter={self.generic_adapter and self.generic_adapter.address} payment_forwader={self.payment_forwarder and self.payment_forwarder.address}>"

@property
def web3(self) -> Web3:
"""Web3 connection.
Expand Down

0 comments on commit e0c5357

Please sign in to comment.