PriceProviderMock
View Source: contracts/mocks/PriceProviderMock.sol
↗ Extends: PriceFeed, PriceProvider
PriceProviderMock - version: 0.1.10
Contract Members
Constants & Variables
bytes32 internal price;
bool internal has;
Functions
function (uint256 _price) public nonpayable
Arguments
Name
Type
Description
_price
uint256
peek
⤾ overrides PriceProvider.peek
function peek() external view
returns(bytes32, bool)
Arguments
poke
⤾ overrides PriceFeed.poke
function poke(uint128 val_, uint32 ) external nonpayable
Arguments
Name
Type
Description
val_
uint128
uint32
post
⤾ overrides PriceFeed.post
function post(uint128 val_, uint32 , address ) external nonpayable
Arguments
Name
Type
Description
val_
uint128
uint32
address
Last updated