List of all items
Structs
- dmt::DailyParticipantData
- dmt::EpochClaimData
- dmt::SocialClaimData
- event::MetricsUpdatedEvent
- event::RewardClaimedEvent
- event::SnapshotUpdatedEvent
- instruction::BatchClaim
- instruction::Claim
- instruction::Close
- instruction::Initialize
- instruction::Open
- instruction::Reset
- instruction::UpdateMetrics
- instruction::UpdateOracle
- instruction::UpdateSnapshot
- instruction::UpdateTargets
- sdk::MerkleProof
- sdk::MerkleTree
- sdk::SealMerkleTree
- sdk::SealProof
- state::ActivityLimits
- state::CommunityTargets
- state::Config
- state::Metrics
- state::Proof
- state::Snapshot
- state::SocialMarketingConfig
- state::Treasury
Enums
Traits
Functions
- calculations::apply_activity_cap
- calculations::calculate_community_score
- calculations::calculate_customer_reward
- calculations::calculate_customer_reward_with_cap
- calculations::calculate_merchant_reward
- calculations::calculate_merchant_reward_with_cap
- calculations::calculate_smooth_community_decay
- calculations::calculate_time_decay
- calculations::calculate_weighted_geometric_mean
- check_id
- consts::calculate_customer_reward_transparent
- consts::calculate_customer_reward_transparent_with_cap
- consts::calculate_daily_rewards
- consts::calculate_daily_rewards_split
- consts::calculate_merchant_reward_transparent
- consts::calculate_merchant_reward_transparent_with_cap
- consts::miracle_epoch_0_genesis
- id
- sdk::batch_claim_date_range
- sdk::batch_claim_vector
- sdk::calculate_customer_reward_transparent
- sdk::calculate_customer_reward_transparent_with_cap
- sdk::calculate_merchant_reward_transparent
- sdk::calculate_merchant_reward_transparent_with_cap
- sdk::calculate_social_reward_amount
- sdk::claim
- sdk::close
- sdk::compute_epoch_hash
- sdk::create_merkle_tree
- sdk::create_participant_from_wallet
- sdk::create_seal_merkle_tree
- sdk::create_seal_merkle_tree_from_roots
- sdk::create_social_claim_data
- sdk::date_range_to_epochs
- sdk::epoch_to_timestamp
- sdk::find_participant_by_wallet
- sdk::find_participant_index
- sdk::generate_claim_key
- sdk::generate_proof_for_wallet
- sdk::generate_seal_proof
- sdk::initialize
- sdk::open
- sdk::reset
- sdk::sort_participants_by_id
- sdk::timestamp_to_epoch
- sdk::update_metrics
- sdk::update_oracle
- sdk::update_snapshot
- sdk::update_targets
- sdk::validate_community_metrics
- sdk::validate_social_post_url
- sdk::verify_dual_merkle_claim
- sdk::verify_merkle_proof
- sdk::wallet_to_participant_id
- state::config_pda
- state::metrics_pda
- state::proof_pda
- state::snapshot_pda
- state::treasury_pda
- utils::claim::epoch_claim_data_from_hex
- utils::claim::epoch_claim_data_from_u64
- utils::hex::bytes_to_hex_string
- utils::hex::hex_string_to_bytes
- utils::hex::hex_string_to_hash_bytes
- utils::hex::hex_string_to_u64_bytes
Constants
- ID
- consts::BASE_DAILY_REWARDS
- consts::BASIS_POINTS
- consts::CONFIG
- consts::CONFIG_ADDRESS
- consts::END_AT
- consts::EPOCH_0_START
- consts::EPOCH_DURATION
- consts::INITIALIZER_ADDRESS
- consts::MAX_PAYMENT_PROOF_LENGTH
- consts::MAX_SEAL_PROOF_LENGTH
- consts::MAX_SUPPLY
- consts::METADATA
- consts::METADATA_ADDRESS
- consts::METADATA_NAME
- consts::METADATA_SYMBOL
- consts::METADATA_URI
- consts::METRICS
- consts::METRICS_ADDRESS
- consts::METRICS_BUMP
- consts::MINT
- consts::MINT_ADDRESS
- consts::MINT_BUMP
- consts::MINT_NOISE
- consts::ONE_MIRACLE
- consts::PAYMENT_POOL_LIMIT
- consts::PROOF
- consts::SNAPSHOT
- consts::SNAPSHOT_ADDRESS
- consts::SNAPSHOT_BUMP
- consts::SOCIAL_POOL_LIMIT
- consts::START_AT
- consts::TEN_MIRACLE
- consts::TOKEN_DECIMALS
- consts::TREASURY
- consts::TREASURY_ADDRESS
- consts::TREASURY_BUMP
- consts::TREASURY_TOKENS_ADDRESS
- consts::USDC_MINT
- consts::USDT_MINT
- consts::WSOL_MINT