FairMint

Verified contract

Active on Base with 54 txns
Deployed by via 0xffc93744 at 12328035
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
3 additional variables
ERC-20
Value $20.24
ERC-20
Value $0.06
ERC-20
Value $0
 (#92214)
ERC-721
--
0xc109f2399dd3c22b567a280e30422151a0972b7564861f2ce8743f347af25f3c
0x22487cae7571c3729249833b7214b70082ba28a602d659dc5e4ee1d16c5bfc63
0x81d1095f0690b02987fbe86a2e4ddbb96140670eeb4c9d442c8d7a99125d0b86
0xa6fffbb6dc1d4b2a3ec0831c7471579cbd74d7e53bcb899d21a90ecf8aed3826
0x50e53402ec6322a580b80409ccbd92a084a2da6f20b12766c562c7afe6770fe2
0x064a6382045f9ff57485a37fe6948667bbf0c9b91141c4d7f86a8c154e76aa04
0x1aa1836ccfb1f5efeeec238669090cff5e055d14fd660bb2b7d36d2f837524b5
0x6aa1c457ac2ac741964c54a36cc712049014a580a996921c4bdecfc96261e5bb
0x8939405923c26c1b14aeb1ab09600fb4644a32dbac295bb15cf8c071fba01114
0xd5a28639ce6e689d87d22324c5a2edf654057b099a7f7dcca54f783ed9e5925c

Functions
Getter at block 23154503
CONFIRM_GAS(view returns (uint96)
360000
UNISWAP_POOL_FEE(view returns (uint24)
3000
WETH(view returns (address)
0x4200000000000000000000000000000000000006
duration(view returns (uint32)
600
durationForWaitingLockLiquidity(view returns (uint32)
172800
enabled(view returns (bool)
true
ethReceiverAdmin(view returns (address)
0xb1c7fbea2f9d7b604a481ab443596c8b783b6d8f
ethUsdPriceFeeder(view returns (address)
0x2b0c5dce47fe2ed7f3cab8d1493db3b89d397398
extraUsdGas(view returns (uint256)
10000000000000000
failedDeductRatePPB(view returns (uint32)
100000000
finishedAt(view returns (uint64)
1711446049
getAllPremints(view returns (struct IFairMintPremint[])
[]
getPremintCount(view returns (uint256)
0
level1RewardRatePPB(view returns (uint32)
30000000
level2RewardRatePPB(view returns (uint32)
10000000
liquidityLocked(view returns (bool)
true
maxMintSupply(view returns (uint96)
2000000000000000000000
mintSuccessRatePPB(view returns (uint32)
333333333
mintToken(view returns (address)
0xd9ea6d6c12ddb382ebe9a54f0ae13866c69e3b9a
needReferralActived(view returns (bool)
true
owner(view returns (address)
0x18021bc18c2d58fe04f371eb04aa1cc28b2b8fe5
positionTokenId(view returns (uint256)
92214
referral(view returns (address)
0x63f6a8345ca6ac5a78a6181c21121a3af5886195
startTimestamp(view returns (uint64)
1711445935
successDeductRatePPB(view returns (uint32)
500000000
token(view returns (address)
0xd9ea6d6c12ddb382ebe9a54f0ae13866c69e3b9a
tokenMintAmount(view returns (uint256)
1000000000000000000000
totalMinted(view returns (uint256)
2000000000000000000000
uniswapPool(view returns (address)
0x33765dff8b3bf059af71aa4ee634ac9e8a06c293
uniswapPositionManager(view returns (address)
0x03a520b32c04bf3beef7beb72e919cf822ed34f1
Read-only
calcMintAmount(uint256 ethValueview returns (uint256)
calcNeedPayEth(uint256 mintAmountview returns (uint256)
getAccountData(address accountview returns (struct IFairMintAccountData data)
State-modifying
addLiquidity(
confirmMint(
premint(uint256 expectMintAmountuint256 confirmGasFeepayable 
removeLiquidity(address recipient
renounceOwnership(
setDuration(uint32 newDuration
setDurationForWaitingLockLiquidity(uint32 newValue
setEnabled(bool isEnabled
setEthReceiverAdmin(address newReceiverAdmin
setEthUsdPriceFeeder(address newPriceFeeder
setExtraUsdGas(uint256 newExtraUsdGas
setFailedDeductRatePPB(uint32 newFailedDeductRatePPB
setLevel1RewardRatePPB(uint32 newLevel1RewordRatePPB
setLevel2RewardRatePPB(uint32 newLevel2RewordRatePPB
setMaxMintSupply(uint96 newMaxMintSupply
setMintSuccessRatePPB(uint32 newMintSuccessRatePPB
setNeedReferralActived(bool needActived
setReferral(address newReferral
setStartTimestamp(uint64 timestamp
setSuccessDeductRatePPB(uint32 newSuccessDeductRatePPB
setTokenMintAmount(uint256 newTokenMintAmount
transferOwnership(address newOwner
uniswapCollect(address recipient
withdrawAll(address recipient
Events
ConfirmMinted(address indexed senderuint256 premintCountuint256 totalConfirmGasFee
MintFailed(address indexed senderuint256 deductedEthuint256 extraGasFeeuint256 confirmGasFee
MintSuccess(address indexed senderaddress tokenuint256 tokenAmountuint256 extraGasFeeuint256 confirmGasFee
OwnershipTransferred(address newOwneraddress oldOwner
Preminted(address indexed msgSenderuint64 confirmBlockNumberuint256 extraGasFeeuint256 confirmGasFeeuint256 expectMintAmount
Constructor
constructor(address initialTokenaddress initialEthUsdPriceFeederaddress initialEthReceiverAdminaddress initialUniswapPositionManageraddress multiSignAdmin
Fallback and receive
fallback(
receive(
Errors
ConfirmGasFeeTooLow(
ExpectMintAmountIsZero(
FairMintExpired(
FairMintNotStarted(
InvalidFee(
LiquidityLocked(
LogicError(
MathOverflowedMulDiv(
MintQuotaUsedUp(
MsgValueTooLow(
NeedReferralActived(
NeedWaittingForBlocks(
NoEthReceiverFound(
NotEnabled(
OwnableInvalidOwner(
PremintsIsEmpty(
UniswapPoolNotCreated(
UniswapPoolPositionNotCreated(