Docs.rs
airdrop-api-0.1.0
airdrop-api 0.1.0
Permalink
Docs.rs crate page
Apache-2.0
21 October 2026
Links
Homepage
Documentation
Repository
crates.io
Source
Owners
miralandlabs
Dependencies
bytemuck ^1.16.1
normal
const-crypto ^0.3.0
normal
mpl-token-metadata ^5.1
normal
num_enum ^0.7.2
normal
solana-program >=2.1, <3.0.0
normal
spl-associated-token-account ^7
normal
spl-token ^4
normal
steel ^4.0
normal
Versions
51.04%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Module pda
airdrop_
api
0.1.0
Module pda
Module Items
Functions
In crate airdrop_
api
airdrop_api
Module
pda
Copy item path
Source
Functions
§
allocation_
pda
Derive the PDA of an allocation account
campaign_
pda
Derive the PDA of a campaign account
campaign_
treasury_
pda
Derive the PDA of a campaign’s treasury (one per campaign, for distribution)
config_
pda
Derive the PDA of the config account
fee_
account_
pda
Derive the PDA of the fee account
mint_
authority_
pda
Derive the PDA of a mint’s authority (shared across campaigns using same mint) This is the key function: one PDA per mint, not per campaign
mint_
pda
Derive the PDA of a mint mint_id can be:
mint_
treasury_
pda
Derive the PDA of a mint’s treasury (one per mint, holds all minted tokens) Similar to miracle-copy’s single treasury, but one per mint This treasury holds all tokens minted for a specific mint