RoachRally

Verified contract

Active on Base with 83 txns
Deployed by via 0x31647295 at 12227984
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $0
0xb77261d05b842d00b48bd365c233342a71e8959ffb9ff08b4047a47e39708213
0x14ef99a6b698a555e9bf461cfd25f4c5dd94d7a7a7cfcea801d04fc7fde3b2d4
0x06150ca36ae0b710f14dad2b0eadffa5db849883882e78ff962169a5bc2ed732
0x517fc7c07223ff94e4bbc848155435c891c5ec72d21fcb2f89017ed5ce3bd0a4
0x2e75190181fafaa758615ea4a76488c9eba0abdf0d7cfc82fecfde549f80526e
0xf446bfa6bb5539d5914ea645cc196b924792741bbfc94eec3f50dc2e3f21f8e3
0x06d42b434e26c0e4efab1d9a39648f90325c38c1c5d4550af1663aac90a78020
0x5918a826660b4ecda8ace82c73becd561996dd733d35c99a5df1d3647e861492
0x2799d9b6c6aad42bd4dcebb82b134152dbaa3f88f2785848e9a0f7bb4f019e8e
0xff21f5bbfab6467aac30d607147770d271937361563848c6433635d62688c713

Functions
Getter at block 23603763
getCurrentRoundNumber(view returns (uint32 roundNumber)
9
getCurrentsponsorFee(view returns (uint32 sponsorFee)
50
getMyCurrentSponsor(view returns (struct RoachRallySponsor currentSponsorData)
(0x0000000000000000000000000000000000000000, 0, 0, 0)
Read-only
getRoundData(uint32 roundNumberview returns (struct RoachRallyRound dataForRound)
getRoundEndData(uint256 _winnerRoachuint32 roundNumberview returns (uint256 totalSponsorsOnWinnerRoachuint256 totalSponsorsOnLoserRoachesuint256 sponsorFeeuint256 randomWinnerFeeuint256 numberOfWinnersuint256 numberOfLosers)
getSponsorsPerRoachForRound(uint32 roundNumberuint32 roachIdview returns (struct RoachRallySponsor[] allSponsorsForRound)
getTotalSponsoredForRound(uint32 roundNumberview returns (uint256 totalSponsoreduint256 numberOfTotalSponsors)
getsponsorForAddress(address makerview returns (struct RoachRallySponsor SponsorData)
simulateRewards(uint32 _winnerRoachaddress _sponsorview returns (uint256 amountSponsoreduint256 reward)
simulateRewardsBeforeSponsor(uint32 _winnerRoachuint256 sponsorAmountview returns (uint256 amountSponsoreduint256 reward)
State-modifying
allowSponsoring(
changesponsorFee(uint32 _newSponsorFeePercent
distributeRewards(uint32 _winnerRoach
rewardRandomParticipant(uint256 tokenAmount
sponsorRoach(uint128 _roachuint128 _amount
swapAndLiquify(uint256 amount
swapTokensForEth(uint256 tokenAmountaddress to
Events
IncreaseLiquidity(uint256 tokensuint256 weth
NewSponsor(address indexed Sponsortoruint128 indexed SponsorRoachuint32 roundNumberuint128 amount
RandomWinner(address whouint256 amountTokens
RoundEnd(uint32 indexed roundNumberuint128 indexed winnerRoachuint256 totalWinnerSponsorsuint256 totalLoserSponsorsuint256 numberOfWinnersuint256 numberOfLosers
SponsoringFeeChanged(uint32 oldFeeuint32 newFee
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.