2021-07-01 18:21:40 +00:00
|
|
|
import { BigNumber } from "ethers";
|
|
|
|
|
|
|
|
export type ProcessedTransaction = {
|
|
|
|
blockNumber: number;
|
|
|
|
timestamp: number;
|
|
|
|
idx: number;
|
|
|
|
hash: string;
|
|
|
|
from?: string;
|
|
|
|
to?: string;
|
|
|
|
value: BigNumber;
|
|
|
|
fee: BigNumber;
|
|
|
|
gasPrice: BigNumber;
|
|
|
|
data: string;
|
|
|
|
status: number;
|
|
|
|
};
|
|
|
|
|
|
|
|
export type TransactionChunk = {
|
|
|
|
txs: ProcessedTransaction[];
|
|
|
|
firstPage: boolean;
|
|
|
|
lastPage: boolean;
|
|
|
|
};
|
2021-07-03 00:40:02 +00:00
|
|
|
|
|
|
|
export type ENSReverseCache = {
|
|
|
|
[address: string]: string;
|
|
|
|
};
|