SlotContractV2
Verified contract
Active on
Ethereum with 0 txns
The storage layout for this contract could not be retrieved.
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
PVP | ERC-20 | 38.445476K | -- | -- |
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "SlotContractV2"
ABI
ABI objects
Getter at block 21244991
WETH() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
bettingToken() view returns (address)
0x9b44793a0177c84dd01ad81137db696531902871
holderPercentage() view returns (uint256)
30
minimumBet() view returns (uint256)
1
owner() view returns (address)
0xd4bc4e4490c4a42336552db87fcf7b3bc4e06d11
playerPercentage() view returns (uint256)
70
revenueBps() view returns (uint256)
1000
totalPlayerShares() view returns (uint256)
2128829992449999963137604
totalRevenueHolders() view returns (uint256)
12649979999999999858441
totalRevenuePlayers() view returns (uint256)
25795495625582591711408
totalUnclaimedHolderRewards() view returns (uint256)
9512032005900000000000000
Read-only
activeTgGroups(uint256) view returns (int64)
claimedHolderShares(address) view returns (uint256)
claimedPlayerShares(int64, address) view returns (uint256)
games(int64) view returns (uint256 minBet, bool inProgress, uint16 loser)
getPlayerRewards(int64 _tgChatId, address _player) view returns (uint256)
isGameInProgress(int64 _tgChatId) view returns (bool)
unclaimedHolderRewards(address) view returns (uint256)
unclaimedPlayerShares(int64, address) view returns (uint256)
State-modifying
Events abortAllGames(bool usedWETH)
abortGame(int64 _tgChatId, bool usedWETH)
addTokensToRevenueHolders(uint256 amount)
addTokensToRevenuePlayers(uint256 amount)
claimRevenueShare(int64 _tgChatId)
emergencyWithdrawERC20(address tokenAddress, address to)
emergencyWithdrawEther(address to)
endGame(int64 _tgChatId, address _winner, bool usedWETH)
newGame(int64 _tgChatId, uint256 _minBet, address[] _players, uint256[] _bets, bool useWETH) returns (uint256[])
renounceOwnership()
setBettingToken(address _newBettingToken)
setWETH(address _newWETH)
transferOwnership(address newOwner)
updateHolderPercentage(uint256 newPercentage)
updateHolderRewards(address[] holders, uint256[] rewards)
updatePlayerPercentage(uint256 newPercentage)
updateTotalUnclaimedRewards(uint256 newTotal)
Bet(int64 tgChatId, address player, uint256 amount)
Loss(int64 tgChatId, address player, uint256 amount)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Revenue(int64 tgChatId, uint256 amount)
Win(int64 tgChatId, address player, uint256 amount)
constructor(address _bettingToken, address _WETH, uint256 _minimumBet, uint256 _revenueBps, uint256 _playerPercentage, uint256 _holderPercentage)
This contract contains no fallback and receive objects.
This contract contains no error objects.