Portal

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0x96be0586 at 22339120
Slot
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

No balances found for "Portal"

No transactions found for "Portal"


Functions
Getter at block 22431293
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
nonce(view returns (uint256)
0
Read-only
getRoleAdmin(bytes32 roleview returns (bytes32)
getToken(address tokenview returns (struct IPortalTypesTokenState)
getTokenEx(address tokenview returns (struct IPortalTypesTokenStateEx)
getTokenV2(address tokenview returns (struct IPortalTypesTokenStateV2 state)
hasRole(bytes32 roleaddress accountview returns (bool)
lastCheckIn(address accountview returns (uint256)
previewBuy(address tokenuint256 ethview returns (uint256 amount)
previewRedeem(address srcTokenaddress dstTokenuint256 srcAmountview returns (uint256 dstAmount)
previewSell(address tokenuint256 amountview returns (uint256 eth)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
buy(address tokenaddress recipientuint256 minAmountpayable returns (uint256)
checkIn(
grantRole(bytes32 roleaddress account
initialize(address admin
newToken(string namestring symbolstring metapayable returns (address token)
newTokenNoDuel(string namestring symbolstring metapayable returns (address token)
newTokenWithDexSupplyThresh(string namestring symbolstring metauint8 dexTreshTypepayable returns (address token)
redeem(address srcTokenaddress dstTokenuint256 srcAmountreturns (uint256 dstAmount)
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
sell(address tokenuint256 amountuint256 minEthreturns (uint256)
setBitFlags(uint256 flags
Events
BitFlagsChanged(uint256 oldFlagsuint256 newFlags
CheckedIn(address user
FlapTokenCirculatingSupplyChanged(address tokenuint256 newSupply
Initialized(uint8 version
LaunchedToDEX(address tokenaddress pooluint256 amountuint256 eth
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
TokenBought(uint256 tsaddress tokenaddress buyeruint256 amountuint256 ethuint256 feeuint256 postPrice
TokenCreated(uint256 tsaddress creatoruint256 nonceaddress tokenstring namestring symbolstring meta
TokenCurveSet(address tokenaddress curveuint256 curveParameter
TokenDexSupplyThreshSet(address tokenuint256 dexSupplyThresh
TokenRedeemed(uint256 tsaddress srcTokenaddress dstTokenuint256 srcAmountuint256 dstAmountaddress who
TokenSold(uint256 tsaddress tokenaddress selleruint256 amountuint256 ethuint256 feeuint256 postPrice
TokenVersionSet(address tokenuint8 version
Constructor
constructor(struct PortalBasePortalInitParams params
Fallback and receive
fallback(
receive(
Errors
ActualAmountMustLTEAmount(uint256 actualAmountuint256 amount1
AmountTooSmall(uint256 amount
CallReverted(
FeatureDisabled(
GameNotLive(
GameNotPaused(
GameNotPending(
GameNotStarted(
InvalidDEXSupplyThreshold(
InvalidDexThreshold(uint256 threshold
InvalidDexThresholdType(uint8 threshold
InvalidGameSupplyThreshold(
InvalidLocks(
InvalidPiggybackLength(uint256 expecteduint256 actual
InvalidRoundID(uint256 id
InvalidSigner(address signer
InvalidTokenForBattle(address token
InvalidTokenModeForGame(address tokenuint8 mode
InvalidTokenModeTransition(address tokenuint8 fromuint8 to
LastRoundNotResolved(
MismatchedAddressInProof(address expectedaddress actual
NoConversionPath(address srcTokenaddress dstToken
NoQuotaForCreator(uint256 createduint256 max
NonPositionNFTReceived(address collection
NotImplemented(
NotRoller(
NotUniswapV3Pool(address sender
PermissionlessCreateDisabled(
PriceAMustLTPriceB(uint160 sqrtPriceAuint160 sqrtPriceB
ProtocolDisabled(
RequiredTokenMustLTE(uint256 requiredTokenuint256 reserveToken
RoundNotFound(uint256 id
SameToken(address tokenA
SeqNotFound(uint256 seq
SlippageTooHigh(uint256 actualAmountuint256 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 pooluint256 liquidity
UniswapV3Slot0Failed(
cannotCheckInUntil(uint256 next