Skip to content

Commit

Permalink
Update to hyperdrive v1.0.6 with patch (#98)
Browse files Browse the repository at this point in the history
No changes other than generated python pypechain types. No version bump
needed because it should be compatible with latest version, as we're not
using event types in pypechain gen code
  • Loading branch information
Sheng Lundquist authored May 14, 2024
1 parent 8958336 commit 8bcaa63
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6460,8 +6460,8 @@ def decode_custom_error(self, data: str) -> tuple[Any, ...]:
"inputs": [
{"name": "provider", "type": "address", "indexed": True, "internalType": "address"},
{"name": "lpAmount", "type": "uint256", "indexed": False, "internalType": "uint256"},
{"name": "baseAmount", "type": "uint256", "indexed": False, "internalType": "uint256"},
{"name": "vaultShareAmount", "type": "uint256", "indexed": False, "internalType": "uint256"},
{"name": "amount", "type": "uint256", "indexed": False, "internalType": "uint256"},
{"name": "vaultSharePrice", "type": "uint256", "indexed": False, "internalType": "uint256"},
{"name": "asBase", "type": "bool", "indexed": False, "internalType": "bool"},
{"name": "lpSharePrice", "type": "uint256", "indexed": False, "internalType": "uint256"},
],
Expand Down Expand Up @@ -6560,7 +6560,7 @@ def decode_custom_error(self, data: str) -> tuple[Any, ...]:
"inputs": [
{"name": "provider", "type": "address", "indexed": True, "internalType": "address"},
{"name": "lpAmount", "type": "uint256", "indexed": False, "internalType": "uint256"},
{"name": "baseAmount", "type": "uint256", "indexed": False, "internalType": "uint256"},
{"name": "amount", "type": "uint256", "indexed": False, "internalType": "uint256"},
{"name": "vaultSharePrice", "type": "uint256", "indexed": False, "internalType": "uint256"},
{"name": "asBase", "type": "bool", "indexed": False, "internalType": "bool"},
{"name": "apr", "type": "uint256", "indexed": False, "internalType": "uint256"},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ class WithdrawPool:
inputs=[
ABIEventParams(indexed=True, name="provider", type="address"),
ABIEventParams(indexed=False, name="lpAmount", type="uint256"),
ABIEventParams(indexed=False, name="baseAmount", type="uint256"),
ABIEventParams(indexed=False, name="vaultShareAmount", type="uint256"),
ABIEventParams(indexed=False, name="amount", type="uint256"),
ABIEventParams(indexed=False, name="vaultSharePrice", type="uint256"),
ABIEventParams(indexed=False, name="asBase", type="bool"),
ABIEventParams(indexed=False, name="lpSharePrice", type="uint256"),
],
Expand Down Expand Up @@ -237,7 +237,7 @@ class WithdrawPool:
inputs=[
ABIEventParams(indexed=True, name="provider", type="address"),
ABIEventParams(indexed=False, name="lpAmount", type="uint256"),
ABIEventParams(indexed=False, name="baseAmount", type="uint256"),
ABIEventParams(indexed=False, name="amount", type="uint256"),
ABIEventParams(indexed=False, name="vaultSharePrice", type="uint256"),
ABIEventParams(indexed=False, name="asBase", type="bool"),
ABIEventParams(indexed=False, name="apr", type="uint256"),
Expand Down

0 comments on commit 8bcaa63

Please sign in to comment.