UNPKG

@broxus/js-bridge-essentials

Version:

Bridge JavaScript Essentials library

9 lines (8 loc) 840 B
import { type Address, type DecodedAbiFunctionOutputs, type FullContractState, type ProviderRpcClient } from 'everscale-inpage-provider'; import { type TonNativeProxyAbi } from '../../models/ton-native-proxy/abi'; export type TonNativeProxyConfigurations = DecodedAbiFunctionOutputs<typeof TonNativeProxyAbi, 'getConfiguration'>; export declare abstract class TonNativeProxyUtils { static getConfiguration(connection: ProviderRpcClient, proxyAddress: Address | string, cachedState?: FullContractState): Promise<TonNativeProxyConfigurations>; static getTonEvmConfiguration(connection: ProviderRpcClient, proxyAddress: Address | string, cachedState?: FullContractState): Promise<Address>; static getDexMiddleware(connection: ProviderRpcClient, proxyAddress: Address | string, cachedState?: FullContractState): Promise<Address>; }