Storage
Returns
D9Referrals::ReferralRelationships(child)
Parent (referrer) account
D9Referrals::DirectReferralsCount(parent)
Count of direct referrals
When account A sends account B a positive, top-level Balances::transfer_keep_alive or Balances::transfer_allow_death and B has no existing referrer, A permanently becomes B’s referrer.
Storage
Returns
D9BurnMining::BurnAccounts(account)
Total burned, remaining balance due, and last interaction timestamp
D9BurnMining::GovernedBurnMinimum
Minimum burn amount
D9BurnMining::GovernedVotePrice
USDT equivalent per voting interest unit
D9BurnMining::burn(amount)
amount: A positive multiple of 100 D9 (12 decimals), at least GovernedBurnMinimum.
After finalization, balance_due increases by 3× amount, and the user receives floor(amount / GovernedVotePrice) whole voting units.
Withdraw before burning again
Every burn call resets last_interaction to the current block time. Any unwithdrawn accrued rewards are forfeited.
Submit only after at least 24 hours have elapsed since last_interaction.
Rewards include referral-tree boost coefficients and are paid from the mining pool to the caller.
Users acquire voting interest by burning D9 or participating in merchant payments.
Storage
Returns
D9Voting::UsersVotingInterests(account)
Total and currently delegated votes
D9Voting::UserToNodeVotes(account, node)
Votes delegated to a specific candidate
D9Voting::NodeAccumulativeVotes(node)
Cumulative votes received by a candidate
Call
Purpose
Constraints
D9Voting::delegate_votes(candidate, votes)
Delegate available votes to a validator candidate
Resets the vote lock (VoteLockBlocks = 14 * DAYS).
D9Voting::remove_votes(candidate, votes)
Undelegate votes from a candidate
Allowed only after the lock expires; starts a cooldown (RetractionCooldownBlocks = 1 * DAYS).
D9Voting::redistribute_votes(from_candidate, to_candidate, votes)
Move votes between candidates
No unbonding period required.