Ring Protocol
Search
⌃K

IDO

The RUSD/RING Initial DEX Offering contract

Contract

Description

IDO is an Initial DeFi Offering contract for listing RUSD and RING at genesis launch.
The IDO is deployed by the GenesisGroup contract. The IDO should hold RING tokens and mint the appropriate amount of RUSD to match the given exchange rate. It will then send the RING and RUSD to Uniswap where it should be the only LP for the pair.
The LP shares held by the contract timelock can be withdrawn by Ring DAO
  • Minter💰
  • Burner🔥

Events

Deploy
The IDO initialization with RUSD and RING. Only emitted once
type
param
description
uint256
_amountRusd
the amount of RUSD deployed in the IDO
uint256
_amountRing
the amount of RING deployed in the IDO

GenesisGroup-Only🚀 State-Changing Functions

deploy

function deploy() external;
Initializes the RUSD/RING Uniswap pool with liquidity based on the amount of RING held by the contract and rusdRatio times that amount worth of RUSD. The RUSD for this are minted by the IDO to itself.

Governor-Only⚖️ State-Changing Functions

unlockLiquidity

function unlockLiquidity(address to) external;
Unlocks all of the liquidity to target address where DAO can benefit from it.

ABIs

ido.json
5KB
Code
IDO ABI
idointerface.json
621B
Code
IDO Interface ABI