BettingV2

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x0c897bf6 at 15985353
Slot
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

No balances found for "BettingV2"

No transactions found for "BettingV2"


Functions
Getter at block 21300343
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
 
erc20Contract(view returns (address)
 
getTotalPools(view returns (uint256)
proxiableUUID(view returns (bytes32)
0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc
 
signer(view returns (address)
 
vault(view returns (address)
Read-only
_splitSignature(bytes sigpure returns (bytes32 rbytes32 suint8 v)
allPayouts(address who_uint256 poolId_view returns (uint256uint256uint256)
bets(uint256view returns (uint256 iduint256 poolIduint256 teamIduint256 amountaddress playeruint256 createdAt)
calculateOdds(uint256 poolId_uint256 teamId_view returns (uint256)
claimedCommissions(addressuint256view returns (uint256)
claimedPayouts(addressuint256view returns (uint256)
claimedRefunds(addressuint256view 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 roleview returns (bytes32)
getUserBets(address userAddress_uint256 poolId_view returns (uint256[])
hasRole(bytes32 roleaddress accountview returns (bool)
poolBets(uint256uint256view returns (uint256)
poolCommission(uint256uint256view returns (uint256 amountuint256 totalAmountaddress player)
recoverSigner(bytes32 _ethSignedMessageHashbytes _signaturepure returns (address)
supportsInterface(bytes4 interfaceIdview 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(uint256addressuint256view 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
claimCommission(uint256 poolId_
claimCommissionWithSignature(uint256 poolId_uint256 amount_uint256 signedBlockNum_bytes signature_
claimPayment(address player_uint256 poolId_
claimRefund(uint256 poolId_
grantRole(bytes32 roleaddress account
initialize(address bettingAdmin_
placeBet(address player_uint256 poolId_uint256 teamId_uint256 amount_
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
transferCommissionToVault(uint256 poolId_uint256 amount_
transferPayoutToVault(uint256 poolId_uint256 amount_
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
Events
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
BetPlaced(uint256 indexed poolIdaddress indexed playeruint256 indexed teamIduint256 amount
CommissionClaimed(uint256 indexed poolIdaddress indexed playeruint256 amount
Initialized(uint8 version
RefundClaimed(uint256 indexed poolIdaddress indexed playeruint256 amount
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
TeamRefundClaimed(uint256 indexed poolIdaddress indexed playeruint256 amount
Upgraded(address indexed implementation
WinningsClaimed(uint256 indexed poolIdaddress indexed playeruint256 amount
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.