💛
BETFIN DOCS
ABOUT BETFIN
ABOUT BETFIN
  • ⭐INTRO
  • 🎯TERMS & CONDITIONS OVERVIEW
  • 📗FAQ OVERVIEW
  • TOKENOMY
    • 🪙BET Token
      • 💛Buy BET token
    • 📊BET initial distribution
      • 📊Team Pool
      • 📊Partners Pool
      • 📊Airdrop Pool
      • 📊Affiliate Pool
      • 📊Bonus Pool
    • 💹Vesting & Unlock plan
    • 🔏Liquidity and lockups
      • Community lockup
      • Team.finance lockups
    • 📗Tokenomy FAQ
  • BETFIN GOVERNANCE
    • 📄Betfin Contract Addresses
      • 👀Verify contracts
    • 🏩Betfin governance
      • ⚙️Timelock Principle
      • ⚙️Multisignature (multisig) Principle
    • 👁️‍🗨️Internal Wallets & External Contracts
    • 📗General FAQ
  • SMARTCONTRACTS DESCRIPTION
    • 🌍Contracts Overview
    • 🤖Core
      • 🤖Partner
      • 🤖Tariff
    • 🤖Conservative Staking
      • 🤖Conservative Staking Pool
    • 🤖Dynamic Staking
      • 🤖Dynamic Staking Pool
    • 🤖Pass Contract
      • 🤖Affiliate Member
    • 🤖Affiliate Contract
      • 🤖Affiliate Fund
    • 🖥️Game Interface
    • 🖥️Bet Interface
    • 📟Predict Contract
      • 📟Predict Game
    • 📟Roulette
      • 📟Roulette Bet
    • 🐞Error Codes
  • AUDITS & BUG BOUNTY
    • ☢️Betfin security audits
    • 🔰Bug Bounty
    • 👷Report an Issue
  • For Developers
    • 💻Web Template
    • 📑Smart Contract Template
Powered by GitBook
On this page
  • Overview
  • Contract Structure
  • Dependencies
  1. SMARTCONTRACTS DESCRIPTION
  2. Core

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.

PreviousCoreNextTariff

Last updated 6 months ago

🤖
🤖