Tako Protocol
  • What is Tako?
  • Social Abstract Account
  • Social Legos
    • On-Chain Reputation
    • Farcaster
  • Monetization
    • Profile as an asset
      • Introduction
      • API Overview
      • For Farcaster dApp
        • Deployed Contract Address
        • Contract Specification
          • ProfileMarketV1
          • FarcasterKey
        • APIs
          • GetBuyPrice
          • GetBuyPriceAfterFee
          • GetSellPrice
          • GetSellPriceAfterFee
          • Discover
          • Explore
          • GetCommentsOnFarcaster
          • GetCommentsOnLens
          • GetHolders
          • GetAssets
          • GetProfileAndKey
          • GetActivated
          • GetHoldersByAddress
          • GetHoldingByAddress
          • GetKeyInfo
          • GetTrending
          • GetTrendingVolume
          • GetTradesLatest
          • GetTradesList
          • GetClaimable
    • Open Curation
      • Introduction
      • API Overview
      • For Lens dApp
        • Deployed Contract Address
        • Contract Specification
          • Enums and Structs
          • Owner Functions
          • Governance Functions
          • Bid Functions
          • Curate Functions
          • View Functions
        • APIs
          • GetWhitelistInfo
          • CheckOnchainTX
          • getOpenCurationCuratorAccepted
          • getOpenCurationBidsCreated
          • getOpenCurationBidsConfirmingCreated
          • getOpenCurationBidsPassed
          • getOpenCurationRecentActiveCurators
          • GetBidsFeed
          • verifyOpenCurationBid
          • getOpenCurationBidsCreatedStats
          • getOpenCurationCuratorLastBidPrice
          • registerOpenCuration
          • getOpenCurationIdIndexPairs
        • SDK
          • Installing the SDK
          • allBids
          • takoHubInfo()
          • generateBidAbiData()
          • generateBidBatchAbiData()
          • estimateGas()
          • generateTransaction()
          • register()
          • verifyBid()
          • generateClaimRewardAbiData()
          • curatorStatus()
    • Peer-to-Peer Curation
      • Introduction
      • API Overview
      • For Lens dApp
        • Deployed Contract Address
        • Contract Specification
          • Enums and Structs
          • Owner Functions
          • Governance Functions
          • Bid Functions
          • Curate Functions
          • View Functions
        • APIs
          • GetToken
          • RefreshToken
          • GetWhitelistInfo
          • SearchProfile
          • CheckOnchainTX
          • GetRecentActiveCurators
          • ActiveStatistics
          • GetLensCuratorAccepted
          • GetLensBidsCreated
          • GetLensBidsReceived
          • GetLensBidsConfirmingCreated
          • GetLensBidsConfirmingReceived
          • VerifyLensBid
          • IgnoreLensBid
          • GetLensBidsIgnored
          • GetLensBidsCreatedStats
          • GetLensBidsReceivedStats
          • GetLensCuratorLastBidPrice
          • GetLensPubIndexPairs
          • GetLensPubIds
      • For Farcaster dApp
        • Deployed Contract Address
        • Contract Specification
          • Enums and Structs
          • Owner Functions
          • Governance Functions
          • Bid Functions
          • Curate Functions
          • View Functions
        • APIs
          • GetToken
          • RefreshToken
          • GetWhitelistInfo
          • SearchProfile
          • CheckOnchainTX
          • GetRecentActiveCurators
          • ActiveStatistics
          • GetFarcasterCuratorAccepted
          • GetFarcasterBidsCreated
          • GetFarcasterBidsReceived
          • GetFarcasterBidsConfirmingReceived
          • VerifyFarcasterBid
          • IgnoreFarcasterBid
          • GetFarcasterBidsIgnored
          • GetFarcasterBidsCreatedStats
          • GetFarcasterBidsReceivedStats
          • GetFarcasterCuratorLastBidPrice
          • GetFarcasterEngagement
          • GetFarcasterPubIndexPairs
  • Links
    • Github
    • Twitter
    • Brand kit
Powered by GitBook
On this page
  • getMinBidAmount
  • getDisableAcceptType
  • isBidTokenWhitelisted
  • isRelayerWhitelisted
  • isGovernance
  • getContentByIndex
  • getMomokaContentByIndex
  • getBidCounter
  • getMomokaBidCunter
  1. Monetization
  2. Peer-to-Peer Curation
  3. For Lens dApp
  4. Contract Specification

View Functions

getMinBidAmount

Retrieve the minimum bid token amount accepted by the curator.

function getMinBidAmount(address wallet, address token) external view returns (uint256)

Parameterss
Type
Description

wallet

address

An EVM-compatible address, namely Tako account

token

address

The accepted token address

getDisableAcceptType

Retrieve whether the curator accepts a certain bidType.

function getDisableAcceptType(address wallet, BidType bidType) external view returns (bool)

Parameters
Type
Description

wallet

address

An EVM-compatible address, namely Tako account

bidType

BidType

Go to the page “Enums and Functions” for more details

isBidTokenWhitelisted

Retrieve whether the token accepts a certain bidType.

function isBidTokenWhitelisted(address token) external view returns (bool)

Parameters
Type
Description

token

address

The contract address of the token

isRelayerWhitelisted

function isRelayerWhitelisted(address wallet) external view returns (bool)

Parameters
Type
Description

wallet

address

The address of relayer

isGovernance

Verify if the address has governance privileges

function isGovernance(address wallet) external view returns (bool)

Parameters
Type
Description

wallet

address

The address of governance

getContentByIndex

Get bid content by bid index.

function getContentByIndex(uint256 index) external view returns (Content memory)

Parameters
Type
Description

index

uint256

The index of content (not Momoka)

getMomokaContentByIndex

Get bid content by bid index.

function getMomokaContentByIndex(uint256 index) external view returns (MomokaContent memory)

Parameters
Type
Description

index

uint256

The index of content

getBidCounter

Get the quantity of the bid (not Momoka).

function getBidCounter() external view returns (uint256)

getMomokaBidCunter

Get the quantity of the Momoka bid.

function getMomokaBidCunter() external view returns (uint256)

PreviousCurate FunctionsNextAPIs

Last updated 1 year ago