/** * Module errors. * * @module */ /** Lockup period is shorter than required. */ export declare const ELOCK_TIME_TOO_SHORT: { readonly code: 1; readonly name: "ELOCK_TIME_TOO_SHORT"; readonly doc: "Lockup period is shorter than required."; }; /** Withdraw not allowed, the stake is still locked. */ export declare const EWITHDRAW_NOT_ALLOWED: { readonly code: 2; readonly name: "EWITHDRAW_NOT_ALLOWED"; readonly doc: "Withdraw not allowed, the stake is still locked."; }; /** Validator Config not published. */ export declare const EVALIDATOR_CONFIG: { readonly code: 3; readonly name: "EVALIDATOR_CONFIG"; readonly doc: "Validator Config not published."; }; /** Not enough stake to join validator set. */ export declare const ESTAKE_TOO_LOW: { readonly code: 4; readonly name: "ESTAKE_TOO_LOW"; readonly doc: "Not enough stake to join validator set."; }; /** Too much stake to join validator set. */ export declare const ESTAKE_TOO_HIGH: { readonly code: 5; readonly name: "ESTAKE_TOO_HIGH"; readonly doc: "Too much stake to join validator set."; }; /** Account is already a validator or pending validator. */ export declare const EALREADY_ACTIVE_VALIDATOR: { readonly code: 6; readonly name: "EALREADY_ACTIVE_VALIDATOR"; readonly doc: "Account is already a validator or pending validator."; }; /** Account is not a validator. */ export declare const ENOT_VALIDATOR: { readonly code: 7; readonly name: "ENOT_VALIDATOR"; readonly doc: "Account is not a validator."; }; /** Can't remove last validator. */ export declare const ELAST_VALIDATOR: { readonly code: 8; readonly name: "ELAST_VALIDATOR"; readonly doc: "Can't remove last validator."; }; /** Total stake exceeds maximum allowed. */ export declare const ESTAKE_EXCEEDS_MAX: { readonly code: 9; readonly name: "ESTAKE_EXCEEDS_MAX"; readonly doc: "Total stake exceeds maximum allowed."; }; /** Account is already registered as a validator candidate. */ export declare const EALREADY_REGISTERED: { readonly code: 10; readonly name: "EALREADY_REGISTERED"; readonly doc: "Account is already registered as a validator candidate."; }; /** No coins in inactive state to withdraw from specified pool. */ export declare const ENO_COINS_TO_WITHDRAW: { readonly code: 11; readonly name: "ENO_COINS_TO_WITHDRAW"; readonly doc: "No coins in inactive state to withdraw from specified pool."; }; /** Account does not have the right operator capability. */ export declare const ENOT_OPERATOR: { readonly code: 12; readonly name: "ENOT_OPERATOR"; readonly doc: "Account does not have the right operator capability."; }; /** Lockup period is longer than allowed. */ export declare const ELOCK_TIME_TOO_LONG: { readonly code: 13; readonly name: "ELOCK_TIME_TOO_LONG"; readonly doc: "Lockup period is longer than allowed."; }; export declare const ENO_POST_GENESIS_VALIDATOR_SET_CHANGE_ALLOWED: { readonly code: 14; readonly name: "ENO_POST_GENESIS_VALIDATOR_SET_CHANGE_ALLOWED"; }; /** Invalid consensus public key */ export declare const EINVALID_PUBLIC_KEY: { readonly code: 15; readonly name: "EINVALID_PUBLIC_KEY"; readonly doc: "Invalid consensus public key"; }; /** Invalid stake amount (usuaully 0). */ export declare const EINVALID_STAKE_AMOUNT: { readonly code: 16; readonly name: "EINVALID_STAKE_AMOUNT"; readonly doc: "Invalid stake amount (usuaully 0)."; }; /** Validator set exceeds the limit */ export declare const EVALIDATOR_SET_TOO_LARGE: { readonly code: 18; readonly name: "EVALIDATOR_SET_TOO_LARGE"; readonly doc: "Validator set exceeds the limit"; }; /** Voting power increase has exceeded the limit for this current epoch. */ export declare const EVOTING_POWER_INCREASE_EXCEEDS_LIMIT: { readonly code: 19; readonly name: "EVOTING_POWER_INCREASE_EXCEEDS_LIMIT"; readonly doc: "Voting power increase has exceeded the limit for this current epoch."; }; //# sourceMappingURL=errors.d.ts.map