Creating Order (Providing Liquidity)
function openLockGemAndDrawAndCreateOrder(
address gemJoin,
bytes32 ilk,
uint amtC,
uint wadD,
bytes32 strategyName,
uint8 strategyId
)
gemJoin:The contract addresses of these collateral assets in CoastDAO (there are as many addresses as there are collateral assets).
ilk:Collateral type
amtC:Amount of collateral
wadD:Amount of cusd
strategyName Name of the trading pair
strategyId Trading strategy Id (1,2,3,4)
function openLockGemAndDrawAndCreateOrderByPair{
address gemJoin,
bytes32 ilk,
uint256 amtC,
uint256 wadD,
address strategyPair
}
gemJoin: The contract address of the collateral asset(s) in CoastDAO (there are as many addresses as there are collateral assets)
cdp:Vault ID
amtC:Amount of collateral
wadD:Amount of CUSD
strategyName Name of the trading pair
strategyId Trading strategy Id (1,2,3,4)PreviousAdding Liquidity For New Perpetual Markets (First Time)NextRequest For Withdrawing Liquidity
Last updated