@bombearn/sdk
Version:
Interaction framework for the yearn protocol
13 lines (12 loc) • 624 B
TypeScript
import { Deferrable } from "@ethersproject/properties";
import { TransactionRequest, TransactionResponse } from "@ethersproject/providers";
import { ChainId } from "../chain";
import { Service } from "../common";
import { Context } from "../context";
import { AllowListService } from "./allowlist";
export declare class TransactionService<T extends ChainId> extends Service {
private allowListService?;
constructor(chainId: T, ctx: Context, allowListService?: AllowListService<T>);
sendTransaction(transaction: Deferrable<TransactionRequest>): Promise<TransactionResponse>;
private validateTx;
}