@taquito/utils
Version:
converts michelson data and types into convenient JS/TS objects
84 lines (83 loc) • 1.67 kB
TypeScript
export declare enum Prefix {
TZ1 = "tz1",
TZ2 = "tz2",
TZ3 = "tz3",
TZ4 = "tz4",
KT = "KT",
KT1 = "KT1",
EDSK2 = "edsk2",
SPSK = "spsk",
P2SK = "p2sk",
EDPK = "edpk",
SPPK = "sppk",
P2PK = "p2pk",
BLPK = "BLpk",
EDESK = "edesk",
SPESK = "spesk",
P2ESK = "p2esk",
EDSK = "edsk",
EDSIG = "edsig",
SPSIG = "spsig",
P2SIG = "p2sig",
SIG = "sig",
NET = "Net",
NCE = "nce",
B = "B",
O = "o",
LO = "Lo",
LLO = "LLo",
P = "P",
CO = "Co",
ID = "id",
EXPR = "expr",
TZ = "TZ",
VH = "vh",// block_payload_hash
SASK = "sask",// sapling_spending_key
ZET1 = "zet1",// sapling_address
SR1 = "sr1",
SRC1 = "src1",
SH = "sh"
}
export declare const prefix: {
tz1: Uint8Array;
tz2: Uint8Array;
tz3: Uint8Array;
tz4: Uint8Array;
KT: Uint8Array;
KT1: Uint8Array;
edsk: Uint8Array;
edsk2: Uint8Array;
spsk: Uint8Array;
p2sk: Uint8Array;
edpk: Uint8Array;
sppk: Uint8Array;
p2pk: Uint8Array;
BLpk: Uint8Array;
edesk: Uint8Array;
spesk: Uint8Array;
p2esk: Uint8Array;
edsig: Uint8Array;
spsig: Uint8Array;
p2sig: Uint8Array;
sig: Uint8Array;
Net: Uint8Array;
nce: Uint8Array;
B: Uint8Array;
o: Uint8Array;
Lo: Uint8Array;
LLo: Uint8Array;
P: Uint8Array;
Co: Uint8Array;
id: Uint8Array;
expr: Uint8Array;
TZ: Uint8Array;
vh: Uint8Array;
sask: Uint8Array;
zet1: Uint8Array;
sr1: Uint8Array;
src1: Uint8Array;
sh: Uint8Array;
};
export declare const prefixLength: {
[key: string]: number;
};