mirror of
https://github.com/pezkuwichain/pezkuwi-sdk-ui.git
synced 2026-08-07 02:25:41 +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,60 @@
|
||||
// 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: [
|
||||
{
|
||||
// on all versions
|
||||
minmax: [0, undefined],
|
||||
types: {
|
||||
Satoshis: 'u64'
|
||||
}
|
||||
}
|
||||
],
|
||||
runtime: {
|
||||
MiningSlotApi: [
|
||||
{
|
||||
methods: {
|
||||
next_slot_era: {
|
||||
description: 'Get the next slot block start and end',
|
||||
params: [],
|
||||
type: '(BlockNumber, BlockNumber)'
|
||||
}
|
||||
},
|
||||
version: 1
|
||||
}
|
||||
],
|
||||
BitcoinApis: [
|
||||
{
|
||||
methods: {
|
||||
redemption_rate: {
|
||||
description: 'Get the current redemption rate for a given number of satoshis',
|
||||
params: [
|
||||
{
|
||||
name: 'satoshis',
|
||||
type: 'Satoshis'
|
||||
}
|
||||
],
|
||||
type: 'Balance'
|
||||
},
|
||||
market_rate: {
|
||||
description: 'Get the current market rate for a given number of satoshis',
|
||||
params: [
|
||||
{
|
||||
name: 'satoshis',
|
||||
type: 'Satoshis'
|
||||
}
|
||||
],
|
||||
type: 'Balance'
|
||||
}
|
||||
},
|
||||
version: 1
|
||||
}
|
||||
]
|
||||
}
|
||||
};
|
||||
|
||||
export default definitions;
|
||||
Reference in New Issue
Block a user