Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor (registry: Registry, value?: any) {
super(registry, {
prefix: 'Text',
// NOTE renamed to items from entries (since Struct already has entries from Map)
items: Vec.with(StorageEntryMetadata)
}, value);
}
constructor (registry: Registry, value?: any) {
super(registry, {
name: 'Text',
prefix: 'Text',
storage: Option.with(Vec.with(StorageFunctionMetadata)),
calls: Option.with('Vec'),
events: Option.with('Vec')
}, value);
}
constructor (registry: Registry, value?: any) {
super(registry, {
modules: Vec.with(ModuleMetadataV5)
}, value);
}
constructor (registry: Registry, value?: any) {
super(registry, {
name: 'Text',
prefix: 'Text',
storage: Option.with(Vec.with(StorageFunctionMetadata)),
calls: Option.with('Vec'),
events: Option.with('Vec')
}, value);
}
constructor (registry: Registry, value?: any) {
super(registry, {
modules: Vec.with(ModuleMetadataV2)
}, value);
}
constructor (registry: Registry, value?: any) {
super(registry, {
modules: Vec.with(ModuleMetadataV7)
}, value);
}
constructor (registry: Registry, value?: any) {
super(registry, {
modules: Vec.with(ModuleMetadataV3)
}, value);
}
constructor (registry: Registry, value?: any) {
super(registry, {
modules: Vec.with(ModuleMetadataV8)
}, value);
}
constructor (registry: Registry, value?: any) {
super(registry, {
name: 'Text',
prefix: 'Text',
storage: Option.with(Vec.with(StorageEntryMetadata)),
calls: Option.with('Vec'),
events: Option.with('Vec'),
constants: 'Vec'
}, value);
}
constructor (registry: Registry, value?: any) {
super(registry, {
modules: Vec.with(ModuleMetadataV4)
}, value);
}