Skip to content
This repository was archived by the owner on Jun 18, 2025. It is now read-only.
This repository was archived by the owner on Jun 18, 2025. It is now read-only.

Add AirdropSupply option #8

Description

@lubtd

Most of the time, the total amount to be distributed for airdrop will not be calculated dynamically from the sum of all claim records obtained from the snapshots and formula, but each claim record will be calculated from a fixed airdrop supply

airdrop.yml:

AirdropSupply: 1000000udrop

Invariant:

AirdropSupply == (DustWallet * NbClaimRecords) + Σ(ClaimRecord)

There should be an additional step in the claim records creation that calculate the final claim record from the processed data and airdrop supply:

(naming not definitive, just ideas)

- [BlockchainState]

-> snapshot()

- [RawSnapshotData]

-> filter(addresses)

- [FilteredSnapshotData]

-> process(formula)

- [ProcessedSnapshotData]

-> finalize(airdropSupply)

- [ClaimRecords] + [WalletBalances] (dust wallets)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions