dev3-sdk
Version:
SDK for interacting with the 0xDev3 platform.
14 lines (13 loc) • 725 B
TypeScript
import { DeployableContract, EncodedFunctionParameter, EncodedFunctionOutput } from '../types';
export declare class MapperService {
private static _instance?;
static instance(): MapperService;
encodeConstructorInputs(functionValues: any[], manifest: DeployableContract): EncodedFunctionParameter[];
encodeInputs(functionName: string, functionValues: any[], manifest: DeployableContract): EncodedFunctionParameter[];
encodeOutputTypes(functionName: string, manifest: DeployableContract): EncodedFunctionOutput[];
private encodeInputsImpl;
private encodeOutputTypesImpl;
private encodeInputValue;
private getConstructorDecoratorFromManifest;
private getFunctionDecoratorFromManifest;
}