Skip to content

coredao-org/pegged-token-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pegged Token Converter

The pegged token converter enables direct 1:1 conversion between two tokens without any fees or slippage.

The owner is responsible for supplying token liquidity, after which users can freely execute conversions. In its default mode, the converter only allows for unidirectional conversions. The owner can optionally enable bidirectional conversions, such that users can convert back the other way. As all liquidity on the contract belongs to the owner, they can withdraw it at any time.

Usage

Build

$ forge build

Test

$ forge test

About

Enables direct 1:1 conversion between two tokens without any fees or slippage

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •