delegate-framework
Version:
A TypeScript framework for building robust, production-ready blockchain workflows with comprehensive error handling, logging, and testing. Maintained by delegate.fun
20 lines • 833 B
TypeScript
import { BaseDelegate } from "./base-delegate";
import { BaseDelegateOptions, BaseDelegateResult } from "./types";
import { Deployer } from "./deployer";
export declare class ExampleUsage {
static createDeployerDelegate(): Promise<Deployer>;
static executeDeployerExample(): Promise<void>;
}
export interface CustomDelegateOptions extends BaseDelegateOptions {
type: "custom";
customField: string;
amount: number;
}
export interface CustomDelegateResult extends BaseDelegateResult {
customResult: string;
}
export declare class CustomDelegate extends BaseDelegate<CustomDelegateOptions, CustomDelegateResult> {
executeDelegate(delegateOptions: CustomDelegateOptions): Promise<CustomDelegateResult>;
validateOptions(delegateOptions: CustomDelegateOptions): void;
}
//# sourceMappingURL=example.d.ts.map