You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.
Create BaseInteroperabilityModule, BaseInteroperableModule, BaseCrossChainCMD and BaseInteroperableModuleAPI abstract class under /framework/src/modules
exportabstractclassBaseInteroperabilityModuleextendsBaseModule{publicid=64;// Common id for both interoperability modulepublicname='interoperability';// Common name for both interoperability modulepublicabstractregisterInterOpMod: Map<number,BaseInteroperableModule>;}exportabstractclassBaseInteroperableModuleAPI{protectedabstractmoduleID(): number;publicabstractbeforeApplyCCM(ctx: APIContext,ccm: CCM,ccu: CCU): Promise<void>;publicabstractbeforeSendCCM(ctx: APIContext,ccm: CCM,payFromAddress: Buffer): Promise<void>;publicabstractbeforeRecoverCCM(ctx: APIContext,ccm: CCM,trsSender: Buffer): Promise<void>;publicabstractrecover(ctx: APIContext,terminatedChainID: number,moduleID: number,storePrefix: number,storeKey: number,storeValue: Buffer): Promise<void>;}exportabstractclassBaseCrossChainCommand{publicabstractID: number;publicabstractname: string;publicabstractschema: object;// Schema typepublicabstractexecute(): Promise<void>;}exportabstractclassBaseInteroperableModule{publicabstractcrossChainCommands: CrossChainCommands[];// cross chain commandpublicabstractcrossChainAPI: BaseInteroperableModuleAPI;// cross chain API}
Acceptance Criteria
BaseInteroperabilityModule, BaseInteroperableModule and BaseInteroperableModuleAPI abstract class under /framework/src/modules should exist with given properties and definitions.
The text was updated successfully, but these errors were encountered:
Description
Create
BaseInteroperabilityModule
,BaseInteroperableModule
,BaseCrossChainCMD
andBaseInteroperableModuleAPI
abstract class under/framework/src/modules
Acceptance Criteria
BaseInteroperabilityModule
,BaseInteroperableModule
andBaseInteroperableModuleAPI
abstract class under/framework/src/modules
should exist with given properties and definitions.The text was updated successfully, but these errors were encountered: