UNPKG

@broxus/js-bridge-essentials

Version:

Bridge JavaScript Essentials library

36 lines (35 loc) 1.55 kB
import { type Address, type FullContractState, type ProviderRpcClient } from 'everscale-inpage-provider'; export interface TokenTransferSolTvmEventVoteData { accountSeed: string; blockTime: string; eventData: string; slot: string; txSignature: string; } export interface TokenTransferSolTvmEventDecodedData { receiverAddress: Address; senderAddress: string; tokens: string; } export interface TokenTransferSolTvmEventEventInitData { configuration: Address; staking: Address; voteData: TokenTransferSolTvmEventVoteData; } export interface TokenTransferSolTvmDetails { balance: string; confirms: string[]; empty: string[]; eventInitData: TokenTransferSolTvmEventEventInitData; initializer: Address; meta: string; rejects: string[]; requiredVotes: number; status: string; } export declare abstract class TokenTransferSolTvmEventUtils { static getEventInitData(connection: ProviderRpcClient, eventAddress: Address | string, cachedState?: FullContractState): Promise<TokenTransferSolTvmEventEventInitData>; static getDecodedData(connection: ProviderRpcClient, eventAddress: Address | string, cachedState?: FullContractState): Promise<TokenTransferSolTvmEventDecodedData>; static getDetails(connection: ProviderRpcClient, eventAddress: Address | string, cachedState?: FullContractState): Promise<TokenTransferSolTvmDetails>; static roundNumber(connection: ProviderRpcClient, eventAddress: Address | string, cachedState?: FullContractState): Promise<number>; }