Factories
A detailed overview of Factory Contracts
Factories in the SuperMeme ecosystem are responsible for deploying and managing different types of meme tokens. Each factory specializes in creating tokens with distinct bonding curve mechanisms, ensuring flexibility and catering to diverse use cases.
DegenFactory
Address: 0x3187E910ED643B55561f540764E3e963d0B147c2
Purpose
The DegenFactory deploys meme tokens using a standard bonding curve. This bonding curve collects 4 ETH to send the token to a decentralized exchange (DEX).
Functions
createToken(string _name, string _symbol, bool _devLocked, uint256 _amount, address _devAddress, uint256 _devLockDuration, uint256 _buyEth)
Deploys a new meme token with the specified parameters.
Parameters:
_name
(string): The name of the token._symbol
(string): The symbol of the token._devLocked
(bool): Indicates if developer tokens are locked._amount
(uint256): The amount a user initially wants to buy. This represents the initial supply allocation._devAddress
(address): The address for developer token allocation._devLockDuration
(uint256): The duration for which developer tokens are locked._buyEth
(uint256): The amount of ETH required to buy tokens initially.
Payable: Yes.
Returns: A single address (string) of the newly created token.
RefundableFactory
Address: 0xAE3803865D2A682625b0757A05E857D5E95d3c01
Purpose
The RefundableFactory deploys refundable meme tokens. These tokens allow users to refund their holdings and retrieve their ETH, providing added security for participants.
Functions
createToken(string _name, string _symbol, uint256 _amount, address _devAddress, uint256 _buyEth)
Deploys a new refundable meme token with the specified parameters.
Parameters:
_name
(string): The name of the token._symbol
(string): The symbol of the token._amount
(uint256): The amount a user initially wants to buy. This represents the initial supply allocation._devAddress
(address): The address for developer token allocation._buyEth
(uint256): The amount of ETH required to buy tokens initially.
Payable: Yes.
Returns: A single address (string) of the newly created token.
LockingCurveFactory
Address: 0x0Ff49a93e42Fc05468c1Ff73d516eaBD46f43c1E
Purpose
The LockingCurveFactory deploys meme tokens with locking mechanisms based on bonding curve prices. Tokens purchased through this factory are locked for a specific duration depending on their purchase price.
Functions
createToken(string _name, string _symbol, uint256 _amount, address _devAddress, uint256 _buyEth, uint256 _tMax)
Deploys a new locking curve meme token with the specified parameters.
Parameters:
_name
(string): The name of the token._symbol
(string): The symbol of the token._amount
(uint256): The amount a user initially wants to buy. This represents the initial supply allocation._devAddress
(address): The address for developer token allocation._buyEth
(uint256): The amount of ETH required to buy tokens initially._tMax
(uint256): The maximum duration for which tokens are locked.
Payable: Yes.
Returns: A single address (string) of the newly created token.
Last updated