← Back to list

YFBETA/KBR Pre-Order | Smart contract reference

Important Notes

Lance · 2020-11-24 08:36 · 4 claps · 0.7 min read
#kerberosfinance #yfbeta #defi #smart-contracts
Open on Medium ↗
Wiki topics: CRY · Crypto & Web3

YFBETA/KBR Pre-Order | Smart contract reference

Important Notes

  • ONLY use YFBETA to make KBR token orders.
  • Contract holds users’ assets.
  • Contract DOES NOT allow any address get the assets out of this contract.
  • Adding those assets to Uniswap Liquidity Pool is the ONLY option.

How it works

  1. Receive YFBETA from the users who approve YFBETA for this contract and Swap to ETH at Uniswap Liquidity Pool.
  2. Save YFBETA/KBR orders (Swap rate 1:1).
  3. Distribute KBR from KERBEROS Token contract.
  4. Users claim KBR tokens.
  5. Adding the corresponding amount of ETH/KBR to Uniswap Liquidity Pool.

The smart contract can be found on Etherscan.

Functions Reference

receive ETH function

  • Allow contract to receive ETH from Uniswap Router when swapping ETH/YFBETA

getTotalOrderedAmount

  • Calculate the amount of KBR users can claim.

swap

  • Swap ETH/YFBETA.
  • Save ETH as contract balance.
  • Save users’ orders.

claim

  • Claim KBR when it’s distributed.
  • Calculate & mint KBR from KBR token contract, then send them to users.

migrate

  • ONLY triggered for providing Uniswap Liquidity.
  • Get ETH balance & mint a corresponding amount of KBR tokens, then add to ETH/KBR Uniswap Liquidity Pool

Website: https://kerberos.finance (under construction) Medium: https://kerberosfinance.medium.com Twitter: https://twitter.com/kerberosfinance Telegram: https://t.me/kerberos_finance Discord: https://discord.gg/tHk76guEy6


메타데이터
post_id
b8acbbc764a
slug
yfbeta-kbr-pre-order-smart-contract-reference-b8acbbc764a
url
https://medium.com/@kerberosfinance/yfbeta-kbr-pre-order-smart-contract-reference-b8acbbc764a
canonical_url
https://medium.com/@kerberosfinance/yfbeta-kbr-pre-order-smart-contract-reference-b8acbbc764a
author_url
https://medium.com/@kerberosfinance
status
ok
fetched_at
2026-08-24 22:22:02