mirror of
https://github.com/pezkuwichain/pezkuwi-apps.git
synced 2026-06-24 14:41:06 +00:00
feat: initial Pezkuwi Apps rebrand from polkadot-apps
Rebranded terminology: - Polkadot → Pezkuwi - Kusama → Dicle - Westend → Zagros - Rococo → PezkuwiChain - Substrate → Bizinikiwi - parachain → teyrchain Custom logos with Kurdistan brand colors (#e6007a → #86e62a): - bizinikiwi-hexagon.svg - sora-bizinikiwi.svg - hezscanner.svg - heztreasury.svg - pezkuwiscan.svg - pezkuwistats.svg - pezkuwiassembly.svg - pezkuwiholic.svg
This commit is contained in:
@@ -0,0 +1,83 @@
|
||||
// Copyright 2017-2025 @pezkuwi/apps-config authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { OverrideBundleDefinition } from '@pezkuwi/types/types';
|
||||
|
||||
// structs need to be in order
|
||||
/* eslint-disable sort-keys */
|
||||
|
||||
const definitions: OverrideBundleDefinition = {
|
||||
types: [
|
||||
{
|
||||
// on all versions
|
||||
minmax: [0, undefined],
|
||||
types: {
|
||||
Token: 'u8',
|
||||
DEXShare: '(u8, u8)',
|
||||
CurrencyId: {
|
||||
_enum: {
|
||||
Token: 'Token',
|
||||
DEXShare: 'DEXShare'
|
||||
}
|
||||
},
|
||||
TradingPair: '(CurrencyId, CurrencyId)',
|
||||
CurrencyIds: { _: 'Vec<CurrencyId>' },
|
||||
TradingPairProvisionParameters: {
|
||||
min_contribution: '(Balance, Balance)',
|
||||
target_provision: '(Balance, Balance)',
|
||||
accumulated_provision: '(Balance, Balance)',
|
||||
not_before: 'BlockNumber'
|
||||
},
|
||||
TradingPairStatus: {
|
||||
_enum: {
|
||||
NotEnabled: null,
|
||||
Provisioning: 'TradingPairProvisionParameters',
|
||||
Enabled: null
|
||||
}
|
||||
},
|
||||
PoolId: 'CurrencyId',
|
||||
Price: 'FixedU128',
|
||||
OracleKey: 'u8',
|
||||
OracleValue: 'FixedU128',
|
||||
Amount: 'i128',
|
||||
Balance: 'u128',
|
||||
Ratio: 'FixedU128',
|
||||
InterestInfo: {
|
||||
critical_point: 'Ratio',
|
||||
base: 'Ratio',
|
||||
slope_1: 'Ratio',
|
||||
slope_2: 'Ratio'
|
||||
},
|
||||
AssetPoolInfo: {
|
||||
maximum_total_debit_ratio: 'Ratio',
|
||||
minimum_deposit: 'Balance',
|
||||
minimum_debit: 'Balance',
|
||||
health_ratio: 'Ratio',
|
||||
total_deposit: 'Balance',
|
||||
total_debit: 'Balance',
|
||||
deposit_rate: 'Ratio',
|
||||
debit_rate: 'Ratio',
|
||||
deposit_apy: 'Ratio',
|
||||
debit_apy: 'Ratio',
|
||||
reserve_factor: 'Ratio',
|
||||
interest_info: 'InterestInfo'
|
||||
},
|
||||
LoanInfo: {
|
||||
deposit: 'Balance',
|
||||
debit: 'Balance'
|
||||
},
|
||||
TimestampedValue: {
|
||||
value: 'OracleValue',
|
||||
timestamp: 'u64'
|
||||
},
|
||||
PoolInfo: {
|
||||
total_shares: 'Compact<u128>',
|
||||
total_rewards: 'Compact<u128>',
|
||||
total_withdrawn_rewards: 'Compact<u128>'
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
export default definitions;
|
||||
Reference in New Issue
Block a user