import { ethers } from "ethers"; import { BaseContractAPI } from "./contracts/base-contract-api"; /** * NodeRefereeAPI is a class that provides an interface to interact with the HYCHAIN NodeReferee contract * @param contract NodeReferee contract instance */ export declare class HYCHAINNodeRefereeAPI extends BaseContractAPI { /** * Check if the node key has been revoked * @param tokenId Node key ID * @returns True if the node key is revoked, false otherwise */ isNodeKeyRevoked(tokenId: number): Promise; /** * Get the $TOPIA rewards for the given node key * @param tokenId Node key ID * @returns $TOPIA rewards that are claimable for given node key */ claimableNodeKeyRewards(tokenId: number): Promise; /** * Get the $TOPIA rewards for the given node keys * @param tokenIds Array of node key IDs * @returns $TOPIA rewards that are claimable for given node key */ claimableNodeKeyRewardsBatched(tokenIds: number[]): Promise; /** * Total $TOPIA rewards claimed by a given node key * @param tokenId Node key ID * @returns Total $TOPIA rewards claimed by a given node key */ claimedNodeKeyRewards(tokenId: number): Promise; /** * Total $TOPIA rewards claimed for given node keys * @param tokenIds Array of node key IDs * @returns Total $TOPIA rewards claimed by all the provided node key IDs */ claimedNodeKeyRewardsBatched(tokenIds: number[]): Promise; /** * Total all-time $TOPIA rewards generated for across all node keys * @returns Total $TOPIA rewards */ totalRewardsDistributed(): Promise; /** * $TOPIA rewards generated for the node ecosystem per second * @returns $TOPIA rewards generated */ rewardsPerSecond(): Promise; /** * Total number of assertions made by the node key * @param tokenId Node key ID * @returns Total number of assertions made by the node key */ totalNodeKeyAssertions(tokenId: number): Promise; } //# sourceMappingURL=hychain-node-referee.d.ts.map