Update test uart types (#5042)
* Update test uart types * Update packages/apps-config/src/api/spec/uart.ts Co-authored-by: Jaco Greeff <jacogr@gmail.com> * Update the uart type for the second time Co-authored-by: Jaco Greeff <jacogr@gmail.com>
This commit is contained in:
parent
22d16a7481
commit
0256ff2138
@ -63,7 +63,7 @@ import subdao from './subdao';
|
||||
import subsocial from './subsocial';
|
||||
import ternoa from './ternoa';
|
||||
import trustbase from './trustbase';
|
||||
import uniarts from './uniarts';
|
||||
import uart from './uart';
|
||||
import unique from './unique';
|
||||
import unitv from './unitv';
|
||||
import vln from './vln';
|
||||
@ -149,7 +149,7 @@ const spec: Record<string, OverrideBundleDefinition> = {
|
||||
subzero: zero,
|
||||
ternoa,
|
||||
trustbase,
|
||||
uniarts,
|
||||
uart,
|
||||
'unit-node': unitv,
|
||||
'unit-parachain': unitv,
|
||||
zeitgeist: zeitgeist
|
||||
|
||||
@ -21,6 +21,9 @@ const definitions: OverrideBundleDefinition = {
|
||||
Value: 'Vec<u8>',
|
||||
ReasonIndex: 'u32',
|
||||
LottoIndex: 'u32',
|
||||
MemberId: 'u64',
|
||||
ProposalId: 'u64',
|
||||
TokenBalance: 'Balance',
|
||||
LotteryKind: {
|
||||
_enum: {
|
||||
Routine: 'Null',
|
||||
@ -42,6 +45,25 @@ const definitions: OverrideBundleDefinition = {
|
||||
tickets: 'BTreeMap<u32, AccountId>',
|
||||
result: 'Option<LottoResult>'
|
||||
},
|
||||
CurrencyId: {
|
||||
_enum: {
|
||||
Native: 'Null',
|
||||
UINK: 'Null',
|
||||
DOT: 'Null',
|
||||
KSM: 'Null',
|
||||
ETH: 'Null',
|
||||
Token: 'TokenSymbol'
|
||||
}
|
||||
},
|
||||
TokenSymbol: {
|
||||
_enum: {
|
||||
USDT: 'Null',
|
||||
DAI: 'Null'
|
||||
}
|
||||
},
|
||||
CurrencyIdOf: 'CurrencyId',
|
||||
Amount: 'i128',
|
||||
AmountOf: 'Amount',
|
||||
NameData: {
|
||||
value: 'Value',
|
||||
owner: 'AccountId',
|
||||
@ -53,10 +75,18 @@ const definitions: OverrideBundleDefinition = {
|
||||
total_supply: 'Balance'
|
||||
},
|
||||
OrderType: {
|
||||
_enum: ['Buy', 'Sell']
|
||||
_enum: {
|
||||
Buy: 'Null',
|
||||
Sell: 'Null'
|
||||
}
|
||||
},
|
||||
OrderStatus: {
|
||||
_enum: ['Created', 'PartialFilled', 'Filled', 'Canceled']
|
||||
_enum: {
|
||||
Created: 'Null',
|
||||
PartialFilled: 'Null',
|
||||
Filled: 'Null',
|
||||
Canceled: 'Null'
|
||||
}
|
||||
},
|
||||
TradePair: {
|
||||
hash: 'H256',
|
||||
@ -119,14 +149,18 @@ const definitions: OverrideBundleDefinition = {
|
||||
FungibleItemType: {
|
||||
Collection: 'u64',
|
||||
Owner: 'AccountId',
|
||||
value: 'u128'
|
||||
value: 'u128',
|
||||
item_hash: 'H160'
|
||||
},
|
||||
ApprovePermissions: {
|
||||
approved: 'AccountId',
|
||||
amount: 'u64'
|
||||
},
|
||||
AccessMode: {
|
||||
_enum: ['Normal', 'WhiteList']
|
||||
_enum: {
|
||||
Normal: 'Null',
|
||||
WhiteList: 'Null'
|
||||
}
|
||||
},
|
||||
SaleOrder: {
|
||||
collection_id: 'u64',
|
||||
@ -135,10 +169,18 @@ const definitions: OverrideBundleDefinition = {
|
||||
owner: 'AccountId',
|
||||
price: 'u64'
|
||||
},
|
||||
SplitSaleOrder: {
|
||||
collection_id: 'u64',
|
||||
item_id: 'u64',
|
||||
value: 'u64',
|
||||
owner: 'AccountId',
|
||||
price: 'u64'
|
||||
},
|
||||
SaleOrderHistory: {
|
||||
collection_id: 'u64',
|
||||
item_id: 'u64',
|
||||
value: 'u64',
|
||||
balance: 'u64',
|
||||
seller: 'AccountId',
|
||||
buyer: 'AccountId',
|
||||
price: 'u64',
|
||||
@ -160,7 +202,8 @@ const definitions: OverrideBundleDefinition = {
|
||||
ReFungibleItemType: {
|
||||
Collection: 'u64',
|
||||
Owner: 'Vec<Ownership>',
|
||||
Data: 'Vec<u8>'
|
||||
Data: 'Vec<u8>',
|
||||
item_hash: 'H160'
|
||||
},
|
||||
CollectionType: {
|
||||
Owner: 'AccountId',
|
||||
@ -205,6 +248,38 @@ const definitions: OverrideBundleDefinition = {
|
||||
amount: 'Balance',
|
||||
reward: 'Balance',
|
||||
debt: 'Balance'
|
||||
},
|
||||
Limits: {
|
||||
max_tx_value: 'u128',
|
||||
day_max_limit: 'u128',
|
||||
day_max_limit_for_one_address: 'u128',
|
||||
max_pending_tx_limit: 'u128',
|
||||
min_tx_value: 'u128'
|
||||
},
|
||||
Royalty: {
|
||||
owner: 'AccountId',
|
||||
rate: 'u64',
|
||||
expired_at: 'BlockNumber'
|
||||
},
|
||||
NftCard: {
|
||||
group_id: 'u64',
|
||||
collection_id: 'u64',
|
||||
item_id: 'u64',
|
||||
value: 'u64',
|
||||
remaind_value: 'u64',
|
||||
draw_start: 'u64',
|
||||
draw_end: 'u64'
|
||||
},
|
||||
BlindBox: {
|
||||
id: 'u64',
|
||||
owner: 'AccountId',
|
||||
card_group: 'Vec<u64>',
|
||||
total_count: 'u64',
|
||||
remaind_count: 'u64',
|
||||
price: 'u64',
|
||||
start_time: 'BlockNumber',
|
||||
end_time: 'BlockNumber',
|
||||
has_ended: 'bool'
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -54,7 +54,7 @@ const chainGalois = '#000000';
|
||||
const chainZero = '#000000';
|
||||
const chainZenlink = 'linear-gradient(45deg, #F20082 0%, #FF4D4D 100%)';
|
||||
const chainJupiter = '#7143ff';
|
||||
const chainUniarts = '#b39ef7';
|
||||
const chainUniarts = 'linear-gradient(150deg, #333ef7 0%, #55adff 100%)';
|
||||
const chainUnique = '#40BCFF';
|
||||
const chainIdavoll = '#ff43ff';
|
||||
const chainSubDAO = 'linear-gradient(50deg, #F20092 0%, #FF4D5D 100%)';
|
||||
@ -89,6 +89,7 @@ const nodeStafi = '#00F3AB';
|
||||
const nodeSubDAO = 'linear-gradient(50deg, #F20092 0%, #FF4D5D 100%)';
|
||||
const nodeSubsocial = '#b9018c';
|
||||
const nodeTernoa = '#d622ff';
|
||||
const nodeUniarts = chainUniarts;
|
||||
const nodeUnique = chainUnique;
|
||||
const nodeZeitgeist = 'linear-gradient(180deg, rgba(32,90,172,1) 0%, rgba(26,72,138,1) 50%, rgba(13,36,69,1) 100%)';
|
||||
const nodeZero = '#0099cc';
|
||||
@ -161,7 +162,7 @@ export const chainColors: Record<string, any> = [
|
||||
['Track', chainRoccoTrack],
|
||||
['Trick', chainRoccoTrick],
|
||||
['TrustBase PC1', chainTrustBase],
|
||||
['Uniarts', chainUniarts],
|
||||
['uni arts staging network', chainUniarts],
|
||||
['Unique Node', chainUnique],
|
||||
['Westend', chainWestend],
|
||||
['Zenlink PC1', chainZenlink],
|
||||
@ -203,6 +204,7 @@ export const nodeColors: Record<string, any> = [
|
||||
['subsocial node', nodeSubsocial],
|
||||
['subzero node', nodeZero],
|
||||
['Ternoa Node', nodeTernoa],
|
||||
['uni arts node', nodeUniarts],
|
||||
['Unique Node', nodeUnique],
|
||||
['Zeitgeist Node', nodeZeitgeist],
|
||||
['Zeitgeist Collator', nodeZeitgeist],
|
||||
|
||||
@ -136,7 +136,7 @@ export const chainLogos: Record<string, unknown> = [
|
||||
['Track', chainRococoTrack],
|
||||
['Trick', chainRococoTrick],
|
||||
['TrustBase PC1', nodeTrustBase],
|
||||
['Uniarts', nodeUniarts],
|
||||
['uni arts staging network', nodeUniarts],
|
||||
['Unique', chainUnique],
|
||||
['Vln', nodeVln],
|
||||
['PHOENIX PC1', nodePhoenix],
|
||||
@ -228,7 +228,7 @@ export const nodeLogos: Record<string, unknown> = [
|
||||
['Zenlink', nodeZenlink],
|
||||
['Zenlink Collator', nodeZenlink],
|
||||
['SubDAO Collator', nodeSubDAO],
|
||||
['Uniarts', nodeUniarts],
|
||||
['uni arts node', nodeUniarts],
|
||||
['Unique Node', nodeUnique],
|
||||
['Vln', nodeVln],
|
||||
['PHOENIX Node', nodePhoenix],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user