Update Kusari and Swapdex Types (#7164)

This commit is contained in:
Masterdubs 2022-03-15 13:16:28 +04:00 committed by GitHub
parent 3fb0ff3bbb
commit 45e662be9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 60 additions and 0 deletions

View File

@ -34,6 +34,36 @@ const definitions: OverrideBundleDefinition = {
v: 'u64',
r: 'H256',
s: 'H256'
},
ClassId: 'u64',
TokenId: 'u64',
ClassData: 'Vec<u8>',
TokenData: 'Vec<u8>',
ReportReason: {
_enum: [
'None',
'Illigal',
'Plagiarism',
'Duplicate',
'Reported'
]
},
ClassInfoOf: {
metadata: 'Vec<u8>',
total_issuance: 'TokenId',
owner: 'AccountId',
class_data: 'ClassData'
},
ExtendedInfo: {
display_flag: 'bool',
report: 'ReportReason',
frozen: 'bool'
},
TokenInfoOf: {
metadata: 'Vec<u8>',
owner: 'AccountId',
class_data: 'ClassData'
}
}
}

View File

@ -34,6 +34,36 @@ const definitions: OverrideBundleDefinition = {
v: 'u64',
r: 'H256',
s: 'H256'
},
ClassId: 'u64',
TokenId: 'u64',
ClassData: 'Vec<u8>',
TokenData: 'Vec<u8>',
ReportReason: {
_enum: [
'None',
'Illigal',
'Plagiarism',
'Duplicate',
'Reported'
]
},
ClassInfoOf: {
metadata: 'Vec<u8>',
total_issuance: 'TokenId',
owner: 'AccountId',
class_data: 'ClassData'
},
ExtendedInfo: {
display_flag: 'bool',
report: 'ReportReason',
frozen: 'bool'
},
TokenInfoOf: {
metadata: 'Vec<u8>',
owner: 'AccountId',
class_data: 'ClassData'
}
}
}