CDS Buyer
Buyer
readUserTurnover
Read the turnover that the buyers have done
** Request **
Params
Type
Description
_eventId
uint256
event id
_user
address
user address
**Response **
Params
Type
Description
turnover
uint256
The amount of turnover
readIsBuyer
Read if the user is a buyer
** Request **
Params
Type
Description
_eventId
uint256
event id
** Response **
Params
Type
Description
isBuyer
boolean
is buyer
userBuy
Users buy CDS
Params
Type
Description
_eventId
uint256
cds event id
_amount
uint256
buy amount
buyerSettlement
Users settle CDS
params
type
Description
_eventId
uint256
cds event id
Last updated