🤖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 Partner contract.

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.

Last updated