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 nonpayableArguments
Name
Type
Description
price
uint256
BTC price for mock contract
peek
⤾ overrides PriceProvider.peek
function peek() external view
returns(bytes32, bool)Arguments
poke
⤾ overrides PriceFeed.poke
function poke(uint128 val_, uint32 ) external nonpayableArguments
Name
Type
Description
val_
uint128
uint32
post
⤾ overrides PriceFeed.post
function post(uint128 val_, uint32 , address ) external nonpayableArguments
Name
Type
Description
val_
uint128
uint32
address
Last updated