/// import { Packet } from './data-packet-service'; import { KeyPair } from './encryption-service'; import { ProviderAdapterInterface, Entity } from '../adapter/provider-adapter'; export declare class EthereumService { readonly provider: ProviderAdapterInterface; constructor(provider: ProviderAdapterInterface); registerEntity(entity: Entity): Promise; modifyMassBalanceCertification(producerId: string, materialId: string, cmw: number): Promise; certifyDataPacket(packetId: string, cmw: number, materialId: string, publicFilesAddresses: string[], privateFilesAddresses: string[]): Promise; getPacket(packetId: string): Promise; sellPacket(packetId: string, newPacketId: string, newOwnerAddress: string, cmw: number, publicFilesAddresses: any, privateFilesAddresses: any): Promise; splitAndSellPacket(packetId: string, newOwnerAddress: string, part1Id: string, part2Id: string, amountToSell: number, publicFilesAddresses: any, privateFilesAddresses: any): Promise; updateSilqTokenAddress(newAddress: string): Promise; updateMinespiderAddress(newAddress: string): Promise; updateDataPacketStorageAddress(newAddress: string): Promise; getSILQBalance(address: string): Promise; getProducedMassBalance(producerId: string, materialId: string): Promise; getCertifiedMassBalance(producerId: string, materialId: string): Promise; getOwnedMassBalance(producerId: string, materialId: string): Promise; getCurrentAccountAddress(): Promise; static isAddress(address: string): boolean; static bytesToHex(content: Buffer): Buffer; static stringToHex(content: Buffer): Buffer; static hexToString(content: Buffer): Buffer; static hexToBytes(content: Buffer): Buffer; static shasum(content: Buffer): string; static generateRandomHex(bytes: number): string; }