MoCPriceProviderMock

View Source: contracts/mocks/MoCPriceProviderMock.sol

↗ Extends: PriceFeed, PriceProvider

MoCPriceProviderMock - version: 0.1.12

Contract Members

Constants & Variables

bytes32 internal mocPrice;

bool internal has;

Functions

Constructor

function (uint256 price) public nonpayable

Arguments

peek

⤾ overrides PriceProvider.peek

function peek() external view
returns(bytes32, bool)

Arguments

poke

⤾ overrides PriceFeed.poke

function poke(uint128 val_, uint32 ) external nonpayable

Arguments

post

⤾ overrides PriceFeed.post

function post(uint128 val_, uint32 , address ) external nonpayable

Arguments

Last updated