Enums and Structs

enum EIP712Signature

Please read https://eips.ethereum.org/EIPS/eip-712

EnumDescription

v

-

r

-

s

-

deadline

-

enum AuditStatus

EnumDescription

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.

struct MerkleVerifyData

EnumDescription

index

The index of data

merkleProof

The merkle proof

enum BidType

EnumDescription

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.

struct BidData

ParameterTypeDescription

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

struct Content

ParameterTypeDescription

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”

Last updated