Class ChainAdapter<ModuleType, StructType>Abstract
Constructors
Methods
Abstract
fetchModule
- fetchModule(account: string, module: string): Promise<ModuleType>
Parameters
- account: string
- module: string
Abstract
fetchModules
- fetchModules(account: string): Promise<ModuleType[]>
Abstract
getAllEventStructs
- getAllEventStructs(
module: InternalMoveModule[],
): Map<string, InternalMoveStruct>
Abstract
getChainId
- getChainId(): Promise<string>
Returns Promise<string>
Abstract
getData
- getData<T>(base: StructType): any
Returns any
Abstract
getMeaningfulFunctionParams
- getMeaningfulFunctionParams(
params: TypeDescriptor<any>[],
): TypeDescriptor<any>[]
Abstract
getType
- getType(base: StructType): string
Returns string
Abstract
toInternalModules
- toInternalModules(modules: ModuleType[]): InternalMoveModule[]