Launch token through VaultPortal
Key interfaces
/// @notice Create a new tax token with an associated vault in a single transaction
/// @param params The parameters for creating the tax token and vault
/// @return token The address of the newly created tax token
function newTaxTokenWithVault(NewTaxTokenWithVaultParams calldata params)
external
payable
returns (address token);struct NewTaxTokenWithVaultParams {
string name;
string symbol;
string meta;
IPortalTypes.DexThreshType dexThresh;
bytes32 salt;
uint16 taxRate;
IPortalTypes.MigratorType migratorType;
address quoteToken;
uint256 quoteAmt;
bytes permitData;
bytes32 extensionID;
bytes extensionData;
IPortalTypes.DEXId dexId;
IPortalTypes.V3LPFeeProfile lpFeeProfile;
uint64 taxDuration;
uint64 antiFarmerDuration;
uint16 mktBps;
uint16 deflationBps;
uint16 dividendBps;
uint16 lpBps;
uint256 minimumShareBalance;
address vaultFactory;
bytes vaultData;
}How to launch
Find the salt (vanity suffix)
Reading vault info
Last updated