Enums and Structs
enum AuditStatus
Enum | Description |
---|---|
Pending | The bid is currently being curated. |
|
|
Pass | The bid has concluded curation, and the curator with the best curation effect has already claimed the reward. |
Cancel | The curate time for the bid has passed. And there are no curators curating for the bid |
struct BidData
Parameter | Type | Description |
---|---|---|
contentId | string | The id of original content |
bidToken | address | The address of token. Default to 0x0000000000000000000000000000000000000000 , namely Matic |
bidAmount | uint256 | The amount of bidToken |
struct Content
Parameter | Type | Description |
---|---|---|
contentId | string | The id of original content |
bidToken | address | Token address. Default to 0x0000000000000000000000000000000000000000 , namely Matic |
bidAddress | address | The bid creator’s EVM-compatible address |
bidAmount | uint256 | The amount of bidToken |
bidTime | uint256 | The bid posted time |
curatorId | uint256 | The bid accepter(curator)’s Lens profile id |
curatorContentId | uint256 | The id of curated publication. |
status | AuditState | The state of the bid. “Pending”, “Refuse”, “Pass”, “Cancel” |
Last updated