Update types and endpoint (#5802)

This commit is contained in:
Greg Zaitsev 2021-07-09 18:49:59 +03:00 committed by GitHub
parent d0f332b0a5
commit f5b3aa43a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 4 deletions

View File

@ -41,6 +41,13 @@ const definitions: OverrideBundleDefinition = {
ConstData: 'Vec<u8>',
VariableData: 'Vec<u8>'
},
SponsorshipState: {
_enum: {
Disabled: null,
Unconfirmed: 'AccountId',
Confirmed: 'AccountId'
}
},
Collection: {
Owner: 'AccountId',
Mode: 'CollectionMode',
@ -52,8 +59,7 @@ const definitions: OverrideBundleDefinition = {
MintMode: 'bool',
OffchainSchema: 'Vec<u8>',
SchemaVersion: 'SchemaVersion',
Sponsor: 'AccountId',
SponsorConfirmed: 'bool',
Sponsorship: 'SponsorshipState',
Limits: 'CollectionLimits',
VariableOnChainSchema: 'Vec<u8>',
ConstOnChainSchema: 'Vec<u8>'
@ -109,7 +115,8 @@ const definitions: OverrideBundleDefinition = {
SponsorTimeout: 'u32',
OwnerCanTransfer: 'bool',
OwnerCanDestroy: 'bool'
}
},
AccountInfo: 'AccountInfoWithDualRefCount'
}
}
]

View File

@ -400,7 +400,7 @@ export function createTesting (t: TFunction, firstOnly?: boolean): LinkOption[]
info: 'unique',
text: t('rpc.test.unique', 'Unique', { ns: 'apps-config' }),
providers: {
Unique: 'wss://testnet2.uniquenetwork.io'
Unique: 'wss://testnet2.unique.network'
}
},
{