Curate Functions
settings
Read the table below for more detail.
function settings(address token, uint256 min, bool[] calldata disableAuditTypes) external
Name | Type | Description |
---|---|---|
token | address | The accepted token address |
min | uint256 | The minimum accepted token amount |
disableAuditTypes | bool[] | For the accepted BidType (including Casts, Reply, Recasts), please fill in True or False in the order of Casts, Reply, Recasts. For example, if Curator only accepts the Reply type of Bid, fill in [false, true, false] |
setMinBid
Read the table below for more detail.
function setMinBid(address token, uint256 min) external
Name | Type | Description |
---|---|---|
token | address | The accepted token address |
min | uint256 | The minimum accepted token amount |
setDisableAuditTypes
Read the table below for more detail.
function setDisableAuditTypes(bool[] calldata disableAuditTypes) external
Name | Type | Description |
---|---|---|
disableAuditTypes | bool[] | For the accepted BidType (including Casts, Reply, Recasts), please fill in True or False in the order of Cast, Reply, Recast. For example, if Curator only accepts the Reply type of Bid, fill in [false, true, false] |
loanWithSig
It would be best to do extra work to verify whether the curate works are done. Go to the API doc VerifyBid for more details
The curator can claim his reward from the booster bid after verification
This function is used to claim the reward
Please use the API verifyOpenCurationBid
to obtain the sig
and relayer
information.
function loanWithSig(uint256 index, uint256 curatorId, address relayer, string calldata contentId, DataTypes.EIP712Signature calldata sig) external
Name | Type | Description |
---|---|---|
index | uint256 | The index of bid |
curatorId | uint256 | The curator’s FID |
relayer | address | An EVM-comptiable externally owned account, for signless feature |
contentId | string | Tako will auto-submit a publication to Farcaster in cast, reply, and recast bids while the curator accepts the bid. The contentId is the publication Id on Farcaster |
sig | EIP712Signature |
Last updated