Class DynamicRewardModule

Hierarchy

Constructors

Properties

_moduleConfig: ModuleConfig
_posMethod: PoSMethod
_randomMethod: RandomMethod
_tokenMethod: TokenMethod
_validatorMethod: ValidatorsMethod
commands: BaseCommand<unknown>[] = []
configSchema: {
    $id: string;
    properties: {
        brackets: {
            items: {
                format: string;
                type: string;
            };
            type: string;
        };
        distance: {
            minimum: number;
            type: string;
        };
        factorMinimumRewardActiveValidators: {
            minimum: number;
            type: string;
        };
        offset: {
            minimum: number;
            type: string;
        };
        tokenID: {
            format: string;
            maxLength: number;
            minLength: number;
            type: string;
        };
    };
    required: string[];
    type: string;
} = configSchema

Type declaration

  • $id: string
  • properties: {
        brackets: {
            items: {
                format: string;
                type: string;
            };
            type: string;
        };
        distance: {
            minimum: number;
            type: string;
        };
        factorMinimumRewardActiveValidators: {
            minimum: number;
            type: string;
        };
        offset: {
            minimum: number;
            type: string;
        };
        tokenID: {
            format: string;
            maxLength: number;
            minLength: number;
            type: string;
        };
    }
    • brackets: {
          items: {
              format: string;
              type: string;
          };
          type: string;
      }
      • items: {
            format: string;
            type: string;
        }
        • format: string
        • type: string
      • type: string
    • distance: {
          minimum: number;
          type: string;
      }
      • minimum: number
      • type: string
    • factorMinimumRewardActiveValidators: {
          minimum: number;
          type: string;
      }
      • minimum: number
      • type: string
    • offset: {
          minimum: number;
          type: string;
      }
      • minimum: number
      • type: string
    • tokenID: {
          format: string;
          maxLength: number;
          minLength: number;
          type: string;
      }
      • format: string
      • maxLength: number
      • minLength: number
      • type: string
  • required: string[]
  • type: string
endpoint: DynamicRewardEndpoint = ...
events: NamedRegistry = ...
method: DynamicRewardMethod = ...
offchainStores: NamedRegistry = ...
stores: NamedRegistry = ...

Accessors

Methods

  • Parameters

    • tokenMethod: TokenMethod
    • randomMethod: RandomMethod
    • validatorMethod: ValidatorsMethod
    • posMethod: PoSMethod

    Returns void

  • Returns {
        assets: never[];
        commands: {
            name: string;
            params: Schema;
        }[];
        endpoints: never[];
        events: {
            data: Schema;
            name: string;
        }[];
        stores: {
            data: Schema;
            key: string;
        }[];
    }

    • assets: never[]
    • commands: {
          name: string;
          params: Schema;
      }[]
    • endpoints: never[]
    • events: {
          data: Schema;
          name: string;
      }[]
    • stores: {
          data: Schema;
          key: string;
      }[]

Generated using TypeDoc