# Contract Specification

## Contract File

TakoFarcasterHub.sol

## Overview

Create and receive bids using publications submitted on Farcaster.

If you deployed the contract independently, you can use the Admin Functions to initialize the properties for bid.

Create Bid Steps (use Bid Functions):

1. Choose the publication that you want it to be curated.
2. Compose bid data that match the contract's specifications, such as the target publication, curator's profile ID, bid price, etc.
3. Send your bid transaction.

Use the Curate Functions to claim the reward for curators.

Use the View Functions to view the data for bid.

Github: <https://github.com/takoprotocol/contracts>

## Specification

{% content-ref url="/pages/nxxmXq75H5Q9lDJ8UnVq" %}
[Enums and Structs](/monetization/peer-to-peer-curation/for-farcaster-dapp/contract-specification/enums-and-structs.md)
{% endcontent-ref %}

{% content-ref url="/pages/GnTvktcYJ6hp5KHM0fII" %}
[Owner Functions](/monetization/peer-to-peer-curation/for-farcaster-dapp/contract-specification/owner-functions.md)
{% endcontent-ref %}

{% content-ref url="/pages/QHZiGnluRLMGC6h3wfeJ" %}
[Governance Functions](/monetization/peer-to-peer-curation/for-farcaster-dapp/contract-specification/governance-functions.md)
{% endcontent-ref %}

{% content-ref url="/pages/DuMSrZTSreEYMnf6TUYa" %}
[Bid Functions](/monetization/peer-to-peer-curation/for-farcaster-dapp/contract-specification/bid-functions.md)
{% endcontent-ref %}

{% content-ref url="/pages/t5tTyhlNf2389XOXyqux" %}
[Curate Functions](/monetization/peer-to-peer-curation/for-farcaster-dapp/contract-specification/curate-functions.md)
{% endcontent-ref %}

{% content-ref url="/pages/eE3fQs87gynQsYHqcnzO" %}
[View Functions](/monetization/peer-to-peer-curation/for-farcaster-dapp/contract-specification/view-functions.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tako.so/monetization/peer-to-peer-curation/for-farcaster-dapp/contract-specification.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
