Skip to content

Commit

Permalink
Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
miohtama committed Jan 24, 2024
1 parent 5406381 commit 4b85f25
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
- Bump web3.py to 6.12.x
- Add [Terms of Service acceptance manager integration](https://github.com/tradingstrategy-ai/terms-of-service)
- Add GuardV0 and SimpleVaultV0 implementations for creating safe automated asset managers
- Add support for Enzyme policies
- Added GuardV0 support for Enzyme vaults and generic adapters
- Add `get_native_token_price_with_chainlink()` to easily convert native token prices to USD\
- Add 1delta price estimation helper `OneDeltaPriceHelper`
- Add `fetch-all-vaults.py` export all Enzyme vaults from the chain to a CSV file
- Add `deploy_generic_adapter_vault` for correctly configured policy and safe vault deployment
- Improve logging in `wait_and_broadcast_multiple_nodes` for post-mortem analysis
- `hash(SignedTransactionWithNonce)` now is `SignedTransactionWithNonce.hash`, Ethereum transaction hash
- Improve various utility functions
Expand Down
1 change: 1 addition & 0 deletions docs/source/api/enzyme/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ and reading the deposit and redemption information.
eth_defi.enzyme.events
eth_defi.enzyme.price_feed
eth_defi.enzyme.generic_adapter
eth_defi.enzyme.generic_adapter_vault
eth_defi.enzyme.utils
eth_defi.enzyme.erc20
eth_defi.enzyme.uniswap_v2
Expand Down
13 changes: 3 additions & 10 deletions eth_defi/enzyme/policy.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,12 @@
from eth_defi.enzyme.deployment import EnzymeDeployment, VaultPolicyConfiguration
from eth_defi.enzyme.vault import Vault

#
# export enum AddressListUpdateType {
# None = '0',
# AddOnly = '1',
# RemoveOnly = '2',
# AddAndRemove = '3',
# }
#


class AddressListUpdateType(enum.Enum):
"""What kind of delta operation we do on an address."""
"""What kind of delta operation we do on an address.
Taken from Enzyme's JS core.
"""
None_ = 0
AddOnly = 1
RemoveOnly = 2
Expand Down

0 comments on commit 4b85f25

Please sign in to comment.