Add Label, Name and Value type definitions for Neatcoin (#6054)

* Add Label, Name and Value type definitions for Neatcoin

* Update packages/apps-config/src/api/spec/neatcoin.ts

Co-authored-by: Jaco <jacogr@gmail.com>

Co-authored-by: Jaco <jacogr@gmail.com>
This commit is contained in:
Wei Tang 2021-09-02 12:40:08 +00:00 committed by GitHub
parent 94a40dc64d
commit 3bfd9e1db1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,17 @@ const definitions: OverrideBundleDefinition = {
{
minmax: [0, undefined],
types: {
NameHash: 'H256'
Label: 'Vec<u8>',
Name: 'Vec<Label>',
NameHash: 'H256',
Value: {
_enum: {
U32: 'U32',
U64: 'U64',
U128: 'U128',
Bool: 'Bool'
}
}
}
}
]