Skip to content

Instantly share code, notes, and snippets.

@alofeoluwafemi
Created October 7, 2022 14:03
Show Gist options
  • Save alofeoluwafemi/5ee9cf2d97d51ab47fddd185b6923522 to your computer and use it in GitHub Desktop.
Save alofeoluwafemi/5ee9cf2d97d51ab47fddd185b6923522 to your computer and use it in GitHub Desktop.
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.7+commit.e28d00a7.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
interface OracleInterface {
function fulfillOracleRequest(
uint requestId,
bytes32 data
) external returns (bool);
function newOracleRequest(
bytes4 callbackFunctionId,
string memory adapterID,
address callBackContract
) external returns (bool);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment