P2PSports

Verified contract

Active on Ethereum with 384 txns
Deployed by via 0x98f55405 at 20764687
Slot
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
Native
Value $1,759.01
ERC-20
Value $133.44
ERC-20
Value $79.51
0xe441b19464fa72e5560d2063eed27b3029d4e999f0d0a261152ad733d142cd28
0x7618639848c80f89cfae6fd78a0413f6d0e4d67fd185fc7fc62af2178ced3a1e
0x599f3fdaa8ea87153eed60da2c46196d84ed8871022217ba7e6a547273f461da
0xc60d44f12fdf79a52ef41c780a878b184ef3d0fff64ac16bb73be454a08fe03b
0x91309d951454eb5afe5640b5b1c7b37f25611eae3ba781b31d93a3c81e35175a
0xdfab9b7adb74bc8ecd594239b8b42c8f665ba75efca15921b16706b80377d04c
0xd4badb740a11680bb8e0300bd1a6dab0ae01e1c123a74566c9ddeba09e1678ed
0xc706d189fad74fe8c2a8496a4ce281a671257f5e206d25f1152985df870ee35f
0xd98e4cba660a98529552592ca326a876ce167cab4c50806260fc30738be9a0ed
0x59a4365d533d251c1cf3b794b0631db20047987ed4306dcfaaa6c67095ba18c6

Functions
Getter at block 21247944
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
 
renounceOwnership(view 
Read-only
challengeExists(uint256 challengeIdview returns (bool)
getAdminShareRules(address tokenview returns (uint256[] thresholdsuint256[] sharesInUSDbool isSTMX)
getChallengeDetails(uint256 challengeIdview returns (struct IP2PSportsChallenge challengeDetails)
getUserBet(uint256 challengeIdaddress userview returns (struct IP2PSportsUserBet)
getUserWithdrawables(address userview returns (address[] tokensuint256[] amounts)
State-modifying
acceptOwnership(
allowBetting(bool value_
allowTokens(address[] tokensaddress[] priceFeedsuint256[] minBetAmounts
cancelChallenge(uint256 challengeIduint8 cancelType
cancelParticipation(address useruint256 challengeIduint8 cancelType
changeBackend(address backend_
changeMinUSDBettingAmount(uint256 value_
createChallenge(address tokenuint256 amountFromWalletuint256 amountFromWithdrawablesuint8 decisionuint8 challengeTypeuint256 startTimeuint256 endTimeuint8 membershipLeveluint256 feePercentageaddress referreruint256 referralCommisionbytes32[] proofpayable 
debitInSC(uint256 _amountaddress _tokenpayable 
increaseBetAmount(uint256 challengeIduint256 amountFromWalletuint256 amountFromWithdrawablesuint8 membershipLeveluint256 feePercentageaddress referreruint256 referralCommisionbytes32[] proofpayable 
joinChallenge(uint256 challengeIduint256 amountFromWalletuint256 amountFromWithdrawablesuint8 decisionuint8 membershipLeveluint256 feePercentageaddress referreruint256 referralCommisionbytes32[] proofpayable 
resolveChallenge(uint256[] challengeIdsuint8[] finalOutcomes
resolveGroupChallenge(uint256 challengeIdaddress[] winnersuint256[] profits
restrictTokens(address[] tokens
setAdminShareRules(uint256[] thresholdsuint256[] sharesInUSDaddress tokenbool isSTMX
transferOwnership(address newOwner
updateApplyMembershipValues(bool value_
updateMaxChallengers(uint256 _maxChallengersEachSideuint256 _maxChallengersForPickem
updateRoot(bytes32 _root
withdraw(address token
Events
AdminReceived(uint256 challengeIdaddress tokenuint256 amount
AdminShareCalculated(uint256 challengeIdaddress tokenuint256 amount
AdminShareRulesUpdated(struct IP2PSportsAdminShareRule adminShareRulesaddress by
AdminWithdrawn(address tokenuint256 amount
BackendChanged(address backendaddress by
BetAmountIncreased(uint256 challengeIduint256 increasedAmountuint256 newTotalAmountaddress byaddress token
BettingAllowed(bool valueaddress by
CancelParticipation(address useruint256 challengeId
ChallengeCanceled(uint256 challengeId
ChallengeCreated(uint256 challengeIdaddress tokenaddress byuint256 inputStakedQty
ChallengeFundsMoved(uint256 challengeIdaddress[] winnersuint256[] winnersProfitaddress[] losersuint256[] losersLossuint8 mothodTypeaddress token
ChallengeJoined(uint256 challengeIduint256 amountaddress byaddress tokenuint256 inputStakedQty
ChallengeResolved(uint256 challengeIduint8 finalOutcome
DebitedInSC(uint256 amountaddress by
MaxChallengersUpdated(uint256 maxChallengersEachSideuint256 maxChallengersForPickemaddress by
MembershipApplied(bool valueaddress by
MerkleRootUpdated(bytes32 rootaddress by
MinUSDBettingAmountUpdated(uint256 amountaddress by
OwnershipTransferStarted(address indexed previousOwneraddress indexed newOwner
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
ReferralsEarned(uint256 challengeIdaddress tokenaddress[] referrersuint256[] referrelCommissions
TokenAllowed(address[] tokensaddress[] priceFeedsuint256[] minBetAmountsaddress by
TokenRestricted(address[] tokensaddress by
UserWithdrawn(address tokenuint256 amountaddress by
Constructor
constructor(address backend_
Fallback and receive
receive(
Errors

This contract contains no error objects.