Enums and Structs
Last updated
Last updated
Please read https://eips.ethereum.org/EIPS/eip-712
Enum | Description |
---|---|
Enum | Description |
---|---|
Enum | Description |
---|---|
Enum | Description |
---|---|
Enum | Description |
---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
v
-
r
-
s
-
deadline
-
Pending
The bid is awaiting curator review
Refuse
The bid has been refused.
Pass
The curator accepted the bid. The transaction is succeed.
Cancel
The bid has been canceled.
Post
After accepting the bid, the curator should post a new publication on Lens.
Comment
After accepting the bid, the curator should comment on the creator's publication on Lens.
Mirror
After accepting the bid, the curator should mirror the creator's publication on Lens.
Polygon
The architecture based on Polygon
Momoka
The architecture based on Momoka
index
The index of data
merkleProof
The merkle proof
contentURI
string
The URI for the publication used for bidding
profileIdPointed
uint256
Only for comment and mirror bid. The profile id to point the comment/mirror to
pubIdPointed
uint256
Only for comment and mirror bid. The publication ID to point the comment/mirror to
bidToken
address
The address of token. Default to 0x0000000000000000000000000000000000000000 , namely Matic
bidAmount
uint256
The amount of bidToken
duration
uint256
The valid duration of the bid, a UNIX timestamp
toCurators
uint256[]
The target curator’s Lens profile ids
contentURI
string
Only for post, comment, and mirror bids. Because these bids will create new publications on Lens, the publications should be sent to storage such as Bundlr. Then you will get the content URI.
profileIdPointed
uint256
Only for comment and mirror bid. The profile id to point the comment/mirror to
pubIdPointed
uint256
Only for comment and mirror bid. The publication ID to point the comment/mirror to
bidToken
address
The address of token. Default to 0x0000000000000000000000000000000000000000 , namely Matic
bidAmount
uint256
The amount of bidToken
bidAddress
address
The bid creator’s EVM-compatible address
bidExpires
uint256
The valid duration of the bid, a UNIX timestamp
toCurators
uint256[]
The target curator’s Lens profile ids
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”
bidType
bidType
The type of bid. “Post”, “Comment”, “Mirror”
contentURI
string
Only for post, comment, and mirror bids. Because these bids will create new publications on Lens, the publications should be sent to storage such as Bundlr. Then you will get the content URI.
mirror
string
The ID of the publication that will be mirrored
commentOn
string
The ID of the publication that will be commented
bidToken
address
The address of token. Default to 0x0000000000000000000000000000000000000000 , namely Matic
bidAmount
uint256
The amount of bidToken
duration
uint256
The valid duration of the bid, a UNIX timestamp
toCurators
uint256[]
The target curator’s Lens profile ids
contentURI
string
Only for post, comment, and mirror bids. Because these bids will create new publications on Lens, the publications should be sent to storage such as Bundlr. Then you will get the content URI.
mirror
string
The ID of the publication that will be mirrored
commentOn
string
The ID of the publication that will be commented
bidToken
address
The address of token. Default to 0x0000000000000000000000000000000000000000 , namely Matic
bidAmount
uint256
The amount of bidToken
bidAddress
address
The bid creator’s EVM-compatible address
bidExpires
uint256
The valid duration of the bid, a UNIX timestamp
toCurators
uint256[]
The target curator’s Lens profile ids
curatorId
uint256
The bid accepter(curator)’s Lens profile id
curatorContentId
string
The id of curated publication.
status
AuditStatus
The state of the bid. “Pending”, “Refuse”, “Pass”, “Cancel”
bidType
BidType
The type of bid. “Post”, “Comment”, “Mirror”