Hierarchy

  • BasePlugin<FaucetPluginConfig>
    • FaucetPlugin

Constructors

Properties

_server: Server<typeof IncomingMessage, typeof ServerResponse>
_state: State = ...
configSchema: {
    $id: string;
    default: {
        amount: string;
        applicationUrl: string;
        fee: string;
        host: string;
        port: number;
        tokenPrefix: string;
    };
    properties: {
        amount: {
            description: string;
            type: string;
        };
        applicationUrl: {
            description: string;
            format: string;
            type: string;
        };
        captchaSecretkey: {
            description: string;
            type: string;
        };
        captchaSitekey: {
            description: string;
            type: string;
        };
        encryptedPrivateKey: {
            description: string;
            type: string;
        };
        fee: {
            description: string;
            type: string;
        };
        host: {
            format: string;
            type: string;
        };
        logoURL: {
            description: string;
            format: string;
            type: string;
        };
        port: {
            maximum: number;
            minimum: number;
            type: string;
        };
        tokenID: {
            description: string;
            format: string;
            type: string;
        };
        tokenPrefix: {
            description: string;
            type: string;
        };
    };
    required: string[];
    type: string;
} = configSchema

Type declaration

  • $id: string
  • default: {
        amount: string;
        applicationUrl: string;
        fee: string;
        host: string;
        port: number;
        tokenPrefix: string;
    }
    • amount: string
    • applicationUrl: string
    • fee: string
    • host: string
    • port: number
    • tokenPrefix: string
  • properties: {
        amount: {
            description: string;
            type: string;
        };
        applicationUrl: {
            description: string;
            format: string;
            type: string;
        };
        captchaSecretkey: {
            description: string;
            type: string;
        };
        captchaSitekey: {
            description: string;
            type: string;
        };
        encryptedPrivateKey: {
            description: string;
            type: string;
        };
        fee: {
            description: string;
            type: string;
        };
        host: {
            format: string;
            type: string;
        };
        logoURL: {
            description: string;
            format: string;
            type: string;
        };
        port: {
            maximum: number;
            minimum: number;
            type: string;
        };
        tokenID: {
            description: string;
            format: string;
            type: string;
        };
        tokenPrefix: {
            description: string;
            type: string;
        };
    }
    • amount: {
          description: string;
          type: string;
      }
      • description: string
      • type: string
    • applicationUrl: {
          description: string;
          format: string;
          type: string;
      }
      • description: string
      • format: string
      • type: string
    • captchaSecretkey: {
          description: string;
          type: string;
      }
      • description: string
      • type: string
    • captchaSitekey: {
          description: string;
          type: string;
      }
      • description: string
      • type: string
    • encryptedPrivateKey: {
          description: string;
          type: string;
      }
      • description: string
      • type: string
    • fee: {
          description: string;
          type: string;
      }
      • description: string
      • type: string
    • host: {
          format: string;
          type: string;
      }
      • format: string
      • type: string
    • logoURL: {
          description: string;
          format: string;
          type: string;
      }
      • description: string
      • format: string
      • type: string
    • port: {
          maximum: number;
          minimum: number;
          type: string;
      }
      • maximum: number
      • minimum: number
      • type: string
    • tokenID: {
          description: string;
          format: string;
          type: string;
      }
      • description: string
      • format: string
      • type: string
    • tokenPrefix: {
          description: string;
          type: string;
      }
      • description: string
      • type: string
  • required: string[]
  • type: string
endpoint: Endpoint = ...
logger: Logger

Accessors

  • get apiClient(): APIClient
  • Returns APIClient

  • get appConfig(): ApplicationConfigForPlugin
  • Returns ApplicationConfigForPlugin

  • get config(): T
  • Returns T

  • get dataPath(): string
  • Returns string

  • get events(): string[]
  • Returns string[]

  • get name(): string
  • Returns string

Methods

Generated using TypeDoc