MoonshotFactory

Verified contract

Active on Base with 61,618 txns
Deployed by via 0x49ac1fd3 at 21668660
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "MoonshotFactory"

0xf09e24d5ecb942d3fc6f6718e33969ecd2e6650dbe3be9b149d04fb29c03d364
0x39e62e6394430e3a9800bf7ac653c167ea490404d4211e8301d556cbad84eecb
0xc1bef5941edae29d06bd15f5eab8ffda8a443f83574c6a9e47ed257f3fc95931
0x5e2db5f8ff79f6aae6fa3fe29d3579013c77c693b5ec27cf65ef8c25a259709c
0xa3d1180d227062a868a15781ebd51c109478ca8ad93745c8d2f46a1c901ba8fc
0xf43534306f97fcc27d3e68865dc4824ab19507d6c8143910aadc9153164d5d7b
0xb3506c6ce2b4c3b54825484a5f569e401dcc91ca792869c454653cdd4f5427b1
0x8ed1949ce57d4287beb4282bbd1481590b84e46a824460c432c2c54924a9f1e6
0x9fb4eb7e7022c0af648d854e4469b2f0b5c62a237e4ce6eaf596dfd18877332c
0x90012a682cf297098228ca91c62d5d3f370926602f5dba5eab670043f579f411

Functions
Getter at block 22715460
UNISWAP_V2_ROUTER(view returns (address)
0x4752ba5dbc23f44d87826276bf6fd6b1c372ad24
dexFeeBasisPoints(view returns (uint256)
8000
dexTreasury(view returns (address)
0xc654972dd50bf174629a5ce12fae7849100a073d
feeBasisPoints(view returns (uint256)
100
mcLowerLimit(view returns (uint256)
25000000000000000000
mcUpperLimit(view returns (uint256)
27000000000000000000
migrationFeeFixed(view returns (uint256)
100000000000000000
owner(view returns (address)
0x0a79e65521c07156241eeea6b6f29141b5a48fad
poolCreationFee(view returns (uint256)
50000000000000000
signer(view returns (address)
0xf02976fe31f7c30f602eb3cac790fa6e7cbdb830
tokensMigrationThreshold(view returns (uint256)
799538870462404697804703491
totalSupply(view returns (uint256)
1000000000000000000000000000
treasury(view returns (address)
0xc01ab97ec9371157de1fc7a5341f7b899894d632
virtualCollateralReserves(view returns (uint256)
1600000000000000000
virtualTokenReserves(view returns (uint256)
1060000000000000000000000000
Read-only
moonshotTokens(uint256view returns (address)
readyForMigration(addressview returns (bool)
usedSignatures(bytes32view returns (bool)
State-modifying
buyExactIn(address _tokenuint256 _amountOutMinpayable 
buyExactOut(address _tokenuint256 _tokenAmountuint256 _maxCollateralAmountpayable 
createMoonshotToken(string _namestring _symboluint256 _noncebytes _signaturereturns (address)
createMoonshotTokenAndBuy(string _namestring _symboluint256 _nonceuint256 _tokenAmountMinbytes _signaturepayable returns (address)
migrate(address _token
renounceOwnership(
sellExactIn(address _tokenuint256 _tokenAmountuint256 _amountCollateralMin
sellExactOut(address _tokenuint256 _tokenAmountMaxuint256 _amountCollateral
setConfig(uint256 _totalSupplyuint256 _virtualTokenReservesuint256 _virtualCollateralReservesuint256 _feeBasisPointsuint256 _dexFeeBasisPointsuint256 _migrationFeeFixeduint256 _poolCreationFeeuint256 _mcUpperLimituint256 _mcLowerLimituint256 _tokensMigrationThresholdaddress _treasuryaddress _dexTreasuryaddress _signer
transferOwnership(address newOwner
Events
BuyExactIn(address indexed buyeraddress indexed tokenuint256 tokenAmountuint256 curvePositionAfterTradeuint256 collateralAmountuint256 feeuint256 dexFeeuint256 curveProgressBps
BuyExactOut(address indexed buyeraddress indexed tokenuint256 tokenAmountuint256 curvePositionAfterTradeuint256 collateralAmountuint256 refunduint256 feeuint256 dexFeeuint256 curveProgressBps
MarketcapReached(address token
Migrated(address tokenuint256 tokensToMigrateuint256 tokensToBurnuint256 collateralToMigrateuint256 migrationFeeaddress pair
NewMoonshotToken(address addraddress creatorbytes signature
NewMoonshotTokenAndBuy(address addraddress creatorbytes signatureuint256 tokenAmountuint256 collateralAmountuint256 feeuint256 dexFeeuint256 curveProgressBps
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
SellExactIn(address indexed selleraddress indexed tokenuint256 tokenAmountuint256 curvePositionAfterTradeuint256 collateralAmountuint256 feeuint256 dexFeeuint256 curveProgressBps
SellExactOut(address indexed selleraddress indexed tokenuint256 tokenAmountuint256 curvePositionAfterTradeuint256 collateralAmountuint256 feeuint256 dexFeeuint256 curveProgressBps
SetConfig(uint256 totalSupplyuint256 virtualTokenReservesuint256 virtualCollateralReservesuint256 feeBasisPointsuint256 dexFeeBasisPointsuint256 migrationFeeFixeduint256 poolCreationFeeuint256 mcUpperLimituint256 mcLowerLimituint256 tokensMigrationThresholdaddress treasuryaddress dexTreasuryaddress signer
Constructor
constructor(uint256 _totalSupplyuint256 _virtualTokenReservesuint256 _virtualCollateralReservesuint256 _feeBasisPointsuint256 _dexFeeBasisPointsuint256 _migrationFeeFixeduint256 _poolCreationFeeuint256 _mcUpperLimituint256 _mcLowerLimituint256 _tokensMigrationThresholdaddress _treasuryaddress _dexTreasuryaddress _uniswapV2Routeraddress _signer
Fallback and receive
receive(
Errors
DexTreasuryZeroValue(
FailedToSendETH(
FeeBPSCheckFailed(
InvalidSignature(
McLowerLimitGreaterThanUpperLimit(
McLowerLimitZeroValue(
McUpperLimitZeroValue(
NotReadyForMigration(
OwnableInvalidOwner(address owner
OwnableUnauthorizedAccount(address account
ReentrancyGuardReentrantCall(
SignatureIsUsed(
SignerZeroValue(
TokensMigrationThresholdZeroValue(
TotalSupplyZeroValue(
TreasuryZeroValue(
VirtualCollateralReservesZeroValue(
VirtualTokenReservesZeroValue(