FeeProxy

Proxy to exchange incomming asset to LINK tokens

Read-Only Functions

linkToken

function linkToken() external view returns (address);

Returns LINK token address.

uniswapFactory

function uniswapFactory() external view returns (IUniswapV2Factory);

Returns Uniswap factory contract..

State-Changing Functions

function swapToLink(
address _erc20Token,
uint256 _amount,
address _receiver
) external;

Exchanges asset to LINK tokens.

Parameter

Type

Description

_erc20Token

address

Asset address

_amount

uint256

Amount of token's to be swapped

_receiver

address

LINK's receiver

‚Äč