Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(grc20-launchpad): realms & pkg (#1263)
* feat(erc20-launchpad): initialize token factory realm * feat(erc20-launchpad): initialize gno mod * feat(erc20-launchpad): add totalSupplyCap, allowMint and allowBurn to grc20factory * feat: add 2.5% fee at creation of grc20 token * feat: add airdrop contract * feat(launchpad-grc20): add redeem function in airdrop contract * fix(launchpad-grc20): resolve syntax errors raised by gnovm * fix(launchpad-grc20): resolve syntax errors raised by gnovm * feat(launchpad-grc20): add render in a separate file and set a welcome message on empty path * chore(launchpad-grc20): gofumpt * feat(launchpad-grc20): add mux router and define the render routes structure * feat(launchpad-grc20): add rendering of token details * feat(launchpad-grc20): add rendering of tokens balance for each user * feat(launchpad-grc20): add redeem test of airdrop * chore(launchpad-grc20): run gofumpt * feat(launchpad-grc20): add render of airdrop details & claim check page * feat(launchpad-grc20): add start & end date for airdrop * fix(launchpad-grc20): save timestamp end & start into the airdrop struct instance * feat(launchpad-grc20): add sale realm w/ creating and buying mechanism * feat(launchpad-grc20): add sale render functions * tests(launchpad-grc20): add airdrop tests * tests(launchpad-grc20): add new token tests * tests(launchpad-grc20): add mint token tests * tests(launchpad-grc20): add burn token tests * feat(launchpad-grc20): add buy function * feat(launchpad-grc20): add refund mechanism for sale when not reaching the minimum goal * fix(launchpad-grc20): fix sales syntax errors * tests(launchpad-grc20): add sale creation test * tests(launchpad-grc20): add sale buy & finalize test * feat(launchpad-grc20): add ownable factory admin that can edit factory vault addr * feat(launchpad-grc20): add optional merkle tree whitelist in sale * tests(launchpad-grc20): add private sale test creation & buy mechanism * chore(launchpad-grc20): run gofumpt & fix lint errors * tests(launchpad-grc20): implement interface grc20.Token on our token type * tests(launchpad-grc20): implement interface grc20.Token on our token type * chore(launchpad-grc20): run gno mod tidy * style(launchpad-grc20): add a page to display balance of a buyer for a specific sale * feat(launchpad-grc20): add ClaimJSON function to pass the proofs through the function * feat(launchpad-grc20): add BuyJSON function to pass the proofs through the function * fix(launchpad-grc20): add json & hex imports on sale contract * feat(launchpad-grc20): add render of 5 last tokens, airdrop & sale created & add hyperlinks * feat(launchpad-grc20): add render of airdrops & sales linked to a token & add footer * feat(launchpad-grc20): use seqid instead of basic uint64 * feat(launchpad-grc20): use gnoland/p/demo/merkle pkg & fix seqid display * feat(launchpad-grc20): use a modified verision of merkle tree pkg * fix(launchpad-grc20): initialize the sales & airdrop seqid at 0 * fix(p/demo/merkle): use constructor & position getter * ci(launchpad-grc20): bump gno hash commit
- Loading branch information