UNPKG

@alice-network/zos-lib

Version:

JavaScript library for the ZeppelinOS smart contract platform

10 lines (9 loc) 622 B
import Contract from '../artifacts/Contract'; export declare function bodyCode(contract: Contract): string; export declare function constructorCode(contract: Contract): string; export declare function bytecodeDigest(rawBytecode: string): string; export declare function getSolidityLibNames(bytecode: string): string[]; export declare function hasUnlinkedVariables(bytecode: string): boolean; export declare function tryRemoveSwarmHash(bytecode: string): string; export declare function replaceSolidityLibAddress(bytecode: string, address: string): string; export declare function isSolidityLib(bytecode: string): boolean;