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 ($5,071.40)
Native
Value
$5,071.4
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
Eth | Native | 1.871101 | $2,710.38 |
$5,071.4 | |
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 | 4 months ago | | | 0 | 4.6859992e-7 | |
| 15833378 | 4 months ago | | | 0 | 5.1540859e-7 | |
| 14857788 | 5 months ago | | | 0 | 2.7797434e-7 | |
| 14857788 | 5 months ago | | | 0 | 2.5126997e-7 | |
| 14857788 | 5 months ago | | | 0 | 2.9757812e-7 | |
| 14795504 | 5 months ago | | | 0 | 5.1342233e-7 | |
| 14730947 | 5 months ago | | | 0 | 0.0000018405545 | |
| 14730935 | 5 months ago | | | 0 | 0.0000020385669 | |
| 14600458 | 5 months ago | | | 0 | 4.5091359e-7 | |
| 14556936 | 5 months ago | | | 0 | 0.0000031001113 |
ABI
ABI objects
Getter at block 21754322 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()