Skip to content
Lattice

GovernedVaultParams

Git Source

Governance parameters for the self-governed vault (grouped to avoid stack-too-deep).

struct GovernedVaultParams {
    address asset; // underlying ERC-20 the vault holds
    string name; // share-token name (also the EIP-712 domain name + governor name)
    string symbol; // share-token symbol
    uint8 decimalsOffset; // ERC-4626 virtual-share offset (usually 0)
    uint256 minDelay; // timelock delay (seconds) between queue and execute
    uint48 votingDelay; // clock units between proposal creation and voting start
    uint32 votingPeriod; // clock units the vote stays open (must be > 0)
    uint256 proposalThreshold; // min votes to create a proposal
    uint256 quorumNumerator; // quorum as numerator over QUORUM_DENOMINATOR
}

Properties

NameTypeDescription
assetaddress
namestring
symbolstring
decimalsOffsetuint8
minDelayuint256
votingDelayuint48
votingPerioduint32
proposalThresholduint256
quorumNumeratoruint256