Skip to content

KrystalDeFi/krystal-vault-contracts-v2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

158 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Krystal Vault Contracts

This repository contains the smart contracts for the Krystal Vault. The contracts are written in Solidity and are designed to work with the Ethereum blockchain and other EVM-compatible chains. The contracts should work well with all Uniswap V3 Liquidity Pool types.

Table of Contents

Installation

To install the dependencies, run:

yarn install

Usage

Compile

To compile the smart contracts, run:

yarn compile

Test

To run the tests, use:

yarn test

Deploy

To deploy the contracts, use:

yarn deploy -c base -n mainnet

Deployment

The deployment scripts logic are located in the scripts directory. The main deployment logic script is deployLogic.ts. The main deployment script is cmd.sh. The deployment script uses the hardhat framework to deploy the contracts.

Contracts

The main contracts in this repository are:

Events

The contracts emit various events. Some of the key events are:

ConfigEncoderAndDecoder check

forge test -vvv ./test/helpers/ConfigEncoder.sol

High Level Design

image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors