VaultPolicyConfiguration
Documentation for eth_defi.enzyme.deployment.VaultPolicyConfiguration Python class.
- class VaultPolicyConfiguration[source]
Enzyme policy configuration.
Passed to the fund deployer when the vault is created.
Attributes summary
Dict of enabled policies and their configs
What is the minimum time before user can redeem shares after deposit.
Methods summary
- policies: Dict[eth_typing.evm.HexAddress, bytes]
Dict of enabled policies and their configs
Policy contract address -> policy config bytes
What is the minimum time before user can redeem shares after deposit.
Prevent arbitrage attacks.
Set to zero by default, because there is a conflict with this setting and using a deposit contract (TermedVaultUSDCPaymentForwarder). Can be set to any value after Enzyme whitelists the deposit contract.
- encode()[source]
Serialise for the fund deployer.
See https://github.com/enzymefinance/protocol/blob/v4/tests/utils/core/PolicyUtils.sol
- Return type