P2PCustomBetProvider

Verified contract

Active on Base with 1,608 txns
Deployed by via 0x6dfe5359 at 20666138
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 4 additional slots
-
variable spans 2 additional slots
-
variable spans 2 additional slots
-
variable spans 2 additional slots
-
variable spans 3 additional slots
-
variable spans 2 additional slots
2 additional variables
ERC-20
Value $111.57
ERC-20
--
0x8a61fd804415039e9272758ca9331a6e7d8f4e2927abc7643b675ae64e5ab1bb
0xd3dd9aee191841fc6c465b521141c0491e00fb611e82c2fc2a24b6364dbde558
0x8cfdb02183f36cf73b83e03d16aaa738a4233bfb2543dd6cf30de49d91b70f2d
0xd61a82f559a6afd73f7d29247b1d06612c919def57f930212c286e503b142a0b
0xfba35eadf33f2590fc94d130081d2e3929f0bc54ef6d30fe043babea41e824f8
0xdfd376741c9af6ba737d774fc84925f7fd9e380de9d34b5ad0e2e147f4901f99
0x1866ad997b40c76bcdbef325815fbe910177c3c7673621df0250e8df4b042d85
0x9e0bfda81e0b18c1c3c300b648c6dc2c97094fdf6e272ab91c92271a985d6db5
0x2001dec961324261a065d77568db5802bd3148a740395f05822e862d6cdd563f
0x2e1e13b0924d89b1d030c39e6fa5a5b9ed4e838343514f7a17979d1a17b05cfc

Functions
Getter at block 22900964
addOwnerVoting(view returns (address newOwneruint256 createdDateuint256 votingCode)
(newOwner=0x0000000000000000000000000000000000000000, createdDate=0, votingCode=0)
changeAlterToken(view returns (address newAlterTokenuint256 createdDateuint256 votingCode)
(newAlterToken=0x0000000000000000000000000000000000000000, createdDate=0, votingCode=0)
company(view returns (address)
0x9f22eeb8a977dc0efcd12fab1eb0dc0f2bf7af86
customBetIdCounter(view returns (uint256)
867
getAlternativeFee(view returns (uint256)
0
getAlternativeIERC20Token(view returns (address)
0x0000000000000000000000000000000000000000
getCompanyFee(view returns (uint256)
80000
getMainIERC20Token(view returns (address)
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
getTimestampExpirationDelay(view returns (uint256)
7200
isAlternativeTokenEnabled(view returns (bool)
false
removeOwnerVoting(view returns (address ownerToRemoveuint256 createdDateuint256 votingCode)
(ownerToRemove=0x0000000000000000000000000000000000000000, createdDate=0, votingCode=0)
swapRouter(view returns (address)
0x0000000000000000000000000000000000000000
takeFeeVoting(view returns (uint256 amountaddress targetAddressbool isAlternativeuint256 createdDateuint256 votingCode)
(amount=54980785, targetAddress=0x27a8fd989b2f1afe992ac1cdcef35dc4fb61691f, isAlternative=false, createdDate=1729369967, votingCode=2)
totalOwners(view returns (uint256)
4
transferCompanyVoting(view returns (address newCompanyAddressuint256 createdDateuint256 votingCode)
(newCompanyAddress=0x9f22eeb8a977dc0efcd12fab1eb0dc0f2bf7af86, createdDate=1728121997, votingCode=1)
votingActive(view returns (bool)
false
votingInfo(view returns (address initiatoruint256 currentNumberOfVotesPositiveuint256 currentNumberOfVotesNegativeuint256 startedDatestring votingCode)
(initiator=0xbeb22f7842cdb5161740d9a12875104bc284c36a, currentNumberOfVotesPositive=4, currentNumberOfVotesNegative=0, startedDate=1729369967, votingCode=TAKE_FEE)
Read-only
clientBetsLength(addressview returns (uint256)
getClientBets(address clientuint256 offsetuint256 sizeview returns (uint256[])
getCompanyFeeBalance(address tokenview returns (uint256)
getCustomBet(uint256 betIdview returns (struct CustomDTOsCustomBetuint256uint256uint256uint256)
getCustomClientJoins(address clientuint256 betIdview returns (struct CustomDTOsJoinCustomBetClient[])
getCustomWonAmount(uint256 betIdaddress clientview returns (uint256)
owners(addressview returns (bool)
voted(uint256addressview returns (bool)
State-modifying
acquireNewAlternativeToken(
acquireNewOwner(
acquireOwnerToRemove(
acquireTakeFee(
acquireTransferCompany(
cancelCustomJoin(uint256 betIduint256 joinIdRef
changeAlternativeTokenStart(address alternativeToken
close(
closeCustomBet(uint256 betIdstring finalValuebool targetSideWon
createCustomBet(struct CustomDTOsCreateCustomRequest createRequeststruct CustomDTOsJoinCustomRequest joinRequestreturns (uint256)
enableAlternativeToken(bool enable
joinCustomBet(uint256 betIdstruct CustomDTOsJoinCustomRequest joinRequest
ownerAddStart(address newOwner
ownerToRemoveStart(address ownerToRemove
refundCustomBet(uint256 betIdaddress client
setAlternativeFeeFee(uint256 alternativeFee
setCompanyFee(uint256 companyFee
setRouter(address router
setTimestampExpirationDelay(uint256 timestampExpirationDelay
takeCustomPrize(uint256 betIdaddress clientbool useAlterFee
takeFeeStart(uint256 amountaddress targetAddressbool isAlternative
transferCompanyStart(address newCompany
voteNegative(
votePositive(
Events
AddOwner(address indexed newOwner
ChangeAlterToken(address indexed newAlterToken
ChangeTimestampDelay(uint256 timestampExpirationDelay
CompanyAlterFeeChanged(uint256 previousAlternativeFeeuint256 newAlternativeFee
CompanyFeeChanged(uint256 previousCompanyFeeuint256 newCompanyFee
CompanyTransferred(address indexed previousCompanyaddress indexed newCompany
CustomBetCancelled(uint256 betIdaddress indexed clientuint256 joinIdRefuint256 mainTokenRefunded
CustomBetClosed(uint256 betIdstring finalValuebool targetSideWon
CustomBetCreated(uint256 idstring eventIdbool hiddenuint256 lockTimeuint256 expirationTimestring targetValuebool targetSideuint256 coefficientaddress indexed creator
CustomBetJoined(bool sideuint256 mainAmountaddress indexed clientuint256 betIduint256 joinIduint256 joinIdRef
CustomBetRefunded(uint256 betIdaddress indexed clientuint256 mainTokenRefunded
CustomPrizeTaken(uint256 betIdaddress indexed clientuint256 amountbool useAlterFee
FeeTaken(uint256 amountaddress indexed targetAddressbool isAlternative
RemoveOwner(address indexed ownerToRemove
SetRouter(address indexed newSwapRouter
VotingResult(string codeuint256 votingNumberbool passed
VotingStarted(string codeuint256 votingNumberaddress indexed initiator
Constructor
constructor(address mainTokenaddress[] owners
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.