The Honeycomb instance to use for creating the operation.
The arguments required to create the initialization multiplier operation.
An object containing the created operation.
// Assuming you have initialized the `honeycomb` instance and imported necessary types
const initMultipliersArgs: InitMultipliersArgs = {
durationMultipliers: [...],
countMultipliers: [...],
creatorMultipliers: [...],
collectionMultipliers: [...],
};
const stakingPool = new web3.PublicKey("your_staking_pool_address");
const project = new web3.PublicKey("your_project_address");
const createInitArgs: CreateInitMultiplierOperationArgs = {
args: initMultipliersArgs,
stakingPool,
project,
};
const operationResult = await createInitMultiplierOperation(honeycomb, createInitArgs);
console.log("Created operation:", operationResult.operation);
Generated using TypeDoc
Creates an initialization multiplier operation. This operation initializes the multipliers for a staking pool.