2023-11-28 11:00:45 -08:00
|
|
|
export type LogFoundEvent<T> = {
|
|
|
|
name: string;
|
|
|
|
address: string;
|
|
|
|
chainId: number;
|
|
|
|
txHash: string;
|
|
|
|
blockHeight: bigint;
|
|
|
|
blockTime: number;
|
|
|
|
attributes: T;
|
|
|
|
};
|
|
|
|
|
|
|
|
export type LogMessagePublished = {
|
|
|
|
sequence: number;
|
|
|
|
sender: string;
|
|
|
|
nonce: number;
|
|
|
|
payload: string;
|
|
|
|
consistencyLevel: number;
|
|
|
|
};
|
2023-12-12 11:55:09 -08:00
|
|
|
|
|
|
|
export type TransferRedeemed = {
|
|
|
|
emitterChainId: number;
|
|
|
|
emitterAddress: string;
|
|
|
|
sequence: number;
|
|
|
|
};
|
|
|
|
|
|
|
|
export type StandardRelayDelivered = {
|
|
|
|
recipientContract: string;
|
|
|
|
sourceChain: number;
|
|
|
|
sequence: number;
|
|
|
|
deliveryVaaHash: string;
|
|
|
|
status: number;
|
|
|
|
gasUsed: number;
|
|
|
|
refundStatus: number;
|
|
|
|
additionalStatusInfo: string;
|
|
|
|
overridesInfo: string;
|
|
|
|
};
|
2023-12-22 12:50:38 -08:00
|
|
|
|
|
|
|
export type TransactionFoundEvent<T> = {
|
|
|
|
name: string;
|
|
|
|
address: string;
|
|
|
|
txHash: string;
|
|
|
|
blockHeight: bigint;
|
|
|
|
chainId: number;
|
|
|
|
attributes: T;
|
|
|
|
};
|
|
|
|
|
|
|
|
export type TransactionFound = {
|
|
|
|
name?: string;
|
|
|
|
from: string;
|
|
|
|
to: string;
|
|
|
|
status?: string;
|
|
|
|
blockNumber: bigint;
|
|
|
|
input: string;
|
|
|
|
methodsByAddress?: string;
|
|
|
|
timestamp: number;
|
|
|
|
blockHash: string;
|
|
|
|
gas: string;
|
|
|
|
gasPrice: string;
|
|
|
|
maxFeePerGas: string;
|
|
|
|
maxPriorityFeePerGas: string;
|
|
|
|
nonce: string;
|
|
|
|
r: string;
|
|
|
|
s: string;
|
|
|
|
transactionIndex: string;
|
|
|
|
type: string;
|
|
|
|
v: string;
|
|
|
|
value: string;
|
|
|
|
};
|