Skip to content
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

SDK support for StableTokenRegistry #9601

Merged
merged 95 commits into from
Jul 14, 2022

Conversation

ninabarbakadze
Copy link
Contributor

Description

providing sdk support for on-chain stable token registry

Related issues

@ninabarbakadze ninabarbakadze marked this pull request as ready for review June 15, 2022 11:59
@ninabarbakadze ninabarbakadze requested a review from a team June 15, 2022 11:59
@ninabarbakadze ninabarbakadze requested a review from a team as a code owner June 15, 2022 11:59
@ninabarbakadze ninabarbakadze changed the base branch from ninabarbakadze/stable-token-registry to master June 21, 2022 10:39
Copy link
Contributor

@pedro-clabs pedro-clabs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, Nina!

packages/sdk/contractkit/src/contract-cache.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@pedro-clabs pedro-clabs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks, Nina!

@ninabarbakadze ninabarbakadze merged commit 5f38b4f into master Jul 14, 2022
martinvol added a commit that referenced this pull request Sep 21, 2022
* initial contract creation

* added a contructor and a mapping

* added function that add fiat tickers into the collection

* function that returns all the fiat symbols thats been issued

* quering a stable contract functionality

* function to retrieve all the contract instances from a mapping

* removing unnecessary imports

* function that returns all the contracts

* added comments

* removed unnecessary function

* removed unnecessary function

* functionality to remove unsupported tokens

* function that adds new instances to the registry

* poor indentation

* resolving bugs

* suggested improvements

* writing initialize

* updated inconsistent syntax

* initialize function is implemented

* some of the resolved compile errors

* resolving compiler issues

* last of compiler issues

* upgrading removeStableToken funrction

* updated registry

* updated initialize function

* removed commented out code

* updated comments

* created a proxy

* updating build file

* updated build file

* initialize test suit

* updating registry contract

* first few tests are passing

* remove stableToken function

* resolving a mistake

* resolving based on corrections

* tests for remove function complete

* test suit for adding contracts

* tests pass

* adding more arguments to compare

* adding registry contract to the registry

* registry migrations

* unsaved changes

* bug fixed in initialized and two more found it addnewstabletoken

* refactoring get contracts function

* converted to bytes and contract compiles

* initialize function added to tests

* 8 tests pass, refactoring the contract

* latest

* fixing bugs

* everything works ✨

* added a contraxt query function + tests

* lists all the correct contract namea after adding and removing one ✨😭

* all functions are fully tested and work

* adding it to the registry

* finished

* fixed migrations

* amount of arguments in initialize error fixed

* bug

* had an accidental type in reserve

* migration tests pass

* one minor fix needed

* removed from registry

* readded in registry-utils

* upgraded the number of migration file the tests should run to

* cleaning up

* applying suggestions

* skeleton

* more configs

* added methods

* type error in queryStableTokenContractNames

* adding a helper

* getContractInstances compiles

* everything compiles

* adding comments

* added a function that returns fiatTickers

* sdk tests

* error in ts wrapper

* fixed migration error

* tests pass

* fix lint

* more lint fix

* Delete release9.json

* improved naming

* Update packages/sdk/contractkit/src/wrappers/StableTokenRegistry.ts

Co-authored-by: pedro-clabs <77401336+pedro-clabs@users.noreply.github.com>

* post-review changes

* cleanup

* refactoring getFiatTicker function

* Update StableTokenRegistry.sol

Co-authored-by: Nina Barbakadze <ninabarbakadze@macbook-pro-4.localdomain>
Co-authored-by: Nina Barbakadze <ninabarbakadze@MacBook-Pro-4.local>
Co-authored-by: Nina Barbakadze <ninabarbakadze@vd47kwk70w.localdomain>
Co-authored-by: Martín Volpe <volpe@clabs.co>
Co-authored-by: pedro-clabs <77401336+pedro-clabs@users.noreply.github.com>
ninabarbakadze added a commit that referenced this pull request Nov 28, 2022
alecps added a commit that referenced this pull request Nov 29, 2022
Revert "SDK support for StableTokenRegistry (#9601)"

This reverts commit 5f38b4f.

Co-authored-by: Alec Schaefer <alec@cLabs.co>
@mcortesi mcortesi deleted the ninabarbakadze/sdk-StableTokenRegistry branch August 23, 2023 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create ContractKit for StableTokenRegistry.sol
3 participants