Skip to content

Zebec-protocol/migration-program

Repository files navigation

ZEBEC NETWORK MIGRATION CONTRACT

The Zebec Protocol and its ZBC token are currently undergoing a transition to The Zebec Network, accompanied by a corresponding change to the ZBCN token ticker. This adjustment aims to accurately reflect our evolving business model, expanded product portfolio, and the underlying infrastructure. The contract facilitates the migration of existing ZBC tokens to the new ZBCN tokens, which will have a maximum supply of 100 billion.

Functions

  1. init_config():
    Initialize configurations for the migration program.
  2. migrate_token():
    Migrate ZBC tokens to ZBCN tokens.
    This involves burning ZBC tokens held by the user & simultaneously minting equivalent amount of ZBCN tokens.
  3. emergency_pause():
    Pause/Resume migration process.
  4. update_admin():
    Update Admin of the migration program.

Install the packages

npm install

Build the program

anchor build

Run the test

anchor run test

Note: The migration program is one way : 1 ZBC -> 10 ZBCN.
The migration program will stop once 100,000,000,000 ZBCN tokens are minted.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published