Skip to content

Ramps allow lend and pay to be made with any ERC-20 token while the protocol receiving RCN their token.

Notifications You must be signed in to change notification settings

rcnfinance/ramp-contracts

Repository files navigation

Ramps

Ramps allow lend and pay to be made with any ERC-20 token while the protocol receiving RCN their token.

TokenConverter accepts tokens and ether, converts these to the RCN token, and makes corresponding calls.

Install

npm i

Compile

npm run compile

Compiled contracts will be written to the build directory as Truffle build artifacts.

Usage

A UniswapConverter contract is deployed with the following configuration parameters:

  • address factory: The address of the Uniswap factory contract to use to access swappable liquidity.

A ConverterRamp contract is deployed without configuration parameters.

About

Ramps allow lend and pay to be made with any ERC-20 token while the protocol receiving RCN their token.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •