This repository has been archived by the owner on Nov 27, 2024. It is now read-only.
The Llama v1.1.0 release was audited by Spearbit in January 2024. It includes the following new features and fixes:
Features
- LlamaGovernanceScript: a llama script that defines common governance workflows and batch functions for managing a Llama instance.
- LlamaAccountTokenDelegationScript: a llama script that leverages the
LlamaAccount
arbitrary execute function to allow users to delegate governance tokens from their Llama accounts. This is useful if an instance is using a standardLlamaAccount
and doesn't want to transfer assets. - LlamaAccountWithDelegation: an account logic contract that inherits all the functionality provided in LlamaAccount, but also includes functions for delegating governance tokens to a delegatee and batch delegating multiple governance tokens to multiple delegates. This is useful for unlocking the voting power of governance tokens. For example, these tokens can be delegated to an instance's executor contract, so the instance can vote with the governance tokens held in its accounts.
Instance deployment scripts
- Code-based instance deployment: this pattern allows Llama users to deploy instances by writing their configuration in Solidity code instead of JSON configuration file. This provides more flexibility when deploying more complex instances. Full instructions can be be found in the script documentation.
Fixes
- Enable instance deployments with absolute strategies: absolute strategies can now be deployed in the same block as instance creation. JSON instance configuration files can define the
strategyType
as0
to instruct the deploy utilities to treat theinitialStrategies
as absolute strategy configurations.