UNPKG

@celo/contractkit

Version:

Celo's ContractKit to interact with Celo network

16 lines (15 loc) 684 B
/** @internal */ export declare class ContractVersion { readonly storage: number | string; readonly major: number | string; readonly minor: number | string; readonly patch: number | string; constructor(storage: number | string, major: number | string, minor: number | string, patch: number | string); private toSemver; isAtLeast: (other: ContractVersion) => any; toString: () => string; toRaw: () => (string | number)[]; static fromRaw: (raw: ReturnType<ContractVersion['toRaw']>) => ContractVersion; } /** @internal */ export declare const newContractVersion: (storage: number, major: number, minor: number, patch: number) => ContractVersion;