| Contract | Address |
|---|---|
| Factory | 0x80DA434B49b4d3481aF81D58Eaa3817c888377d4 |
| Lock | 0x518F3EdC333e1f146800042e8512BeCf44516721 |
| Router | 0xC1fA534bbDe8FB9620bfde3F6164C24862dD53E8 |
| TokenFactory | 0xC66aeDdF044571A8e73CFf8B499970A7e2a7037A |
| WBERA/Honey | 0x669b4a45dA7B70F8952B7711E82bc8F10FE8556E |
| Vault | 0x21F18c02B2487024018Ef3a4D95f9D436867743d |
| FarmFactory | 0xa8f535ac1b25a045109990aa4B796EDC26D61aAb |
| InterpolFactory | 0x590B6760a8f0A284F4049Dbd504565DA7319c230 |
| Factory InitCodeHash | 0x96381303b03ccdff6e16503bfc9f8737968762ebc3dc96b4ca37b0168ef9f8a9 |
| Pair InitCodeHash | 0xc8656f6279247b61cd17cb22c21cd36ea5b61058c7041c2b9c26debdca62c8c7 |
interface IMemeswapVault {
function getPriceForAmount(
uint256 amount,
uint256 duration
) external view returns (uint256);
function getAmountForPrice(
uint256 price,
uint256 duration
) external view returns (uint256);
function canRent(uint256 amount) external view returns (bool);
}
struct LaunchParams {
string name; // name of token
string symbol; // symbol of token
uint256 totalSupply; // total supply of token
uint256[] taxes; // see details below
string[] urls; // see details below
uint256 duration; // duration of rental in seconds (default: 86400)
uint256 minAmount; // min. rental amount(slippage applied)
uint256 buyAmount; // pre-buy bera amount
address pairToUnlock; // bypass with address(0)
}
interface IMemeswapTokenFactory {
function launch(
LaunchParams calldata _params
) external payable returns (address token, uint256 liquidity);
function minLiquidity() external view returns (uint256);
function maxLiquidity() external view returns (uint256);
}
taxes: Taxes array length is 4; tax mode, buy tax, sell tax, owner’s share.
urls: URLs for onchain reads.
interface IMemeswapToken {
function maxPerSwap() external view returns (uint256) {
function secondsNeeded() external view returns (uint256);
}