@mavrykdynamics/taquito-local-forging
Version:
Provide local forging functionality to be with taquito
188 lines (187 loc) • 4.44 kB
TypeScript
import { Decoder } from '../decoder';
import { Uint8ArrayConsumer } from '../uint8array-consumer';
import { CODEC } from '../constants';
export declare const ManagerOperationSchema: {
branch: CODEC;
contents: CODEC[];
};
export declare const ActivationSchema: {
pkh: CODEC;
secret: CODEC;
};
export declare const RevealSchema: {
source: CODEC;
fee: CODEC;
counter: CODEC;
gas_limit: CODEC;
storage_limit: CODEC;
public_key: CODEC;
};
export declare const DelegationSchema: {
source: CODEC;
fee: CODEC;
counter: CODEC;
gas_limit: CODEC;
storage_limit: CODEC;
delegate: CODEC;
};
export declare const TransactionSchema: {
source: CODEC;
fee: CODEC;
counter: CODEC;
gas_limit: CODEC;
storage_limit: CODEC;
amount: CODEC;
destination: CODEC;
parameters: CODEC;
};
export declare const OriginationSchema: {
source: CODEC;
fee: CODEC;
counter: CODEC;
gas_limit: CODEC;
storage_limit: CODEC;
balance: CODEC;
delegate: CODEC;
script: CODEC;
};
export declare const BallotSchema: {
source: CODEC;
period: CODEC;
proposal: CODEC;
ballot: CODEC;
};
export declare const AttestationSchema: {
slot: CODEC;
level: CODEC;
round: CODEC;
block_payload_hash: CODEC;
};
export declare const AttestationWithDalSchema: {
slot: CODEC;
level: CODEC;
round: CODEC;
block_payload_hash: CODEC;
dal_attestation: CODEC;
};
export declare const SeedNonceRevelationSchema: {
level: CODEC;
nonce: CODEC;
};
export declare const ProposalsSchema: {
source: CODEC;
period: CODEC;
proposals: CODEC;
};
export declare const RegisterGlobalConstantSchema: {
source: CODEC;
fee: CODEC;
counter: CODEC;
gas_limit: CODEC;
storage_limit: CODEC;
value: CODEC;
};
export declare const TransferTicketSchema: {
source: CODEC;
fee: CODEC;
counter: CODEC;
gas_limit: CODEC;
storage_limit: CODEC;
ticket_contents: CODEC;
ticket_ty: CODEC;
ticket_ticketer: CODEC;
ticket_amount: CODEC;
destination: CODEC;
entrypoint: CODEC;
};
export declare const IncreasePaidStorageSchema: {
source: CODEC;
fee: CODEC;
counter: CODEC;
gas_limit: CODEC;
storage_limit: CODEC;
amount: CODEC;
destination: CODEC;
};
export declare const UpdateConsensusKeySchema: {
source: CODEC;
fee: CODEC;
counter: CODEC;
gas_limit: CODEC;
storage_limit: CODEC;
pk: CODEC;
};
export declare const DrainDelegateSchema: {
consensus_key: CODEC;
delegate: CODEC;
destination: CODEC;
};
export declare const SetDepositsLimitSchema: {
source: CODEC;
fee: CODEC;
counter: CODEC;
gas_limit: CODEC;
storage_limit: CODEC;
limit: CODEC;
};
export declare const SmartRollupOriginateSchema: {
source: CODEC;
fee: CODEC;
counter: CODEC;
gas_limit: CODEC;
storage_limit: CODEC;
pvm_kind: CODEC;
kernel: CODEC;
parameters_ty: CODEC;
whitelist: CODEC;
};
export declare const SmartRollupAddMessagesSchema: {
source: CODEC;
fee: CODEC;
counter: CODEC;
gas_limit: CODEC;
storage_limit: CODEC;
message: CODEC;
};
export declare const SmartRollupExecuteOutboxMessageSchema: {
source: CODEC;
fee: CODEC;
counter: CODEC;
gas_limit: CODEC;
storage_limit: CODEC;
rollup: CODEC;
cemented_commitment: CODEC;
output_proof: CODEC;
};
export declare const DalPublishCommitmentSchema: {
source: CODEC;
fee: CODEC;
counter: CODEC;
gas_limit: CODEC;
storage_limit: CODEC;
slot_header: CODEC;
};
export declare const FailingNoopSchema: {
arbitrary: CODEC;
};
export declare const operationEncoder: (encoders: {
[key: string]: (val: object) => string;
}) => (operation: {
kind: string;
}) => string;
export declare const operationDecoder: (decoders: {
[key: string]: Decoder;
}) => (value: Uint8ArrayConsumer) => {
kind: string;
};
type Schema = Record<string, CODEC | CODEC[]>;
export type Value = Record<keyof Schema, unknown[]>;
export declare const schemaEncoder: (encoders: {
[key: string]: (val: object) => string;
}) => (schema: Schema) => (value: Value) => string;
export declare const schemaDecoder: (decoders: {
[key: string]: Decoder;
}) => (schema: {
[key: string]: string | string[];
}) => (value: Uint8ArrayConsumer) => {};
export {};