Portal
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
24
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 5 additional slots
-
variable spans 2 additional slots
Balances ($0.00)
No balances found for "Portal"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "Portal"
ABI
ABI objects
Getter at block 22431293
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
nonce() view returns (uint256)
0
Read-only
getRoleAdmin(bytes32 role) view returns (bytes32)
getToken(address token) view returns (struct IPortalTypesTokenState)
getTokenEx(address token) view returns (struct IPortalTypesTokenStateEx)
getTokenV2(address token) view returns (struct IPortalTypesTokenStateV2 state)
hasRole(bytes32 role, address account) view returns (bool)
lastCheckIn(address account) view returns (uint256)
previewBuy(address token, uint256 eth) view returns (uint256 amount)
previewRedeem(address srcToken, address dstToken, uint256 srcAmount) view returns (uint256 dstAmount)
previewSell(address token, uint256 amount) view returns (uint256 eth)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events buy(address token, address recipient, uint256 minAmount) payable returns (uint256)
checkIn()
grantRole(bytes32 role, address account)
initialize(address admin)
newToken(string name, string symbol, string meta) payable returns (address token)
newTokenNoDuel(string name, string symbol, string meta) payable returns (address token)
newTokenWithDexSupplyThresh(string name, string symbol, string meta, uint8 dexTreshType) payable returns (address token)
redeem(address srcToken, address dstToken, uint256 srcAmount) returns (uint256 dstAmount)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
sell(address token, uint256 amount, uint256 minEth) returns (uint256)
setBitFlags(uint256 flags)
BitFlagsChanged(uint256 oldFlags, uint256 newFlags)
CheckedIn(address user)
FlapTokenCirculatingSupplyChanged(address token, uint256 newSupply)
Initialized(uint8 version)
LaunchedToDEX(address token, address pool, uint256 amount, uint256 eth)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
TokenBought(uint256 ts, address token, address buyer, uint256 amount, uint256 eth, uint256 fee, uint256 postPrice)
TokenCreated(uint256 ts, address creator, uint256 nonce, address token, string name, string symbol, string meta)
TokenCurveSet(address token, address curve, uint256 curveParameter)
TokenDexSupplyThreshSet(address token, uint256 dexSupplyThresh)
TokenRedeemed(uint256 ts, address srcToken, address dstToken, uint256 srcAmount, uint256 dstAmount, address who)
TokenSold(uint256 ts, address token, address seller, uint256 amount, uint256 eth, uint256 fee, uint256 postPrice)
TokenVersionSet(address token, uint8 version)
constructor(struct PortalBasePortalInitParams params)
fallback()
receive()
ActualAmountMustLTEAmount(uint256 actualAmount, uint256 amount1)
AmountTooSmall(uint256 amount)
CallReverted()
FeatureDisabled()
GameNotLive()
GameNotPaused()
GameNotPending()
GameNotStarted()
InvalidDEXSupplyThreshold()
InvalidDexThreshold(uint256 threshold)
InvalidDexThresholdType(uint8 threshold)
InvalidGameSupplyThreshold()
InvalidLocks()
InvalidPiggybackLength(uint256 expected, uint256 actual)
InvalidRoundID(uint256 id)
InvalidSigner(address signer)
InvalidTokenForBattle(address token)
InvalidTokenModeForGame(address token, uint8 mode)
InvalidTokenModeTransition(address token, uint8 from, uint8 to)
LastRoundNotResolved()
MismatchedAddressInProof(address expected, address actual)
NoConversionPath(address srcToken, address dstToken)
NoQuotaForCreator(uint256 created, uint256 max)
NonPositionNFTReceived(address collection)
NotImplemented()
NotRoller()
NotUniswapV3Pool(address sender)
PermissionlessCreateDisabled()
PriceAMustLTPriceB(uint160 sqrtPriceA, uint160 sqrtPriceB)
ProtocolDisabled()
RequiredTokenMustLTE(uint256 requiredToken, uint256 reserveToken)
RoundNotFound(uint256 id)
SameToken(address tokenA)
SeqNotFound(uint256 seq)
SlippageTooHigh(uint256 actualAmount, uint256 minAmount)
StakingDisabled()
SupplyExceedsTotalSupply(uint256 newSupply)
TokenAlreadyDEXed(address token)
TokenAlreadyInGame(address token)
TokenInDuel(address token)
TokenKilled(address token)
TokenNotDEXed(address token)
TokenNotFound(address token)
TokenNotKilled(address token)
TokenNotTradable(address token)
TradeDisabled()
UniswapV2PoolNotZero(address pool, uint256 liquidity)
UniswapV3Slot0Failed()
cannotCheckInUntil(uint256 next)