/**
 * @packageDocumentation
 * @module API-AuthorityVM-Constants
 */

export class AuthorityVMConstants {
  static LATESTCODEC: number = 0

  static SECPFXID: number = 0

  static SECPXFEROUTPUTID: number = 7

  static SUBNETAUTHID: number = 10

  static SECPOWNEROUTPUTID: number = 11

  static STAKEABLELOCKOUTID: number = 22

  static SECPINPUTID: number = 5

  static STAKEABLELOCKINID: number = 21

  static LOCKEDSTAKEABLES: number[] = [
    AuthorityVMConstants.STAKEABLELOCKINID,
    AuthorityVMConstants.STAKEABLELOCKOUTID
  ]

  static BASETX: number = 0

  static SUBNETAUTH: number = 10

  static ADDVALIDATORTX: number = 12

  static ADDSUBNETVALIDATORTX: number = 13

  static ADDDELEGATORTX: number = 14

  static CREATECHAINTX: number = 15

  static CREATESUBNETTX: number = 16

  static IMPORTTX: number = 17

  static EXPORTTX: number = 18

  static ADVANCETIMETX: number = 19

  static REWARDVALIDATORTX: number = 20

  static SECPCREDENTIAL: number = 9

  static ASSETIDLEN: number = 32

  static BLOCKCHAINIDLEN: number = 32

  static SYMBOLMAXLEN: number = 4

  static ASSETNAMELEN: number = 128

  static ADDRESSLENGTH: number = 20
}
