The CasperSwap Protocol
  • The Casperswap V2 Protocol
    • What’s Casperswap
    • How Casperswap Works
    • Ecosystem Participants
    • Smart contracts
    • Swaps
    • Pools
    • Flash Swaps
    • Oracles
    • Fees
    • Pricing
    • Understanding Returns
  • How to Make a Swap on Casperswap
    • Using Casper Wallet
    • Using Torus Wallet
    • Using MetaMask Wallet
  • How to Provide and Remove Liquidity on Casperswap
    • Providing Liquidity on Casperswap
    • Removing Liquidity on Casperswap
  • How to Bridge to Casper Network
    • Bridging to Casper Network
  • Technical references
    • CasperSwap - Uniswap V2 Core for the Casper Blockchain
      • USAGE
      • ERC-20
      • WCSPR
      • PAIR
      • FACTORY
      • FLASH SWAPPER
    • CasperSwap - Uniswap V2 Router for the Casper Blockchain
      • Usage
  • Tokenomics
Powered by GitBook
On this page
  • Security Review Status
  • Contents
  • Interacting with the contract
  1. Technical references

CasperSwap - Uniswap V2 Core for the Casper Blockchain

PreviousTechnical referencesNextUSAGE

Last updated 3 years ago

Implementation of ERC20 Token, Pair ,Factory, Flash Swapper, and WCSPR Contract for the CasperLabs platform.

Security Review Status

QuantstampSecured

View Report - commit 801eaaedf4a5fe106cebdc157c82ac801fc04caa

Contents

The CasperSwap core consists of 5 smart contracts:

  1. ERC20 Token Contract

  2. Pair Contract

  3. Factory Contract

  4. FLASH SWAPPER Contract

  5. WCSPR Contract

Interacting with the contract

You'll need to have casper-client and jq installed on your system in order to run the examples.

These instructions have been tested on Ubuntu 20.04.2 LTS. For additional information, please refer to the introduction page.