P2PSports
Verified contract
Active on
Ethereum with 384 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
-
variable spans 1 additional slot
-
variable spans 1 additional slot
Balances ($1,971.96)
Native
Value
$1,759.01
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
ETH | Native | 0.526169 | $3,343.05 |
$1,759.01 | |
USDC | ERC-20 | 133.53 | $0.999312 |
$133.44 | |
USDT | ERC-20 | 79.431483 | $1.001 |
$79.51 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21245555 | 8 hours ago | | | 0 | 0.0016641840 | |
| 21244869 | 10 hours ago | | | 0 | 0.00047368964 | |
| 21244867 | 10 hours ago | | | 0 | 0.00074354988 | |
| 21242023 | 20 hours ago | | | 0 | 0.00035972491 | |
| 21238930 | a day ago | | | 0 | 0.00053269209 | |
| 21238924 | a day ago | | | 0 | 0.00086236021 | |
| 21223212 | 3 days ago | | | 0 | 0.00085000290 | |
| 21222636 | 4 days ago | | | 0 | 0.0059895135 | |
| 21220139 | 4 days ago | | | 0 | 0.0012725405 | |
| 21218927 | 4 days ago | | | 0.005 | 0.0029199932 |
ABI
ABI objects
Getter at block 21247944 renounceOwnership() view
applyMembershipValues() view returns (bool)
false
awaitingTimeForPublicCancel() view returns (uint256)
172800
backend() view returns (address)
0xcd854bd769287bee0b9ac77712c32b12b27cb8e4
bettingAllowed() view returns (bool)
true
defaultOracleDecimals() view returns (uint256)
8
getAllowedTokens() view returns (address[])
[0x0000000000000000000000000000000000000000, 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48, 0xdAC17F958D2ee523a2206206994597C13D831ec7, 0xa62cc35625B0C8dc1fAEA39d33625Bb4C15bD71C]
latestChallengeId() view returns (uint256)
93
maxAdminShareInUsd() view returns (uint256)
100000000000
maxAdminShareSTMX() view returns (uint256)
100000000000000000000000
maxAdminShareThresholds() view returns (uint256)
20
maxChallengersEachSide() view returns (uint256)
50
maxChallengersForPickem() view returns (uint256)
50
maxChallengesToResolve() view returns (uint256)
10
maxForMinUSDBetAmount() view returns (uint256)
10000000000
maxWinnersGroupChallenge() view returns (uint256)
10
minUSDBetAmount() view returns (uint256)
1000000000
owner() view returns (address)
0x030132140bf25543569897c677f898074b23cb92
pendingOwner() view returns (address)
0x0000000000000000000000000000000000000000
priceFeedErrorMargin() view returns (uint256)
5
Read-only
challengeExists(uint256 challengeId) view returns (bool)
getAdminShareRules(address token) view returns (uint256[] thresholds, uint256[] sharesInUSD, bool isSTMX)
getChallengeDetails(uint256 challengeId) view returns (struct IP2PSportsChallenge challengeDetails)
getUserBet(uint256 challengeId, address user) view returns (struct IP2PSportsUserBet)
getUserWithdrawables(address user) view returns (address[] tokens, uint256[] amounts)
State-modifying
Events acceptOwnership()
allowBetting(bool value_)
allowTokens(address[] tokens, address[] priceFeeds, uint256[] minBetAmounts)
cancelChallenge(uint256 challengeId, uint8 cancelType)
cancelParticipation(address user, uint256 challengeId, uint8 cancelType)
changeBackend(address backend_)
changeMinUSDBettingAmount(uint256 value_)
createChallenge(address token, uint256 amountFromWallet, uint256 amountFromWithdrawables, uint8 decision, uint8 challengeType, uint256 startTime, uint256 endTime, uint8 membershipLevel, uint256 feePercentage, address referrer, uint256 referralCommision, bytes32[] proof) payable
debitInSC(uint256 _amount, address _token) payable
increaseBetAmount(uint256 challengeId, uint256 amountFromWallet, uint256 amountFromWithdrawables, uint8 membershipLevel, uint256 feePercentage, address referrer, uint256 referralCommision, bytes32[] proof) payable
joinChallenge(uint256 challengeId, uint256 amountFromWallet, uint256 amountFromWithdrawables, uint8 decision, uint8 membershipLevel, uint256 feePercentage, address referrer, uint256 referralCommision, bytes32[] proof) payable
resolveChallenge(uint256[] challengeIds, uint8[] finalOutcomes)
resolveGroupChallenge(uint256 challengeId, address[] winners, uint256[] profits)
restrictTokens(address[] tokens)
setAdminShareRules(uint256[] thresholds, uint256[] sharesInUSD, address token, bool isSTMX)
transferOwnership(address newOwner)
updateApplyMembershipValues(bool value_)
updateMaxChallengers(uint256 _maxChallengersEachSide, uint256 _maxChallengersForPickem)
updateRoot(bytes32 _root)
withdraw(address token)
AdminReceived(uint256 challengeId, address token, uint256 amount)
AdminShareCalculated(uint256 challengeId, address token, uint256 amount)
AdminShareRulesUpdated(struct IP2PSportsAdminShareRule adminShareRules, address by)
AdminWithdrawn(address token, uint256 amount)
BackendChanged(address backend, address by)
BetAmountIncreased(uint256 challengeId, uint256 increasedAmount, uint256 newTotalAmount, address by, address token)
BettingAllowed(bool value, address by)
CancelParticipation(address user, uint256 challengeId)
ChallengeCanceled(uint256 challengeId)
ChallengeCreated(uint256 challengeId, address token, address by, uint256 inputStakedQty)
ChallengeFundsMoved(uint256 challengeId, address[] winners, uint256[] winnersProfit, address[] losers, uint256[] losersLoss, uint8 mothodType, address token)
ChallengeJoined(uint256 challengeId, uint256 amount, address by, address token, uint256 inputStakedQty)
ChallengeResolved(uint256 challengeId, uint8 finalOutcome)
DebitedInSC(uint256 amount, address by)
MaxChallengersUpdated(uint256 maxChallengersEachSide, uint256 maxChallengersForPickem, address by)
MembershipApplied(bool value, address by)
MerkleRootUpdated(bytes32 root, address by)
MinUSDBettingAmountUpdated(uint256 amount, address by)
OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
ReferralsEarned(uint256 challengeId, address token, address[] referrers, uint256[] referrelCommissions)
TokenAllowed(address[] tokens, address[] priceFeeds, uint256[] minBetAmounts, address by)
TokenRestricted(address[] tokens, address by)
UserWithdrawn(address token, uint256 amount, address by)
constructor(address backend_)
receive()
This contract contains no error objects.