> For the complete documentation index, see [llms.txt](https://betfin.gitbook.io/betfin-public/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://betfin.gitbook.io/betfin-public/smartcontracts-description/core/partner.md).

# 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 and Tariff contracts for accessing core functionalities and tariff information within the ecosystem.
