mirror of
https://github.com/pezkuwichain/pezkuwi-sdk-ui.git
synced 2026-06-13 15:11:10 +00:00
Initial commit: Pezkuwi SDK UI
Comprehensive web interface for interacting with Pezkuwi blockchain. Features: - Blockchain explorer - Wallet management - Staking interface - Governance participation - Developer tools Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,83 @@
|
||||
// Copyright 2017-2026 @pezkuwi/apps-config authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { OverrideBundleDefinition } from '@pezkuwi/types/types';
|
||||
|
||||
/* eslint-disable sort-keys */
|
||||
const definitions: OverrideBundleDefinition = {
|
||||
types: [
|
||||
{
|
||||
minmax: [
|
||||
266,
|
||||
281
|
||||
],
|
||||
types: {
|
||||
ChainId: 'u8',
|
||||
DepositNonce: 'u64',
|
||||
ResourceId: '[u8; 32]',
|
||||
ProposalStatus: {
|
||||
_enum: [
|
||||
'Initiated',
|
||||
'Approved',
|
||||
'Rejected'
|
||||
]
|
||||
},
|
||||
ProposalVotes: {
|
||||
votes_for: 'Vec<AccountId>',
|
||||
votes_against: 'Vec<AccountId>',
|
||||
status: 'ProposalStatus',
|
||||
expiry: 'BlockNumber'
|
||||
},
|
||||
TokenId: 'u256',
|
||||
Erc721Token: {
|
||||
id: 'TokenId',
|
||||
metadata: 'Vec<u8>'
|
||||
},
|
||||
Address: 'IndicesLookupSource',
|
||||
LookupSource: 'IndicesLookupSource',
|
||||
AccountInfo: 'AccountInfoWithDualRefCount',
|
||||
ValidatorPrefs: {
|
||||
commission: 'Compact<Perbill>'
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
minmax: [
|
||||
282,
|
||||
294
|
||||
],
|
||||
types: {
|
||||
ChainId: 'u8',
|
||||
DepositNonce: 'u64',
|
||||
ResourceId: '[u8; 32]',
|
||||
ProposalStatus: {
|
||||
_enum: [
|
||||
'Initiated',
|
||||
'Approved',
|
||||
'Rejected'
|
||||
]
|
||||
},
|
||||
ProposalVotes: {
|
||||
votes_for: 'Vec<AccountId>',
|
||||
votes_against: 'Vec<AccountId>',
|
||||
status: 'ProposalStatus',
|
||||
expiry: 'BlockNumber'
|
||||
},
|
||||
TokenId: 'u256',
|
||||
Erc721Token: {
|
||||
id: 'TokenId',
|
||||
metadata: 'Vec<u8>'
|
||||
},
|
||||
Address: 'MultiAddress',
|
||||
LookupSource: 'MultiAddress',
|
||||
AccountInfo: 'AccountInfoWithDualRefCount'
|
||||
}
|
||||
},
|
||||
{
|
||||
minmax: [295, null],
|
||||
types: {}
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
export default definitions;
|
||||
@@ -0,0 +1,13 @@
|
||||
// Copyright 2017-2026 @pezkuwi/apps-config authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { OverrideBundleDefinition } from '@pezkuwi/types/types';
|
||||
|
||||
import cere from './cere.js';
|
||||
|
||||
// NOTE: The mapping is done from chain name in system.chain
|
||||
const chain: Record<string, OverrideBundleDefinition> = {
|
||||
'Cere Mainnet Beta': cere
|
||||
};
|
||||
|
||||
export default chain;
|
||||
Reference in New Issue
Block a user