Hierarchy

  • BasePlugin<ChainConnectorPluginConfig>
    • ChainConnectorPlugin

Constructors

Properties

_blockEventHandler: BlockEventHandler
_chainConnectorDB: ChainConnectorDB = ...
_ownChainID: Buffer
_receivingChainClient: ChainAPIClient
_receivingChainID: Buffer
_sendingChainClient: ChainAPIClient
configSchema: {
    $id: string;
    default: {
        ccuFee: string;
        ccuFrequency: number;
        ccuSaveLimit: number;
        isSaveCCU: boolean;
        maxCCUSize: number;
        registrationHeight: number;
    };
    properties: {
        ccuFee: {
            description: string;
            format: string;
            type: string;
        };
        ccuFrequency: {
            description: string;
            type: string;
        };
        ccuSaveLimit: {
            description: string;
            minimum: number;
            type: string;
        };
        encryptedPrivateKey: {
            description: string;
            type: string;
        };
        isSaveCCU: {
            description: string;
            type: string;
        };
        maxCCUSize: {
            description: string;
            maximum: number;
            minimum: number;
            type: string;
        };
        receivingChainID: {
            description: string;
            type: string;
        };
        receivingChainIPCPath: {
            description: string;
            type: string;
        };
        receivingChainWsURL: {
            description: string;
            type: string;
        };
        registrationHeight: {
            description: string;
            minimum: number;
            type: string;
        };
    };
    required: string[];
    type: string;
} = configSchema

Type declaration

  • $id: string
  • default: {
        ccuFee: string;
        ccuFrequency: number;
        ccuSaveLimit: number;
        isSaveCCU: boolean;
        maxCCUSize: number;
        registrationHeight: number;
    }
    • ccuFee: string
    • ccuFrequency: number
    • ccuSaveLimit: number
    • isSaveCCU: boolean
    • maxCCUSize: number
    • registrationHeight: number
  • properties: {
        ccuFee: {
            description: string;
            format: string;
            type: string;
        };
        ccuFrequency: {
            description: string;
            type: string;
        };
        ccuSaveLimit: {
            description: string;
            minimum: number;
            type: string;
        };
        encryptedPrivateKey: {
            description: string;
            type: string;
        };
        isSaveCCU: {
            description: string;
            type: string;
        };
        maxCCUSize: {
            description: string;
            maximum: number;
            minimum: number;
            type: string;
        };
        receivingChainID: {
            description: string;
            type: string;
        };
        receivingChainIPCPath: {
            description: string;
            type: string;
        };
        receivingChainWsURL: {
            description: string;
            type: string;
        };
        registrationHeight: {
            description: string;
            minimum: number;
            type: string;
        };
    }
    • ccuFee: {
          description: string;
          format: string;
          type: string;
      }
      • description: string
      • format: string
      • type: string
    • ccuFrequency: {
          description: string;
          type: string;
      }
      • description: string
      • type: string
    • ccuSaveLimit: {
          description: string;
          minimum: number;
          type: string;
      }
      • description: string
      • minimum: number
      • type: string
    • encryptedPrivateKey: {
          description: string;
          type: string;
      }
      • description: string
      • type: string
    • isSaveCCU: {
          description: string;
          type: string;
      }
      • description: string
      • type: string
    • maxCCUSize: {
          description: string;
          maximum: number;
          minimum: number;
          type: string;
      }
      • description: string
      • maximum: number
      • minimum: number
      • type: string
    • receivingChainID: {
          description: string;
          type: string;
      }
      • description: string
      • type: string
    • receivingChainIPCPath: {
          description: string;
          type: string;
      }
      • description: string
      • type: string
    • receivingChainWsURL: {
          description: string;
          type: string;
      }
      • description: string
      • type: string
    • registrationHeight: {
          description: string;
          minimum: number;
          type: string;
      }
      • description: string
      • minimum: number
      • type: string
  • required: string[]
  • type: string
endpoint: ChainConnectorEndpoint = ...
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