-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* jamton endpoint and ui * jamton apps-config * lint
- Loading branch information
Showing
7 changed files
with
140 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
// Copyright 2017-2024 @polkadot/apps-config authors & contributors | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
import type { OverrideBundleDefinition } from '@polkadot/types/types'; | ||
|
||
/* eslint-disable sort-keys */ | ||
const definitions: OverrideBundleDefinition = { | ||
types: [ | ||
{ | ||
// on all versions | ||
minmax: [0, undefined], | ||
types: { | ||
StakingRates: { | ||
collatorStakingRate: 'Perquintill', | ||
collatorRewardRate: 'Perquintill', | ||
delegatorStakingRate: 'Perquintill', | ||
delegatorRewardRate: 'Perquintill' | ||
}, | ||
AssetId: 'u32', | ||
Balance: 'u128' | ||
} | ||
} | ||
], | ||
runtime: { | ||
ParachainStaking: [ | ||
{ | ||
methods: { | ||
get_staking_rates: { | ||
description: 'Calculate the current staking and reward rates for collators and delegators', | ||
params: [], | ||
type: 'StakingRates' | ||
}, | ||
get_unclaimed_staking_rewards: { | ||
description: 'Calculate the claimable staking rewards for a given account address', | ||
params: [ | ||
{ | ||
name: 'account', | ||
type: 'AccountId32' | ||
} | ||
], | ||
type: 'Balance' | ||
} | ||
}, | ||
version: 1 | ||
} | ||
] | ||
}, | ||
signedExtensions: { | ||
ChargeAssetTxPayment: { | ||
extrinsic: { | ||
tip: 'Compact<Balance>', | ||
assetId: 'Option<AssetId>' | ||
}, | ||
payload: {} | ||
} | ||
} | ||
}; | ||
|
||
export default definitions; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
packages/apps-config/src/ui/logos/nodes/generated/jamtonSVG.ts
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.