RugGamev3

Verified contract

Active on Base with 271 txns
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 6 additional slots
Native
Value $55,301.76
0xd54b5dbdbd69621ec3e625045548992f36c233e74f478bb3beff7cab1a9b626d
0xd903f658a62e98461b577620e5a63c105dc13c7b1b4909da1143fa6a27282f4b
0x819a83d2c6d176b409679bc0925ed90473e1ef050caa19039e563f9cc8cc8b55
0xa7c462133d0a56cc6b75e22ce1554e309bfe26b7d58c7fddbcc884696c77a75f
0xcddc188d262254f515679a3b614ae9513f0b74c07db94fbe8db7cff6e2ef79ca
0xb91a6d4facc8e76318598c28275748c29a3380f85ff53618cf01a8f5cd300f40
0xa791d05206b7a9636e502eabb0ed79fe4da77f73a966ff282888eedd7ec4e7f1
0xe651e617f172288494cf1ead58f2127b8bba9e018a541adbc6412efffffc0979
0x76d438afc88a63de26958a9f568a86c56c4c0d0ab9d0085cb13b3481b222a789
0xdcab84bd7f7eea3c23af97013df092ba56be47d06aa4c4b01e9e5c8f874198f1

Functions
Getter at block 22738649
MIGRATION_TIMELOCK(view returns (uint256)
604800
bondingCurveTokensForSale(view returns (uint256)
450000000
bpsDenominator(view returns (uint256)
10000
creatorTokenAmount(view returns (uint256)
100000000
curveB(view returns (uint256)
4219444445
curveM(view returns (uint256)
1
defaultConfig(view returns (struct IRugGame3RugGameConfig)
(100, 1000, 100000000000000, 86400, 80000000000000, 10000000000, 18)
ethRaisedForSuccess(view returns (uint256)
2000000000250000000
expectedWeiLeftOverForInitialLiquidity(view returns (uint256)
66666
isMigrationFinalized(view returns (bool)
false
migrationInitiatedAt(view returns (uint256)
0
nonfungiblePositionManager(view returns (address)
0x03a520b32c04bf3beef7beb72e919cf822ed34f1
owner(view returns (address result)
0x4aa7def945f3ce7d3e57fcd6ad44764402652715
prizePool(view returns (uint256)
15723409781256439587
protocolFeesEarned(view returns (uint256)
4480000000000000
sqrtPriceX96TokenGreaterThanWETH(view returns (uint160)
1188422437639688661552999
sqrtPriceX96TokenLessThanWETH(view returns (uint160)
5281877501281073183368715262046366
tokenDecimals(view returns (uint256)
4
tokenImplementation(view returns (address)
0x639d1bc8b92d082f012954b2f5c5d89ca2b2f5c9
uniswapFactory(view returns (address)
0x33128a8fc17869897dce68ed026d694621f6fdfd
weth(view returns (address)
0x4200000000000000000000000000000000000006
Read-only
getTokenConfig(address tokenAddressview returns (struct IRugGame3RugGameConfig)
hasAllRoles(address useruint256 rolesview returns (bool)
hasAnyRole(address useruint256 rolesview returns (bool)
integrate(uint256 muint256 buint256 x0uint256 dxbool isBuypure returns (uint256)
lpTokenIdForToken(addressview returns (uint256)
ownershipHandoverExpiresAt(address pendingOwnerview returns (uint256 result)
pointsForToken(addressview returns (uint256)
rolesOf(address userview returns (uint256 roles)
tokenExited(addressview returns (bool)
tokenRugged(addressview returns (bool)
tokens(addressview returns (address tokenAddressaddress creatoruint256 createdAtuint256 expiresAtstring namestring symbolstruct IRugGame3RugGameConfig config)
usedPointsNonces(bytes32view returns (bool)
y(uint128 slopeuint128 yInterceptuint256 xpure returns (uint256)
State-modifying
allocatePoints(address tokenAddressuint256 pointsbytes32 nonce
buyToken(address tokenAddressuint256 desiredTokensaddress topayable 
cancelOwnershipHandover(payable 
completeOwnershipHandover(address pendingOwnerpayable 
createToken(string namestring symbolstring imageHashbytes32 saltpayable returns (address)
depositToPrizePool(payable 
finalizeMigration(address to
grantRoles(address useruint256 rolespayable 
initialize(address _uniswapFactoryaddress _nonfungiblePositionManageraddress _weth
initiateMigration(
renounceOwnership(payable 
renounceRoles(uint256 rolespayable 
requestOwnershipHandover(payable 
revokeRoles(address useruint256 rolespayable 
sellToken(address tokenAddressuint256 amountuint256 minEthOut
setRugGameConfig(struct IRugGame3RugGameConfig newConfig
settleToken(address tokenAddress
shillToken(address tokenAddressstring shillpayable 
transferOwnership(address newOwnerpayable 
uniswapV3SwapCallback(int256 amount0Deltaint256 amount1Deltabytes data
withdrawFromPrizePool(address touint256 amount
withdrawLPFees(address tokenaddress to
withdrawProtocolFees(address to
Events
MigrationFinalized(address touint256 amount
MigrationInitiated(uint256 timelock
OwnershipHandoverCanceled(address indexed pendingOwner
OwnershipHandoverRequested(address indexed pendingOwner
OwnershipTransferred(address indexed oldOwneraddress indexed newOwner
PointsNonceUsed(bytes32 nonce
PointsUpdated(address indexed tokenAddressuint256 pointsint256 deltauint32 reason
PoolCreated(address indexed tokenAddressaddress indexed poolAddress
PrizePoolChanged(uint256 newPrizePool
ProtocolFeesChanged(uint256 newProtocolFees
ProtocolFeesWithdrawn(address indexed touint256 amount
RolesUpdated(address indexed useruint256 indexed roles
RugGameConfigUpdated(uint256 buyTaxBpsuint256 sellTaxBpsuint256 createTokenFeeuint256 tokenExpiryTimeuint256 shillPriceuint256 pointsToExituint256 pointsPerToken
Shill(address indexed shilleraddress indexed tokenAddressstring shill
TokenBought(address indexed tokenAddressaddress indexed buyeruint256 amountuint256 paymentuint256 fee
TokenCreated(address indexed tokenAddressaddress indexed creatorstring namestring symbolstring imageHashuint256 createdAtuint256 expiresAtstruct IRugGame3RugGameConfig config
TokenExited(address indexed tokenAddressaddress indexed exiteruint256 poolAmount
TokenRugged(address indexed tokenAddressaddress indexed ruggeduint256 ruggedAmount
TokenSold(address indexed tokenAddressaddress indexed selleruint256 amountuint256 payoutuint256 fee
TokenTotalSupplyChanged(address indexed tokenAddressuint256 totalSupply
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AlreadyInitialized(
ConfigChangeDisabledDuringMigration(
DuplicateTokenId(
GameAlreadyInitialized(
IncorrectCreateFee(uint256 requiredFee
IncorrectShillFee(uint256 requiredFee
InsufficientBalance(
InsufficientPayment(
InsufficientPrizePoolBalance(
InvalidAmount(
InvalidBuyTaxBps(
InvalidCreateTokenFee(
InvalidPointsPerToken(
InvalidPointsToExit(
InvalidSellTaxBps(
InvalidShillLength(
InvalidShillPrice(
InvalidToken(
InvalidTokenExpiryTime(
InvalidUniswapCallbackCaller(
MigrationAlreadyInitiated(
MigrationNotFinalized(
MigrationNotInitiated(
MigrationTimelockNotExpired(
NewOwnerIsZeroAddress(
NewTokenCreationDisabled(
NoHandoverRequest(
PointsNonceAlreadyUsed(
SlippageExceeded(
TokenAlreadyExited(
TokenAlreadyRugged(
TokenExpired(
TokenNotExited(
TokenNotExpired(
TokenSoldOut(
TooManyPoints(
Unauthorized(
UnexpectedAmountOfWeiLeftOver(