/** * Module errors. * * @module */ /** Account already exists */ export declare const EACCOUNT_ALREADY_EXISTS: { readonly code: 1; readonly name: "EACCOUNT_ALREADY_EXISTS"; readonly doc: "Account already exists"; }; /** Account does not exist */ export declare const EACCOUNT_DOES_NOT_EXIST: { readonly code: 2; readonly name: "EACCOUNT_DOES_NOT_EXIST"; readonly doc: "Account does not exist"; }; /** Sequence number exceeds the maximum value for a u64 */ export declare const ESEQUENCE_NUMBER_TOO_BIG: { readonly code: 3; readonly name: "ESEQUENCE_NUMBER_TOO_BIG"; readonly doc: "Sequence number exceeds the maximum value for a u64"; }; /** The provided authentication key has an invalid length */ export declare const EMALFORMED_AUTHENTICATION_KEY: { readonly code: 4; readonly name: "EMALFORMED_AUTHENTICATION_KEY"; readonly doc: "The provided authentication key has an invalid length"; }; /** Cannot create account because address is reserved */ export declare const ECANNOT_RESERVED_ADDRESS: { readonly code: 5; readonly name: "ECANNOT_RESERVED_ADDRESS"; readonly doc: "Cannot create account because address is reserved"; }; /** Transaction exceeded its allocated max gas */ export declare const EOUT_OF_GAS: { readonly code: 6; readonly name: "EOUT_OF_GAS"; readonly doc: "Transaction exceeded its allocated max gas"; }; /** Writesets are not allowed */ export declare const EWRITESET_NOT_ALLOWED: { readonly code: 7; readonly name: "EWRITESET_NOT_ALLOWED"; readonly doc: "Writesets are not allowed"; }; /** Specified current public key is not correct */ export declare const EWRONG_CURRENT_PUBLIC_KEY: { readonly code: 8; readonly name: "EWRONG_CURRENT_PUBLIC_KEY"; readonly doc: "Specified current public key is not correct"; }; /** Specified proof of knowledge required to prove ownership of a public key is invalid */ export declare const EINVALID_PROOF_OF_KNOWLEDGE: { readonly code: 9; readonly name: "EINVALID_PROOF_OF_KNOWLEDGE"; readonly doc: "Specified proof of knowledge required to prove ownership of a public key is invalid"; }; /** The caller does not have a digital-signature-based capability to call this function */ export declare const ENO_CAPABILITY: { readonly code: 10; readonly name: "ENO_CAPABILITY"; readonly doc: "The caller does not have a digital-signature-based capability to call this function"; }; /** * Prologue errors. These are separated out from the other errors in this * module since they are mapped separately to major VM statuses, and are * important to the semantics of the system. */ export declare const PROLOGUE_EINVALID_ACCOUNT_AUTH_KEY: { readonly code: 1001; readonly name: "PROLOGUE_EINVALID_ACCOUNT_AUTH_KEY"; readonly doc: "Prologue errors. These are separated out from the other errors in this\nmodule since they are mapped separately to major VM statuses, and are\nimportant to the semantics of the system."; }; export declare const PROLOGUE_ESEQUENCE_NUMBER_TOO_OLD: { readonly code: 1002; readonly name: "PROLOGUE_ESEQUENCE_NUMBER_TOO_OLD"; }; export declare const PROLOGUE_ESEQUENCE_NUMBER_TOO_NEW: { readonly code: 1003; readonly name: "PROLOGUE_ESEQUENCE_NUMBER_TOO_NEW"; }; export declare const PROLOGUE_EACCOUNT_DOES_NOT_EXIST: { readonly code: 1004; readonly name: "PROLOGUE_EACCOUNT_DOES_NOT_EXIST"; }; export declare const PROLOGUE_ECANT_PAY_GAS_DEPOSIT: { readonly code: 1005; readonly name: "PROLOGUE_ECANT_PAY_GAS_DEPOSIT"; }; export declare const PROLOGUE_ETRANSACTION_EXPIRED: { readonly code: 1006; readonly name: "PROLOGUE_ETRANSACTION_EXPIRED"; }; export declare const PROLOGUE_EBAD_CHAIN_ID: { readonly code: 1007; readonly name: "PROLOGUE_EBAD_CHAIN_ID"; }; export declare const PROLOGUE_EINVALID_WRITESET_SENDER: { readonly code: 1008; readonly name: "PROLOGUE_EINVALID_WRITESET_SENDER"; }; export declare const PROLOGUE_ESEQUENCE_NUMBER_TOO_BIG: { readonly code: 1009; readonly name: "PROLOGUE_ESEQUENCE_NUMBER_TOO_BIG"; }; export declare const PROLOGUE_ESECONDARY_KEYS_ADDRESSES_COUNT_MISMATCH: { readonly code: 1010; readonly name: "PROLOGUE_ESECONDARY_KEYS_ADDRESSES_COUNT_MISMATCH"; }; //# sourceMappingURL=errors.d.ts.map