# Partner

## Overview

The Partner contract serves as an interface for partners within the ecosystem to interact with betting and staking functionalities. Players can place bets and stake tokens using any of the Partner contracts.

## Contract Structure

The Partner contract inherits from `Ownable`, allowing for ownership management. It interacts with the Core contract to access betting and staking functionalities.

### Constructor

* **`constructor`**: Initializes the Partner contract with the specified tariff and owner address.

### Betting Operations

* **`placeBet`**: Allows players to place bets.
* **`stake`**: Allows players to stake tokens.

### Withdrawal

* **`withdraw`**: Allows the owner to withdraw remaining tokens from the contract.

## Dependencies

The Partner contract depends on the [Core](/smartcontracts-description/core.md) and [Tariff](/smartcontracts-description/core/tariff.md) contracts for accessing core functionalities and tariff information within the ecosystem.


---

# 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.celestium.digital/smartcontracts-description/core/partner.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.
