hardhat-graph-protocol
Version:
A hardhat plugin that extends the runtime environment to inject additional functionality related to the usage of the Graph Protocol.
16 lines • 1.2 kB
TypeScript
import { getAccounts as getAccountsToolshed, getArbitrator, getDeployer, getGateway, getGovernor, getPauseGuardian, getSubgraphAvailabilityOracle, getTestAccounts } from '@graphprotocol/toolshed';
import type { HardhatEthersProvider } from '@nomicfoundation/hardhat-ethers/internal/hardhat-ethers-provider';
import type { Addressable } from 'ethers';
type Accounts = {
getAccounts: () => ReturnType<typeof getAccountsToolshed>;
getDeployer: (accountIndex?: number) => ReturnType<typeof getDeployer>;
getGovernor: (accountIndex?: number) => ReturnType<typeof getGovernor>;
getArbitrator: (accountIndex?: number) => ReturnType<typeof getArbitrator>;
getPauseGuardian: (accountIndex?: number) => ReturnType<typeof getPauseGuardian>;
getSubgraphAvailabilityOracle: (accountIndex?: number) => ReturnType<typeof getSubgraphAvailabilityOracle>;
getGateway: (accountIndex?: number) => ReturnType<typeof getGateway>;
getTestAccounts: () => ReturnType<typeof getTestAccounts>;
};
export declare function getAccounts(provider: HardhatEthersProvider, chainId: number, grtTokenAddress: string | Addressable | undefined): Accounts;
export {};
//# sourceMappingURL=accounts.d.ts.map