Skip to main content

Module instruction

Module instruction 

Source

Structs§

Allocate
Allocate instruction data - creates on-chain allocation accounts
Claim
Claim instruction data Claim methods align with campaign fulfill_method:
CreateCampaign
CreateCampaign instruction data - creates a new campaign using an existing mint
CreateMint
CreateMint instruction data - creates a new SPL token mint with metadata This creates ONLY the mint, not a campaign. Use CreateCampaign to create campaigns.
DirectTransfer
DirectTransfer instruction data - allows campaign owner to transfer tokens directly to recipients Batch size limited to 10 recipients per transaction (Solana tx size limit)
Initialize
Initialize program instruction data
MintTokens
MintTokens instruction data - allows campaign owner to mint more tokens
Replenish
Replenish instruction data - allows campaign owner to transfer more tokens from mint treasury to campaign treasury
UpdateConfig
UpdateConfig instruction data
WithdrawFees

Enums§

AirdropInstruction
Instruction enum Instructions are split into two groups: