@broxus/js-core
Version:
MobX-based JavaScript Core library
14 lines (13 loc) • 915 B
TypeScript
import { type Address, type DelayedMessageExecution, type FullContractState, type ProviderRpcClient, type SendInternalParams } from 'everscale-inpage-provider';
export interface WrappedCurrencyVaultWrapAbiParams {
ownerAddress: Address | string;
payload: string;
/** `gas_back_address` as original field */
remainingGasTo: Address | string;
tokens: string | number;
}
export declare abstract class WrappedCurrencyVaultUtils {
static wrap(provider: ProviderRpcClient, vaultAddress: Address | string, params: WrappedCurrencyVaultWrapAbiParams, args?: Partial<SendInternalParams>): Promise<DelayedMessageExecution>;
static getOwner(connection: ProviderRpcClient, vaultAddress: Address | string, cachedState?: FullContractState): Promise<Address>;
static getTotalWrapped(connection: ProviderRpcClient, vaultAddress: Address | string, cachedState?: FullContractState): Promise<string>;
}