Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ForceCloseReq ¶
type OpenReq ¶
type OpenReq struct { BaseReq rest.BaseReq `json:"base_req"` Signer string `json:"signer"` // User who is trying to open margin position CollateralAsset clptypes.Asset `json:"collateral_asset"` // CollateralAsset for margin position CollateralAmount sdk.Uint `json:"collateral_amount"` // CollateralAmount is the amount of collateral being added BorrowAsset clptypes.Asset `json:"borrow_asset"` // BorrowAsset is asset being borrowed in margin position Position types.Position `json:"position"` // Position type for margin position }
Click to show internal directories.
Click to hide internal directories.