Update Uniarts Chain types & logo & main net (#5253)

* 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

* update types

* update logo

* update colors & add mainnet

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
This commit is contained in:
Lay Hunt 2021-05-11 20:49:30 +08:00 committed by GitHub
parent 338ee06fe4
commit 2286b2d3d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 26 additions and 6 deletions

View File

@ -12,6 +12,7 @@ const definitions: OverrideBundleDefinition = {
// on all versions
minmax: [0, undefined],
types: {
AccountInfo: 'AccountInfoWithRefCount',
Keys: 'SessionKeys2',
Address: 'AccountId',
LookupSource: 'AccountId',
@ -163,24 +164,29 @@ const definitions: OverrideBundleDefinition = {
}
},
SaleOrder: {
order_id: 'u64',
collection_id: 'u64',
item_id: 'u64',
currency_id: 'CurrencyId',
value: 'u64',
owner: 'AccountId',
price: 'u64'
},
SplitSaleOrder: {
order_id: 'u64',
collection_id: 'u64',
item_id: 'u64',
currency_id: 'CurrencyId',
value: 'u64',
balance: 'u64',
owner: 'AccountId',
price: 'u64'
},
SaleOrderHistory: {
collection_id: 'u64',
item_id: 'u64',
currency_id: 'CurrencyId',
value: 'u64',
balance: 'u64',
seller: 'AccountId',
buyer: 'AccountId',
price: 'u64',
@ -222,6 +228,7 @@ const definitions: OverrideBundleDefinition = {
id: 'u64',
collection_id: 'u64',
item_id: 'u64',
currency_id: 'CurrencyId',
value: 'u64',
owner: 'AccountId',
start_price: 'u64',
@ -232,6 +239,7 @@ const definitions: OverrideBundleDefinition = {
},
BidHistory: {
auction_id: 'u64',
currency_id: 'CurrencyId',
bidder: 'AccountId',
bid_price: 'u64',
bid_time: 'BlockNumber'
@ -270,12 +278,13 @@ const definitions: OverrideBundleDefinition = {
draw_start: 'u64',
draw_end: 'u64'
},
BlindBox: {
BlindboxItem: {
id: 'u64',
owner: 'AccountId',
card_group: 'Vec<u64>',
total_count: 'u64',
remaind_count: 'u64',
currency_id: 'CurrencyId',
price: 'u64',
start_time: 'BlockNumber',
end_time: 'BlockNumber',

View File

@ -152,6 +152,13 @@ export function createProduction (t: TFunction): LinkOption[] {
'Patract Elara': 'wss://subsocial.elara.patract.io'
}
},
{
info: 'uniarts',
text: t('rpc.uniarts', 'UniArts', { ns: 'apps-config' }),
providers: {
UniArts: 'wss://mainnet.uniarts.vip:9443'
}
},
{
info: 'westlake',
text: t('rpc.westlake', 'Westlake', { ns: 'apps-config' }),

View File

@ -303,9 +303,9 @@ export function createTesting (t: TFunction): LinkOption[] {
},
{
info: 'uniarts',
text: t('rpc.uniarts', 'Uniarts', { ns: 'apps-config' }),
text: t('rpc.uniarts', 'UniArts', { ns: 'apps-config' }),
providers: {
Uniarts: 'wss://testnet.uniarts.me'
UniArts: 'wss://testnet.uniarts.me'
}
},
{

View File

@ -193,6 +193,7 @@ export const chainColors: Record<string, any> = [
['Trick', chainRoccoTrick],
['TrustBase PC1', chainTrustBase],
['uni arts staging network', chainUniarts],
['UniArts Mainnet', chainUniarts],
['Unique Node', chainUnique],
['VLN PC', chainVln],
['Web3games ', chainWeb3games],
@ -249,6 +250,7 @@ export const nodeColors: Record<string, any> = [
['subzero node', nodeZero],
['Ternoa Node', nodeTernoa],
['uni arts node', nodeUniarts],
['UniArts Node', nodeUniarts],
['Unique Node', nodeUnique],
['Web3games', nodeWeb3games],
['Westlake', nodeWestlake],

View File

@ -160,6 +160,7 @@ export const chainLogos: Record<string, unknown> = [
['Trick', chainRococoTrick],
['TrustBase PC1', nodeTrustBase],
['uni arts staging network', nodeUniarts],
['UniArts Mainnet', nodeUniarts],
['Unique', chainUnique],
['VLN PC', nodeVln],
['Vln', nodeVln],
@ -264,6 +265,7 @@ export const nodeLogos: Record<string, unknown> = [
['Zenlink Collator', nodeZenlink],
['SubDAO Collator', nodeSubDAO],
['uni arts node', nodeUniarts],
['UniArts Node', nodeUniarts],
['Unique Node', nodeUnique],
['Vln', nodeVln],
['VLN PC', nodeVln],

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 280 KiB

View File

@ -128,7 +128,7 @@
"rpc.ternoa-chaos": "Ternoa Chaos",
"rpc.trustbase": "TrustBase",
"rpc.turbulence": "Turbulence",
"rpc.uniarts": "Uniarts",
"rpc.uniarts": "UniArts",
"rpc.unique": "Unique",
"rpc.unitv": "Unit Network",
"rpc.vln": "Valiu Liquidity Network",
@ -139,4 +139,4 @@
"rpc.zeitgeist": "Zeitgeist Battery Park",
"rpc.zero": "Zero",
"ss58.default": "Default for the connected node"
}
}