📌Play To Earn Contract

Overview

The P2EGame (Play-to-Earn Game) contract is designed for managing a gaming ecosystem where players can stake ERC20 tokens in a gaming escrow.

The contract handles the staking of tokens, tracks game states, and manages token payouts based on game outcomes.

Methods

gameState

Retrieves the current state of game funds in escrow.

Parameters

Returns

createGame

Parameters

Returns

playerWon

Parameters

Returns

playerLost

Parameters

Returns

Withdraw

Parameters

Returns

Last updated