diff --git a/xapi-consumer/contracts/ConsumerExample.sol b/xapi-consumer/contracts/ConsumerExample.sol index 7ddf98e..6e72b2f 100644 --- a/xapi-consumer/contracts/ConsumerExample.sol +++ b/xapi-consumer/contracts/ConsumerExample.sol @@ -2,9 +2,8 @@ pragma solidity ^0.8.24; import "xapi/contracts/interfaces/IXAPI.sol"; -import "./interfaces/IXAPIConsumer.sol"; -contract ConsumerExample is IXAPIConsumer{ +contract ConsumerExample { IXAPI public xapi; event RequestMade(uint256 requestId, string requestData); diff --git a/xapi-consumer/contracts/interfaces/IXAPIConsumer.sol b/xapi-consumer/contracts/interfaces/IXAPIConsumer.sol deleted file mode 100644 index 1637576..0000000 --- a/xapi-consumer/contracts/interfaces/IXAPIConsumer.sol +++ /dev/null @@ -1,8 +0,0 @@ -// SPDX-License-Identifier: UNLICENSED -pragma solidity ^0.8.24; - -import "xapi/contracts/interfaces/IXAPI.sol"; - -interface IXAPIConsumer { - function fulfillCallback(uint256 requestId, ResponseData memory response) external; -} \ No newline at end of file