Skip to content

Latest commit

 

History

History
223 lines (201 loc) · 6.67 KB

FakeUniswapV2FactoryLike.md

File metadata and controls

223 lines (201 loc) · 6.67 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