WokenExchange
Woken Exchange
  • 👋Welcome to Woken Exchange
  • Preface
    • 💡Birth of the idea
    • ⏮️Project genesis
  • Predefined Trading Hours?
    • 👷For Web3 Builders
    • 👨‍💼For Investors
    • 🏬For IRL companies
    • 🌍To boost the adoption
    • 🏢For Institutionals ?
    • ⚖️To seduce the States ?
  • Woken V1 : our solution
    • 🔬Overview
    • 🔃Swap open/closed
    • 🅿️Pool open/closed
    • ⏳Timekeeper
      • 🕓Settings Trading Hours
      • ⚙️Safety Tools
    • ✅Certified Projects
    • 👥DAO : vote
      • 🗳️Woken Protocol Votes
        • 📓How to submit and vote for the Woken Protocol?
      • ✅Woken Certified Projects : vote market
        • 📓How to submit and vote market?
      • ⚙️Snapshot API
  • PROTOCOL & Tokenomic
    • 🪙$WKN Woken DAO Token
    • 📊Tokenomic
    • 💲DAO Rewards
    • 🔁Fees
    • ⛓️Multi-chain
    • 🛣️Roadmap
  • Woken V2 : evolutions
    • 🚀Woken V2
  • Tools
    • 🤖Woken Timekeeper Events BOT
    • 🛡️Sample ERC20 protected by Timekeeper
  • Team
    • 👨‍💻Core Team and Contributors
  • Security
    • 🔐Audit & Verifications
    • 📔Contracts and wallets
  • FAQ
    • ❔Frequently Asked Questions
  • Media kit
    • 📸Logo
    • 📩Contact
  • Official Links
    • 🌐Links
  • Legal
    • Legal Disclaimer
Powered by GitBook
On this page
  • setSwapFee Function
  • FeeOn (FeeTo) enabled
  1. PROTOCOL & Tokenomic

Fees

Fees and swapFee function

PreviousDAO RewardsNextMulti-chain

Last updated 1 year ago

Woken Exchange is a fork of UniswapV2 (x × y = k)

The classic UniswapV2 model charges a 0.3% swap fee, which is accrued by the liquidity provider as LP token.

setSwapFee Function

The Woken can customize their liquidity pair's swap fees using the setSwapFee function. They can move from 0.3% (default fees) to a maximum of 1% These fees are accumulated as LP tokens for the liquidity providers of the pair.

function setSwapFee
WokenPair.sol
function setSwapFee(uint32 _swapFee) external {
        require(_swapFee >= 3, "Woken: lower then 3");
        require(msg.sender == factory, 'Woken: FORBIDDEN');
        require(_swapFee <= 10, 'Woken: FORBIDDEN_FEE');
        swapFee = _swapFee;
    }
WokenFactory.sol
function setSwapFee(address _pair, uint32 _swapFee) external isPairAdminDao(_pair) {
        WokenPair(_pair).setSwapFee(_swapFee);
        emit SwapFeeChange(_pair, _swapFee, msg.sender);
    }

FeeOn (FeeTo) enabled

The fee for the Woken protocol (FeeOn) is 1/6th of the fee of a liquidity pair, accrued as LP token. They are mainly used for :

  1. Proving liquidity to the WKN-USDC LP on the Arbitrum chain (genesis LP) by adding WKN from our reserve + USDC from fees earned.

  2. Create new WKN-USDC pairs (with our WKN reserves) on other blockchains to open up the DAO and welcome new Certified Projects.

  3. WKN buyback to keep a minimum amount of WKN to reward the DAO protocol votes (or burn, according to a protocol vote).

  4. Pay the maintenance and the development of the protocol

  5. Marketing

In , we aim to open stable pairs (USDT-USDC) based on a UniswapV3 model, offering 0.01% swap fees.

🔁
Certified Projects
Woken V2