UNPKG

@taquito/utils

Version:

converts michelson data and types into convenient JS/TS objects

90 lines (89 loc) 2.51 kB
export declare enum Prefix { TZ1 = "tz1",// ed25519_public_key_hash TZ2 = "tz2",// secp256k1_public_key_hash TZ3 = "tz3",// p256_public_key_hash TZ4 = "tz4",// bls12_381_public_key_hash KT = "KT", KT1 = "KT1", EDSK = "edsk",// ed25519_secret_key EDSK2 = "edsk2",// ed25519_seed SPSK = "spsk",// secp256k1_secret_key P2SK = "p2sk",// p256_secret_key BLSK = "BLsk",// bls12_381_secret_key EDPK = "edpk",// ed25519_public_key SPPK = "sppk",// secp256k1_public_key P2PK = "p2pk",// p256_public_key BLPK = "BLpk",// bls12_381_public_key EDESK = "edesk",// ed25519_encrypted_seed SPESK = "spesk",// secp256k1_encrypted_secret_key P2ESK = "p2esk",// p256_encrypted_secret_key BLESK = "BLesk",// bls12_381_encrypted_secret_key EDSIG = "edsig",// ed25519_signature SPSIG = "spsig",// secp256k1_signature P2SIG = "p2sig",// p256_signature BLSIG = "BLsig",// bls12_381_signature SIG = "sig",// generic_signature NET = "Net",// chain_id NCE = "nce", B = "B",// block_hash O = "o",// operation_hash LO = "Lo",// operation_list_hash LLO = "LLo",// operation_list_list_hash P = "P",// protocol_hash CO = "Co",// context_hash ID = "id",// cryptobox_public_key_hash EXPR = "expr", TZ = "TZ", VH = "vh",// block_payload_hash SASK = "sask",// sapling_spending_key ZET1 = "zet1",// sapling_address SR1 = "sr1",// smart_rollup_address SRC1 = "src1",// smart_rollup_commitment 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; BLsk: Uint8Array; edpk: Uint8Array; sppk: Uint8Array; p2pk: Uint8Array; BLpk: Uint8Array; edesk: Uint8Array; spesk: Uint8Array; p2esk: Uint8Array; BLesk: Uint8Array; edsig: Uint8Array; spsig: Uint8Array; p2sig: Uint8Array; BLsig: 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; };