Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
faac559
adding cord network
smohan-dw Oct 28, 2021
694c425
adding cord favicon
smohan-dw Oct 28, 2021
3dd98cc
cord customisations
smohan-dw Oct 28, 2021
c4d4ccd
identicon update
smohan-dw Oct 28, 2021
157bf2b
minor updates
smohan-dw Oct 28, 2021
178f65e
event updates
smohan-dw Oct 29, 2021
1900271
Merge pull request #1 from dhiway/event-filter
smohan-dw Oct 29, 2021
1a81802
cord logo
smohan-dw Oct 30, 2021
eaed341
Merge pull request #2 from dhiway/event-filter
smohan-dw Oct 30, 2021
a7cd326
Merge branch 'new-br' into cord-network
smohan-dw Nov 8, 2021
d547ce3
update v0.98.1
smohan-dw Nov 8, 2021
96d91c4
minor ui fixes
smohan-dw Nov 9, 2021
74ce04b
add staging endpoint
smohan-dw Nov 9, 2021
cf326df
logo and staging endpoint updates
smohan-dw Nov 16, 2021
fd263a6
Merge branch 'master' into 0.6.x
smohan-dw Feb 15, 2022
c313b2e
updates for 0.6.x
smohan-dw Feb 15, 2022
e95ab71
updates for 0.6.x
smohan-dw Feb 15, 2022
dd1f235
Merge branch 'master' into 0.7.x
smohan-dw Apr 9, 2022
2211f70
routing changes
smohan-dw Apr 9, 2022
fac2c56
minor routing changes
smohan-dw Apr 10, 2022
8ab0043
Merge remote-tracking branch 'upstream/master' into 0.7.x
smohan-dw May 19, 2022
0e19a25
Update cord.ts
smohan-dw May 19, 2022
a0300a6
configuration updates
smohan-dw May 19, 2022
9169f79
Merge branch 'update0.116.1' into 0.7.x
smohan-dw Jul 3, 2022
2c42bc5
Create yarn.lock.old
smohan-dw Jul 3, 2022
15020c5
update to v0.116.0
smohan-dw Jul 3, 2022
f75d78f
Merge branch 'master' into 0.7.x
smohan-dw Jul 12, 2022
33ac94e
Companion for 0.7.4 update
smohan-dw Jul 12, 2022
a1bbe04
Merge branch 'master' into 0.7.x
smohan-dw Aug 9, 2022
5a3c3f6
update to 0.120
smohan-dw Aug 9, 2022
d8a6211
Merge branch '0.123.1' into 0.8.x
smohan-dw Feb 12, 2023
5611bc8
session summary changes
smohan-dw Feb 13, 2023
69535bc
summary screen updates
smohan-dw Feb 13, 2023
67113c1
cord typebundle update
smohan-dw Mar 4, 2023
fcc73f9
api updates
smohan-dw Mar 12, 2023
77f2a65
update the package
amarts Mar 14, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ yarn-error.log*
.log
env-config.js
NOTES.md
.vscode/*
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@
"styled-components": "^5.3.6"
},
"resolutions": {
"@cord.network/type-definitions": "^0.8.1-beta.0",
"@polkadot/api": "^9.11.3",
"@polkadot/api-augment": "^9.11.3",
"@polkadot/api-base": "^9.11.3",
Expand Down
44 changes: 9 additions & 35 deletions packages/apps-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,43 +13,17 @@
"version": "0.123.0",
"main": "index.js",
"dependencies": {
"@acala-network/type-definitions": "^4.1.8-1",
"@babel/runtime": "^7.20.7",
"@bifrost-finance/type-definitions": "1.7.2",
"@crustio/type-definitions": "1.3.0",
"@darwinia/types": "2.8.10",
"@darwinia/types-known": "2.8.10",
"@digitalnative/type-definitions": "1.1.27",
"@docknetwork/node-types": "0.15.0",
"@edgeware/node-types": "3.6.2-wako",
"@equilab/definitions": "1.4.18",
"@frequency-chain/api-augment": "^1.0.0",
"@interlay/interbtc-types": "1.11.0",
"@kiltprotocol/type-definitions": "^0.30.0",
"@laminar/type-definitions": "0.3.1",
"@logion/node-api": "^0.9.0-3",
"@mangata-finance/types": "^0.17.0",
"@metaverse-network-sdk/type-definitions": "^0.0.1-13",
"@parallel-finance/type-definitions": "1.7.14",
"@phala/typedefs": "0.2.33",
"@polkadot/api": "^9.11.3",
"@polkadot/api-derive": "^9.11.3",
"@polkadot/networks": "^10.2.6",
"@polkadot/types": "^9.11.3",
"@polkadot/util": "^10.2.6",
"@polkadot/x-fetch": "^10.2.6",
"@polymathnetwork/polymesh-types": "0.0.2",
"@snowfork/snowbridge-types": "0.2.7",
"@sora-substrate/type-definitions": "1.12.4",
"@subsocial/definitions": "^0.7.9",
"@unique-nft/opal-testnet-types": "930.34.0",
"@unique-nft/quartz-mainnet-types": "930.34.0",
"@unique-nft/unique-mainnet-types": "930.33.0",
"@zeitgeistpm/type-defs": "0.10.0",
"@zeroio/type-definitions": "0.0.14",
"@cord.network/type-definitions": "^0.8.0",
"@polkadot/api": "^9.14.2",
"@polkadot/api-derive": "^9.14.2",
"@polkadot/networks": "^10.4.2",
"@polkadot/types": "^9.14.2",
"@polkadot/util": "^10.4.2",
"@polkadot/wasm-util": "^6.4.1",
"@polkadot/x-fetch": "^10.4.2",
"@polkadot/x-ws": "^10.4.2",
"lodash": "^4.17.21",
"moonbeam-types-bundle": "2.0.9",
"pontem-types-bundle": "1.0.15",
"rxjs": "^7.8.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@

import type { OverrideBundleDefinition } from '@polkadot/types/types';

import { typesBundle } from '@kiltprotocol/type-definitions';
import { typesBundle } from '@cord.network/type-definitions';

export default typesBundle.chain as Record<string, OverrideBundleDefinition>;
10 changes: 4 additions & 6 deletions packages/apps-config/src/api/chain/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,13 @@

import type { OverrideBundleDefinition } from '@polkadot/types/types';

import kilt from './kilt';
import cord from './cord';

// NOTE: The mapping is done from chain name in system.chain
const chain: Record<string, OverrideBundleDefinition> = {
'KILT Mashnet': kilt['KILT Mashnet'],
'KILT Peregrine': kilt['KILT Peregrine'],
'KILT Peregrine Stagenet': kilt['KILT Peregrine Stagenet'],
'KILT Spiritnet': kilt['KILT Spiritnet'],
'KILT Spiritnet Develop': kilt['KILT Spiritnet Develop']
'Dev. Node': cord['Development'],
'CORD Staging Testnet': cord['CORD Staging Testnet'],
'Development': cord['Development'],
};

export default chain;
9 changes: 0 additions & 9 deletions packages/apps-config/src/api/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,3 @@ export const POLKADOT_DENOM_BLOCK = new BN(1248328);

export const ROCOCO_GENESIS = getGenesis('rococo');

export const WESTEND_GENESIS = getGenesis('westend');

export const NEATCOIN_GENESIS = '0xfbb541421d30423c9a753ffa844b64fd44d823f513bf49e3b73b3a656309a595';

export const DOCK_GENESIS = '0x6bfe24dca2a3be10f22212678ac13a6446ec764103c0f3471c71609eac384aae';

export const DOCK_POS_TESTNET_GENESIS = '0x59d93e2ce42abb8aa52ca9a9e820233667104751f8f2980578a47a26a7235027';

export const NFTMART_GENESIS = '0xfcf9074303d8f319ad1bf0195b145871977e7c375883b834247cb01ff22f51f9';
16 changes: 8 additions & 8 deletions packages/apps-config/src/api/derives.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@

import type { OverrideBundleDefinition, OverrideBundleType } from '@polkadot/types/types';

import equilibrium from './spec/equilibrium';
import genshiro from './spec/genshiro';
import interbtc from './spec/interbtc';
import subspace from './spec/subspace';
// import equilibrium from './spec/equilibrium';
// import genshiro from './spec/genshiro';
// import interbtc from './spec/interbtc';
// import subspace from './spec/subspace';

const mapping: [OverrideBundleDefinition, string[]][] = [
[equilibrium, ['Equilibrium']],
[genshiro, ['Genshiro', 'Genshiro Rococo Testnet']],
[interbtc, ['interbtc-parachain', 'interbtc-standalone', 'interlay-parachain', 'kintsugi-parachain', 'testnet-kintsugi', 'testnet-interlay']],
[subspace, ['subspace']]
// [equilibrium, ['Equilibrium']],
// [genshiro, ['Genshiro', 'Genshiro Rococo Testnet']],
// [interbtc, ['interbtc-parachain', 'interbtc-standalone', 'interlay-parachain', 'kintsugi-parachain']],
// [subspace, ['subspace']]
];

export function applyDerives (typesBundle: OverrideBundleType): OverrideBundleType {
Expand Down
9 changes: 1 addition & 8 deletions packages/apps-config/src/api/params/inflation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import type { ApiPromise } from '@polkadot/api';

import { DOCK_POS_TESTNET_GENESIS, KUSAMA_GENESIS, NEATCOIN_GENESIS, NFTMART_GENESIS, POLKADOT_GENESIS } from '../constants';
import { KUSAMA_GENESIS, POLKADOT_GENESIS } from '../constants';

interface InflationParams {
auctionAdjust: number;
Expand All @@ -28,14 +28,7 @@ const DEFAULT_PARAMS: InflationParams = {
};

const KNOWN_PARAMS: Record<string, InflationParams> = {
[DOCK_POS_TESTNET_GENESIS]: { ...DEFAULT_PARAMS, stakeTarget: 0.75 },
// 30% for up to 60 slots, see
// https://github.com/paritytech/polkadot/blob/816cb64ea16102c6c79f6be2a917d832d98df757/runtime/kusama/src/lib.rs#L526-L527
// 75% ideal target, see
// https://github.com/paritytech/polkadot/blob/816cb64ea16102c6c79f6be2a917d832d98df757/runtime/kusama/src/lib.rs#L529-L531
[KUSAMA_GENESIS]: { ...DEFAULT_PARAMS, auctionAdjust: (0.3 / 60), auctionMax: 60, stakeTarget: 0.75 },
[NEATCOIN_GENESIS]: { ...DEFAULT_PARAMS, stakeTarget: 0.75 },
[NFTMART_GENESIS]: { ...DEFAULT_PARAMS, falloff: 0.04, stakeTarget: 0.60 },
[POLKADOT_GENESIS]: { ...DEFAULT_PARAMS, stakeTarget: 0.75 }
};

Expand Down
6 changes: 0 additions & 6 deletions packages/apps-config/src/api/spec/acala.ts

This file was deleted.

20 changes: 0 additions & 20 deletions packages/apps-config/src/api/spec/ajuna.ts

This file was deleted.

35 changes: 0 additions & 35 deletions packages/apps-config/src/api/spec/altair.ts

This file was deleted.

22 changes: 0 additions & 22 deletions packages/apps-config/src/api/spec/apron.ts

This file was deleted.

Loading