Skip to content

dewiz-xyz/safeharbor-init

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Initial Deployment Script

Before adoption, a single-time deploy and configuration needs to happen so Sky protocol can safely include changes to the scope within spells. The deployment will happen with the following steps:

  1. EOA AgreementV2 deployment

    • Anyone can deploy an instance of the AgreementV2 contract through its factory
    • Since the initial configuration is too big to safely fit within a spell execution, the first step will be done through an EOA
  2. Initial chain configuration

    • The EOA will use the reference sheet to create the initial state of the scope
    • This includes adding all necessary chains and contracts, as well as the asset recovery addresses
  3. Ownership transfer to DSPause

    • After the initial setup is done, the EOA will fully transfer the ownership of the AgreementV2 contract to the PauseProxy
    • This enables the PauseProxy to modify the scope in the future
  4. Adoption

    • On a future spell, the pause proxy will call safeharborRegistry.adoptSafeHarbor(agreementAddress)
    • This officially accepts the terms and initiates the validity of SafeHarbor integration

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published