@swaptoshi/governance-module
Version:
Klayr governance on-chain module
13 lines (12 loc) • 727 B
TypeScript
import { ImmutableGovernanceContext, MutableGovernanceContext, StoreInstance, DelegatedVoteStoreData } from '../types';
import { BaseStoreWithInstance } from './base';
import { DelegatedVote } from './instances';
export declare class DelegatedVoteStore extends BaseStoreWithInstance<DelegatedVoteStoreData> {
getMutableDelegatedVote(ctx: MutableGovernanceContext): Promise<StoreInstance<DelegatedVote>>;
getImmutableDelegatedVote(ctx: ImmutableGovernanceContext): Promise<StoreInstance<DelegatedVote>>;
schema: import("@swaptoshi/utils/dist/types").TypedSchema<DelegatedVoteStoreData>;
protected readonly default: {
outgoingDelegation: Buffer<ArrayBuffer>;
incomingDelegation: never[];
};
}