BtcPriceProviderMock

View Source: contracts/mocks/BtcPriceProviderMock.sol

↗ Extends: PriceFeed, PriceProvider

BtcPriceProviderMock - version: 0.1.12

Contract Members

Constants & Variables

bytes32 internal btcPrice;

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