Skip to content

Commit

Permalink
add fetchGovernanceProposal
Browse files Browse the repository at this point in the history
  • Loading branch information
jinglescode committed Dec 16, 2024
1 parent b0ab08b commit d161db6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/mesh-provider/src/hydra/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {
AssetMetadata,
BlockInfo,
castProtocol,
GovernanceProposalInfo,
IFetcher,
ISubmitter,
Protocol,
Expand Down Expand Up @@ -82,6 +83,13 @@ export class HydraProvider implements IFetcher, ISubmitter {
throw new Error("Method not implemented.");
}

async fetchGovernanceProposal(
txHash: string,
certIndex: number,
): Promise<GovernanceProposalInfo> {
throw new Error("Method not implemented");
}

async fetchProtocolParameters(epoch = Number.NaN): Promise<Protocol> {
try {
const { data, status } = await this._axiosInstance.get(
Expand Down

0 comments on commit d161db6

Please sign in to comment.