Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Add a progress bar under every chain to show the percentage of the claiming progress. #30

Open
kaisbaccour opened this issue Dec 29, 2023 · 2 comments · Fixed by #31
Open

Comments

@kaisbaccour
Copy link
Contributor

kaisbaccour commented Dec 29, 2023

We are making new rounds for tokens that have not been claimed. starting from round 2 it is not guaranteed that everyine will be able to be fast enough to find some tokens left for them because the maybe all the tokens will already be claimed.
We would like to add a progress bar under every chain to show how many tokens are left and the percentage.

  • when the value of NOIS tokens becomes inferior to 20K NOIS (20_000_000_000unois) we would like to consider the randdrop all claimed, and disallow people from clicking the paticipate button.

  • To know how many tokens are left to claim we can query the bank balance of the randdrop contract

  • To calculate the percentage of claim we can use the total amount to be distributed per chain which are

  1. osmosis: 4M
  2. injective: 4.1M
  3. Juno: 2.6M
  4. Stargaze: 1.2M
  5. Aura: 100K
@kaisbaccour
Copy link
Contributor Author

@hoangdv2429
In case this could help:
The unois denoms on different chains are listed here
https://docs.nois.network/node_operators/mainnet.html#ibc-denoms

Stargaze (stargaze-1): ibc/0F181D9F5BB18A8496153C1666E934169515592C135E8E9FCCC355889858EAF9
Juno (juno-1): ibc/1D9E14A1F00613ED39E4B8A8763A20C9BE5B5EA0198F2FE47EAE43CD91A0137B
Injective (injective-1) ibc/DD9182E8E2B13C89D6B4707C7B43E8DB6193F9FF486AFA0E6CF86B427B0D231A
Aura ibc/1FD48481DAA1B05575FE6D3E35929264437B8424A73243B207BCB67401C7F1FD
Osmosis ibc/6928AFA9EA721938FED13B051F9DBF1272B16393D20C49EA5E4901BB76D94A90

@kaisbaccour
Copy link
Contributor Author

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant