This is another step towards reducing functionality of the factory and empowering individual llama instances.
Modifications:
Remove the centralized LlamaPolicyMetadataParamRegistry.sol and let llama instances manage their own color and logo in their LlamaPolicy
Allow llama instances to manage their own LlamaPolicyMetadata contract in their LlamaPolicy. We still set a default version in the factory.
Refactor the factory deploy function to use more internal functions. This prevents us from reaching stack too deep errors.
Result:
In the spirit of incremental progress towards a permissionless factory, this PR will still leave us with a hybrid approach. A followup PR can remove the root llama instance and reduce the factory to a single public deploy function.
Motivation:
This is another step towards reducing functionality of the factory and empowering individual llama instances.
Modifications:
LlamaPolicyMetadataParamRegistry.sol
and let llama instances manage their own color and logo in theirLlamaPolicy
LlamaPolicyMetadata
contract in theirLlamaPolicy
. We still set a default version in the factory.Result:
In the spirit of incremental progress towards a permissionless factory, this PR will still leave us with a hybrid approach. A followup PR can remove the root llama instance and reduce the factory to a single public deploy function.