Aktionariat Documentation
  • Introduction to Aktionariat
    • ⚡Quick Start
  • 🛠️APIs
    • 📊Subgraph
      • Schema
      • Query Examples
        • Platform data
        • Token Data
        • Brokerbot Data
        • Swaps Data
    • ⚙️External API
      • ⚙️External API (Gitbook)
  • 🌐Web
    • Integrate with Ethers.js
      • Brokerbot Quoter
    • Integrate Aktionariat Widgets
  • ⛓️Smart Contracts
    • 📔Contracts Overview
    • 👷‍♂️Guides
      • Implement A Trade
        • Direct Trades
        • Multihop Trades
      • Get Brokerbot Contract for Token
      • Buy Shares
      • Sell Shares
    • Technical Reference
      • Allowlist
      • Brokerbot
      • Drag-Along
      • Infinite Allowances
      • Multi-Signature Contract
      • Recovery
      • Shareholder Registry
  • 📖Reference
    • Brokerbot Architecture
    • Github
    • Whitepaper
    • Brokerbot Analytics
  • 💬Socials
    • Twitter
    • Telegram
    • LinkedIn
    • Youtube
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
  1. Smart Contracts
  2. Guides

Implement A Trade

with the Brokerbot Router, an integration of the Uniswap V3 Router interface

PreviousGuidesNextDirect Trades

Last updated 1 year ago

Was this helpful?

There are two ways to trade (buy&sell) share tokens:

  • Direct trade of base currency and share token (single swap)

  • Multihop trade between ERC20/ETH and share token with a trading path (multihop swap)

These trades all use the functions and structs from the interface from Uniswap.

Github source

⛓️
👷‍♂️
ISwapRouter
Source for the smart contract of the different trades
Source for a runnable script to call the example trades contract
Direct Trades
Multihop Trades