Configuration for PoolProxyContract
The key to identify the MarginManager
A function that takes a Transaction object
The key to identify the MarginManager
Order ID to cancel
A function that takes a Transaction object
The key to identify the MarginManager
Order IDs to cancel
A function that takes a Transaction object
The key to identify the MarginManager
A function that takes a Transaction object
The key to identify the MarginManager
Order ID to modify
New quantity for the order
A function that takes a Transaction object
Parameters for placing a limit order
A function that takes a Transaction object
Parameters for placing a market order
A function that takes a Transaction object
Parameters for placing a market order
A function that takes a Transaction object
Place a market order and repay the loan from the fill proceeds.
The taker fill settles into the manager's balance, so the proceeds (plus any
idle balance) are repaid into the debt side before the risk check; the gate
is then the net post-repay risk_ratio being at least the pre-fill ratio.
Unlike placeMarketOrder, which checks the post-trade ratio against
min_borrow_risk_ratio, this lets a deleveraging fill go through in the
liquidation..min_borrow band, where a swap alone would be rejected.
Parameters for placing a reduce only limit order
A function that takes a Transaction object
Parameters for placing a reduce only limit order
A function that takes a Transaction object
Place a reduce only limit order and repay the loan from the
fill proceeds. Requires debt on the relevant side (a bid needs base debt; an
ask needs quote debt and sells at most the gross base held); the repay
happens before the monotonic risk_ratio gate, so the check is on the net
post-repay ratio.
Parameters for placing a reduce only market order
A function that takes a Transaction object
Parameters for placing a reduce only market order
A function that takes a Transaction object
Place a reduce only market order and repay the loan from the
fill proceeds. Same reduce-only direction guard as
placeReduceOnlyMarketOrder, but the settled proceeds are repaid into
the debt side before the monotonic risk_ratio gate, so the check is on the
net post-repay ratio.
The key to identify the MarginManager
The amount to stake
A function that takes a Transaction object
The key to identify the MarginManager
Parameters for the proposal
A function that takes a Transaction object
The key to identify the MarginManager
A function that takes a Transaction object
The key to identify the pool
A function that takes a Transaction object
The key to identify the MarginManager
The ID of the proposal to vote on
A function that takes a Transaction object
The key to identify the pool
The object ID of the MarginManager
A function that takes a Transaction object
The key to identify the MarginManager
A function that takes a Transaction object
PoolProxyContract class for managing PoolProxy operations.