diff --git a/packages/apps-config/src/api/spec/index.ts b/packages/apps-config/src/api/spec/index.ts index 23e3905e3c..97814de873 100644 --- a/packages/apps-config/src/api/spec/index.ts +++ b/packages/apps-config/src/api/spec/index.ts @@ -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 = { subzero: zero, ternoa, trustbase, - uniarts, + uart, 'unit-node': unitv, 'unit-parachain': unitv, zeitgeist: zeitgeist diff --git a/packages/apps-config/src/api/spec/uniarts.ts b/packages/apps-config/src/api/spec/uart.ts similarity index 73% rename from packages/apps-config/src/api/spec/uniarts.ts rename to packages/apps-config/src/api/spec/uart.ts index e955d2eaea..acadc0e43f 100644 --- a/packages/apps-config/src/api/spec/uniarts.ts +++ b/packages/apps-config/src/api/spec/uart.ts @@ -21,6 +21,9 @@ const definitions: OverrideBundleDefinition = { Value: 'Vec', ReasonIndex: 'u32', LottoIndex: 'u32', + MemberId: 'u64', + ProposalId: 'u64', + TokenBalance: 'Balance', LotteryKind: { _enum: { Routine: 'Null', @@ -42,6 +45,25 @@ const definitions: OverrideBundleDefinition = { tickets: 'BTreeMap', result: 'Option' }, + 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', - Data: 'Vec' + Data: 'Vec', + 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', + total_count: 'u64', + remaind_count: 'u64', + price: 'u64', + start_time: 'BlockNumber', + end_time: 'BlockNumber', + has_ended: 'bool' } } } diff --git a/packages/apps-config/src/ui/colors.ts b/packages/apps-config/src/ui/colors.ts index 8c4afab5e1..833836ec76 100644 --- a/packages/apps-config/src/ui/colors.ts +++ b/packages/apps-config/src/ui/colors.ts @@ -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 = [ ['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 = [ ['subsocial node', nodeSubsocial], ['subzero node', nodeZero], ['Ternoa Node', nodeTernoa], + ['uni arts node', nodeUniarts], ['Unique Node', nodeUnique], ['Zeitgeist Node', nodeZeitgeist], ['Zeitgeist Collator', nodeZeitgeist], diff --git a/packages/apps-config/src/ui/logos/index.ts b/packages/apps-config/src/ui/logos/index.ts index 185b8c7040..c0a7e886ae 100644 --- a/packages/apps-config/src/ui/logos/index.ts +++ b/packages/apps-config/src/ui/logos/index.ts @@ -136,7 +136,7 @@ export const chainLogos: Record = [ ['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 = [ ['Zenlink', nodeZenlink], ['Zenlink Collator', nodeZenlink], ['SubDAO Collator', nodeSubDAO], - ['Uniarts', nodeUniarts], + ['uni arts node', nodeUniarts], ['Unique Node', nodeUnique], ['Vln', nodeVln], ['PHOENIX Node', nodePhoenix],