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 Router for the Casper Blockchain

PreviousFLASH SWAPPERNextUsage

Last updated 3 years ago

Router makes use of other contracts (factory, pair, library, etc) and can add, remove or swap tokens from liquidity pools.

Security Review Status

QuantstampSecured

View Report - commit 237cf3fa15ee95843603ab3857789cf2b53d58b7

Contents

The CasperSwap router consists of 2 smart contracts:

  1. uniswap-v2-library

  2. uniswap-v2-router

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 page04.2 LTS. For further information, please refer to the introduction page