UNPKG

@mavrykdynamics/taquito-local-forging

Version:

Provide local forging functionality to be with taquito

78 lines (77 loc) 5.01 kB
import { Prefix } from '@mavrykdynamics/taquito-utils'; import { MichelsonValue } from './michelson/codec'; import { Uint8ArrayConsumer } from './uint8array-consumer'; export declare const prefixEncoder: (prefix: Prefix) => (str: string) => string; export declare const prefixDecoder: (pre: Prefix) => (str: Uint8ArrayConsumer) => string; export declare const mv1Decoder: (str: Uint8ArrayConsumer) => string; export declare const branchDecoder: (str: Uint8ArrayConsumer) => string; export declare const publicKeyHashDecoder: (val: Uint8ArrayConsumer) => string | undefined; export declare const publicKeyHashesDecoder: (val: Uint8ArrayConsumer) => (string | undefined)[] | undefined; export declare const branchEncoder: (str: string) => string; export declare const mv1Encoder: (str: string) => string; export declare const boolEncoder: (bool: unknown) => string; export declare const proposalEncoder: (proposal: string) => string; export declare const proposalDecoder: (proposal: Uint8ArrayConsumer) => string; export declare const proposalsDecoder: (proposal: Uint8ArrayConsumer) => string[]; export declare const proposalsEncoder: (proposals: string[]) => string; export declare const ballotEncoder: (ballot: string) => string; export declare const ballotDecoder: (ballot: Uint8ArrayConsumer) => string; export declare const pvmKindEncoder: (pvm: string) => string; export declare const pvmKindDecoder: (pvm: Uint8ArrayConsumer) => string; export declare const delegateEncoder: (val: string) => string; export declare const int32Encoder: (val: number | string) => string; export declare const int32Decoder: (val: Uint8ArrayConsumer) => number; export declare const int16Encoder: (val: number | string) => string; export declare const int16Decoder: (val: Uint8ArrayConsumer) => number; export declare const boolDecoder: (val: Uint8ArrayConsumer) => boolean; export declare const delegateDecoder: (val: Uint8ArrayConsumer) => string | undefined; export declare const publicKeyHashEncoder: (val: string) => string; export declare const publicKeyHashesEncoder: (val?: string[]) => string; export declare const publicKeyEncoder: (val: string) => string; export declare const addressEncoder: (val: string) => string; export declare const smartRollupAddressEncoder: (val: string) => string; export declare const smartContractAddressEncoder: (val: string) => string; export declare const publicKeyDecoder: (val: Uint8ArrayConsumer) => string; export declare const smartRollupCommitmentHashEncoder: (val: string) => string; export declare const addressDecoder: (val: Uint8ArrayConsumer) => string | undefined; export declare const smartRollupAddressDecoder: (val: Uint8ArrayConsumer) => string; export declare const smartContractAddressDecoder: (val: Uint8ArrayConsumer) => string; export declare const smartRollupCommitmentHashDecoder: (val: Uint8ArrayConsumer) => string; export declare const zarithEncoder: (n: string) => string; export declare const zarithDecoder: (n: Uint8ArrayConsumer) => string; export declare const entrypointDecoder: (value: Uint8ArrayConsumer) => string; export declare const parametersDecoder: (val: Uint8ArrayConsumer) => { entrypoint: string; value: string | number | object | undefined; } | undefined; export declare const entrypointEncoder: (entrypoint: string) => string; export declare const parametersEncoder: (val: { entrypoint: string; value: MichelsonValue; }) => string; export declare const valueParameterEncoder: (value: MichelsonValue) => string; export declare const valueParameterDecoder: (val: Uint8ArrayConsumer) => string | number | object | undefined; export declare const blockPayloadHashEncoder: (str: string) => string; export declare const blockPayloadHashDecoder: (str: Uint8ArrayConsumer) => string; export declare const entrypointNameEncoder: (entrypoint: string) => string; export declare const entrypointNameDecoder: (val: Uint8ArrayConsumer) => string; export declare const burnLimitEncoder: (val: string) => string; export declare const burnLimitDecoder: (value: Uint8ArrayConsumer) => string | undefined; export declare const depositsLimitEncoder: (val: string) => string; export declare const depositsLimitDecoder: (value: Uint8ArrayConsumer) => string | undefined; export declare const paddedBytesEncoder: (val: string, paddingLength?: number) => string; export declare const paddedBytesDecoder: (val: Uint8ArrayConsumer) => string; export declare const smartRollupMessageEncoder: (val: string[]) => string; export declare const smartRollupMessageDecoder: (val: Uint8ArrayConsumer) => string[]; export declare const dalCommitmentEncoder: (val: string) => string; export declare const dalCommitmentDecoder: (val: Uint8ArrayConsumer) => string; export declare const slotHeaderEncoder: (val: { slot_index: number; commitment: string; commitment_proof: string; }) => string; export declare const slotHeaderDecoder: (val: Uint8ArrayConsumer) => { slot_index: number; commitment: string; commitment_proof: string; };