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

[Routing] Add registry contract #4437

Closed
3 of 10 tasks
Tracked by #4344
nicolaslara opened this issue Feb 27, 2023 · 0 comments · Fixed by #4320
Closed
3 of 10 tasks
Tracked by #4344

[Routing] Add registry contract #4437

nicolaslara opened this issue Feb 27, 2023 · 0 comments · Fixed by #4320
Assignees

Comments

@nicolaslara
Copy link
Contributor

nicolaslara commented Feb 27, 2023

Background

Epic: #4344

Suggested Design

Add registry contracts with the necessary information to make routing packets from cosmwasm contracts easy.

Registries:

  • Contract by name. (i.e.: "crosschain_swaps" -> "osmo1..." )
  • Chain by channel link (i.e.: (osmosis, channel-42) -> juno )
  • Channel by chain link (i.e.: (osmosis, juno) -> channel-42 )
  • Has PFM (i.e.: osmosis -> True)

Others that I'm not sure if we need:

  • IBC denom? (i.e.: "ibc/a1b2.." -> (juno, ustars) )
  • Native chain (i.e.: ustars -> stargaze)

Acceptance Criteria

  • Contracts created
  • Added tests
  • Spec/Comments
  • Consider using IndexMap to simplify storage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants