Challenger
Challenger
readChallengeInfo
Read the information about the liquidity provider of the CDS
** Request **
Params
Type
Description
_eventId
uint256
event id
**Response **
Params
Type
Description
turnover
uint256
User turnover amount
readchallengeUser
Read challenger‘s collateral
** Request **
Params
Type
Description
_eventId
uint256
event id
_user
address
user address
** Response **
Params
Type
Description
amount
uint256
user's collateral
Challenge
Liquidity providers or buyers of cds challenge the result (credit margin is required)
Params
Type
Description
_eventId
uint256
cds event id
_isBuyer
boolean
is buyer user
Confirm
DAO administrators confirm results
Params
Type
Description
_eventId
uint256
cds event id
_occur
boolean
cds event occur or not?
Last updated