Web3-ethereum-defi

Latest version: v0.26.1

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 18

0.25.3

- Improve graphql support check in `has_graphql_support()`

0.25.2

- Handle HTTP 525 retryable, as returned by Alchemy JSON-RPC

0.25.1

- Add: `VaultPolicyConfiguration.shares_action_timelock` Have a safe redemption time lock on Enzyme vault deployments
- Add: [header not found](https://github.com/tradingstrategy-ai/web3-ethereum-defi/pull/201) in retryable exceptions

0.25

- Bump web3.py to 6.12.x
- Add Foundry and Forge integration: `deploy_contract_with_forge()`
- Add initial Etherscan integration
- 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
- Add Enzyme vault deployment tutorial
- 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
- Fix issues cleaning AST information from Enzyme contracts on certain UNIX shells
- Fix log message in the fallback provider that if we have only a single
provider don't call error handling "switching"
- Fix Sphinx dependencies to be dev dependencies

0.24.6

- Fix: invalid None check for sign_bound_call_with_new_nonce"
- Fix: Python pinning to 3.12.x

0.24.5

- Fix: `HotWallet.sign_bound_call_with_new_nonce` tries to avoid calling broken Web3 gas estimation
machine if the gas parameters are already given as the arguments
- Fix: Raise `OutOfGasFunds` in `_broadcast_multiple_nodes` and
avoid transaction broadcast retry if we do not have gas money
- Fix: Don't swallow nonce errors and chain id errors in `broadcast_multiple_nodes`
- Fix type normalisation of `tx_hash` in `fetch_transaction_revert_reason`

Page 2 of 18

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.