diff --git a/packages/apps-config/src/api/spec/uart.ts b/packages/apps-config/src/api/spec/uart.ts index f6bd9fa4f3..dc788e2339 100644 --- a/packages/apps-config/src/api/spec/uart.ts +++ b/packages/apps-config/src/api/spec/uart.ts @@ -12,10 +12,16 @@ const definitions: OverrideBundleDefinition = { // on all versions minmax: [0, undefined], types: { - AccountInfo: 'AccountInfoWithRefCount', Keys: 'SessionKeys2', - Address: 'AccountId', - LookupSource: 'AccountId', + Address: 'MultiAddress', + LookupSource: 'MultiAddress', + AccountData: { + free: 'Balance', + reserved: 'Balance', + misc_frozen: 'Balance', + fee_frozen: 'Balance' + }, + AccountInfo: 'AccountInfoWithDualRefCount', WorkId: 'u32', Id: 'u32', Name: 'Vec', @@ -26,16 +32,16 @@ const definitions: OverrideBundleDefinition = { ProposalId: 'u64', TokenBalance: 'Balance', LotteryKind: { - _enum: { - Routine: 'Null', - TreasuryFunded: 'ReasonIndex' - } + _enum: [ + 'Routine', + 'TreasuryFunded(ReasonIndex)' + ] }, LottoResult: { - _enum: { - Routine: '(AccountId, Balance)', - TreasuryFunded: 'Balance' - } + _enum: [ + 'Routine(AccountId, Balance)', + 'TreasuryFunded(Balance)' + ] }, Lottery: { round: 'LottoIndex', @@ -44,7 +50,7 @@ const definitions: OverrideBundleDefinition = { next_ticket_id: 'u32', players: 'BTreeMap', tickets: 'BTreeMap', - result: 'Option' + result: 'Option>' }, CurrencyId: { _enum: { @@ -57,10 +63,16 @@ const definitions: OverrideBundleDefinition = { } }, TokenSymbol: { - _enum: { - USDT: 'Null', - DAI: 'Null' - } + _enum: [ + 'USDT', + 'DAI' + ] + }, + StorageVersion: { + _enum: [ + 'V1_0_0', + 'V2_0_0' + ] }, CurrencyIdOf: 'CurrencyId', Amount: 'i128', @@ -76,18 +88,18 @@ const definitions: OverrideBundleDefinition = { total_supply: 'Balance' }, OrderType: { - _enum: { - Buy: 'Null', - Sell: 'Null' - } + _enum: [ + 'Buy', + 'Sell' + ] }, OrderStatus: { - _enum: { - Created: 'Null', - PartialFilled: 'Null', - Filled: 'Null', - Canceled: 'Null' - } + _enum: [ + 'Created', + 'PartialFilled', + 'Filled', + 'Canceled' + ] }, TradePair: { hash: 'H256', @@ -158,10 +170,10 @@ const definitions: OverrideBundleDefinition = { amount: 'u64' }, AccessMode: { - _enum: { - Normal: 'Null', - WhiteList: 'Null' - } + _enum: [ + 'Normal', + 'WhiteList' + ] }, SaleOrder: { order_id: 'u64', @@ -207,7 +219,7 @@ const definitions: OverrideBundleDefinition = { }, ReFungibleItemType: { Collection: 'u64', - Owner: 'Vec', + Owner: 'Vec>', Data: 'Vec', item_hash: 'H160' }, diff --git a/packages/apps-config/src/ui/logos/nodes/uniarts.png b/packages/apps-config/src/ui/logos/nodes/uniarts.png index fa0943ad42..d4dcb2f0a0 100644 Binary files a/packages/apps-config/src/ui/logos/nodes/uniarts.png and b/packages/apps-config/src/ui/logos/nodes/uniarts.png differ