Skip to content

Latest commit

 

History

History
288 lines (258 loc) · 9.22 KB

IRSKOracle.md

File metadata and controls

288 lines (258 loc) · 9.22 KB

IRSKOracle.sol

View Source: contracts/feeds/IRSKOracle.sol

IRSKOracle contract

Functions


updatePrice

function updatePrice(uint256 price, uint256 timestamp) external nonpayable

Arguments

Name Type Description
price uint256
timestamp uint256
Source Code
function updatePrice(uint256 price, uint256 timestamp) external;

getPricing

function getPricing() external view
returns(uint256, uint256)
Source Code
function getPricing() external view returns (uint256, uint256);

setOracleAddress

function setOracleAddress(address addr) external nonpayable

Arguments

Name Type Description
addr address
Source Code
function setOracleAddress(address addr) external;

clearOracleAddress

function clearOracleAddress() external nonpayable
Source Code
function clearOracleAddress() external;

Contracts