added Equilibrium Mainnet; updated Equilibrium Testnet (#4016)
* added Equilibrium Mainnet; updated Equilibrium Testnet * fix autoformat * fix lint
This commit is contained in:
parent
6569084970
commit
bcd931e812
@ -22,18 +22,23 @@ export default {
|
||||
block_num: 'BlockNumber'
|
||||
},
|
||||
Currency: {
|
||||
_enum: [
|
||||
'Unknown',
|
||||
'Usd',
|
||||
'EQ',
|
||||
'Eth',
|
||||
'Btc',
|
||||
'Eos'
|
||||
]
|
||||
_enum: ['Unknown', 'Usd', 'EQ', 'Eth', 'Btc', 'Eos', 'Dot']
|
||||
},
|
||||
UserGroup: {
|
||||
_enum: ['Unknown', 'Balances', 'Bailsman']
|
||||
},
|
||||
TotalAggregates: {
|
||||
collateral: 'Balance',
|
||||
debt: 'Balance'
|
||||
},
|
||||
PricePeriod: {
|
||||
_enum: ['Min', 'TenMin', 'Hour', 'FourHour', 'Day']
|
||||
},
|
||||
DataPoint: {
|
||||
price: 'u64',
|
||||
account_id: 'AccountId'
|
||||
account_id: 'AccountId',
|
||||
block_number: 'BlockNumber',
|
||||
timestamp: 'u64'
|
||||
},
|
||||
PricePoint: {
|
||||
block_number: 'BlockNumber',
|
||||
@ -51,5 +56,24 @@ export default {
|
||||
startingBlock: 'BlockNumber'
|
||||
},
|
||||
LookupSource: 'AccountId',
|
||||
BalanceOf: 'Balance'
|
||||
BalanceOf: 'Balance',
|
||||
TransferReason: {
|
||||
_enum: [
|
||||
'Common',
|
||||
'InterestFee',
|
||||
'MarginCall',
|
||||
'BailsmenRedistribution',
|
||||
'TreasuryEqBuyout',
|
||||
'TreasuryBuyEq'
|
||||
]
|
||||
},
|
||||
ProposalStatus: {
|
||||
_enum: ['Initiated', 'Approved', 'Rejected']
|
||||
},
|
||||
ProposalVotes: {
|
||||
votes_for: 'Vec<AccountId>',
|
||||
votes_against: 'Vec<AccountId>',
|
||||
status: 'ProposalStatus',
|
||||
expiry: 'BlockNumber'
|
||||
}
|
||||
};
|
||||
|
||||
@ -128,6 +128,12 @@ function createLiveNetworks (t: TFunction): LinkOption[] {
|
||||
textBy: t('rpc.hosted.by', 'hosted by {{host}}', { ns: 'apps-config', replace: { host: 'Commonwealth Labs' } }),
|
||||
value: 'wss://mainnet1.edgewa.re'
|
||||
},
|
||||
{
|
||||
info: 'equilibrium',
|
||||
text: t('rpc.equilibrium', 'Equilibrium Mainnet', { ns: 'apps-config' }),
|
||||
textBy: t('rpc.hosted.by', 'hosted by {{host}}', { ns: 'apps-config', replace: { host: 'Equilibrium' } }),
|
||||
value: 'wss://tge.equilibrium.io:9944'
|
||||
},
|
||||
{
|
||||
info: 'hanonycash',
|
||||
text: t('rpc.hanonycash', 'hanonycash', { ns: 'apps-config' }),
|
||||
@ -292,9 +298,9 @@ function createTestNetworks (t: TFunction): LinkOption[] {
|
||||
},
|
||||
{
|
||||
info: 'equilibrium',
|
||||
text: t('rpc.equilibriumr', 'Equilibrium', { ns: 'apps-config' }),
|
||||
text: t('rpc.equilibriumtestnet', 'Equilibrium Testnet', { ns: 'apps-config' }),
|
||||
textBy: t('rpc.hosted.by', 'hosted by {{host}}', { ns: 'apps-config', replace: { host: 'Equilibrium' } }),
|
||||
value: 'wss://api.testnet.equilibrium.io:9944'
|
||||
value: 'wss://api.mvp.testnet.equilibrium.io'
|
||||
},
|
||||
{
|
||||
info: 'substrate',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user