-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFOManagerInterfaceV1.sol
More file actions
26 lines (21 loc) · 1.16 KB
/
FOManagerInterfaceV1.sol
File metadata and controls
26 lines (21 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.24;
/// @title Fact Oracle Manager Interface V1
/// @notice This interface defines the external functions for managing subscriptions and balances
/// @dev Implemented by contracts that manage oracle subscriptions and balances
interface FOManagerInterfaceV1 {
/// @notice Grants a subscription to a specific address
/// @param _address The address to be granted the subscription
function grantSubcription(address _address) external;
/// @notice Checks if an address is a subscriber
/// @param _address The address to be checked
/// @return True if the address is a subscriber, false otherwise
function checkSubscriber(address _address) external view returns (bool);
/// @notice Revokes a subscription from a specific address
/// @param _address The address to have the subscription revoked
function revokeSubscription(address _address) external;
/// @notice Checks the balance of a specific customer
/// @param _address The address of the customer
/// @return The balance of the customer
function checkBalance(address _address) external view returns (uint32);
}