Interfaces
MemezPool
It represents a Memez Pool.
objectId: The Sui Object id of this pool.
poolType: The struct tag of the pool.
curveType: It denotes the possible variants of the pool. E.g. Stable, Auction and Pump.
memeCoinType: The struct tag of the Meme coin.
usesTokenStandard: Denotes if the pool uses the token standard.
ipxMemeCoinTreasury: The id of the Meme coin Treasury.
metadata: A map of the meme coin metadata.
migrationWitness: The struct tag of the migrator witness. It shows to which DEX the pool is going to migrate to.
progress: The current status of the pool. E.g. Bonding, Migrating or Migrated.
stateId: The id of of the state object to fetch the inner state.
dynamicFieldDataId: The id of the dynamic field holding the inner state.
curveState: The inner state related to the variant.
PumpState
Represents the state of the Pump Pool that will be saved in the property curveState in the Memez Pool.
devPurchase: The coins bought by the developer.
liquidityProvision: The amount of meme coin that will be added liquidity.
migrationFee: The payment in Sui that will be charged during migration.
virtualLiquidity: The virtual Sui liquidity to set a floor price.
targetSuiLiquidity: The amount of Sui required to migrate.
suiBalance: The current amount of Sui in the pool.
memeBalance: The amount of meme coin in the pool.
burnTax: The burn tax percentage in bips.
swapTax: The swap fee percentage in bips.
Network
An enum referring to the current network being used.
Mainnet: Sui Network main net
Testnet: Sui Network test net.
Packages
An object containing the packages to interact with Memez.
MEMEZ_FUN: The address of the core Memez package.
ACL: The package of the Memez admin package.
VESTING: The package of the vesting package of Memez package.
MEMEZ_MIGRATOR: The package of the migrator.
Shared Objects
An object containing the shared objects to interact with Memez. Each object has a mutable and immutable reference for optimization purposes.
ACL: Shared object holding the current whitelisted admins.
VERSION: Shared object containing the latest version of the package.
CONFIG: Shared object contain all different configurations:
Fees
Pump State
Stable State
Auction State
MIGRATION_LIST: Shared object contain the allowed migrators.
Config Keys
The configuration supports various values per integrator. For example the fees for Recrd and Default keys will have different values. This is set by the admin.
DEFAULT: This is key to get the default parameters.
Migrator Witnesses
Record of the current allowed migrators.
TEST: Currently we have a test migrator that returns the balances.
Last updated