GmxV2CauldronRouterOrder
Implementation of the RouterOrder, cloned by the OrderAgent
init | For Order Creation
function init(address _cauldron, address _user, GmRouterOrderParams memory params) external payableName
Type
Note
cancelOrder | Specific to Cauldron
function cancelOrder() external onlyCauldron withdrawFromOrder | Specific to Cauldron
function withdrawFromOrder(address token, address to, uint256 amount, bool closeOrder) external onlyCauldronName
Type
Note
sendValueInCollateral | Specific to Cauldron
Name
Type
Note
orderValueInCollateral | Public View
isActive | Public View
afterDepositExecution | Callback for Deposit Handler
Name
Type
Note
afterWithdrawalCancellation | Callback for Withdrawal Handler
Name
Type
Note
Context for Callback Functions
Last updated