Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

Latest commit

 

History

History
198 lines (176 loc) · 5.61 KB

FakeUniswapV2FactoryLike.md

File metadata and controls

198 lines (176 loc) · 5.61 KB

FakeUniswapV2FactoryLike.sol

View Source: contracts/fakes/FakeUniswapV2FactoryLike.sol

↗ Extends: IUniswapV2FactoryLike

FakeUniswapV2FactoryLike

Contract Members

Constants & Variables

address public pair;

Functions

function (address _pair) public nonpayable

Arguments

Name Type Description
_pair address
Source Code
constructor(address _pair) {
    pair = _pair;
  }

getPair

function getPair(address , address ) external view
returns(address)

Arguments

Name Type Description
address
address
Source Code
function getPair(address, address) external view override returns (address) {
    return pair;
  }

Contracts