MarginAdminContract class for managing admin actions.
Configuration for MarginAdminContract
The config to be added
A function that takes a Transaction object
Add the PythConfig to the margin registry
The key of the pool to be disabled
Disable a deepbook pool from margin trading
The version to be disabled
Disable a specific version
The key of the pool to be enabled
Enable a deepbook pool for margin trading
The version to be enabled
Enable a specific version
Mint a maintainer cap
The key to identify the coin
Create a new coin type data
The key to identify the pool
The parameters for the pool config
Create a new pool config
The leverage for the pool
Create a new pool config with leverage
The coins to be added to the Pyth config
The max age in seconds for the Pyth config
Create a new Pyth config
The key of the pool to be registered
The configuration of the pool
Register a deepbook pool
Remove the PythConfig from the margin registry
Revoke a maintainer cap
The key of the pool to be updated
Update the risk parameters for a margin
MarginAdminContract class for managing admin actions.