Class RegisterMainchainCommand

Hierarchy

  • BaseInteroperabilityCommand<SidechainInteroperabilityInternalMethod>
    • RegisterMainchainCommand

Constructors

Properties

_validatorsMethod: ValidatorsMethod
ccCommands: Map<string, BaseCCCommand<unknown>[]> = ...
internalMethod: SidechainInteroperabilityInternalMethod
interoperableCCMethods: Map<string, BaseCCMethod> = ...
schema: {
    $id: string;
    properties: {
        aggregationBits: {
            dataType: string;
            fieldNumber: number;
        };
        mainchainCertificateThreshold: {
            dataType: string;
            fieldNumber: number;
        };
        mainchainValidators: {
            fieldNumber: number;
            items: {
                properties: {
                    bftWeight: {
                        dataType: string;
                        fieldNumber: number;
                    };
                    blsKey: {
                        dataType: string;
                        fieldNumber: number;
                        maxLength: number;
                        minLength: number;
                    };
                };
                required: string[];
                type: string;
            };
            maxItems: number;
            minItems: number;
            type: string;
        };
        ownChainID: {
            dataType: string;
            fieldNumber: number;
            maxLength: number;
            minLength: number;
        };
        ownName: {
            dataType: string;
            fieldNumber: number;
            maxLength: number;
            minLength: number;
        };
        signature: {
            dataType: string;
            fieldNumber: number;
            maxLength: number;
            minLength: number;
        };
    };
    required: string[];
    type: string;
} = mainchainRegParams

Type declaration

  • $id: string
  • properties: {
        aggregationBits: {
            dataType: string;
            fieldNumber: number;
        };
        mainchainCertificateThreshold: {
            dataType: string;
            fieldNumber: number;
        };
        mainchainValidators: {
            fieldNumber: number;
            items: {
                properties: {
                    bftWeight: {
                        dataType: string;
                        fieldNumber: number;
                    };
                    blsKey: {
                        dataType: string;
                        fieldNumber: number;
                        maxLength: number;
                        minLength: number;
                    };
                };
                required: string[];
                type: string;
            };
            maxItems: number;
            minItems: number;
            type: string;
        };
        ownChainID: {
            dataType: string;
            fieldNumber: number;
            maxLength: number;
            minLength: number;
        };
        ownName: {
            dataType: string;
            fieldNumber: number;
            maxLength: number;
            minLength: number;
        };
        signature: {
            dataType: string;
            fieldNumber: number;
            maxLength: number;
            minLength: number;
        };
    }
    • aggregationBits: {
          dataType: string;
          fieldNumber: number;
      }
      • dataType: string
      • fieldNumber: number
    • mainchainCertificateThreshold: {
          dataType: string;
          fieldNumber: number;
      }
      • dataType: string
      • fieldNumber: number
    • mainchainValidators: {
          fieldNumber: number;
          items: {
              properties: {
                  bftWeight: {
                      dataType: string;
                      fieldNumber: number;
                  };
                  blsKey: {
                      dataType: string;
                      fieldNumber: number;
                      maxLength: number;
                      minLength: number;
                  };
              };
              required: string[];
              type: string;
          };
          maxItems: number;
          minItems: number;
          type: string;
      }
      • fieldNumber: number
      • items: {
            properties: {
                bftWeight: {
                    dataType: string;
                    fieldNumber: number;
                };
                blsKey: {
                    dataType: string;
                    fieldNumber: number;
                    maxLength: number;
                    minLength: number;
                };
            };
            required: string[];
            type: string;
        }
        • properties: {
              bftWeight: {
                  dataType: string;
                  fieldNumber: number;
              };
              blsKey: {
                  dataType: string;
                  fieldNumber: number;
                  maxLength: number;
                  minLength: number;
              };
          }
          • bftWeight: {
                dataType: string;
                fieldNumber: number;
            }
            • dataType: string
            • fieldNumber: number
          • blsKey: {
                dataType: string;
                fieldNumber: number;
                maxLength: number;
                minLength: number;
            }
            • dataType: string
            • fieldNumber: number
            • maxLength: number
            • minLength: number
        • required: string[]
        • type: string
      • maxItems: number
      • minItems: number
      • type: string
    • ownChainID: {
          dataType: string;
          fieldNumber: number;
          maxLength: number;
          minLength: number;
      }
      • dataType: string
      • fieldNumber: number
      • maxLength: number
      • minLength: number
    • ownName: {
          dataType: string;
          fieldNumber: number;
          maxLength: number;
          minLength: number;
      }
      • dataType: string
      • fieldNumber: number
      • maxLength: number
      • minLength: number
    • signature: {
          dataType: string;
          fieldNumber: number;
          maxLength: number;
          minLength: number;
      }
      • dataType: string
      • fieldNumber: number
      • maxLength: number
      • minLength: number
  • required: string[]
  • type: string

Accessors

Methods

Generated using TypeDoc