Enums and Structs
Last updated
Last updated
Please read https://eips.ethereum.org/EIPS/eip-712
Enum | Description |
---|---|
Enum | Description |
---|---|
Enum | Description |
---|---|
Enum | 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.
index
The index of data
merkleProof
The merkle proof
Casts
After accepting the bid, the curator should post a new publication on Farcaster.
Reply
After accepting the bid, the curator should reply to the creator's publication on Farcaster.
Recasts
After accepting the bid, the curator should recast the creator's publication on Farcaster.
contentURI
string
The URI for the publication used for bidding
parentHash
uint256
Only for reply and recasts bid. The hash to point the reply/recast to
bidToken
address
The address of token. Default to 0x0000000000000000000000000000000000000000 , namely ETH
bidAmount
uint256
The amount of bidToken
duration
uint256
The valid duration of the bid, a UNIX timestamp
toCurators
uint256[]
The target curator's FID
toCuratorAddresses
uint256[]
The target curator's wallet address
contentURI
string
The URI for the publication used for bidding
parentHash
uint256
Only for reply and recasts bid. The hash to point the reply/recast to
bidToken
address
The address of the token. Default to 0x0000000000000000000000000000000000000000 , namely ETH
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 profile ids
curatorId
uint256
The bid accepter(curator)’s FID
curatorContentId
uint256
The id of curated publication.
status
AuditStatus
The state of the bid. “Pending”, “Refuse”, “Pass”, “Cancel”
bidType
BidType
The type of bid. “Casts”, “Reply”, “Recasts”