forked from polkadot-js/apps
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
515 changed files
with
57,433 additions
and
56,142 deletions.
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
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
This file was deleted.
Oops, something went wrong.
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
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
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
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
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
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,60 @@ | ||
// 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: { | ||
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; |
Oops, something went wrong.