Skip to content

Conversation

infiniteflower
Copy link
Contributor

@infiniteflower infiniteflower commented Sep 3, 2024

This PR reapplies the work from #277

nikoferro and others added 6 commits August 27, 2024 09:41
…280)

* chore: updating dependencies to match mobile current versions

* feat: basecontrollerv2 refactor

* fix: linter fix

* fix: test fix

* chore: exposing types of actions and events

* fix: removing provider from state since its not serializable

* fix: fix for resetting state while keeping the current chain and last fetched config

* chore: export controller types

* Update src/types.ts

Co-authored-by: Jongsun Suh <jongsun.suh@icloud.com>

* Update src/types.ts

Co-authored-by: Jongsun Suh <jongsun.suh@icloud.com>

* Update src/types.ts

Co-authored-by: Jongsun Suh <jongsun.suh@icloud.com>

* Update src/SwapsController.ts

Co-authored-by: Jongsun Suh <jongsun.suh@icloud.com>

* Update src/constants.ts

Co-authored-by: Jongsun Suh <jongsun.suh@icloud.com>

* Update src/types.ts

Co-authored-by: Jongsun Suh <jongsun.suh@icloud.com>

* Update src/swapsUtil.ts

Co-authored-by: Jongsun Suh <jongsun.suh@icloud.com>

* Update src/SwapsController.ts

Co-authored-by: Jongsun Suh <jongsun.suh@icloud.com>

* Update src/SwapsController.ts

Co-authored-by: Jongsun Suh <jongsun.suh@icloud.com>

* Update src/SwapsController.ts

Co-authored-by: Jongsun Suh <jongsun.suh@icloud.com>

* Update src/SwapsController.ts

Co-authored-by: Jongsun Suh <jongsun.suh@icloud.com>

* Update src/SwapsController.ts

Co-authored-by: Jongsun Suh <jongsun.suh@icloud.com>

* Update src/types.ts

Co-authored-by: Jongsun Suh <jongsun.suh@icloud.com>

* Update src/SwapsController.ts

Co-authored-by: Jongsun Suh <jongsun.suh@icloud.com>

* Update src/types.ts

Co-authored-by: Jongsun Suh <jongsun.suh@icloud.com>

* Update src/SwapsController.ts

Co-authored-by: Jongsun Suh <jongsun.suh@icloud.com>

* chore: pr feedback changes

* chore: make explicit which properties are already anonymous

* chore: default value for state as an optional parameter

* fix: remove any types and improve util types

* fix: removes type cast that is no longer needed

Co-authored-by: Jongsun Suh <jongsun.suh@icloud.com>

---------

Co-authored-by: Jongsun Suh <jongsun.suh@icloud.com>
Co-authored-by: Marta Poling <marta.hourigan.johnson@gmail.com>
* chore: updating dependencies to match mobile current versions

* feat: basecontrollerv2 refactor

* fix: linter fix

* fix: test fix

* chore: exposing types of actions and events

* fix: removing provider from state since its not serializable

* fix: fix for resetting state while keeping the current chain and last fetched config

* chore: export controller types

* Update src/types.ts

Co-authored-by: Jongsun Suh <jongsun.suh@icloud.com>

* Update src/types.ts

Co-authored-by: Jongsun Suh <jongsun.suh@icloud.com>

* Update src/types.ts

Co-authored-by: Jongsun Suh <jongsun.suh@icloud.com>

* Update src/SwapsController.ts

Co-authored-by: Jongsun Suh <jongsun.suh@icloud.com>

* Update src/constants.ts

Co-authored-by: Jongsun Suh <jongsun.suh@icloud.com>

* Update src/types.ts

Co-authored-by: Jongsun Suh <jongsun.suh@icloud.com>

* Update src/swapsUtil.ts

Co-authored-by: Jongsun Suh <jongsun.suh@icloud.com>

* Update src/SwapsController.ts

Co-authored-by: Jongsun Suh <jongsun.suh@icloud.com>

* Update src/SwapsController.ts

Co-authored-by: Jongsun Suh <jongsun.suh@icloud.com>

* Update src/SwapsController.ts

Co-authored-by: Jongsun Suh <jongsun.suh@icloud.com>

* Update src/SwapsController.ts

Co-authored-by: Jongsun Suh <jongsun.suh@icloud.com>

* Update src/SwapsController.ts

Co-authored-by: Jongsun Suh <jongsun.suh@icloud.com>

* Update src/types.ts

Co-authored-by: Jongsun Suh <jongsun.suh@icloud.com>

* Update src/SwapsController.ts

Co-authored-by: Jongsun Suh <jongsun.suh@icloud.com>

* Update src/types.ts

Co-authored-by: Jongsun Suh <jongsun.suh@icloud.com>

* Update src/SwapsController.ts

Co-authored-by: Jongsun Suh <jongsun.suh@icloud.com>

* chore: pr feedback changes

* chore: make explicit which properties are already anonymous

* chore: default value for state as an optional parameter

* chore: remove web3 package

* chore: add @ethersproject/contracts

* chore: add @ethersproject/providers

* chore: remove web3 and use ethers contracts instead

* fix: broken tests

---------

Co-authored-by: nikoferro <nicolaspatricioferro@gmail.com>
Co-authored-by: Jongsun Suh <jongsun.suh@icloud.com>
@infiniteflower
Copy link
Contributor Author

Closing in favor of #314

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.

3 participants