Files
pwap/pezkuwi-sdk-ui/packages/apps-config/src/api/spec/riochain.ts
T
Kurdistan Tech Ministry 971df8edba Rebrand: Remove 3rd party chains, update domains to PezkuwiChain
- Remove all 3rd party parachain configurations from endpoints:
  - productionRelayPolkadot.ts: Keep only system parachains
  - productionRelayDicle.ts: Keep only system parachains
  - testingRelayZagros.ts: Keep only system parachains
  - testingRelayTeyrChain.ts: Keep only system parachains

- Update domain references:
  - polkadot.js.org → pezkuwichain.app
  - wiki.polkadot.network → wiki.pezkuwichain.io
  - dotapps.io → pezkuwichain.app
  - statement.polkadot.network → docs.pezkuwichain.io/statement
  - support.polkadot.network → docs.pezkuwichain.io

- Update repository references:
  - github.com/pezkuwi-js/apps → github.com/pezkuwichain/pwap

- Rename system parachains to Pezkuwi ecosystem:
  - PolkadotAssetHub → PezkuwiAssetHub
  - polkadotBridgeHub → pezkuwiBridgeHub
  - polkadotCollectives → pezkuwiCollectives
  - polkadotCoretime → pezkuwiCoretime
  - polkadotPeople → pezkuwiPeople

- Update network name in claims utility:
  - Polkadot → Pezkuwi
2026-01-09 03:08:11 +03:00

104 lines
2.6 KiB
TypeScript

// Copyright 2017-2026 @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: {
LookupSource: 'IndicesLookupSource',
Address: 'LookupSource',
Amount: 'i128',
AmountOf: 'Amount',
CurrencyId: 'u32',
CurrencyIdOf: 'CurrencyId',
Price: 'FixedU128',
OracleKey: 'CurrencyId',
Chain:
{
_enum:
['Rio',
'Bitcoin',
'Litecoin',
'Ethereum',
'EOS',
'Polkadot',
'Dicle',
'ChainX']
},
AssetInfo:
{
chain: 'Chain',
symbol: 'Text',
name: 'Text',
decimals: 'u8',
desc: 'Text'
},
FeeExchangeV1: { max_payment: 'Compact<Balance>' },
FeeExchange: { _enum: { V1: 'Compact<FeeExchangeV1>' } },
Restriction:
{
_enum:
['Transferable',
'Depositable',
'Withdrawable',
'Slashable',
'Reservable',
'Unreservable']
},
TxHash: 'H256',
Deposit: { account_id: 'AccountId', amount: 'Balance' },
Auths: { mask: 'u8' },
Auth: { _enum: ['Register', 'Deposit', 'Withdraw', 'Sudo'] },
WithdrawState:
{
_enum:
{
Pending: null,
Cancelled: null,
Rejected: null,
Approved: null,
Success: 'TxHash',
ReBroadcasted: 'TxHash'
}
},
ChainAddress: 'Bytes',
Memo: 'Text',
WithdrawInfo:
{
currency_id: 'CurrencyId',
who: 'AccountId',
value: 'Balance',
addr: 'ChainAddress',
memo: 'Text'
},
WithdrawItem:
{
currency_id: 'CurrencyId',
applicant: 'AccountId',
value: 'Balance',
addr: 'ChainAddress',
memo: 'Text',
state: 'WithdrawState'
},
DepositAddrInfo: { _enum: { Bip32: 'Bip32', Create2: 'Create2' } },
Bip32: { x_pub: 'Text', path: 'Text' },
Create2:
{
creator_address: 'Vec<u8>',
implementation_address: 'Vec<u8>',
vault_address: 'Vec<u8>'
}
}
}
]
};
export default definitions;