forked from polkadot-js/apps
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from polkadot-js/master
pull polkadot
- Loading branch information
Showing
139 changed files
with
2,778 additions
and
495 deletions.
There are no files selected for viewing
348 changes: 174 additions & 174 deletions
348
.yarn/releases/yarn-4.4.0.cjs → .yarn/releases/yarn-4.4.1.cjs
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,17 +8,17 @@ | |
"homepage": "https://github.com/polkadot-js/apps#readme", | ||
"license": "Apache-2.0", | ||
"name": "polkadot-apps", | ||
"packageManager": "[email protected].0", | ||
"packageManager": "[email protected].1", | ||
"private": true, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/polkadot-js/apps.git" | ||
}, | ||
"sideEffects": false, | ||
"type": "module", | ||
"version": "0.143.3-11-x", | ||
"version": "0.143.3-30-x", | ||
"versions": { | ||
"git": "0.143.3-11-x", | ||
"git": "0.143.3-30-x", | ||
"npm": "0.143.2" | ||
}, | ||
"workspaces": [ | ||
|
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; |
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
Oops, something went wrong.