BettingV2
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
11
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
Balances ($0.00)
No balances found for "BettingV2"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "BettingV2"
ABI
ABI objects
Getter at block 21227706 erc20Contract() view returns (address) getTotalPools() view returns (uint256) signer() view returns (address) vault() view returns (address)
ADMIN_ROLE() view returns (bytes32)
0xa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775
BPS_UNIT() view returns (uint256)
10000
COMMISION() view returns (uint8)
100
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MIN_BET() view returns (uint256)
10000
SCALING_FACTOR() view returns (uint256)
100
bettingAdmin() view returns (address)
0x0000000000000000000000000000000000000000
proxiableUUID() view returns (bytes32)
0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc
Read-only
_splitSignature(bytes sig) pure returns (bytes32 r, bytes32 s, uint8 v)
allPayouts(address who_, uint256 poolId_) view returns (uint256, uint256, uint256)
bets(uint256) view returns (uint256 id, uint256 poolId, uint256 teamId, uint256 amount, address player, uint256 createdAt)
calculateOdds(uint256 poolId_, uint256 teamId_) view returns (uint256)
claimedCommissions(address, uint256) view returns (uint256)
claimedPayouts(address, uint256) view returns (uint256)
claimedRefunds(address, uint256) view returns (uint256)
estimateCommision(uint256 amount_) pure returns (uint256)
getMessageHash(address player_, uint256 poolId_, uint256 amount_, uint256 signedBlockNum_) pure returns (bytes32)
getPool(uint256 poolId_) view returns (struct StoragePool)
getPoolTeam(uint256 poolId_, uint256 teamId_) view returns (struct StorageTeam)
getPoolTeams(uint256 poolId_) view returns (struct StorageTeam[])
getRoleAdmin(bytes32 role) view returns (bytes32)
getUserBets(address userAddress_, uint256 poolId_) view returns (uint256[])
hasRole(bytes32 role, address account) view returns (bool)
poolBets(uint256, uint256) view returns (uint256)
poolCommission(uint256, uint256) view returns (uint256 amount, uint256 totalAmount, address player)
recoverSigner(bytes32 _ethSignedMessageHash, bytes _signature) pure returns (address)
supportsInterface(bytes4 interfaceId) view returns (bool)
totalCommissions(address who_, uint256 poolId_) view returns (uint256)
totalPayouts(address who_, uint256 poolId_) view returns (uint256)
totalRefunds(address who_, uint256 poolId_) view returns (uint256)
userBets(uint256, address, uint256) view returns (uint256)
viewCommisionPaid(uint256 amount_) pure returns (uint256)
viewPoolDistribution(uint256 poolId_) view returns (uint256[] _betAmounts)
viewPriceImpact(uint256 poolId_, uint256 teamId_, uint256 amount_) view returns (uint256)
State-modifying
Events claimCommission(uint256 poolId_)
claimCommissionWithSignature(uint256 poolId_, uint256 amount_, uint256 signedBlockNum_, bytes signature_)
claimPayment(address player_, uint256 poolId_)
claimRefund(uint256 poolId_)
grantRole(bytes32 role, address account)
initialize(address bettingAdmin_)
placeBet(address player_, uint256 poolId_, uint256 teamId_, uint256 amount_)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
transferCommissionToVault(uint256 poolId_, uint256 amount_)
transferPayoutToVault(uint256 poolId_, uint256 amount_)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
BetPlaced(uint256 indexed poolId, address indexed player, uint256 indexed teamId, uint256 amount)
CommissionClaimed(uint256 indexed poolId, address indexed player, uint256 amount)
Initialized(uint8 version)
RefundClaimed(uint256 indexed poolId, address indexed player, uint256 amount)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
TeamRefundClaimed(uint256 indexed poolId, address indexed player, uint256 amount)
Upgraded(address indexed implementation)
WinningsClaimed(uint256 indexed poolId, address indexed player, uint256 amount)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.