MomentFactory

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0xb077ed70 at 18076248
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 48 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
10 additional variables

No balances found for "MomentFactory"

No transactions found for "MomentFactory"


Functions
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(addressuint256uint256view returns (uint256)
cardSupply(uint256uint256view returns (uint256)
checkMemeConf(struct MomentFactoryMomentConfig momentConfpure returns (bool)
getBuyPrice(uint256 clubIduint256 amountview returns (uint256)
getBuyPriceAfterFee(uint256 clubIduint256 amountview returns (uint256)
getPrice(uint256 supplyuint256 amountuint8 priceTypeuint256 priceArg1uint256 priceArg2pure returns (uint256)
getPriceByClubId(uint256 clubIduint256 amountbool sellingPriceview returns (uint256)
getProtocolFee(uint256 priceview returns (uint256)
getSellPrice(uint256 clubIduint256 amountview returns (uint256)
getSellPriceAfterFee(uint256 clubIduint256 amountview returns (uint256)
getSubjectFee(uint256 priceview returns (uint256)
getSupply(uint256 clubIdview returns (uint256)
hashForNewMomentClub(uint256 chainIduint256 callIdaddress applyeruint256 creationFeestruct MomentFactoryMomentConfig momentConfuint256 timestampuint256 validForpure returns (bytes32)
indexOfValidator(address validatorview returns (uint256)
isSignatureUsed(bytes _signatureview returns (bool)
momentClubs(uint256view returns (uint256 clubIdbool isLockedaddress creatorAddressaddress memeAddressaddress nftAddressaddress swapPooluint256 lpTokenIduint256 supplyuint256 fundsstruct MomentFactoryMomentConfig momentConf)
seriesSupply(uint256view returns (uint256)
signedByValidator(bytes32 hashbytes signatureview returns (bool)
State-modifying
buyCard(uint256 clubIduint256 amountuint256 expectedPricepayable 
initialize(address[] validators_address uniswapV3Factory_address uniswapPositionManager_address weth_
mintMomentToken(uint256 clubIduint256[] cardArruint256[] amountArrpayable 
newMomentClub(uint256 callId_uint256 initBuyAmount_uint256 creationFee_struct MomentFactoryMomentConfig momentConf_uint256 timestampuint256 validForbytes signaturepayable 
onNFTTransfer(uint256 clubIdaddress fromaddress touint256 tokenId
pause(
renounceOwnership(
sellCard(uint256 clubIduint256[] cardArruint256[] amountArr
setMomentToken(address addr
setProtocolFeePercent(uint256 feePercent_
setSubjectFeePercent(uint256 feePercent_
setTGEFeePercent(uint256 feePercent_
transferOwnership(address newOwner
unpause(
updateValidator(address validatorbool active
withdrawCreationFees(address beneficiaryuint256 amount
withdrawLiquidityFees(uint256 clubIdaddress beneficiary
withdrawProtocolFees(address beneficiaryuint256 amount
withdrawTGEFees(address beneficiaryuint256 amount
Events
Initialized(uint8 version
LPCreate(uint256 clubIdaddress token0address token1uint256 amount0uint256 amount1uint256 lpTokenIduint256 liquiditybool reverseOrder
MomentCardUpdate(address owneruint256 clubIduint256 cardNouint256 cardSupplyuint256 holdAmountuint256 updateAmount
MomentClubCreated(uint256 callIduint256 clubIdaddress creatoruint256 creationFee
MomentClubTrade(uint256 clubIdaddress traderuint256 supplybool isLockeduint256 amountbool isBuyuint256 priceAfterFee
MomentNFTMint(uint256 clubIdaddress minteraddress nftAddressuint256 cardNouint256 tokenId
MomentNFTTransfer(uint256 clubIdaddress memeAddressaddress nftAddressaddress fromaddress touint256 tokenId
MomentTokenGeneration(uint256 clubIdaddress creatoraddress tokenAddressaddress nftAddressaddress swapPool
MomentTokenMint(uint256 clubIdaddress minteraddress memeAddressuint256 amount
MomentTokenUpdated(address momentToken
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Paused(address account
ProtocolFeePercentUpdate(uint256 feePercent
SubjectFeePercentUpdate(uint256 feePercent
TGEFeePercentUpdate(uint256 feePercent
Unpaused(address account
ValidatorUpdated(address validatorbool active
WithdrawLiquidityFees(uint256 clubIdaddress memeTokenaddress beneficiaryuint256 amount0uint256 amount1
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors
CreationFeeInvalid(
Forbidden(
InsufficientFees(
InsufficientFunds(
InvalidAmount(
InvalidInitParameters(
InvalidNFTSender(
InvalidParameters(
InvalidSignature(
MomentClubIsLocked(
MomentClubNotFound(
MomentClubTGEDone(
MomentClubTooMany(
MomentClubUnlocked(
MomentClubVerInvalid(uint256 expectedVeruint256 actualVer
MomentConfInvalid(
MomentTokenNotCreated(
NoZeroAddress(
NotAuthorized(
SignatureAlreadyUsed(
SignatureExpired(
TooManyValidators(
UnableToSendFunds(
UnableToTransferFunds(
ValidatorAlreadySet(address validator
ValidatorNotFound(address validator
ZeroAddress(