Configuration for MarginAdminContract
The config to be added
A function that takes a Transaction object
The key to identify the margin pool
A function that takes a Transaction object and returns a Coin
The key of the pool to be disabled
A function that takes a Transaction object
The version to be disabled
A function that takes a Transaction object
The version to disable
The ID of the pause cap
A function that takes a Transaction object
The key of the pool to be enabled
A function that takes a Transaction object
The version to be enabled
A function that takes a Transaction object
A function that takes a Transaction object
A function that takes a Transaction object
The key to identify the coin
The maximum confidence interval in basis points
The maximum EWMA difference in basis points
A function that takes a Transaction object
The key to identify the pool
The parameters for the pool config
A function that takes a Transaction object
The key to identify the pool
The leverage for the pool
A function that takes a Transaction object
The coins with their oracle config to be added to the Pyth config
The max age in seconds for the Pyth config
A function that takes a Transaction object
The key of the pool to be registered
The configuration of the pool
A function that takes a Transaction object
A function that takes a Transaction object
A function that takes a Transaction object
The ID of the pause cap to revoke
A function that takes a Transaction object
The key of the pool to update
Max order TTL in milliseconds (raw u64)
A function that takes a Transaction object
The key of the pool to update
Max age in milliseconds (raw u64)
A function that takes a Transaction object
The key of the pool to update
Tolerance as a fraction (e.g. 0.1 for 10%)
A function that takes a Transaction object
Set the price deviation tolerance for a pool. tolerance is
in 9-decimal float scaling (1.0 = FLOAT_SCALAR); the SDK applies the
scaling, so callers pass a human-readable fraction (e.g. 0.1 for 10%).
Requires the pool's current price to have been initialized via
PoolProxyContract.updateCurrentPrice first.
The key of the pool to be updated
The configuration of the pool
A function that takes a Transaction object
MarginAdminContract class for managing admin actions.