@tenderly/actions-test
Version:
Helper library for testing Web3 Actions.
45 lines • 1.16 kB
TypeScript
import { BlockEvent, PeriodicEvent, TransactionEvent, WebhookEvent, Log } from "@tenderly/actions";
export declare class TestPeriodicEvent implements PeriodicEvent {
time: Date;
constructor();
}
export declare class TestWebhookEvent implements WebhookEvent {
time: Date;
payload: any;
constructor(payload: any);
}
export declare class TestBlockEvent implements BlockEvent {
blockHash: string;
blockNumber: number;
network: string;
blockDifficulty: string;
totalDifficulty: string;
constructor();
}
export declare class TestTransactionEvent implements TransactionEvent {
blockHash: string;
blockNumber: number;
from: string;
hash: string;
network: string;
to?: string;
logs: TestLog[];
input: string;
value: string;
nonce: string;
gas: string;
gasUsed: string;
cumulativeGasUsed: string;
gasPrice: string;
gasTipCap: string;
gasFeeCap: string;
transactionHash: string;
constructor();
}
export declare class TestLog implements Log {
address: string;
data: string;
topics: string[];
constructor();
}
//# sourceMappingURL=event.d.ts.map