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

#DEV-22 build: core contracts (deploy, init, and configuration) #4

Open
wants to merge 71 commits into
base: main
Choose a base branch
from

Conversation

ryanycw
Copy link
Collaborator

@ryanycw ryanycw commented Jul 24, 2023

Summary

The purpose of this pull request is to reorganize the repository to maintain a consistent diamond contract style.

Details

With the current diamond standard fashion, the core diamond contract NonFungiblePositionVault is responsible for mapping functions. Submodules mapping and upgrade logic can be found in LibFunctionRouter, while all storage structure is located in LibAppStorage. Additionally, the function logic is in submodules/, and any shared functions between submodules are moved to libraries/, such as LibPostionManager.sol in src/libraries/.

Todo

  • Implementations of ConfigureSubmodule
  • Implementations of GovernanceSubmodule
  • Test Vault deployment
  • Test Vault Initiation
  • Test Vault Upgrade on Submodules
  • Test Vault Upgrade on Storage

@notion-workspace
Copy link

@ryanycw ryanycw changed the title [WIP] #DEV-22 build: core contracts (deploy, init, and configuration) #DEV-22 build: core contracts (deploy, init, and configuration) Aug 4, 2023
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.

1 participant