UNPKG

@iota/signing

Version:

IOTA Signing Scheme

85 lines (84 loc) 6.38 kB
export declare const ILLEGAL_LENGTH = "Illegal trits length"; export declare const ILLEGAL_SUBSEED_INDEX = "Illegal subseed length"; export declare const ILLEGAL_SUBSEED_LENGTH = "Illegal subseed length"; export declare const ILLEGAL_NUMBER_OF_FRAGMENTS = "Illegal number of fragments"; export declare const ILLEGAL_KEY_LENGTH = "Illegal key length"; export declare const ILLEGAL_DIGESTS_LENGTH = "Illegal digests length"; export declare const ILLEGAL_NORMALIZED_FRAGMENT_LENGTH = "Illegal normalized fragment length"; export declare const ILLEGAL_SIGNATURE_FRAGMENT_LENGTH = "Illegal signature fragment length"; export declare const ILLEGAL_BUNDLE_HASH_LENGTH = "Illegal bundle hash length"; export declare const ILLEGAL_KEY_FRAGMENT_LENGTH = "Illegal key fragment length"; export declare const ILLEGAL_TRIT_CONVERSION_INPUT = "Illegal conversion input. Expected trits as Int8Array."; export declare const ILLEGAL_TRYTE_CONVERSION_INPUT = "Illegal conversion input. Expected trytes string or integer."; export declare const ILLEGAL_MIN_WEIGHT_MAGNITUDE = "Illegal minWeightMagnitude value."; export declare const ILLEGAL_ADDRESS_LAST_TRIT = "Illegal address. Last trit must be 0."; export declare const ILLEGAL_ADDRESS_LENGTH = "Illegal address length."; export declare const ILLEGAL_BUNDLE_LENGTH = "Illegal bundle hash length."; export declare const ILLEGAL_OBSOLETE_TAG_LENGTH = "Illegal obsoleteTag length."; export declare const ILLEGAL_SIGNATURE_OR_MESSAGE = "Illegal signature or message."; export declare const ILLEGAL_SIGNATURE_OR_MESSAGE_LENGTH = "Illegal signatureOrMessage length."; export declare const ILLEGAL_TAG_LENGTH = "Illegal tag length."; export declare const ILLEGAL_ISSUANCE_TIMESTAMP = "Illegal issuance timestamp"; export declare const ILLEGAL_ISSUANCE_TIMESTAMP_LENGTH = "Illegal issuanceTimestamp length."; export declare const ILLEGAL_VALUE_LENGTH = "Illegal value length."; export declare const ILLEGAL_TRANSACTION_FIELD_OFFSET = "Illegal transaction field offset."; export declare const ILLEGAL_TRANSACTION_FIELD_LENGTH = "Illegal transaction field length."; export declare const ILLEGAL_LENGTH_OR_OFFSET = "Illegal length or offset."; export declare const ILLEGAL_TRANSACTION_BUFFER = "Illegal transaction buffer. Expected `Int8Array`."; export declare const ILLEGAL_TRANSACTION_BUFFER_LENGTH = "Illegal transaction buffer length."; export declare const ILLEGAL_TRANSACTION_OFFSET = "Illegal transaction offset."; export declare const ILLEGAL_TRANSACTION_LENGTH = "Illegal transaction length."; export declare const ILLEGAL_TRANSACTION_ORDER = "Illegal transaction order."; export declare const ILLEGAL_TRANSACTION_INDEX = "Illegal transaction index."; export declare const ILLEGAL_SEED_LENGTH = "Illegal seed length. Expected length of 243 trits."; export declare const ILLEGAL_KEY_INDEX = "Illegal key index."; export declare const ILLEGAL_CDA_LENGTH = "Illegal cda length."; export declare const ILLEGAL_BATCH = "Illegal batch."; export declare const CDA_ALREADY_IN_STORE = "CDA is already in store."; export declare const ILLEGAL_PERSISTENCE_ID = "Illegal persistence id."; export declare const ILLEGAL_PERSISTENCE_PATH = "Illegal persistence path."; export declare const ILLEGAL_PADDING_LENGTH = "Illegal padding length. Input value length exceeds padding length."; export declare const INCONSISTENT_SUBTANGLE = "Inconsistent subtangle"; export declare const INSUFFICIENT_BALANCE = "Insufficient balance"; export declare const INVALID_ADDRESS = "Invalid address"; export declare const INVALID_REMAINDER_ADDRESS = "Invalid remainder address"; export declare const INVALID_BRANCH_TRANSACTION = "Invalid branch transaction"; export declare const INVALID_BUNDLE = "Invalid bundle"; export declare const INVALID_BUNDLE_HASH = "Invalid bundle hash"; export declare const INVALID_CHECKSUM = "Invalid checksum"; export declare const INVALID_COMMAND = "Invalid command format"; export declare const INVALID_DEPTH = "Invalid depth"; export declare const INVALID_HASH = "Invalid hash"; export declare const INVALID_INDEX = "Invalid index option"; export declare const INVALID_TOTAL_OPTION = "Invalid total option"; export declare const INVALID_INPUT = "Invalid input"; export declare const INVALID_KEY = "Invalid key value"; export declare const INVALID_MIN_WEIGHT_MAGNITUDE = "Invalid Min Weight Magnitude"; export declare const INVALID_SEARCH_KEY = "Invalid search key"; export declare const INVALID_SECURITY_LEVEL = "Invalid security option"; export declare const INVALID_SECURITY_OPTION = "Invalid security option"; export declare const INVALID_SEED = "Invalid seed"; export declare const INVALID_START_END_OPTIONS = "Invalid end option"; export declare const INVALID_START_OPTION = "Invalid start option"; export declare const INVALID_TAG = "Invalid tag"; export declare const INVALID_TRANSACTION = "Invalid transaction"; export declare const INVALID_TRANSACTION_TRYTES = "Invalid transaction trytes"; export declare const INVALID_ATTACHED_TRYTES = "Invalid attached trytes"; export declare const INVALID_TRANSACTION_HASH = "Invalid transaction hash"; export declare const INVALID_TAIL_TRANSACTION = "Invalid tail transaction"; export declare const INVALID_THRESHOLD = "Invalid threshold option"; export declare const INVALID_TRANSFER = "Invalid transfer array"; export declare const INVALID_TRUNK_TRANSACTION = "Invalid trunk transaction"; export declare const INVALID_REFERENCE_HASH = "Invalid reference hash"; export declare const INVALID_TRYTES = "Invalid trytes"; export declare const INVALID_URI = "Invalid uri"; export declare const INVALID_ASCII_INPUT = "Conversion to trytes requires type of input to be encoded in ascii."; export declare const INVALID_ODD_LENGTH = "Conversion from trytes requires length of trytes to be even."; export declare const INVALID_TRYTE_ENCODED_JSON = "Invalid tryte encoded JSON message"; export declare const NOT_INT = "One of the inputs is not integer"; export declare const SENDING_BACK_TO_INPUTS = "One of the transaction inputs is used as output."; export declare const INVALID_TRANSACTIONS_TO_APPROVE = "Invalid transactions to approve."; export declare const NO_INPUTS = "Could not find any available inputs."; export declare const invalidChecksum: (address: string) => string; export declare const inconsistentTransaction: (reason: string) => string; export declare const INVALID_DELAY = "Invalid delay.";