PHP WebShell
Текущая директория: /var/www/bitcardoApp/node_modules/tronweb/lib/esm/lib/contract
Просмотр файла: index.d.ts
import { TronWeb } from '../../tronweb.js';
import type { ContractAbiInterface, GetMethodsTypeFromAbi, GetOnMethodTypeFromAbi, AnyOnMethodType } from '../../types/ABI.js';
import type { Address } from '../../types/Trx.js';
import type { CreateSmartContractOptions } from '../../types/TransactionBuilder.js';
export declare class Contract<Abi extends ContractAbiInterface = ContractAbiInterface> {
tronWeb: TronWeb;
abi: Abi;
address: false | string;
eventListener: any;
bytecode?: false | string;
deployed?: boolean;
lastBlock?: false | number;
methods: GetOnMethodTypeFromAbi<Abi> & AnyOnMethodType;
methodInstances: GetMethodsTypeFromAbi<Abi>;
props: any[];
[key: string | number | symbol]: any;
constructor(tronWeb: TronWeb, abi: Abi | undefined, address: Address);
hasProperty(property: number | string | symbol): any;
loadAbi(abi: Abi): void;
decodeInput(data: string): {
name: string;
params: any;
};
new(options: CreateSmartContractOptions, privateKey?: string | false): Promise<import("../../types/ABI.js").ContractInstance<ContractAbiInterface>>;
at(contractAddress: Address): Promise<this>;
}
export type { CallOptions, SendOptions, AbiFragmentNoErrConstructor } from './method.js';
export { Method } from './method.js';
Выполнить команду
Для локальной разработки. Не используйте в интернете!