ERC1967Proxy
Verified contract
Proxy
Active on
Ethereum with 324 txns
Unified storage
Map
Table
Raw
Constants and immutables
4
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
0xbab1…b8bf
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
ROOT | ERC-20 | 53.634571 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 16226891 | 2 years ago | | | 0 | 0.0057275569 | |
| 16222681 | 2 years ago | | | 0 | 0.0023898442 | |
| 16220866 | 2 years ago | | | 0 | 0.0029953439 | |
| 16215837 | 2 years ago | | | 0 | 0.0019219931 | |
| 16215223 | 2 years ago | | | 0 | 0.0025375986 | |
| 16215075 | 2 years ago | | | 0 | 0.0023057882 | |
| 16214919 | 2 years ago | | | 0 | 0.0028324730 | |
| 16163110 | 2 years ago | | | 0 | 0.0024589238 | |
| 16163107 | 2 years ago | | | 0 | 0.0013334851 | |
| 16163107 | 2 years ago | | | 0 | 0.0025649264 |
ABI
ABI objects
Getter at block 21300343 proxiableUUID() view returns (bytes32)
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)
0xbab1c9bf99e1aebb809fa19d5a20b8e13f9fb8bf
erc20Contract() view returns (address)
0x77700005bea4de0a78b956517f099260c2ca9a26
getTotalPools() view returns (uint256)
30
signer() view returns (address)
0x682d4c86fb5c10f4fb836a5c8d3e121ca7b98bdf
vault() view returns (address)
0x22e4d4ad8ee302fb9181380be96ee838489b8f48
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)
Upgraded(address indexed implementation)
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)
constructor(address _logic, bytes _data)
fallback()
receive()
This contract contains no error objects.