-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[@kadena/client-utils] Implement Marmalade functions - Sale functions #2055
[@kadena/client-utils] Implement Marmalade functions - Sale functions #2055
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
3 Ignored Deployments
|
…t-utils/marmalade-functions-addition
…t-utils/marmalade-functions-addition
…hore/client-utils/marmalade-sale-functions
…t-utils/marmalade-sale-functions
…t-utils/marmalade-sale-functions
packages/libs/client-utils/src/marmalade/get-auction-details.ts
Outdated
Show resolved
Hide resolved
…t-utils/marmalade-sale-functions
b1d964f
into
feat/client-utils/marmalade-functions
* add marmalade generate contract script * create token and create token id functions * small refactor to create token id and create token * mint token functionality * transfer-create function * get balance function * refactor createToken * index file * added unit testing for createId, create and mint tokens * integration testing; lint and style fixes; index file for marmalade * removed unecessary exports * omit sign in dirty reads * changeset file * marmalade integration testing init * make chain argument declared at top; * ci changes: add apt-get update * default chain 0 * unit testing to meet threshold * lint fixes * fix: minor fixes and comments resolutions * fix: adjusted precision type from number to Pact Int * fix: lint fixes * chore: update the create token capability signature * [@kadena/client-utils] Implement Marmalade functions - additions (#1945) * chore: added more maramalade util functions * chore: align create-token with other functions * fix: linting issues * chore: add update-uri function * chore: format files * [@kadena/client-utils] Implement Marmalade functions - Sale functions (#2055) * chore: added more maramalade util functions * chore: align create-token with other functions * fix: linting issues * feat: added sale functions and tests; chore: updated and cleaned read functions * chore: linting * chore: added script to setup test environment before executing integration tests * chore: lint setup marmalade test env file * chore: gnerate marmalade-v2.policy-manager types * chore: check if conventional and dutch auction have been whitelisted * chore: remove whitelisting sale from test setup script * chore: wait for block time helper function * chore: fix lint issue * chore: enforce failure uri guard if not updatable when using guard policy * chore: rename config to updatableURI * chore: remove guard on local calls * feat: added collection-policy functions * chore: adjust the auction end date in tests * chore: cleanup and stability improvements * fix: more time * chore: simplify local call functions * chore: linting * chore: get quote function and reorganize imports (#2187) --------- Co-authored-by: Ivan Magaš <imagas96@gmail.com>
This PR adds all functions required for Marmalade sale, including conventional and dutch sale.
Every sale type has it's own test file and a test file showcasing how to use gas station to fund gas fees.
This is an extension to #1945 PR and follows the same idea with dynamic typescript types so that while writing the command, it shows you all the arguments needed for certain action.