GovernanceContract class for managing governance operations in DeepBook.
Configuration for GovernanceContract
The key to identify the pool
The key to identify the BalanceManager
The amount to stake
A function that takes a Transaction object
Stake a specified amount in the pool
Parameters for the proposal
Submit a governance proposal
Unstake from the pool
The ID of the proposal to vote on
Vote on a proposal
GovernanceContract class for managing governance operations in DeepBook.