Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 2 additional slots
Balances ($6,165.63)
Native
Value
$6,165.63
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
Eth | Native | 1.871101 | $3,295.19 |
$6,165.63 | |
BRI | ERC-20 | 4.05K | -- | -- | |
BODENWIF | ERC-20 | 2.08K | -- | -- | |
(#470928) | UNI-V3-POS | ERC-721 | 1 | -- | -- |
(#470927) | UNI-V3-POS | ERC-721 | 1 | -- | -- |
(#455549) | UNI-V3-POS | ERC-721 | 1 | -- | -- |
(#455548) | UNI-V3-POS | ERC-721 | 1 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 16275189 | 5 months ago | | | 0 | 6.5585096e-7 | |
| 15833378 | 5 months ago | | | 0 | 0.0000010357680 | |
| 14857788 | 6 months ago | | | 0 | 5.5882842e-7 | |
| 14857788 | 6 months ago | | | 0 | 0.000000505143035450 | |
| 14857788 | 6 months ago | | | 0 | 5.9823908e-7 | |
| 14795504 | 6 months ago | | | 0 | 0.0000010337817 | |
| 14730947 | 6 months ago | | | 0 | 0.0000036840657 | |
| 14730935 | 6 months ago | | | 0 | 0.0000040465474 | |
| 14600458 | 6 months ago | | | 0 | 9.2448507e-7 | |
| 14556936 | 6 months ago | | | 0 | 0.0000031001113 |
ABI
ABI objects
Getter at block 22749331 gameConfig() view returns (struct IRugGameGameConfig)
CONFIRM_GAME_TOKENS_ROLE() view returns (uint256)
2
GAME_START_ROLE() view returns (uint256)
1
gameNumber() view returns (uint256)
2
maximumGameDuration() view returns (uint256)
1209600
maximumGameTokenCount() view returns (uint256)
20
maximumTradeTaxAmount() view returns (uint256)
9000
maximumTradeTaxAmountsLength() view returns (uint256)
72
minimumConfirmTokensTime() view returns (uint256)
180
minimumGameDuration() view returns (uint256)
600
minimumGameTokenCount() view returns (uint256)
3
minimumTimeLeftToConfirmTokens() view returns (uint256)
300
minimumTradeTaxAmountsLength() view returns (uint256)
2
owner() view returns (address result)
0x0a062965075f24af358a50c64f6d5f17ad73a7a6
tokenImplementation() view returns (address)
0xebc15f7b44dabd8048402c93ecdd4932b76ff56d
uniswapPositionManager() view returns (address)
0x03a520b32c04bf3beef7beb72e919cf822ed34f1
uniswapV3Factory() view returns (address)
0x33128a8fc17869897dce68ed026d694621f6fdfd
weth() view returns (address)
0x4200000000000000000000000000000000000006
Read-only
calculateTaxRate(uint256 confirmedAt, uint256 endTime, uint256 currentTime, uint256[] taxValues) pure returns (uint256)
gameNumberForToken(address) view returns (uint256)
gameStateForGameNumber(uint256 _gameNumber) view returns (struct IRugGameGameState)
hasAllRoles(address user, uint256 roles) view returns (bool)
hasAnyRole(address user, uint256 roles) view returns (bool)
ownershipHandoverExpiresAt(address pendingOwner) view returns (uint256 result)
rolesOf(address user) view returns (uint256 roles)
tokenConfirmed(address tokenAddress) view returns (bool)
tokensForGameNumber(uint256 _gameNumber) view returns (address[])
State-modifying
Events buyToken(address token, address to) payable
cancelOwnershipHandover() payable
completeOwnershipHandover(address pendingOwner) payable
confirmGameTokens(address[] tokenAddresses)
createToken(string name, string symbol, string imageUri) payable returns (address)
depositToRugPool() payable
emergencyFinalizeUnconfirmedGame()
finalizeGame()
grantRoles(address user, uint256 roles) payable
initialize(address _uniswapV3Factory, address _uniswapPositionManager, address _weth)
refundToken(address tokenAddress, uint256 amount)
removeTransferRestrictionForToken(address tokenAddress)
renounceOwnership() payable
renounceRoles(uint256 roles) payable
requestOwnershipHandover() payable
revokeRoles(address user, uint256 roles) payable
setGameConfig(struct IRugGameGameConfig newConfig)
startGame()
swapTokens(address fromTokenAddress, address toTokenAddress, uint256 amount)
transferOwnership(address newOwner) payable
uniswapV3SwapCallback(int256 amount0Delta, int256 amount1Delta, bytes)
withdrawFees(address tokenAddress, address to)
GameConfigUpdated(struct IRugGameGameConfig config)
GameFinalized(uint256 indexed gameNumber, address indexed winner, address indexed loser)
GameLiquidityUpdated(uint256 indexed gameNumber, uint256 indexed newLiquidity)
GameStarted(uint256 indexed gameNumber, uint256 indexed startTime, uint256 indexed endTime)
GameTokensConfirmed(uint256 indexed gameNumber, address[] tokenAddresses)
OwnershipHandoverCanceled(address indexed pendingOwner)
OwnershipHandoverRequested(address indexed pendingOwner)
OwnershipTransferred(address indexed oldOwner, address indexed newOwner)
PositionCreated(uint256 indexed gameNumber, address indexed tokenAddress, address indexed poolAddress, uint256 lpTokenId)
RolesUpdated(address indexed user, uint256 indexed roles)
RugPoolAmountUpdated(uint256 indexed gameNumber, uint256 indexed newAmount)
RugPoolDeposited(uint256 indexed gameNumber, address indexed depositor, uint256 indexed amount)
SupplyUpdated(uint256 indexed gameNumber, address indexed tokenAddress, uint256 indexed newSupply)
TokenCreated(uint256 indexed gameNumber, address indexed tokenAddress, string name, string symbol, string imageUri)
TokenRefunded(uint256 indexed gameNumber, address indexed tokenAddress, address indexed to, uint256 amount, uint256 ethAmount)
TokenSwapped(uint256 indexed gameNumber, address indexed fromTokenAddress, address indexed toTokenAddress, address actor, address account, uint256 inAmount, uint256 outAmount, uint256 rugPoolFee)
constructor()
This contract contains no fallback and receive objects.
AlreadyInitialized()
CannotBuyUnconfirmedToken()
CannotConfirmYet()
CannotSwapUnconfirmedToken()
ConfirmTokensTimeTooLong()
ConfirmTokensTimeTooShort()
DurationTooLong()
DurationTooShort()
GameAlreadyFinalized()
GameIsNotOver()
GameIsOver()
GameNotFinalized()
GameTokensAlreadyConfirmed()
GameTokensNotConfirmed()
InvalidAmount()
InvalidGame()
InvalidInitParameters()
InvalidRecipient()
InvalidToken()
InvalidUniswapCallbackCaller()
MustSwapDifferentTokens()
NewOwnerIsZeroAddress()
NewTokensDisabled()
NoGameRunning()
NoHandoverRequest()
NotEnoughTimeToConfirmTokens()
PoolNotFound()
TaxValuesMustBeIncreasing()
TokenAlreadyInGame()
TokenFromWrongGame()
TokenInWrongGame()
TokenNotEligibleForRefund()
TooFewTaxValues()
TooFewTokensToStart()
TooManyTaxValues()
TooManyTokensToStart()
TradeTaxValueTooHigh()
Unauthorized()