MomentFactory
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
5
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 48 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
10 additional
variables
Balances ($0.00)
No balances found for "MomentFactory"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "MomentFactory"
ABI
ABI objects
Getter at block 22757625
baseClubId() view returns (uint256)
0
creationFees() view returns (uint256)
0
momentToken() view returns (address)
0x0000000000000000000000000000000000000000
owner() view returns (address)
0x0000000000000000000000000000000000000000
paused() view returns (bool)
false
protocolFeePercent() view returns (uint256)
0
protocolFees() view returns (uint256)
0
subjectFeePercent() view returns (uint256)
0
tgeFeePercent() view returns (uint256)
0
tgeFees() view returns (uint256)
0
uniswapPositionManager() view returns (address)
0x0000000000000000000000000000000000000000
uniswapV3Factory() view returns (address)
0x0000000000000000000000000000000000000000
weth() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
balanceOf(address, uint256, uint256) view returns (uint256)
cardSupply(uint256, uint256) view returns (uint256)
checkMemeConf(struct MomentFactoryMomentConfig momentConf) pure returns (bool)
getBuyPrice(uint256 clubId, uint256 amount) view returns (uint256)
getBuyPriceAfterFee(uint256 clubId, uint256 amount) view returns (uint256)
getPrice(uint256 supply, uint256 amount, uint8 priceType, uint256 priceArg1, uint256 priceArg2) pure returns (uint256)
getPriceByClubId(uint256 clubId, uint256 amount, bool sellingPrice) view returns (uint256)
getProtocolFee(uint256 price) view returns (uint256)
getSellPrice(uint256 clubId, uint256 amount) view returns (uint256)
getSellPriceAfterFee(uint256 clubId, uint256 amount) view returns (uint256)
getSubjectFee(uint256 price) view returns (uint256)
getSupply(uint256 clubId) view returns (uint256)
hashForNewMomentClub(uint256 chainId, uint256 callId, address applyer, uint256 creationFee, struct MomentFactoryMomentConfig momentConf, uint256 timestamp, uint256 validFor) pure returns (bytes32)
indexOfValidator(address validator) view returns (uint256)
isSignatureUsed(bytes _signature) view returns (bool)
momentClubs(uint256) view returns (uint256 clubId, bool isLocked, address creatorAddress, address memeAddress, address nftAddress, address swapPool, uint256 lpTokenId, uint256 supply, uint256 funds, struct MomentFactoryMomentConfig momentConf)
seriesSupply(uint256) view returns (uint256)
signedByValidator(bytes32 hash, bytes signature) view returns (bool)
State-modifying
Events buyCard(uint256 clubId, uint256 amount, uint256 expectedPrice) payable
initialize(address[] validators_, address uniswapV3Factory_, address uniswapPositionManager_, address weth_)
mintMomentToken(uint256 clubId, uint256[] cardArr, uint256[] amountArr) payable
newMomentClub(uint256 callId_, uint256 initBuyAmount_, uint256 creationFee_, struct MomentFactoryMomentConfig momentConf_, uint256 timestamp, uint256 validFor, bytes signature) payable
onNFTTransfer(uint256 clubId, address from, address to, uint256 tokenId)
pause()
renounceOwnership()
sellCard(uint256 clubId, uint256[] cardArr, uint256[] amountArr)
setMomentToken(address addr)
setProtocolFeePercent(uint256 feePercent_)
setSubjectFeePercent(uint256 feePercent_)
setTGEFeePercent(uint256 feePercent_)
transferOwnership(address newOwner)
unpause()
updateValidator(address validator, bool active)
withdrawCreationFees(address beneficiary, uint256 amount)
withdrawLiquidityFees(uint256 clubId, address beneficiary)
withdrawProtocolFees(address beneficiary, uint256 amount)
withdrawTGEFees(address beneficiary, uint256 amount)
Initialized(uint8 version)
LPCreate(uint256 clubId, address token0, address token1, uint256 amount0, uint256 amount1, uint256 lpTokenId, uint256 liquidity, bool reverseOrder)
MomentCardUpdate(address owner, uint256 clubId, uint256 cardNo, uint256 cardSupply, uint256 holdAmount, uint256 updateAmount)
MomentClubCreated(uint256 callId, uint256 clubId, address creator, uint256 creationFee)
MomentClubTrade(uint256 clubId, address trader, uint256 supply, bool isLocked, uint256 amount, bool isBuy, uint256 priceAfterFee)
MomentNFTMint(uint256 clubId, address minter, address nftAddress, uint256 cardNo, uint256 tokenId)
MomentNFTTransfer(uint256 clubId, address memeAddress, address nftAddress, address from, address to, uint256 tokenId)
MomentTokenGeneration(uint256 clubId, address creator, address tokenAddress, address nftAddress, address swapPool)
MomentTokenMint(uint256 clubId, address minter, address memeAddress, uint256 amount)
MomentTokenUpdated(address momentToken)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Paused(address account)
ProtocolFeePercentUpdate(uint256 feePercent)
SubjectFeePercentUpdate(uint256 feePercent)
TGEFeePercentUpdate(uint256 feePercent)
Unpaused(address account)
ValidatorUpdated(address validator, bool active)
WithdrawLiquidityFees(uint256 clubId, address memeToken, address beneficiary, uint256 amount0, uint256 amount1)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
CreationFeeInvalid()
Forbidden()
InsufficientFees()
InsufficientFunds()
InvalidAmount()
InvalidInitParameters()
InvalidNFTSender()
InvalidParameters()
InvalidSignature()
MomentClubIsLocked()
MomentClubNotFound()
MomentClubTGEDone()
MomentClubTooMany()
MomentClubUnlocked()
MomentClubVerInvalid(uint256 expectedVer, uint256 actualVer)
MomentConfInvalid()
MomentTokenNotCreated()
NoZeroAddress()
NotAuthorized()
SignatureAlreadyUsed()
SignatureExpired()
TooManyValidators()
UnableToSendFunds()
UnableToTransferFunds()
ValidatorAlreadySet(address validator)
ValidatorNotFound(address validator)
ZeroAddress()