Tags: TessorNetwork/Tessor
Tags
add max claimable tokens query (#375) ## Context and purpose of the change - Add a query to get the total number of tokens a user can claim in an airdrop period - Add a setup script to run the airdrop locally (reproducibly) ## Changelog - Add `includeClaimed` arg to `TotalClaimable` query (and dependent functions) ## Testing - Add unittest I also tested this manually, by running ``` make start-docker bash scripts/airdrop.sh $STRIDE_MAIN_CMD query claim total-claimable stride stride1nf6v2paty9m22l3ecm7dpakq2c92ueyununayr "true" ``` and verifying the output ``` coins: - amount: "600000" denom: ustrd ``` using `"false"` returns ``` coins: [] ```
PreviousNext