Class RegisterSidechainCommand

Hierarchy

  • BaseInteroperabilityCommand<MainchainInteroperabilityInternalMethod>
    • RegisterSidechainCommand

Constructors

Properties

_feeMethod: FeeMethod
_tokenMethod: TokenMethod
ccCommands: Map<string, BaseCCCommand<unknown>[]> = ...
internalMethod: MainchainInteroperabilityInternalMethod
interoperableCCMethods: Map<string, BaseCCMethod> = ...
schema: {
    $id: string;
    properties: {
        chainID: {
            dataType: string;
            fieldNumber: number;
            maxLength: number;
            minLength: number;
        };
        name: {
            dataType: string;
            fieldNumber: number;
            maxLength: number;
            minLength: number;
        };
        sidechainCertificateThreshold: {
            dataType: string;
            fieldNumber: number;
        };
        sidechainValidators: {
            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;
        };
    };
    required: string[];
    type: string;
} = sidechainRegParams

Type declaration

  • $id: string
  • properties: {
        chainID: {
            dataType: string;
            fieldNumber: number;
            maxLength: number;
            minLength: number;
        };
        name: {
            dataType: string;
            fieldNumber: number;
            maxLength: number;
            minLength: number;
        };
        sidechainCertificateThreshold: {
            dataType: string;
            fieldNumber: number;
        };
        sidechainValidators: {
            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;
        };
    }
    • chainID: {
          dataType: string;
          fieldNumber: number;
          maxLength: number;
          minLength: number;
      }
      • dataType: string
      • fieldNumber: number
      • maxLength: number
      • minLength: number
    • name: {
          dataType: string;
          fieldNumber: number;
          maxLength: number;
          minLength: number;
      }
      • dataType: string
      • fieldNumber: number
      • maxLength: number
      • minLength: number
    • sidechainCertificateThreshold: {
          dataType: string;
          fieldNumber: number;
      }
      • dataType: string
      • fieldNumber: number
    • sidechainValidators: {
          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
  • required: string[]
  • type: string

Accessors

Methods

Generated using TypeDoc