mirror of
https://github.com/pezkuwichain/pezkuwi-api.git
synced 2026-06-20 19:41:03 +00:00
Compare commits
17 Commits
fresh-main
...
v16.5.36
| Author | SHA1 | Date | |
|---|---|---|---|
| 1be455e7ad | |||
| 66983cca98 | |||
| 5a042364e0 | |||
| bb61d7a5ca | |||
| df8a5095e0 | |||
| d069be2314 | |||
| 2db0d19928 | |||
| 31467f90d4 | |||
| 6e91756e5c | |||
| 7bd44393fb | |||
| c2f759f58d | |||
| c97f94045f | |||
| 1b74138baf | |||
| 2977764510 | |||
| 6f9c13a054 | |||
| e4dee9afaa | |||
| 539a05cd08 |
@@ -0,0 +1,101 @@
|
|||||||
|
# For most projects, this workflow file will not need changing; you simply need
|
||||||
|
# to commit it to your repository.
|
||||||
|
#
|
||||||
|
# You may wish to alter this file to override the set of languages analyzed,
|
||||||
|
# or to provide custom queries or build logic.
|
||||||
|
#
|
||||||
|
# ******** NOTE ********
|
||||||
|
# We have attempted to detect the languages in your repository. Please check
|
||||||
|
# the `language` matrix defined below to confirm you have the correct set of
|
||||||
|
# supported CodeQL languages.
|
||||||
|
#
|
||||||
|
name: "CodeQL Advanced"
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ "main" ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ "main" ]
|
||||||
|
schedule:
|
||||||
|
- cron: '45 23 * * 1'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
analyze:
|
||||||
|
name: Analyze (${{ matrix.language }})
|
||||||
|
# Runner size impacts CodeQL analysis time. To learn more, please see:
|
||||||
|
# - https://gh.io/recommended-hardware-resources-for-running-codeql
|
||||||
|
# - https://gh.io/supported-runners-and-hardware-resources
|
||||||
|
# - https://gh.io/using-larger-runners (GitHub.com only)
|
||||||
|
# Consider using larger runners or machines with greater resources for possible analysis time improvements.
|
||||||
|
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
|
||||||
|
permissions:
|
||||||
|
# required for all workflows
|
||||||
|
security-events: write
|
||||||
|
|
||||||
|
# required to fetch internal or private CodeQL packs
|
||||||
|
packages: read
|
||||||
|
|
||||||
|
# only required for workflows in private repositories
|
||||||
|
actions: read
|
||||||
|
contents: read
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
- language: actions
|
||||||
|
build-mode: none
|
||||||
|
- language: javascript-typescript
|
||||||
|
build-mode: none
|
||||||
|
# CodeQL supports the following values keywords for 'language': 'actions', 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'rust', 'swift'
|
||||||
|
# Use `c-cpp` to analyze code written in C, C++ or both
|
||||||
|
# Use 'java-kotlin' to analyze code written in Java, Kotlin or both
|
||||||
|
# Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both
|
||||||
|
# To learn more about changing the languages that are analyzed or customizing the build mode for your analysis,
|
||||||
|
# see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning.
|
||||||
|
# If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
|
||||||
|
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
# Add any setup steps before running the `github/codeql-action/init` action.
|
||||||
|
# This includes steps like installing compilers or runtimes (`actions/setup-node`
|
||||||
|
# or others). This is typically only required for manual builds.
|
||||||
|
# - name: Setup runtime (example)
|
||||||
|
# uses: actions/setup-example@v1
|
||||||
|
|
||||||
|
# Initializes the CodeQL tools for scanning.
|
||||||
|
- name: Initialize CodeQL
|
||||||
|
uses: github/codeql-action/init@v4
|
||||||
|
with:
|
||||||
|
languages: ${{ matrix.language }}
|
||||||
|
build-mode: ${{ matrix.build-mode }}
|
||||||
|
# If you wish to specify custom queries, you can do so here or in a config file.
|
||||||
|
# By default, queries listed here will override any specified in a config file.
|
||||||
|
# Prefix the list here with "+" to use these queries and those in the config file.
|
||||||
|
|
||||||
|
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
|
||||||
|
# queries: security-extended,security-and-quality
|
||||||
|
|
||||||
|
# If the analyze step fails for one of the languages you are analyzing with
|
||||||
|
# "We were unable to automatically build your code", modify the matrix above
|
||||||
|
# to set the build mode to "manual" for that language. Then modify this step
|
||||||
|
# to build your code.
|
||||||
|
# ℹ️ Command-line programs to run using the OS shell.
|
||||||
|
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
|
||||||
|
- name: Run manual build steps
|
||||||
|
if: matrix.build-mode == 'manual'
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
echo 'If you are using a "manual" build mode for one or more of the' \
|
||||||
|
'languages you are analyzing, replace this with the commands to build' \
|
||||||
|
'your code, for example:'
|
||||||
|
echo ' make bootstrap'
|
||||||
|
echo ' make release'
|
||||||
|
exit 1
|
||||||
|
|
||||||
|
- name: Perform CodeQL Analysis
|
||||||
|
uses: github/codeql-action/analyze@v4
|
||||||
|
with:
|
||||||
|
category: "/language:${{matrix.language}}"
|
||||||
@@ -1,6 +1,7 @@
|
|||||||
name: 'Lock Threads'
|
name: 'Lock Threads'
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '10 1/3 * * *'
|
- cron: '10 1/3 * * *'
|
||||||
|
|
||||||
@@ -12,7 +13,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: dessant/lock-threads@c1b35aecc5cdb1a34539d14196df55838bb2f836
|
- uses: dessant/lock-threads@c1b35aecc5cdb1a34539d14196df55838bb2f836
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.GH_PAT_BOT }}
|
github-token: ${{ github.token }}
|
||||||
issue-inactive-days: '7'
|
issue-inactive-days: '7'
|
||||||
issue-comment: >
|
issue-comment: >
|
||||||
This thread has been automatically locked since there has not been
|
This thread has been automatically locked since there has not been
|
||||||
|
|||||||
@@ -1,9 +1,70 @@
|
|||||||
# @pezkuwi/api
|
# @pezkuwi/api
|
||||||
|
|
||||||
This library provides a clean wrapper around all the methods exposed by a Pezkuwi/Bizinikiwi network client and defines all the types exposed by a node. For complete documentation around the interfaces and their use, visit the [documentation portal](https://js.pezkuwichain.app/docs/api/).
|
Promise and RxJS APIs for interacting with PezkuwiChain and Bizinikiwi-based networks.
|
||||||
|
|
||||||
If you are an existing user, please be sure to track the [CHANGELOG](CHANGELOG.md) when changing versions.
|
**Developed by Dijital Kurdistan Tech Institute**
|
||||||
|
|
||||||
## tutorials
|
## Overview
|
||||||
|
|
||||||
Looking for tutorials to get started? Look at [examples](https://js.pezkuwichain.app/docs/api/examples/promise/) for guides on how to use the API to make queries and submit transactions.
|
This library provides a clean wrapper around all the methods exposed by a PezkuwiChain/Bizinikiwi network client and defines all the types exposed by a node.
|
||||||
|
|
||||||
|
## Documentation
|
||||||
|
|
||||||
|
For complete documentation around the interfaces and their use, visit the [documentation portal](https://js.pezkuwichain.app/docs/api/).
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Using npm
|
||||||
|
npm install @pezkuwi/api
|
||||||
|
|
||||||
|
# Using yarn
|
||||||
|
yarn add @pezkuwi/api
|
||||||
|
```
|
||||||
|
|
||||||
|
## Quick Start
|
||||||
|
|
||||||
|
```javascript
|
||||||
|
import { ApiPromise, WsProvider } from '@pezkuwi/api';
|
||||||
|
|
||||||
|
// Connect to a PezkuwiChain node
|
||||||
|
const wsProvider = new WsProvider('wss://rpc.pezkuwichain.io');
|
||||||
|
const api = await ApiPromise.create({ provider: wsProvider });
|
||||||
|
|
||||||
|
// Query chain info
|
||||||
|
const chain = await api.rpc.system.chain();
|
||||||
|
console.log(`Connected to ${chain}`);
|
||||||
|
```
|
||||||
|
|
||||||
|
## Packages
|
||||||
|
|
||||||
|
| Package | Description |
|
||||||
|
|---------|-------------|
|
||||||
|
| @pezkuwi/api | Main API package |
|
||||||
|
| @pezkuwi/api-derive | Derived API methods |
|
||||||
|
| @pezkuwi/types | Type definitions |
|
||||||
|
| @pezkuwi/rpc-core | RPC core functionality |
|
||||||
|
| @pezkuwi/rpc-provider | RPC providers (WS, HTTP) |
|
||||||
|
|
||||||
|
## Tutorials
|
||||||
|
|
||||||
|
Looking for tutorials? Check out [examples](https://js.pezkuwichain.app/docs/api/examples/promise/) for guides on how to use the API to make queries and submit transactions.
|
||||||
|
|
||||||
|
## Changelog
|
||||||
|
|
||||||
|
If you are an existing user, please track the [CHANGELOG](CHANGELOG.md) when changing versions.
|
||||||
|
|
||||||
|
## Links
|
||||||
|
|
||||||
|
- Website: https://pezkuwichain.io
|
||||||
|
- Documentation: https://docs.pezkuwichain.io
|
||||||
|
- API Docs: https://js.pezkuwichain.app
|
||||||
|
- GitHub: https://github.com/pezkuwichain
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
Apache-2.0
|
||||||
|
|
||||||
|
## Author
|
||||||
|
|
||||||
|
Dijital Kurdistan Tech Institute
|
||||||
|
|||||||
+30
-12
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"author": "Jaco Greeff <jacogr@gmail.com>",
|
"author": "PezkuwiChain <dev@pezkuwichain.io>",
|
||||||
"bugs": "https://github.com/pezkuwichain/pezkuwi-api/issues",
|
"bugs": "https://github.com/pezkuwichain/pezkuwi-api/issues",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18.14"
|
"node": ">=18.14"
|
||||||
@@ -14,10 +14,10 @@
|
|||||||
},
|
},
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "16.5.6",
|
"version": "16.5.24",
|
||||||
"versions": {
|
"versions": {
|
||||||
"git": "16.5.4",
|
"git": "16.5.18",
|
||||||
"npm": "16.5.4"
|
"npm": "16.5.22"
|
||||||
},
|
},
|
||||||
"workspaces": [
|
"workspaces": [
|
||||||
"packages/*"
|
"packages/*"
|
||||||
@@ -40,16 +40,34 @@
|
|||||||
"test:one": "pezkuwi-dev-run-test --env node"
|
"test:one": "pezkuwi-dev-run-test --env node"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@pezkuwi/dev": "^0.85.1",
|
"@pezkuwi/dev": "^0.85.11",
|
||||||
"@pezkuwi/dev-test": "^0.85.1",
|
"@pezkuwi/dev-test": "0.85.7",
|
||||||
"@pezkuwi/dev-ts": "^0.85.1",
|
"@pezkuwi/dev-ts": "0.85.7",
|
||||||
"@pezkuwi/typegen": "^16.5.4",
|
"@pezkuwi/typegen": "workspace:*",
|
||||||
"@types/node": "^22.10.5"
|
"@types/node": "^22.10.5",
|
||||||
|
"@types/yargs": "^17.0.35"
|
||||||
},
|
},
|
||||||
"resolutions": {
|
"resolutions": {
|
||||||
"@pezkuwi/dev": "0.85.1",
|
"@pezkuwi/dev": "^0.85.11",
|
||||||
"@pezkuwi/dev-test": "0.85.1",
|
"@pezkuwi/dev-test": "^0.85.7",
|
||||||
"@pezkuwi/dev-ts": "0.85.1",
|
"@pezkuwi/dev-ts": "^0.85.7",
|
||||||
|
"@pezkuwi/hw-ledger": "14.0.11",
|
||||||
|
"@pezkuwi/hw-ledger-transports": "14.0.11",
|
||||||
|
"@pezkuwi/keyring": "14.0.11",
|
||||||
|
"@pezkuwi/networks": "14.0.11",
|
||||||
|
"@pezkuwi/util": "14.0.11",
|
||||||
|
"@pezkuwi/util-crypto": "14.0.11",
|
||||||
|
"@pezkuwi/wasm-bridge": "7.5.4",
|
||||||
|
"@pezkuwi/wasm-crypto": "7.5.4",
|
||||||
|
"@pezkuwi/wasm-util": "7.5.4",
|
||||||
|
"@pezkuwi/x-bigint": "14.0.11",
|
||||||
|
"@pezkuwi/x-bundle": "14.0.11",
|
||||||
|
"@pezkuwi/x-fetch": "14.0.11",
|
||||||
|
"@pezkuwi/x-global": "14.0.11",
|
||||||
|
"@pezkuwi/x-randomvalues": "14.0.11",
|
||||||
|
"@pezkuwi/x-textdecoder": "14.0.11",
|
||||||
|
"@pezkuwi/x-textencoder": "14.0.11",
|
||||||
|
"@pezkuwi/x-ws": "14.0.11",
|
||||||
"typescript": "5.5.4"
|
"typescript": "5.5.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,201 @@
|
|||||||
|
Apache License
|
||||||
|
Version 2.0, January 2004
|
||||||
|
http://www.apache.org/licenses/
|
||||||
|
|
||||||
|
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||||
|
|
||||||
|
1. Definitions.
|
||||||
|
|
||||||
|
"License" shall mean the terms and conditions for use, reproduction,
|
||||||
|
and distribution as defined by Sections 1 through 9 of this document.
|
||||||
|
|
||||||
|
"Licensor" shall mean the copyright owner or entity authorized by
|
||||||
|
the copyright owner that is granting the License.
|
||||||
|
|
||||||
|
"Legal Entity" shall mean the union of the acting entity and all
|
||||||
|
other entities that control, are controlled by, or are under common
|
||||||
|
control with that entity. For the purposes of this definition,
|
||||||
|
"control" means (i) the power, direct or indirect, to cause the
|
||||||
|
direction or management of such entity, whether by contract or
|
||||||
|
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||||
|
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||||
|
|
||||||
|
"You" (or "Your") shall mean an individual or Legal Entity
|
||||||
|
exercising permissions granted by this License.
|
||||||
|
|
||||||
|
"Source" form shall mean the preferred form for making modifications,
|
||||||
|
including but not limited to software source code, documentation
|
||||||
|
source, and configuration files.
|
||||||
|
|
||||||
|
"Object" form shall mean any form resulting from mechanical
|
||||||
|
transformation or translation of a Source form, including but
|
||||||
|
not limited to compiled object code, generated documentation,
|
||||||
|
and conversions to other media types.
|
||||||
|
|
||||||
|
"Work" shall mean the work of authorship, whether in Source or
|
||||||
|
Object form, made available under the License, as indicated by a
|
||||||
|
copyright notice that is included in or attached to the work
|
||||||
|
(an example is provided in the Appendix below).
|
||||||
|
|
||||||
|
"Derivative Works" shall mean any work, whether in Source or Object
|
||||||
|
form, that is based on (or derived from) the Work and for which the
|
||||||
|
editorial revisions, annotations, elaborations, or other modifications
|
||||||
|
represent, as a whole, an original work of authorship. For the purposes
|
||||||
|
of this License, Derivative Works shall not include works that remain
|
||||||
|
separable from, or merely link (or bind by name) to the interfaces of,
|
||||||
|
the Work and Derivative Works thereof.
|
||||||
|
|
||||||
|
"Contribution" shall mean any work of authorship, including
|
||||||
|
the original version of the Work and any modifications or additions
|
||||||
|
to that Work or Derivative Works thereof, that is intentionally
|
||||||
|
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||||
|
or by an individual or Legal Entity authorized to submit on behalf of
|
||||||
|
the copyright owner. For the purposes of this definition, "submitted"
|
||||||
|
means any form of electronic, verbal, or written communication sent
|
||||||
|
to the Licensor or its representatives, including but not limited to
|
||||||
|
communication on electronic mailing lists, source code control systems,
|
||||||
|
and issue tracking systems that are managed by, or on behalf of, the
|
||||||
|
Licensor for the purpose of discussing and improving the Work, but
|
||||||
|
excluding communication that is conspicuously marked or otherwise
|
||||||
|
designated in writing by the copyright owner as "Not a Contribution."
|
||||||
|
|
||||||
|
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||||
|
on behalf of whom a Contribution has been received by Licensor and
|
||||||
|
subsequently incorporated within the Work.
|
||||||
|
|
||||||
|
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
copyright license to reproduce, prepare Derivative Works of,
|
||||||
|
publicly display, publicly perform, sublicense, and distribute the
|
||||||
|
Work and such Derivative Works in Source or Object form.
|
||||||
|
|
||||||
|
3. Grant of Patent License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
(except as stated in this section) patent license to make, have made,
|
||||||
|
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||||
|
where such license applies only to those patent claims licensable
|
||||||
|
by such Contributor that are necessarily infringed by their
|
||||||
|
Contribution(s) alone or by combination of their Contribution(s)
|
||||||
|
with the Work to which such Contribution(s) was submitted. If You
|
||||||
|
institute patent litigation against any entity (including a
|
||||||
|
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||||
|
or a Contribution incorporated within the Work constitutes direct
|
||||||
|
or contributory patent infringement, then any patent licenses
|
||||||
|
granted to You under this License for that Work shall terminate
|
||||||
|
as of the date such litigation is filed.
|
||||||
|
|
||||||
|
4. Redistribution. You may reproduce and distribute copies of the
|
||||||
|
Work or Derivative Works thereof in any medium, with or without
|
||||||
|
modifications, and in Source or Object form, provided that You
|
||||||
|
meet the following conditions:
|
||||||
|
|
||||||
|
(a) You must give any other recipients of the Work or
|
||||||
|
Derivative Works a copy of this License; and
|
||||||
|
|
||||||
|
(b) You must cause any modified files to carry prominent notices
|
||||||
|
stating that You changed the files; and
|
||||||
|
|
||||||
|
(c) You must retain, in the Source form of any Derivative Works
|
||||||
|
that You distribute, all copyright, patent, trademark, and
|
||||||
|
attribution notices from the Source form of the Work,
|
||||||
|
excluding those notices that do not pertain to any part of
|
||||||
|
the Derivative Works; and
|
||||||
|
|
||||||
|
(d) If the Work includes a "NOTICE" text file as part of its
|
||||||
|
distribution, then any Derivative Works that You distribute must
|
||||||
|
include a readable copy of the attribution notices contained
|
||||||
|
within such NOTICE file, excluding those notices that do not
|
||||||
|
pertain to any part of the Derivative Works, in at least one
|
||||||
|
of the following places: within a NOTICE text file distributed
|
||||||
|
as part of the Derivative Works; within the Source form or
|
||||||
|
documentation, if provided along with the Derivative Works; or,
|
||||||
|
within a display generated by the Derivative Works, if and
|
||||||
|
wherever such third-party notices normally appear. The contents
|
||||||
|
of the NOTICE file are for informational purposes only and
|
||||||
|
do not modify the License. You may add Your own attribution
|
||||||
|
notices within Derivative Works that You distribute, alongside
|
||||||
|
or as an addendum to the NOTICE text from the Work, provided
|
||||||
|
that such additional attribution notices cannot be construed
|
||||||
|
as modifying the License.
|
||||||
|
|
||||||
|
You may add Your own copyright statement to Your modifications and
|
||||||
|
may provide additional or different license terms and conditions
|
||||||
|
for use, reproduction, or distribution of Your modifications, or
|
||||||
|
for any such Derivative Works as a whole, provided Your use,
|
||||||
|
reproduction, and distribution of the Work otherwise complies with
|
||||||
|
the conditions stated in this License.
|
||||||
|
|
||||||
|
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||||
|
any Contribution intentionally submitted for inclusion in the Work
|
||||||
|
by You to the Licensor shall be under the terms and conditions of
|
||||||
|
this License, without any additional terms or conditions.
|
||||||
|
Notwithstanding the above, nothing herein shall supersede or modify
|
||||||
|
the terms of any separate license agreement you may have executed
|
||||||
|
with Licensor regarding such Contributions.
|
||||||
|
|
||||||
|
6. Trademarks. This License does not grant permission to use the trade
|
||||||
|
names, trademarks, service marks, or product names of the Licensor,
|
||||||
|
except as required for reasonable and customary use in describing the
|
||||||
|
origin of the Work and reproducing the content of the NOTICE file.
|
||||||
|
|
||||||
|
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||||
|
agreed to in writing, Licensor provides the Work (and each
|
||||||
|
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||||
|
implied, including, without limitation, any warranties or conditions
|
||||||
|
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||||
|
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||||
|
appropriateness of using or redistributing the Work and assume any
|
||||||
|
risks associated with Your exercise of permissions under this License.
|
||||||
|
|
||||||
|
8. Limitation of Liability. In no event and under no legal theory,
|
||||||
|
whether in tort (including negligence), contract, or otherwise,
|
||||||
|
unless required by applicable law (such as deliberate and grossly
|
||||||
|
negligent acts) or agreed to in writing, shall any Contributor be
|
||||||
|
liable to You for damages, including any direct, indirect, special,
|
||||||
|
incidental, or consequential damages of any character arising as a
|
||||||
|
result of this License or out of the use or inability to use the
|
||||||
|
Work (including but not limited to damages for loss of goodwill,
|
||||||
|
work stoppage, computer failure or malfunction, or any and all
|
||||||
|
other commercial damages or losses), even if such Contributor
|
||||||
|
has been advised of the possibility of such damages.
|
||||||
|
|
||||||
|
9. Accepting Warranty or Additional Liability. While redistributing
|
||||||
|
the Work or Derivative Works thereof, You may choose to offer,
|
||||||
|
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||||
|
or other liability obligations and/or rights consistent with this
|
||||||
|
License. However, in accepting such obligations, You may act only
|
||||||
|
on Your own behalf and on Your sole responsibility, not on behalf
|
||||||
|
of any other Contributor, and only if You agree to indemnify,
|
||||||
|
defend, and hold each Contributor harmless for any liability
|
||||||
|
incurred by, or claims asserted against, such Contributor by reason
|
||||||
|
of your accepting any such warranty or additional liability.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
APPENDIX: How to apply the Apache License to your work.
|
||||||
|
|
||||||
|
To apply the Apache License to your work, attach the following
|
||||||
|
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||||
|
replaced with your own identifying information. (Don't include
|
||||||
|
the brackets!) The text should be enclosed in the appropriate
|
||||||
|
comment syntax for the file format. We also recommend that a
|
||||||
|
file or class name and description of purpose be included on the
|
||||||
|
same "printed page" as the copyright notice for easier
|
||||||
|
identification within third-party archives.
|
||||||
|
|
||||||
|
Copyright [yyyy] [name of copyright owner]
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"author": "Jaco Greeff <jacogr@gmail.com>",
|
"author": "PezkuwiChain <dev@pezkuwichain.io>",
|
||||||
"bugs": "https://github.com/pezkuwichain/pezkuwi-api/issues",
|
"bugs": "https://github.com/pezkuwichain/pezkuwi-api/issues",
|
||||||
"description": "API generated augmentation",
|
"description": "API generated augmentation",
|
||||||
"engines": {
|
"engines": {
|
||||||
@@ -15,18 +15,446 @@
|
|||||||
},
|
},
|
||||||
"sideEffects": [
|
"sideEffects": [
|
||||||
"./packageDetect.js",
|
"./packageDetect.js",
|
||||||
"./packageDetect.cjs"
|
"./cjs/packageDetect.js"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "16.5.6",
|
"types": "./index.d.ts",
|
||||||
"main": "index.js",
|
"version": "16.5.34",
|
||||||
|
"main": "./cjs/index.js",
|
||||||
|
"module": "./index.js",
|
||||||
|
"exports": {
|
||||||
|
".": {
|
||||||
|
"module": {
|
||||||
|
"types": "./index.d.ts",
|
||||||
|
"default": "./index.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/index.d.ts",
|
||||||
|
"default": "./cjs/index.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./index.d.ts",
|
||||||
|
"default": "./index.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./assetHubDicle": {
|
||||||
|
"module": "./assetHubDicle/index.js",
|
||||||
|
"require": "./cjs/assetHubDicle/index.js",
|
||||||
|
"default": "./assetHubDicle/index.js"
|
||||||
|
},
|
||||||
|
"./assetHubDicle/consts": {
|
||||||
|
"module": "./assetHubDicle/consts.js",
|
||||||
|
"require": "./cjs/assetHubDicle/consts.js",
|
||||||
|
"default": "./assetHubDicle/consts.js"
|
||||||
|
},
|
||||||
|
"./assetHubDicle/errors": {
|
||||||
|
"module": "./assetHubDicle/errors.js",
|
||||||
|
"require": "./cjs/assetHubDicle/errors.js",
|
||||||
|
"default": "./assetHubDicle/errors.js"
|
||||||
|
},
|
||||||
|
"./assetHubDicle/events": {
|
||||||
|
"module": "./assetHubDicle/events.js",
|
||||||
|
"require": "./cjs/assetHubDicle/events.js",
|
||||||
|
"default": "./assetHubDicle/events.js"
|
||||||
|
},
|
||||||
|
"./assetHubDicle/query": {
|
||||||
|
"module": "./assetHubDicle/query.js",
|
||||||
|
"require": "./cjs/assetHubDicle/query.js",
|
||||||
|
"default": "./assetHubDicle/query.js"
|
||||||
|
},
|
||||||
|
"./assetHubDicle/registry": {
|
||||||
|
"module": "./assetHubDicle/registry.js",
|
||||||
|
"require": "./cjs/assetHubDicle/registry.js",
|
||||||
|
"default": "./assetHubDicle/registry.js"
|
||||||
|
},
|
||||||
|
"./assetHubDicle/runtime": {
|
||||||
|
"module": "./assetHubDicle/runtime.js",
|
||||||
|
"require": "./cjs/assetHubDicle/runtime.js",
|
||||||
|
"default": "./assetHubDicle/runtime.js"
|
||||||
|
},
|
||||||
|
"./assetHubDicle/tx": {
|
||||||
|
"module": "./assetHubDicle/tx.js",
|
||||||
|
"require": "./cjs/assetHubDicle/tx.js",
|
||||||
|
"default": "./assetHubDicle/tx.js"
|
||||||
|
},
|
||||||
|
"./assetHubPezkuwi": {
|
||||||
|
"module": "./assetHubPezkuwi/index.js",
|
||||||
|
"require": "./cjs/assetHubPezkuwi/index.js",
|
||||||
|
"default": "./assetHubPezkuwi/index.js"
|
||||||
|
},
|
||||||
|
"./assetHubPezkuwi/consts": {
|
||||||
|
"module": "./assetHubPezkuwi/consts.js",
|
||||||
|
"require": "./cjs/assetHubPezkuwi/consts.js",
|
||||||
|
"default": "./assetHubPezkuwi/consts.js"
|
||||||
|
},
|
||||||
|
"./assetHubPezkuwi/errors": {
|
||||||
|
"module": "./assetHubPezkuwi/errors.js",
|
||||||
|
"require": "./cjs/assetHubPezkuwi/errors.js",
|
||||||
|
"default": "./assetHubPezkuwi/errors.js"
|
||||||
|
},
|
||||||
|
"./assetHubPezkuwi/events": {
|
||||||
|
"module": "./assetHubPezkuwi/events.js",
|
||||||
|
"require": "./cjs/assetHubPezkuwi/events.js",
|
||||||
|
"default": "./assetHubPezkuwi/events.js"
|
||||||
|
},
|
||||||
|
"./assetHubPezkuwi/query": {
|
||||||
|
"module": "./assetHubPezkuwi/query.js",
|
||||||
|
"require": "./cjs/assetHubPezkuwi/query.js",
|
||||||
|
"default": "./assetHubPezkuwi/query.js"
|
||||||
|
},
|
||||||
|
"./assetHubPezkuwi/registry": {
|
||||||
|
"module": "./assetHubPezkuwi/registry.js",
|
||||||
|
"require": "./cjs/assetHubPezkuwi/registry.js",
|
||||||
|
"default": "./assetHubPezkuwi/registry.js"
|
||||||
|
},
|
||||||
|
"./assetHubPezkuwi/runtime": {
|
||||||
|
"module": "./assetHubPezkuwi/runtime.js",
|
||||||
|
"require": "./cjs/assetHubPezkuwi/runtime.js",
|
||||||
|
"default": "./assetHubPezkuwi/runtime.js"
|
||||||
|
},
|
||||||
|
"./assetHubPezkuwi/tx": {
|
||||||
|
"module": "./assetHubPezkuwi/tx.js",
|
||||||
|
"require": "./cjs/assetHubPezkuwi/tx.js",
|
||||||
|
"default": "./assetHubPezkuwi/tx.js"
|
||||||
|
},
|
||||||
|
"./base": {
|
||||||
|
"module": {
|
||||||
|
"types": "./base.d.ts",
|
||||||
|
"default": "./base.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/base.d.ts",
|
||||||
|
"default": "./cjs/base.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./base.d.ts",
|
||||||
|
"default": "./base.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./bizinikiwi": {
|
||||||
|
"module": {
|
||||||
|
"types": "./bizinikiwi/index.d.ts",
|
||||||
|
"default": "./bizinikiwi/index.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/bizinikiwi/index.d.ts",
|
||||||
|
"default": "./cjs/bizinikiwi/index.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./bizinikiwi/index.d.ts",
|
||||||
|
"default": "./bizinikiwi/index.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./bizinikiwi/consts": {
|
||||||
|
"module": {
|
||||||
|
"types": "./bizinikiwi/consts.d.ts",
|
||||||
|
"default": "./bizinikiwi/consts.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/bizinikiwi/consts.d.ts",
|
||||||
|
"default": "./cjs/bizinikiwi/consts.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./bizinikiwi/consts.d.ts",
|
||||||
|
"default": "./bizinikiwi/consts.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./bizinikiwi/errors": {
|
||||||
|
"module": {
|
||||||
|
"types": "./bizinikiwi/errors.d.ts",
|
||||||
|
"default": "./bizinikiwi/errors.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/bizinikiwi/errors.d.ts",
|
||||||
|
"default": "./cjs/bizinikiwi/errors.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./bizinikiwi/errors.d.ts",
|
||||||
|
"default": "./bizinikiwi/errors.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./bizinikiwi/events": {
|
||||||
|
"module": {
|
||||||
|
"types": "./bizinikiwi/events.d.ts",
|
||||||
|
"default": "./bizinikiwi/events.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/bizinikiwi/events.d.ts",
|
||||||
|
"default": "./cjs/bizinikiwi/events.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./bizinikiwi/events.d.ts",
|
||||||
|
"default": "./bizinikiwi/events.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./bizinikiwi/query": {
|
||||||
|
"module": {
|
||||||
|
"types": "./bizinikiwi/query.d.ts",
|
||||||
|
"default": "./bizinikiwi/query.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/bizinikiwi/query.d.ts",
|
||||||
|
"default": "./cjs/bizinikiwi/query.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./bizinikiwi/query.d.ts",
|
||||||
|
"default": "./bizinikiwi/query.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./bizinikiwi/registry": {
|
||||||
|
"module": {
|
||||||
|
"types": "./bizinikiwi/registry.d.ts",
|
||||||
|
"default": "./bizinikiwi/registry.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/bizinikiwi/registry.d.ts",
|
||||||
|
"default": "./cjs/bizinikiwi/registry.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./bizinikiwi/registry.d.ts",
|
||||||
|
"default": "./bizinikiwi/registry.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./bizinikiwi/runtime": {
|
||||||
|
"module": {
|
||||||
|
"types": "./bizinikiwi/runtime.d.ts",
|
||||||
|
"default": "./bizinikiwi/runtime.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/bizinikiwi/runtime.d.ts",
|
||||||
|
"default": "./cjs/bizinikiwi/runtime.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./bizinikiwi/runtime.d.ts",
|
||||||
|
"default": "./bizinikiwi/runtime.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./bizinikiwi/tx": {
|
||||||
|
"module": {
|
||||||
|
"types": "./bizinikiwi/tx.d.ts",
|
||||||
|
"default": "./bizinikiwi/tx.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/bizinikiwi/tx.d.ts",
|
||||||
|
"default": "./cjs/bizinikiwi/tx.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./bizinikiwi/tx.d.ts",
|
||||||
|
"default": "./bizinikiwi/tx.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./bundle": {
|
||||||
|
"module": {
|
||||||
|
"types": "./bundle.d.ts",
|
||||||
|
"default": "./bundle.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/bundle.d.ts",
|
||||||
|
"default": "./cjs/bundle.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./bundle.d.ts",
|
||||||
|
"default": "./bundle.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./cjs/*": "./cjs/*.js",
|
||||||
|
"./cjs/package.json": "./cjs/package.json",
|
||||||
|
"./dicle/consts": {
|
||||||
|
"module": "./dicle/consts.js",
|
||||||
|
"require": "./cjs/dicle/consts.js",
|
||||||
|
"default": "./dicle/consts.js"
|
||||||
|
},
|
||||||
|
"./dicle/errors": {
|
||||||
|
"module": "./dicle/errors.js",
|
||||||
|
"require": "./cjs/dicle/errors.js",
|
||||||
|
"default": "./dicle/errors.js"
|
||||||
|
},
|
||||||
|
"./dicle/events": {
|
||||||
|
"module": "./dicle/events.js",
|
||||||
|
"require": "./cjs/dicle/events.js",
|
||||||
|
"default": "./dicle/events.js"
|
||||||
|
},
|
||||||
|
"./dicle/query": {
|
||||||
|
"module": "./dicle/query.js",
|
||||||
|
"require": "./cjs/dicle/query.js",
|
||||||
|
"default": "./dicle/query.js"
|
||||||
|
},
|
||||||
|
"./dicle/runtime": {
|
||||||
|
"module": "./dicle/runtime.js",
|
||||||
|
"require": "./cjs/dicle/runtime.js",
|
||||||
|
"default": "./dicle/runtime.js"
|
||||||
|
},
|
||||||
|
"./dicle/tx": {
|
||||||
|
"module": "./dicle/tx.js",
|
||||||
|
"require": "./cjs/dicle/tx.js",
|
||||||
|
"default": "./dicle/tx.js"
|
||||||
|
},
|
||||||
|
"./package.json": {
|
||||||
|
"require": "./cjs/package.json",
|
||||||
|
"default": "./package.json"
|
||||||
|
},
|
||||||
|
"./packageDetect": {
|
||||||
|
"module": {
|
||||||
|
"types": "./packageDetect.d.ts",
|
||||||
|
"default": "./packageDetect.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/packageDetect.d.ts",
|
||||||
|
"default": "./cjs/packageDetect.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./packageDetect.d.ts",
|
||||||
|
"default": "./packageDetect.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./packageInfo": {
|
||||||
|
"module": {
|
||||||
|
"types": "./packageInfo.d.ts",
|
||||||
|
"default": "./packageInfo.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/packageInfo.d.ts",
|
||||||
|
"default": "./cjs/packageInfo.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./packageInfo.d.ts",
|
||||||
|
"default": "./packageInfo.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./packageInfo.js": {
|
||||||
|
"module": {
|
||||||
|
"types": "./packageInfo.d.ts",
|
||||||
|
"default": "./packageInfo.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/packageInfo.d.ts",
|
||||||
|
"default": "./cjs/packageInfo.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./packageInfo.d.ts",
|
||||||
|
"default": "./packageInfo.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./pezkuwi": {
|
||||||
|
"module": {
|
||||||
|
"types": "./pezkuwi/index.d.ts",
|
||||||
|
"default": "./pezkuwi/index.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/pezkuwi/index.d.ts",
|
||||||
|
"default": "./cjs/pezkuwi/index.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./pezkuwi/index.d.ts",
|
||||||
|
"default": "./pezkuwi/index.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./pezkuwi/consts": {
|
||||||
|
"module": {
|
||||||
|
"types": "./pezkuwi/consts.d.ts",
|
||||||
|
"default": "./pezkuwi/consts.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/pezkuwi/consts.d.ts",
|
||||||
|
"default": "./cjs/pezkuwi/consts.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./pezkuwi/consts.d.ts",
|
||||||
|
"default": "./pezkuwi/consts.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./pezkuwi/errors": {
|
||||||
|
"module": {
|
||||||
|
"types": "./pezkuwi/errors.d.ts",
|
||||||
|
"default": "./pezkuwi/errors.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/pezkuwi/errors.d.ts",
|
||||||
|
"default": "./cjs/pezkuwi/errors.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./pezkuwi/errors.d.ts",
|
||||||
|
"default": "./pezkuwi/errors.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./pezkuwi/events": {
|
||||||
|
"module": {
|
||||||
|
"types": "./pezkuwi/events.d.ts",
|
||||||
|
"default": "./pezkuwi/events.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/pezkuwi/events.d.ts",
|
||||||
|
"default": "./cjs/pezkuwi/events.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./pezkuwi/events.d.ts",
|
||||||
|
"default": "./pezkuwi/events.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./pezkuwi/query": {
|
||||||
|
"module": {
|
||||||
|
"types": "./pezkuwi/query.d.ts",
|
||||||
|
"default": "./pezkuwi/query.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/pezkuwi/query.d.ts",
|
||||||
|
"default": "./cjs/pezkuwi/query.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./pezkuwi/query.d.ts",
|
||||||
|
"default": "./pezkuwi/query.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./pezkuwi/registry": {
|
||||||
|
"module": {
|
||||||
|
"types": "./pezkuwi/registry.d.ts",
|
||||||
|
"default": "./pezkuwi/registry.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/pezkuwi/registry.d.ts",
|
||||||
|
"default": "./cjs/pezkuwi/registry.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./pezkuwi/registry.d.ts",
|
||||||
|
"default": "./pezkuwi/registry.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./pezkuwi/runtime": {
|
||||||
|
"module": {
|
||||||
|
"types": "./pezkuwi/runtime.d.ts",
|
||||||
|
"default": "./pezkuwi/runtime.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/pezkuwi/runtime.d.ts",
|
||||||
|
"default": "./cjs/pezkuwi/runtime.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./pezkuwi/runtime.d.ts",
|
||||||
|
"default": "./pezkuwi/runtime.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./pezkuwi/tx": {
|
||||||
|
"module": {
|
||||||
|
"types": "./pezkuwi/tx.d.ts",
|
||||||
|
"default": "./pezkuwi/tx.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/pezkuwi/tx.d.ts",
|
||||||
|
"default": "./cjs/pezkuwi/tx.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./pezkuwi/tx.d.ts",
|
||||||
|
"default": "./pezkuwi/tx.js"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@pezkuwi/api-base": "16.5.4",
|
"@pezkuwi/api-base": "16.5.34",
|
||||||
"@pezkuwi/rpc-augment": "16.5.4",
|
"@pezkuwi/rpc-augment": "16.5.34",
|
||||||
"@pezkuwi/types": "16.5.4",
|
"@pezkuwi/types": "16.5.34",
|
||||||
"@pezkuwi/types-augment": "16.5.4",
|
"@pezkuwi/types-augment": "16.5.34",
|
||||||
"@pezkuwi/types-codec": "16.5.4",
|
"@pezkuwi/types-codec": "16.5.34",
|
||||||
"@pezkuwi/util": "^14.0.1",
|
"@pezkuwi/util": "14.0.23",
|
||||||
"tslib": "^2.8.1"
|
"tslib": "^2.8.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,8 +8,7 @@ import '@pezkuwi/api-base/types/consts';
|
|||||||
import type { ApiTypes, AugmentedConst } from '@pezkuwi/api-base/types';
|
import type { ApiTypes, AugmentedConst } from '@pezkuwi/api-base/types';
|
||||||
import type { Bytes, Option, Vec, bool, u128, u16, u32, u64, u8 } from '@pezkuwi/types-codec';
|
import type { Bytes, Option, Vec, bool, u128, u16, u32, u64, u8 } from '@pezkuwi/types-codec';
|
||||||
import type { Codec, ITuple } from '@pezkuwi/types-codec/types';
|
import type { Codec, ITuple } from '@pezkuwi/types-codec/types';
|
||||||
import type { AccountId32, Perbill, Permill } from '@pezkuwi/types/interfaces/runtime';
|
import type { PezframeSupportPezpalletId, PezframeSystemLimitsBlockLength, PezframeSystemLimitsBlockWeights, PezpalletReferendaTrackDetails, PezspCoreCryptoAccountId32, PezspVersionRuntimeVersion, PezspWeightsRuntimeDbWeight, PezspWeightsWeightV2Weight, StagingXcmV5Junctions, StagingXcmV5Location } from '@pezkuwi/types/lookup';
|
||||||
import type { PezframeSupportPezpalletId, PezframeSystemLimitsBlockLength, PezframeSystemLimitsBlockWeights, PezpalletReferendaTrackDetails, PezspVersionRuntimeVersion, PezspWeightsRuntimeDbWeight, PezspWeightsWeightV2Weight, StagingXcmV5Junctions, StagingXcmV5Location } from '@pezkuwi/types/lookup';
|
|
||||||
|
|
||||||
export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
|
export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
|
||||||
|
|
||||||
@@ -19,7 +18,7 @@ declare module '@pezkuwi/api-base/types/consts' {
|
|||||||
/**
|
/**
|
||||||
* A fee to withdraw the liquidity.
|
* A fee to withdraw the liquidity.
|
||||||
**/
|
**/
|
||||||
liquidityWithdrawalFee: Permill & AugmentedConst<ApiType>;
|
liquidityWithdrawalFee: u32 & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
* A % the liquidity providers will take of every swap. Represents 10ths of a percent.
|
* A % the liquidity providers will take of every swap. Represents 10ths of a percent.
|
||||||
**/
|
**/
|
||||||
@@ -170,7 +169,7 @@ declare module '@pezkuwi/api-base/types/consts' {
|
|||||||
* This deposit has optional upper and lower bounds with `CuratorDepositMax` and
|
* This deposit has optional upper and lower bounds with `CuratorDepositMax` and
|
||||||
* `CuratorDepositMin`.
|
* `CuratorDepositMin`.
|
||||||
**/
|
**/
|
||||||
curatorDepositMultiplier: Permill & AugmentedConst<ApiType>;
|
curatorDepositMultiplier: u32 & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
* The amount held on deposit per byte within the tip report reason or bounty description.
|
* The amount held on deposit per byte within the tip report reason or bounty description.
|
||||||
**/
|
**/
|
||||||
@@ -228,7 +227,7 @@ declare module '@pezkuwi/api-base/types/consts' {
|
|||||||
/**
|
/**
|
||||||
* Gets this pallet's derived pot account.
|
* Gets this pallet's derived pot account.
|
||||||
**/
|
**/
|
||||||
potAccount: AccountId32 & AugmentedConst<ApiType>;
|
potAccount: PezspCoreCryptoAccountId32 & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
* Account Identifier from which the internal Pot is generated.
|
* Account Identifier from which the internal Pot is generated.
|
||||||
**/
|
**/
|
||||||
@@ -266,7 +265,7 @@ declare module '@pezkuwi/api-base/types/consts' {
|
|||||||
/**
|
/**
|
||||||
* Fraction of the slash that is rewarded to the caller of pending slash to the agent.
|
* Fraction of the slash that is rewarded to the caller of pending slash to the agent.
|
||||||
**/
|
**/
|
||||||
slashRewardFraction: Perbill & AugmentedConst<ApiType>;
|
slashRewardFraction: u32 & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
* Generic const
|
* Generic const
|
||||||
**/
|
**/
|
||||||
@@ -418,7 +417,7 @@ declare module '@pezkuwi/api-base/types/consts' {
|
|||||||
* The minimum amount of improvement to the solution score that defines a solution as
|
* The minimum amount of improvement to the solution score that defines a solution as
|
||||||
* "better".
|
* "better".
|
||||||
**/
|
**/
|
||||||
solutionImprovementThreshold: Perbill & AugmentedConst<ApiType>;
|
solutionImprovementThreshold: u32 & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
* Generic const
|
* Generic const
|
||||||
**/
|
**/
|
||||||
@@ -786,7 +785,7 @@ declare module '@pezkuwi/api-base/types/consts' {
|
|||||||
* Instantiating a contract, protects the code from being removed. In order to prevent
|
* Instantiating a contract, protects the code from being removed. In order to prevent
|
||||||
* abuse these actions are protected with a percentage of the code deposit.
|
* abuse these actions are protected with a percentage of the code deposit.
|
||||||
**/
|
**/
|
||||||
codeHashLockupDepositPercent: Perbill & AugmentedConst<ApiType>;
|
codeHashLockupDepositPercent: u32 & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
* The amount of balance a caller has to pay for each byte of storage.
|
* The amount of balance a caller has to pay for each byte of storage.
|
||||||
*
|
*
|
||||||
@@ -1121,7 +1120,7 @@ declare module '@pezkuwi/api-base/types/consts' {
|
|||||||
/**
|
/**
|
||||||
* Percentage of spare funds (if any) that are burnt per spend period.
|
* Percentage of spare funds (if any) that are burnt per spend period.
|
||||||
**/
|
**/
|
||||||
burn: Permill & AugmentedConst<ApiType>;
|
burn: u32 & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
* DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
|
* DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
|
||||||
* Refer to <https://github.com/paritytech/polkadot-sdk/pull/5961> for migration to `spend`.
|
* Refer to <https://github.com/paritytech/polkadot-sdk/pull/5961> for migration to `spend`.
|
||||||
@@ -1142,7 +1141,7 @@ declare module '@pezkuwi/api-base/types/consts' {
|
|||||||
/**
|
/**
|
||||||
* Gets this pallet's derived pot account.
|
* Gets this pallet's derived pot account.
|
||||||
**/
|
**/
|
||||||
potAccount: AccountId32 & AugmentedConst<ApiType>;
|
potAccount: PezspCoreCryptoAccountId32 & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
* Period between successive spends.
|
* Period between successive spends.
|
||||||
**/
|
**/
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -8,8 +8,8 @@ import '@pezkuwi/api-base/types/storage';
|
|||||||
import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@pezkuwi/api-base/types';
|
import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@pezkuwi/api-base/types';
|
||||||
import type { BTreeMap, BTreeSet, Bytes, Null, Option, Struct, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@pezkuwi/types-codec';
|
import type { BTreeMap, BTreeSet, Bytes, Null, Option, Struct, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@pezkuwi/types-codec';
|
||||||
import type { AnyNumber, ITuple } from '@pezkuwi/types-codec/types';
|
import type { AnyNumber, ITuple } from '@pezkuwi/types-codec/types';
|
||||||
import type { AccountId32, H160, H256, Perbill, Percent } from '@pezkuwi/types/interfaces/runtime';
|
import type { H160, H256 } from '@pezkuwi/types/interfaces/runtime';
|
||||||
import type { AssetHubDicleRuntimeRuntimeParametersKey, AssetHubDicleRuntimeRuntimeParametersValue, AssetHubDicleRuntimeSessionKeys, AssetHubDicleRuntimeStakingNposCompactSolution24, BpXcmBridgeHubRouterBridgeState, PezcumulusPezpalletTeyrchainSystemRelayStateSnapshotMessagingStateSnapshot, PezcumulusPezpalletTeyrchainSystemTeyrchainInherentInboundMessageId, PezcumulusPezpalletTeyrchainSystemUnincludedSegmentAncestor, PezcumulusPezpalletTeyrchainSystemUnincludedSegmentSegmentTracker, PezcumulusPezpalletXcmpQueueOutboundChannelDetails, PezcumulusPezpalletXcmpQueueQueueConfigData, PezcumulusPrimitivesCoreAggregateMessageOrigin, PezframeElectionProviderSupportBoundedSupports, PezframeSupportDispatchPerDispatchClassWeight, PezframeSupportTokensMiscIdAmountRuntimeFreezeReason, PezframeSupportTokensMiscIdAmountRuntimeHoldReason, PezframeSystemAccountInfo, PezframeSystemCodeUpgradeAuthorization, PezframeSystemEventRecord, PezframeSystemLastRuntimeUpgradeInfo, PezframeSystemPhase, PezkuwiCorePrimitivesOutboundHrmpMessage, PezkuwiPrimitivesV8AbridgedHostConfiguration, PezkuwiPrimitivesV8PersistedValidationData, PezkuwiPrimitivesV8UpgradeGoAhead, PezkuwiPrimitivesV8UpgradeRestriction, PezkuwiRuntimeCommonClaimsEthereumAddress, PezkuwiRuntimeCommonClaimsStatementKind, PezkuwiRuntimeCommonImplsVersionedLocatableAsset, PezpalletAhMigratorBalancesBefore, PezpalletAhMigratorMigrationStage, PezpalletAssetConversionPoolInfo, PezpalletAssetsApproval, PezpalletAssetsAssetAccount, PezpalletAssetsAssetDetails, PezpalletAssetsAssetMetadata, PezpalletBagsListListBag, PezpalletBagsListListNode, PezpalletBalancesAccountData, PezpalletBalancesBalanceLock, PezpalletBalancesReserveData, PezpalletBountiesBounty, PezpalletChildBountiesChildBounty, PezpalletCollatorSelectionCandidateInfo, PezpalletConvictionVotingVoteVoting, PezpalletDelegatedStakingAgentLedger, PezpalletDelegatedStakingDelegation, PezpalletElectionProviderMultiBlockPhase, PezpalletElectionProviderMultiBlockSignedSubmissionMetadata, PezpalletElectionProviderMultiBlockVerifierImplsPartialBackings, PezpalletElectionProviderMultiBlockVerifierImplsStatus, PezpalletElectionProviderMultiBlockVerifierImplsValidSolution, PezpalletMessageQueueBookState, PezpalletMessageQueuePage, PezpalletMigrationsMigrationCursor, PezpalletMultisigMultisig, PezpalletNftFractionalizationDetails, PezpalletNftsAttributeDeposit, PezpalletNftsAttributeNamespace, PezpalletNftsCollectionConfig, PezpalletNftsCollectionDetails, PezpalletNftsCollectionMetadata, PezpalletNftsItemConfig, PezpalletNftsItemDetails, PezpalletNftsItemMetadata, PezpalletNftsPendingSwap, PezpalletNominationPoolsBondedPoolInner, PezpalletNominationPoolsClaimPermission, PezpalletNominationPoolsPoolMember, PezpalletNominationPoolsRewardPool, PezpalletNominationPoolsSubPools, PezpalletPreimageOldRequestStatus, PezpalletPreimageRequestStatus, PezpalletProxyAnnouncement, PezpalletProxyProxyDefinitionAssetHubDicleRuntimeProxyType, PezpalletRcMigratorAccountsAccount, PezpalletRcMigratorQueuePriority, PezpalletRecoveryActiveRecovery, PezpalletRecoveryRecoveryConfig, PezpalletReferendaReferendumInfoOriginCaller, PezpalletReviveStorageAccountInfo, PezpalletReviveStorageDeletionQueueManager, PezpalletReviveVmCodeInfo, PezpalletSchedulerRetryConfig, PezpalletSchedulerScheduled, PezpalletSocietyBid, PezpalletSocietyCandidacy, PezpalletSocietyGroupParams, PezpalletSocietyIntakeRecord, PezpalletSocietyMemberRecord, PezpalletSocietyPayoutRecord, PezpalletSocietyTally, PezpalletSocietyVote, PezpalletStakingAsyncActiveEraInfo, PezpalletStakingAsyncEraRewardPoints, PezpalletStakingAsyncForcing, PezpalletStakingAsyncLedgerStakingLedger, PezpalletStakingAsyncNominations, PezpalletStakingAsyncPezpalletBoundedExposurePage, PezpalletStakingAsyncPezpalletPruningStep, PezpalletStakingAsyncRcClientSessionReport, PezpalletStakingAsyncRcClientValidatorSetReport, PezpalletStakingAsyncRewardDestination, PezpalletStakingAsyncSlashingOffenceRecord, PezpalletStakingAsyncSnapshotStatus, PezpalletStakingAsyncUnappliedSlash, PezpalletStakingAsyncValidatorPrefs, PezpalletStateTrieMigrationMigrationLimits, PezpalletStateTrieMigrationMigrationTask, PezpalletTransactionPaymentReleases, PezpalletTreasuryProposal, PezpalletTreasurySpendStatus, PezpalletUniquesCollectionDetails, PezpalletUniquesCollectionMetadata, PezpalletUniquesItemDetails, PezpalletUniquesItemMetadata, PezpalletVestingReleases, PezpalletVestingVestingInfo, PezpalletXcmAuthorizedAliasesEntry, PezpalletXcmQueryStatus, PezpalletXcmRemoteLockedFungibleRecord, PezpalletXcmVersionMigrationStage, PezspConsensusAuraSr25519AppSr25519Public, PezspCoreCryptoKeyTypeId, PezspNposElectionsElectionScore, PezspRuntimeDigest, PezspStakingPagedExposureMetadata, PezspTrieStorageProof, PezspWeightsWeightV2Weight, StagingXcmV5Instruction, StagingXcmV5Location, XcmVersionedAssetId, XcmVersionedLocation } from '@pezkuwi/types/lookup';
|
import type { AssetHubDicleRuntimeRuntimeParametersKey, AssetHubDicleRuntimeRuntimeParametersValue, AssetHubDicleRuntimeSessionKeys, AssetHubDicleRuntimeStakingNposCompactSolution24, BpXcmBridgeHubRouterBridgeState, PezcumulusPezpalletTeyrchainSystemRelayStateSnapshotMessagingStateSnapshot, PezcumulusPezpalletTeyrchainSystemTeyrchainInherentInboundMessageId, PezcumulusPezpalletTeyrchainSystemUnincludedSegmentAncestor, PezcumulusPezpalletTeyrchainSystemUnincludedSegmentSegmentTracker, PezcumulusPezpalletXcmpQueueOutboundChannelDetails, PezcumulusPezpalletXcmpQueueQueueConfigData, PezcumulusPrimitivesCoreAggregateMessageOrigin, PezframeElectionProviderSupportBoundedSupports, PezframeSupportDispatchPerDispatchClassWeight, PezframeSupportTokensMiscIdAmountRuntimeFreezeReason, PezframeSupportTokensMiscIdAmountRuntimeHoldReason, PezframeSystemAccountInfo, PezframeSystemCodeUpgradeAuthorization, PezframeSystemEventRecord, PezframeSystemLastRuntimeUpgradeInfo, PezframeSystemPhase, PezkuwiCorePrimitivesOutboundHrmpMessage, PezkuwiPrimitivesV8AbridgedHostConfiguration, PezkuwiPrimitivesV8PersistedValidationData, PezkuwiPrimitivesV8UpgradeGoAhead, PezkuwiPrimitivesV8UpgradeRestriction, PezkuwiRuntimeCommonClaimsEthereumAddress, PezkuwiRuntimeCommonClaimsStatementKind, PezkuwiRuntimeCommonImplsVersionedLocatableAsset, PezpalletAhMigratorBalancesBefore, PezpalletAhMigratorMigrationStage, PezpalletAssetConversionPoolInfo, PezpalletAssetsApproval, PezpalletAssetsAssetAccount, PezpalletAssetsAssetDetails, PezpalletAssetsAssetMetadata, PezpalletBagsListListBag, PezpalletBagsListListNode, PezpalletBalancesAccountData, PezpalletBalancesBalanceLock, PezpalletBalancesReserveData, PezpalletBountiesBounty, PezpalletChildBountiesChildBounty, PezpalletCollatorSelectionCandidateInfo, PezpalletConvictionVotingVoteVoting, PezpalletDelegatedStakingAgentLedger, PezpalletDelegatedStakingDelegation, PezpalletElectionProviderMultiBlockPhase, PezpalletElectionProviderMultiBlockSignedSubmissionMetadata, PezpalletElectionProviderMultiBlockVerifierImplsPartialBackings, PezpalletElectionProviderMultiBlockVerifierImplsStatus, PezpalletElectionProviderMultiBlockVerifierImplsValidSolution, PezpalletMessageQueueBookState, PezpalletMessageQueuePage, PezpalletMigrationsMigrationCursor, PezpalletMultisigMultisig, PezpalletNftFractionalizationDetails, PezpalletNftsAttributeDeposit, PezpalletNftsAttributeNamespace, PezpalletNftsCollectionConfig, PezpalletNftsCollectionDetails, PezpalletNftsCollectionMetadata, PezpalletNftsItemConfig, PezpalletNftsItemDetails, PezpalletNftsItemMetadata, PezpalletNftsPendingSwap, PezpalletNominationPoolsBondedPoolInner, PezpalletNominationPoolsClaimPermission, PezpalletNominationPoolsPoolMember, PezpalletNominationPoolsRewardPool, PezpalletNominationPoolsSubPools, PezpalletPreimageOldRequestStatus, PezpalletPreimageRequestStatus, PezpalletProxyAnnouncement, PezpalletProxyProxyDefinitionAssetHubDicleRuntimeProxyType, PezpalletRcMigratorAccountsAccount, PezpalletRcMigratorQueuePriority, PezpalletRecoveryActiveRecovery, PezpalletRecoveryRecoveryConfig, PezpalletReferendaReferendumInfoOriginCaller, PezpalletReviveStorageAccountInfo, PezpalletReviveStorageDeletionQueueManager, PezpalletReviveVmCodeInfo, PezpalletSchedulerRetryConfig, PezpalletSchedulerScheduled, PezpalletSocietyBid, PezpalletSocietyCandidacy, PezpalletSocietyGroupParams, PezpalletSocietyIntakeRecord, PezpalletSocietyMemberRecord, PezpalletSocietyPayoutRecord, PezpalletSocietyTally, PezpalletSocietyVote, PezpalletStakingAsyncActiveEraInfo, PezpalletStakingAsyncEraRewardPoints, PezpalletStakingAsyncForcing, PezpalletStakingAsyncLedgerStakingLedger, PezpalletStakingAsyncNominations, PezpalletStakingAsyncPezpalletBoundedExposurePage, PezpalletStakingAsyncPezpalletPruningStep, PezpalletStakingAsyncRcClientSessionReport, PezpalletStakingAsyncRcClientValidatorSetReport, PezpalletStakingAsyncRewardDestination, PezpalletStakingAsyncSlashingOffenceRecord, PezpalletStakingAsyncSnapshotStatus, PezpalletStakingAsyncUnappliedSlash, PezpalletStakingAsyncValidatorPrefs, PezpalletStateTrieMigrationMigrationLimits, PezpalletStateTrieMigrationMigrationTask, PezpalletTransactionPaymentReleases, PezpalletTreasuryProposal, PezpalletTreasurySpendStatus, PezpalletUniquesCollectionDetails, PezpalletUniquesCollectionMetadata, PezpalletUniquesItemDetails, PezpalletUniquesItemMetadata, PezpalletVestingReleases, PezpalletVestingVestingInfo, PezpalletXcmAuthorizedAliasesEntry, PezpalletXcmQueryStatus, PezpalletXcmRemoteLockedFungibleRecord, PezpalletXcmVersionMigrationStage, PezspConsensusAuraSr25519AppSr25519Public, PezspCoreCryptoAccountId32, PezspCoreCryptoKeyTypeId, PezspNposElectionsElectionScore, PezspRuntimeDigest, PezspStakingPagedExposureMetadata, PezspTrieStorageProof, PezspWeightsWeightV2Weight, StagingXcmV5Instruction, StagingXcmV5Location, XcmVersionedAssetId, XcmVersionedLocation } from '@pezkuwi/types/lookup';
|
||||||
import type { Observable } from '@pezkuwi/types/types';
|
import type { Observable } from '@pezkuwi/types/types';
|
||||||
|
|
||||||
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
|
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
|
||||||
@@ -43,7 +43,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* This account id has similar privileges to [`Config::AdminOrigin`] except that it
|
* This account id has similar privileges to [`Config::AdminOrigin`] except that it
|
||||||
* can not set the manager account id via `set_manager` call.
|
* can not set the manager account id via `set_manager` call.
|
||||||
**/
|
**/
|
||||||
manager: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
manager: AugmentedQuery<ApiType, () => Observable<Option<PezspCoreCryptoAccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* Block number when migration finished and extrinsics were unlocked.
|
* Block number when migration finished and extrinsics were unlocked.
|
||||||
*
|
*
|
||||||
@@ -63,7 +63,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
*
|
*
|
||||||
* This is unlikely to happen, since we dry run the migration, but we keep it for completeness.
|
* This is unlikely to happen, since we dry run the migration, but we keep it for completeness.
|
||||||
**/
|
**/
|
||||||
rcAccounts: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PezpalletRcMigratorAccountsAccount>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
rcAccounts: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezpalletRcMigratorAccountsAccount>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Generic query
|
* Generic query
|
||||||
**/
|
**/
|
||||||
@@ -84,7 +84,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* The value is (fund_pot, balance). The contribution pot is the second key in the
|
* The value is (fund_pot, balance). The contribution pot is the second key in the
|
||||||
* `RcCrowdloanContribution` storage.
|
* `RcCrowdloanContribution` storage.
|
||||||
**/
|
**/
|
||||||
rcCrowdloanContribution: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[AccountId32, u128]>>>, [u32, u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, u32, AccountId32]>;
|
rcCrowdloanContribution: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<ITuple<[PezspCoreCryptoAccountId32, u128]>>>, [u32, u32, PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [u32, u32, PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* The reserve that was taken to create a crowdloan.
|
* The reserve that was taken to create a crowdloan.
|
||||||
*
|
*
|
||||||
@@ -96,7 +96,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* - The para_id of the crowdloan
|
* - The para_id of the crowdloan
|
||||||
* - The account that will have the balance unreserved
|
* - The account that will have the balance unreserved
|
||||||
**/
|
**/
|
||||||
rcCrowdloanReserve: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: AccountId32 | string | Uint8Array) => Observable<Option<u128>>, [u32, u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, u32, AccountId32]>;
|
rcCrowdloanReserve: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<u128>>, [u32, u32, PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [u32, u32, PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Amount of balance that was reserved for winning a lease auction.
|
* Amount of balance that was reserved for winning a lease auction.
|
||||||
*
|
*
|
||||||
@@ -113,7 +113,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* - The account that will have the balance unreserved.
|
* - The account that will have the balance unreserved.
|
||||||
* - The balance to be unreserved.
|
* - The balance to be unreserved.
|
||||||
**/
|
**/
|
||||||
rcLeaseReserve: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: AccountId32 | string | Uint8Array) => Observable<Option<u128>>, [u32, u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, u32, AccountId32]>;
|
rcLeaseReserve: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<u128>>, [u32, u32, PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [u32, u32, PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Generic query
|
* Generic query
|
||||||
**/
|
**/
|
||||||
@@ -151,13 +151,13 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* The holdings of a specific account for a specific asset.
|
* The holdings of a specific account for a specific asset.
|
||||||
**/
|
**/
|
||||||
account: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PezpalletAssetsAssetAccount>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
account: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezpalletAssetsAssetAccount>>, [u32, PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [u32, PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Approved balance transfers. First balance is the amount approved for transfer. Second
|
* Approved balance transfers. First balance is the amount approved for transfer. Second
|
||||||
* is the amount of `T::Currency` reserved for storing this.
|
* is the amount of `T::Currency` reserved for storing this.
|
||||||
* First key is the asset ID, second key is the owner and third key is the delegate.
|
* First key is the asset ID, second key is the owner and third key is the delegate.
|
||||||
**/
|
**/
|
||||||
approvals: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array, arg3: AccountId32 | string | Uint8Array) => Observable<Option<PezpalletAssetsApproval>>, [u32, AccountId32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32, AccountId32]>;
|
approvals: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PezspCoreCryptoAccountId32 | string | Uint8Array, arg3: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezpalletAssetsApproval>>, [u32, PezspCoreCryptoAccountId32, PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [u32, PezspCoreCryptoAccountId32, PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Details of an asset.
|
* Details of an asset.
|
||||||
**/
|
**/
|
||||||
@@ -230,7 +230,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* Author of current block.
|
* Author of current block.
|
||||||
**/
|
**/
|
||||||
author: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
author: AugmentedQuery<ApiType, () => Observable<Option<PezspCoreCryptoAccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* Generic query
|
* Generic query
|
||||||
**/
|
**/
|
||||||
@@ -263,15 +263,15 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* `Balances` pallet, which uses a `StorageMap` to store balances data only.
|
* `Balances` pallet, which uses a `StorageMap` to store balances data only.
|
||||||
* NOTE: This is only used in the case that this pallet is used to store balances.
|
* NOTE: This is only used in the case that this pallet is used to store balances.
|
||||||
**/
|
**/
|
||||||
account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PezpalletBalancesAccountData>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
account: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<PezpalletBalancesAccountData>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Freeze locks on account balances.
|
* Freeze locks on account balances.
|
||||||
**/
|
**/
|
||||||
freezes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PezframeSupportTokensMiscIdAmountRuntimeFreezeReason>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
freezes: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Vec<PezframeSupportTokensMiscIdAmountRuntimeFreezeReason>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Holds on account balances.
|
* Holds on account balances.
|
||||||
**/
|
**/
|
||||||
holds: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PezframeSupportTokensMiscIdAmountRuntimeHoldReason>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
holds: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Vec<PezframeSupportTokensMiscIdAmountRuntimeHoldReason>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* The total units of outstanding deactivated balance in the system.
|
* The total units of outstanding deactivated balance in the system.
|
||||||
**/
|
**/
|
||||||
@@ -282,13 +282,13 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
*
|
*
|
||||||
* Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
|
* Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
|
||||||
**/
|
**/
|
||||||
locks: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PezpalletBalancesBalanceLock>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
locks: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Vec<PezpalletBalancesBalanceLock>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Named reserves on some account balances.
|
* Named reserves on some account balances.
|
||||||
*
|
*
|
||||||
* Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
|
* Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
|
||||||
**/
|
**/
|
||||||
reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PezpalletBalancesReserveData>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
reserves: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Vec<PezpalletBalancesReserveData>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* The total units issued in the system.
|
* The total units issued in the system.
|
||||||
**/
|
**/
|
||||||
@@ -367,7 +367,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* Pre-claimed Ethereum accounts, by the Account ID that they are claimed to.
|
* Pre-claimed Ethereum accounts, by the Account ID that they are claimed to.
|
||||||
**/
|
**/
|
||||||
preclaims: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PezkuwiRuntimeCommonClaimsEthereumAddress>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
preclaims: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezkuwiRuntimeCommonClaimsEthereumAddress>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* The statement kind that must be signed, if any.
|
* The statement kind that must be signed, if any.
|
||||||
**/
|
**/
|
||||||
@@ -409,11 +409,11 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* The invulnerable, permissioned collators. This list must be sorted.
|
* The invulnerable, permissioned collators. This list must be sorted.
|
||||||
**/
|
**/
|
||||||
invulnerables: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
invulnerables: AugmentedQuery<ApiType, () => Observable<Vec<PezspCoreCryptoAccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* Last block authored by collator.
|
* Last block authored by collator.
|
||||||
**/
|
**/
|
||||||
lastAuthoredBlock: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u32>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
lastAuthoredBlock: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<u32>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Generic query
|
* Generic query
|
||||||
**/
|
**/
|
||||||
@@ -425,12 +425,12 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* require. The actual amount locked on behalf of this pallet should always be the maximum of
|
* require. The actual amount locked on behalf of this pallet should always be the maximum of
|
||||||
* this list.
|
* this list.
|
||||||
**/
|
**/
|
||||||
classLocksFor: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<ITuple<[u16, u128]>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
classLocksFor: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Vec<ITuple<[u16, u128]>>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* All voting for a particular voter in a particular voting class. We store the balance for the
|
* All voting for a particular voter in a particular voting class. We store the balance for the
|
||||||
* number of votes that we have recorded.
|
* number of votes that we have recorded.
|
||||||
**/
|
**/
|
||||||
votingFor: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u16 | AnyNumber | Uint8Array) => Observable<PezpalletConvictionVotingVoteVoting>, [AccountId32, u16]> & QueryableStorageEntry<ApiType, [AccountId32, u16]>;
|
votingFor: AugmentedQuery<ApiType, (arg1: PezspCoreCryptoAccountId32 | string | Uint8Array, arg2: u16 | AnyNumber | Uint8Array) => Observable<PezpalletConvictionVotingVoteVoting>, [PezspCoreCryptoAccountId32, u16]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32, u16]>;
|
||||||
/**
|
/**
|
||||||
* Generic query
|
* Generic query
|
||||||
**/
|
**/
|
||||||
@@ -440,7 +440,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* Map of `Agent` to their `Ledger`.
|
* Map of `Agent` to their `Ledger`.
|
||||||
**/
|
**/
|
||||||
agents: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PezpalletDelegatedStakingAgentLedger>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
agents: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezpalletDelegatedStakingAgentLedger>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Counter for the related counted storage map
|
* Counter for the related counted storage map
|
||||||
**/
|
**/
|
||||||
@@ -455,7 +455,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* Implementation note: We are not using a double map with `delegator` and `agent` account
|
* Implementation note: We are not using a double map with `delegator` and `agent` account
|
||||||
* as keys since we want to restrict delegators to delegate only to one account at a time.
|
* as keys since we want to restrict delegators to delegate only to one account at a time.
|
||||||
**/
|
**/
|
||||||
delegators: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PezpalletDelegatedStakingDelegation>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
delegators: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezpalletDelegatedStakingDelegation>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Generic query
|
* Generic query
|
||||||
**/
|
**/
|
||||||
@@ -465,13 +465,13 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* The holdings of a specific account for a specific asset.
|
* The holdings of a specific account for a specific asset.
|
||||||
**/
|
**/
|
||||||
account: AugmentedQuery<ApiType, (arg1: StagingXcmV5Location | { parents?: any; interior?: any } | string | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PezpalletAssetsAssetAccount>>, [StagingXcmV5Location, AccountId32]> & QueryableStorageEntry<ApiType, [StagingXcmV5Location, AccountId32]>;
|
account: AugmentedQuery<ApiType, (arg1: StagingXcmV5Location | { parents?: any; interior?: any } | string | Uint8Array, arg2: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezpalletAssetsAssetAccount>>, [StagingXcmV5Location, PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [StagingXcmV5Location, PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Approved balance transfers. First balance is the amount approved for transfer. Second
|
* Approved balance transfers. First balance is the amount approved for transfer. Second
|
||||||
* is the amount of `T::Currency` reserved for storing this.
|
* is the amount of `T::Currency` reserved for storing this.
|
||||||
* First key is the asset ID, second key is the owner and third key is the delegate.
|
* First key is the asset ID, second key is the owner and third key is the delegate.
|
||||||
**/
|
**/
|
||||||
approvals: AugmentedQuery<ApiType, (arg1: StagingXcmV5Location | { parents?: any; interior?: any } | string | Uint8Array, arg2: AccountId32 | string | Uint8Array, arg3: AccountId32 | string | Uint8Array) => Observable<Option<PezpalletAssetsApproval>>, [StagingXcmV5Location, AccountId32, AccountId32]> & QueryableStorageEntry<ApiType, [StagingXcmV5Location, AccountId32, AccountId32]>;
|
approvals: AugmentedQuery<ApiType, (arg1: StagingXcmV5Location | { parents?: any; interior?: any } | string | Uint8Array, arg2: PezspCoreCryptoAccountId32 | string | Uint8Array, arg3: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezpalletAssetsApproval>>, [StagingXcmV5Location, PezspCoreCryptoAccountId32, PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [StagingXcmV5Location, PezspCoreCryptoAccountId32, PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Details of an asset.
|
* Details of an asset.
|
||||||
**/
|
**/
|
||||||
@@ -507,7 +507,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* The lookup from index to account.
|
* The lookup from index to account.
|
||||||
**/
|
**/
|
||||||
accounts: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[AccountId32, u128, bool]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
accounts: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[PezspCoreCryptoAccountId32, u128, bool]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||||
/**
|
/**
|
||||||
* Generic query
|
* Generic query
|
||||||
**/
|
**/
|
||||||
@@ -545,7 +545,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
*
|
*
|
||||||
* For the time being, since we assume one pages of targets, at most ONE key will exist.
|
* For the time being, since we assume one pages of targets, at most ONE key will exist.
|
||||||
**/
|
**/
|
||||||
pagedTargetSnapshot: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<Vec<AccountId32>>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
pagedTargetSnapshot: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<Vec<PezspCoreCryptoAccountId32>>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
||||||
/**
|
/**
|
||||||
* Same as [`PagedTargetSnapshot`], but it will store the hash of the snapshot.
|
* Same as [`PagedTargetSnapshot`], but it will store the hash of the snapshot.
|
||||||
*
|
*
|
||||||
@@ -555,7 +555,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* Paginated voter snapshot. At most [`T::Pages`] keys will exist.
|
* Paginated voter snapshot. At most [`T::Pages`] keys will exist.
|
||||||
**/
|
**/
|
||||||
pagedVoterSnapshot: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<Vec<ITuple<[AccountId32, u64, Vec<AccountId32>]>>>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
pagedVoterSnapshot: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<Vec<ITuple<[PezspCoreCryptoAccountId32, u64, Vec<PezspCoreCryptoAccountId32>]>>>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
||||||
/**
|
/**
|
||||||
* Same as [`PagedVoterSnapshot`], but it will store the hash of the snapshot.
|
* Same as [`PagedVoterSnapshot`], but it will store the hash of the snapshot.
|
||||||
*
|
*
|
||||||
@@ -588,19 +588,19 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* back.
|
* back.
|
||||||
* * They always get their tx-fee back even if they are _discarded_.
|
* * They always get their tx-fee back even if they are _discarded_.
|
||||||
**/
|
**/
|
||||||
invulnerables: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
invulnerables: AugmentedQuery<ApiType, () => Observable<Vec<PezspCoreCryptoAccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
sortedScores: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[AccountId32, PezspNposElectionsElectionScore]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
sortedScores: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[PezspCoreCryptoAccountId32, PezspNposElectionsElectionScore]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||||
/**
|
/**
|
||||||
* Map from account to the metadata of their submission.
|
* Map from account to the metadata of their submission.
|
||||||
*
|
*
|
||||||
* invariant: for any Key1 of type `AccountId` in [`Submissions`], this storage map also has a
|
* invariant: for any Key1 of type `AccountId` in [`Submissions`], this storage map also has a
|
||||||
* value.
|
* value.
|
||||||
**/
|
**/
|
||||||
submissionMetadataStorage: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PezpalletElectionProviderMultiBlockSignedSubmissionMetadata>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
submissionMetadataStorage: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezpalletElectionProviderMultiBlockSignedSubmissionMetadata>>, [u32, PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [u32, PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Triple map from (round, account, page) to a solution page.
|
* Triple map from (round, account, page) to a solution page.
|
||||||
**/
|
**/
|
||||||
submissionStorage: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<Option<AssetHubDicleRuntimeStakingNposCompactSolution24>>, [u32, AccountId32, u32]> & QueryableStorageEntry<ApiType, [u32, AccountId32, u32]>;
|
submissionStorage: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PezspCoreCryptoAccountId32 | string | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<Option<AssetHubDicleRuntimeStakingNposCompactSolution24>>, [u32, PezspCoreCryptoAccountId32, u32]> & QueryableStorageEntry<ApiType, [u32, PezspCoreCryptoAccountId32, u32]>;
|
||||||
/**
|
/**
|
||||||
* Generic query
|
* Generic query
|
||||||
**/
|
**/
|
||||||
@@ -621,7 +621,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* need this information anymore; the score is already computed once in
|
* need this information anymore; the score is already computed once in
|
||||||
* [`QueuedSolutionScore`], and the backing counts are checked.
|
* [`QueuedSolutionScore`], and the backing counts are checked.
|
||||||
**/
|
**/
|
||||||
queuedSolutionBackings: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<Vec<ITuple<[AccountId32, PezpalletElectionProviderMultiBlockVerifierImplsPartialBackings]>>>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
queuedSolutionBackings: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<Vec<ITuple<[PezspCoreCryptoAccountId32, PezpalletElectionProviderMultiBlockVerifierImplsPartialBackings]>>>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
||||||
/**
|
/**
|
||||||
* The score of the valid variant of [`QueuedSolution`].
|
* The score of the valid variant of [`QueuedSolution`].
|
||||||
*
|
*
|
||||||
@@ -679,7 +679,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* The set of open multisig operations.
|
* The set of open multisig operations.
|
||||||
**/
|
**/
|
||||||
multisigs: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: U8aFixed | string | Uint8Array) => Observable<Option<PezpalletMultisigMultisig>>, [AccountId32, U8aFixed]> & QueryableStorageEntry<ApiType, [AccountId32, U8aFixed]>;
|
multisigs: AugmentedQuery<ApiType, (arg1: PezspCoreCryptoAccountId32 | string | Uint8Array, arg2: U8aFixed | string | Uint8Array) => Observable<Option<PezpalletMultisigMultisig>>, [PezspCoreCryptoAccountId32, U8aFixed]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32, U8aFixed]>;
|
||||||
/**
|
/**
|
||||||
* Generic query
|
* Generic query
|
||||||
**/
|
**/
|
||||||
@@ -700,7 +700,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* The items held by any given account; set out this way so that items owned by a single
|
* The items held by any given account; set out this way so that items owned by a single
|
||||||
* account can be enumerated.
|
* account can be enumerated.
|
||||||
**/
|
**/
|
||||||
account: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [AccountId32, u32, u32]> & QueryableStorageEntry<ApiType, [AccountId32, u32, u32]>;
|
account: AugmentedQuery<ApiType, (arg1: PezspCoreCryptoAccountId32 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [PezspCoreCryptoAccountId32, u32, u32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32, u32, u32]>;
|
||||||
/**
|
/**
|
||||||
* Attributes of a collection.
|
* Attributes of a collection.
|
||||||
**/
|
**/
|
||||||
@@ -713,7 +713,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* The collections owned by any given account; set out this way so that collections owned by
|
* The collections owned by any given account; set out this way so that collections owned by
|
||||||
* a single account can be enumerated.
|
* a single account can be enumerated.
|
||||||
**/
|
**/
|
||||||
collectionAccount: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [AccountId32, u32]> & QueryableStorageEntry<ApiType, [AccountId32, u32]>;
|
collectionAccount: AugmentedQuery<ApiType, (arg1: PezspCoreCryptoAccountId32 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [PezspCoreCryptoAccountId32, u32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32, u32]>;
|
||||||
/**
|
/**
|
||||||
* Config of a collection.
|
* Config of a collection.
|
||||||
**/
|
**/
|
||||||
@@ -726,7 +726,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* The items in existence and their ownership details.
|
* The items in existence and their ownership details.
|
||||||
* Stores collection roles as per account.
|
* Stores collection roles as per account.
|
||||||
**/
|
**/
|
||||||
collectionRoleOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u8>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
collectionRoleOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<u8>>, [u32, PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [u32, PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* The items in existence and their ownership details.
|
* The items in existence and their ownership details.
|
||||||
**/
|
**/
|
||||||
@@ -734,7 +734,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* Item attribute approvals.
|
* Item attribute approvals.
|
||||||
**/
|
**/
|
||||||
itemAttributesApprovalsOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<BTreeSet<AccountId32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
itemAttributesApprovalsOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<BTreeSet<PezspCoreCryptoAccountId32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
||||||
/**
|
/**
|
||||||
* Config of an item.
|
* Config of an item.
|
||||||
**/
|
**/
|
||||||
@@ -746,7 +746,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* A price of an item.
|
* A price of an item.
|
||||||
**/
|
**/
|
||||||
itemPriceOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u128, Option<AccountId32>]>>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
itemPriceOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u128, Option<PezspCoreCryptoAccountId32>]>>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
||||||
/**
|
/**
|
||||||
* Stores the `CollectionId` that is going to be used for the next collection.
|
* Stores the `CollectionId` that is going to be used for the next collection.
|
||||||
* This gets incremented whenever a new collection is created.
|
* This gets incremented whenever a new collection is created.
|
||||||
@@ -755,7 +755,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* The collection, if any, of which an account is willing to take ownership.
|
* The collection, if any, of which an account is willing to take ownership.
|
||||||
**/
|
**/
|
||||||
ownershipAcceptance: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
ownershipAcceptance: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<u32>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Handles all the pending swaps.
|
* Handles all the pending swaps.
|
||||||
**/
|
**/
|
||||||
@@ -773,7 +773,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* Map from a pool member account to their opted claim permission.
|
* Map from a pool member account to their opted claim permission.
|
||||||
**/
|
**/
|
||||||
claimPermissions: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PezpalletNominationPoolsClaimPermission>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
claimPermissions: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<PezpalletNominationPoolsClaimPermission>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Counter for the related counted storage map
|
* Counter for the related counted storage map
|
||||||
**/
|
**/
|
||||||
@@ -803,7 +803,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* pool commissions that are > `GlobalMaxCommission`, necessary if a future
|
* pool commissions that are > `GlobalMaxCommission`, necessary if a future
|
||||||
* `GlobalMaxCommission` is lower than some current pool commissions.
|
* `GlobalMaxCommission` is lower than some current pool commissions.
|
||||||
**/
|
**/
|
||||||
globalMaxCommission: AugmentedQuery<ApiType, () => Observable<Option<Perbill>>, []> & QueryableStorageEntry<ApiType, []>;
|
globalMaxCommission: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* Ever increasing number of all pools created so far.
|
* Ever increasing number of all pools created so far.
|
||||||
**/
|
**/
|
||||||
@@ -846,14 +846,14 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
*
|
*
|
||||||
* TWOX-NOTE: SAFE since `AccountId` is a secure hash.
|
* TWOX-NOTE: SAFE since `AccountId` is a secure hash.
|
||||||
**/
|
**/
|
||||||
poolMembers: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PezpalletNominationPoolsPoolMember>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
poolMembers: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezpalletNominationPoolsPoolMember>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* A reverse lookup from the pool's account id to its id.
|
* A reverse lookup from the pool's account id to its id.
|
||||||
*
|
*
|
||||||
* This is only used for slashing and on automatic withdraw update. In all other instances, the
|
* This is only used for slashing and on automatic withdraw update. In all other instances, the
|
||||||
* pool id is used, and the accounts are deterministically derived from it.
|
* pool id is used, and the accounts are deterministically derived from it.
|
||||||
**/
|
**/
|
||||||
reversePoolIdLookup: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
reversePoolIdLookup: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<u32>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Reward pools. This is where there rewards for each pool accumulate. When a members payout is
|
* Reward pools. This is where there rewards for each pool accumulate. When a members payout is
|
||||||
* claimed, the balance comes out of the reward pool. Keyed by the bonded pools account.
|
* claimed, the balance comes out of the reward pool. Keyed by the bonded pools account.
|
||||||
@@ -1092,7 +1092,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* Fungible assets which we know are locked on this chain.
|
* Fungible assets which we know are locked on this chain.
|
||||||
**/
|
**/
|
||||||
lockedFungibles: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Vec<ITuple<[u128, XcmVersionedLocation]>>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
lockedFungibles: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<Vec<ITuple<[u128, XcmVersionedLocation]>>>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* The ongoing queries.
|
* The ongoing queries.
|
||||||
**/
|
**/
|
||||||
@@ -1113,7 +1113,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* Fungible assets which we know are locked on a remote chain.
|
* Fungible assets which we know are locked on a remote chain.
|
||||||
**/
|
**/
|
||||||
remoteLockedFungibles: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array, arg3: XcmVersionedAssetId | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Option<PezpalletXcmRemoteLockedFungibleRecord>>, [u32, AccountId32, XcmVersionedAssetId]> & QueryableStorageEntry<ApiType, [u32, AccountId32, XcmVersionedAssetId]>;
|
remoteLockedFungibles: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PezspCoreCryptoAccountId32 | string | Uint8Array, arg3: XcmVersionedAssetId | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Option<PezpalletXcmRemoteLockedFungibleRecord>>, [u32, PezspCoreCryptoAccountId32, XcmVersionedAssetId]> & QueryableStorageEntry<ApiType, [u32, PezspCoreCryptoAccountId32, XcmVersionedAssetId]>;
|
||||||
/**
|
/**
|
||||||
* Default version to encode XCM when latest version of destination is unknown. If `None`,
|
* Default version to encode XCM when latest version of destination is unknown. If `None`,
|
||||||
* then the destinations whose XCM version is unknown are considered unreachable.
|
* then the destinations whose XCM version is unknown are considered unreachable.
|
||||||
@@ -1161,13 +1161,13 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* The holdings of a specific account for a specific asset.
|
* The holdings of a specific account for a specific asset.
|
||||||
**/
|
**/
|
||||||
account: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PezpalletAssetsAssetAccount>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
account: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezpalletAssetsAssetAccount>>, [u32, PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [u32, PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Approved balance transfers. First balance is the amount approved for transfer. Second
|
* Approved balance transfers. First balance is the amount approved for transfer. Second
|
||||||
* is the amount of `T::Currency` reserved for storing this.
|
* is the amount of `T::Currency` reserved for storing this.
|
||||||
* First key is the asset ID, second key is the owner and third key is the delegate.
|
* First key is the asset ID, second key is the owner and third key is the delegate.
|
||||||
**/
|
**/
|
||||||
approvals: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array, arg3: AccountId32 | string | Uint8Array) => Observable<Option<PezpalletAssetsApproval>>, [u32, AccountId32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32, AccountId32]>;
|
approvals: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PezspCoreCryptoAccountId32 | string | Uint8Array, arg3: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezpalletAssetsApproval>>, [u32, PezspCoreCryptoAccountId32, PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [u32, PezspCoreCryptoAccountId32, PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Details of an asset.
|
* Details of an asset.
|
||||||
**/
|
**/
|
||||||
@@ -1212,12 +1212,12 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* The announcements made by the proxy (key).
|
* The announcements made by the proxy (key).
|
||||||
**/
|
**/
|
||||||
announcements: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PezpalletProxyAnnouncement>, u128]>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
announcements: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PezpalletProxyAnnouncement>, u128]>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* The set of account proxies. Maps the account which has delegated to the accounts
|
* The set of account proxies. Maps the account which has delegated to the accounts
|
||||||
* which are being delegated to, together with the amount held on deposit.
|
* which are being delegated to, together with the amount held on deposit.
|
||||||
**/
|
**/
|
||||||
proxies: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PezpalletProxyProxyDefinitionAssetHubDicleRuntimeProxyType>, u128]>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
proxies: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PezpalletProxyProxyDefinitionAssetHubDicleRuntimeProxyType>, u128]>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Generic query
|
* Generic query
|
||||||
**/
|
**/
|
||||||
@@ -1230,17 +1230,17 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* First account is the account to be recovered, and the second account
|
* First account is the account to be recovered, and the second account
|
||||||
* is the user trying to recover the account.
|
* is the user trying to recover the account.
|
||||||
**/
|
**/
|
||||||
activeRecoveries: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PezpalletRecoveryActiveRecovery>>, [AccountId32, AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32, AccountId32]>;
|
activeRecoveries: AugmentedQuery<ApiType, (arg1: PezspCoreCryptoAccountId32 | string | Uint8Array, arg2: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezpalletRecoveryActiveRecovery>>, [PezspCoreCryptoAccountId32, PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32, PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* The list of allowed proxy accounts.
|
* The list of allowed proxy accounts.
|
||||||
*
|
*
|
||||||
* Map from the user who can access it to the recovered account.
|
* Map from the user who can access it to the recovered account.
|
||||||
**/
|
**/
|
||||||
proxy: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<AccountId32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
proxy: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezspCoreCryptoAccountId32>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* The set of recoverable accounts and their recovery configuration.
|
* The set of recoverable accounts and their recovery configuration.
|
||||||
**/
|
**/
|
||||||
recoverable: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PezpalletRecoveryRecoveryConfig>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
recoverable: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezpalletRecoveryRecoveryConfig>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Generic query
|
* Generic query
|
||||||
**/
|
**/
|
||||||
@@ -1324,7 +1324,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* Register your `AccountId32` using [`Pallet::map_account`] in order to
|
* Register your `AccountId32` using [`Pallet::map_account`] in order to
|
||||||
* use it with this pallet.
|
* use it with this pallet.
|
||||||
**/
|
**/
|
||||||
originalAccount: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Option<AccountId32>>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;
|
originalAccount: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Option<PezspCoreCryptoAccountId32>>, [H160]> & QueryableStorageEntry<ApiType, [H160]>;
|
||||||
/**
|
/**
|
||||||
* A mapping from a contract's code hash to its code.
|
* A mapping from a contract's code hash to its code.
|
||||||
**/
|
**/
|
||||||
@@ -1371,15 +1371,15 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* disabled using binary search. It gets cleared when `on_session_ending` returns
|
* disabled using binary search. It gets cleared when `on_session_ending` returns
|
||||||
* a new set of identities.
|
* a new set of identities.
|
||||||
**/
|
**/
|
||||||
disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, Perbill]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* The owner of a key. The key is the `KeyTypeId` + the encoded key.
|
* The owner of a key. The key is the `KeyTypeId` + the encoded key.
|
||||||
**/
|
**/
|
||||||
keyOwner: AugmentedQuery<ApiType, (arg: ITuple<[PezspCoreCryptoKeyTypeId, Bytes]> | [PezspCoreCryptoKeyTypeId | string | Uint8Array, Bytes | string | Uint8Array]) => Observable<Option<AccountId32>>, [ITuple<[PezspCoreCryptoKeyTypeId, Bytes]>]> & QueryableStorageEntry<ApiType, [ITuple<[PezspCoreCryptoKeyTypeId, Bytes]>]>;
|
keyOwner: AugmentedQuery<ApiType, (arg: ITuple<[PezspCoreCryptoKeyTypeId, Bytes]> | [PezspCoreCryptoKeyTypeId | string | Uint8Array, Bytes | string | Uint8Array]) => Observable<Option<PezspCoreCryptoAccountId32>>, [ITuple<[PezspCoreCryptoKeyTypeId, Bytes]>]> & QueryableStorageEntry<ApiType, [ITuple<[PezspCoreCryptoKeyTypeId, Bytes]>]>;
|
||||||
/**
|
/**
|
||||||
* The next session keys for a validator.
|
* The next session keys for a validator.
|
||||||
**/
|
**/
|
||||||
nextKeys: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<AssetHubDicleRuntimeSessionKeys>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
nextKeys: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<AssetHubDicleRuntimeSessionKeys>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* True if the underlying economic identities or weighting behind the validators
|
* True if the underlying economic identities or weighting behind the validators
|
||||||
* has changed in the queued validator set.
|
* has changed in the queued validator set.
|
||||||
@@ -1389,11 +1389,11 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* The queued keys for the next session. When the next session begins, these keys
|
* The queued keys for the next session. When the next session begins, these keys
|
||||||
* will be used to determine the validator's session keys.
|
* will be used to determine the validator's session keys.
|
||||||
**/
|
**/
|
||||||
queuedKeys: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[AccountId32, AssetHubDicleRuntimeSessionKeys]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
queuedKeys: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[PezspCoreCryptoAccountId32, AssetHubDicleRuntimeSessionKeys]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* The current set of validators.
|
* The current set of validators.
|
||||||
**/
|
**/
|
||||||
validators: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
validators: AugmentedQuery<ApiType, () => Observable<Vec<PezspCoreCryptoAccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* Generic query
|
* Generic query
|
||||||
**/
|
**/
|
||||||
@@ -1404,7 +1404,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* The current bids, stored ordered by the value of the bid.
|
* The current bids, stored ordered by the value of the bid.
|
||||||
**/
|
**/
|
||||||
bids: AugmentedQuery<ApiType, () => Observable<Vec<PezpalletSocietyBid>>, []> & QueryableStorageEntry<ApiType, []>;
|
bids: AugmentedQuery<ApiType, () => Observable<Vec<PezpalletSocietyBid>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
candidates: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PezpalletSocietyCandidacy>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
candidates: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezpalletSocietyCandidacy>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* The number of challenge rounds there have been. Used to identify stale DefenderVotes.
|
* The number of challenge rounds there have been. Used to identify stale DefenderVotes.
|
||||||
**/
|
**/
|
||||||
@@ -1412,24 +1412,24 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* Votes for the defender, keyed by challenge round.
|
* Votes for the defender, keyed by challenge round.
|
||||||
**/
|
**/
|
||||||
defenderVotes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PezpalletSocietyVote>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
defenderVotes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezpalletSocietyVote>>, [u32, PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [u32, PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* The defending member currently being challenged, along with a running tally of votes.
|
* The defending member currently being challenged, along with a running tally of votes.
|
||||||
**/
|
**/
|
||||||
defending: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[AccountId32, AccountId32, PezpalletSocietyTally]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
defending: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[PezspCoreCryptoAccountId32, PezspCoreCryptoAccountId32, PezpalletSocietyTally]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* The first member.
|
* The first member.
|
||||||
**/
|
**/
|
||||||
founder: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
founder: AugmentedQuery<ApiType, () => Observable<Option<PezspCoreCryptoAccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* The most primary from the most recently approved rank 0 members in the society.
|
* The most primary from the most recently approved rank 0 members in the society.
|
||||||
**/
|
**/
|
||||||
head: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
head: AugmentedQuery<ApiType, () => Observable<Option<PezspCoreCryptoAccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* The current items in `Members` keyed by their unique index. Keys are densely populated
|
* The current items in `Members` keyed by their unique index. Keys are densely populated
|
||||||
* `0..MemberCount` (does not include `MemberCount`).
|
* `0..MemberCount` (does not include `MemberCount`).
|
||||||
**/
|
**/
|
||||||
memberByIndex: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<AccountId32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
memberByIndex: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PezspCoreCryptoAccountId32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||||
/**
|
/**
|
||||||
* The number of items in `Members` currently. (Doesn't include `SuspendedMembers`.)
|
* The number of items in `Members` currently. (Doesn't include `SuspendedMembers`.)
|
||||||
**/
|
**/
|
||||||
@@ -1437,7 +1437,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* The current members and their rank. Doesn't include `SuspendedMembers`.
|
* The current members and their rank. Doesn't include `SuspendedMembers`.
|
||||||
**/
|
**/
|
||||||
members: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PezpalletSocietyMemberRecord>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
members: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezpalletSocietyMemberRecord>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Next challenge rotation scheduled with [Config::BlockNumberProvider].
|
* Next challenge rotation scheduled with [Config::BlockNumberProvider].
|
||||||
**/
|
**/
|
||||||
@@ -1459,7 +1459,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* Information regarding rank-0 payouts, past and future.
|
* Information regarding rank-0 payouts, past and future.
|
||||||
**/
|
**/
|
||||||
payouts: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PezpalletSocietyPayoutRecord>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
payouts: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<PezpalletSocietyPayoutRecord>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Amount of our account balance that is specifically for the next round's bid(s).
|
* Amount of our account balance that is specifically for the next round's bid(s).
|
||||||
**/
|
**/
|
||||||
@@ -1476,19 +1476,19 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* The current skeptic.
|
* The current skeptic.
|
||||||
**/
|
**/
|
||||||
skeptic: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
skeptic: AugmentedQuery<ApiType, () => Observable<Option<PezspCoreCryptoAccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* The set of suspended members, with their old membership record.
|
* The set of suspended members, with their old membership record.
|
||||||
**/
|
**/
|
||||||
suspendedMembers: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PezpalletSocietyMemberRecord>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
suspendedMembers: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezpalletSocietyMemberRecord>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Clear-cursor for Vote, map from Candidate -> (Maybe) Cursor.
|
* Clear-cursor for Vote, map from Candidate -> (Maybe) Cursor.
|
||||||
**/
|
**/
|
||||||
voteClearCursor: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Bytes>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
voteClearCursor: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<Bytes>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Double map from Candidate -> Voter -> (Maybe) Vote.
|
* Double map from Candidate -> Voter -> (Maybe) Vote.
|
||||||
**/
|
**/
|
||||||
votes: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PezpalletSocietyVote>>, [AccountId32, AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32, AccountId32]>;
|
votes: AugmentedQuery<ApiType, (arg1: PezspCoreCryptoAccountId32 | string | Uint8Array, arg2: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezpalletSocietyVote>>, [PezspCoreCryptoAccountId32, PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32, PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Generic query
|
* Generic query
|
||||||
**/
|
**/
|
||||||
@@ -1507,7 +1507,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
*
|
*
|
||||||
* TWOX-NOTE: SAFE since `AccountId` is a secure hash.
|
* TWOX-NOTE: SAFE since `AccountId` is a secure hash.
|
||||||
**/
|
**/
|
||||||
bonded: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<AccountId32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
bonded: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezspCoreCryptoAccountId32>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* A mapping from still-bonded eras to the first session index of that era.
|
* A mapping from still-bonded eras to the first session index of that era.
|
||||||
*
|
*
|
||||||
@@ -1527,13 +1527,13 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* whose slashes should be cancelled, along with the maximum slash fraction that should
|
* whose slashes should be cancelled, along with the maximum slash fraction that should
|
||||||
* be cancelled for each validator.
|
* be cancelled for each validator.
|
||||||
**/
|
**/
|
||||||
cancelledSlashes: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[AccountId32, Perbill]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
cancelledSlashes: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[PezspCoreCryptoAccountId32, u32]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||||
/**
|
/**
|
||||||
* The threshold for when users can start calling `chill_other` for other validators /
|
* The threshold for when users can start calling `chill_other` for other validators /
|
||||||
* nominators. The threshold is compared to the actual number of validators / nominators
|
* nominators. The threshold is compared to the actual number of validators / nominators
|
||||||
* (`CountFor*`) in the system compared to the configured max (`Max*Count`).
|
* (`CountFor*`) in the system compared to the configured max (`Max*Count`).
|
||||||
**/
|
**/
|
||||||
chillThreshold: AugmentedQuery<ApiType, () => Observable<Option<Percent>>, []> & QueryableStorageEntry<ApiType, []>;
|
chillThreshold: AugmentedQuery<ApiType, () => Observable<Option<u8>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* History of claimed paged rewards by era and validator.
|
* History of claimed paged rewards by era and validator.
|
||||||
*
|
*
|
||||||
@@ -1542,7 +1542,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
*
|
*
|
||||||
* It is removed after [`Config::HistoryDepth`] eras.
|
* It is removed after [`Config::HistoryDepth`] eras.
|
||||||
**/
|
**/
|
||||||
claimedRewards: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Vec<u32>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
claimedRewards: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Vec<u32>>, [u32, PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [u32, PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Counter for the related counted storage map
|
* Counter for the related counted storage map
|
||||||
**/
|
**/
|
||||||
@@ -1565,7 +1565,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* A bounded list of the "electable" stashes that resulted from a successful election.
|
* A bounded list of the "electable" stashes that resulted from a successful election.
|
||||||
**/
|
**/
|
||||||
electableStashes: AugmentedQuery<ApiType, () => Observable<BTreeSet<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
electableStashes: AugmentedQuery<ApiType, () => Observable<BTreeSet<PezspCoreCryptoAccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* Tracks the current step of era pruning process for each era being lazily pruned.
|
* Tracks the current step of era pruning process for each era being lazily pruned.
|
||||||
**/
|
**/
|
||||||
@@ -1589,7 +1589,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* Is it removed after [`Config::HistoryDepth`] eras.
|
* Is it removed after [`Config::HistoryDepth`] eras.
|
||||||
* If stakers hasn't been set or has been removed then empty overview is returned.
|
* If stakers hasn't been set or has been removed then empty overview is returned.
|
||||||
**/
|
**/
|
||||||
erasStakersOverview: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PezspStakingPagedExposureMetadata>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
erasStakersOverview: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezspStakingPagedExposureMetadata>>, [u32, PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [u32, PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Paginated exposure of a validator at given era.
|
* Paginated exposure of a validator at given era.
|
||||||
*
|
*
|
||||||
@@ -1598,7 +1598,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
*
|
*
|
||||||
* This is cleared after [`Config::HistoryDepth`] eras.
|
* This is cleared after [`Config::HistoryDepth`] eras.
|
||||||
**/
|
**/
|
||||||
erasStakersPaged: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<Option<PezpalletStakingAsyncPezpalletBoundedExposurePage>>, [u32, AccountId32, u32]> & QueryableStorageEntry<ApiType, [u32, AccountId32, u32]>;
|
erasStakersPaged: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PezspCoreCryptoAccountId32 | string | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<Option<PezpalletStakingAsyncPezpalletBoundedExposurePage>>, [u32, PezspCoreCryptoAccountId32, u32]> & QueryableStorageEntry<ApiType, [u32, PezspCoreCryptoAccountId32, u32]>;
|
||||||
/**
|
/**
|
||||||
* The total amount staked for the last [`Config::HistoryDepth`] eras.
|
* The total amount staked for the last [`Config::HistoryDepth`] eras.
|
||||||
* If total hasn't been set or has been removed then 0 stake is returned.
|
* If total hasn't been set or has been removed then 0 stake is returned.
|
||||||
@@ -1611,7 +1611,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
*
|
*
|
||||||
* Is it removed after [`Config::HistoryDepth`] eras.
|
* Is it removed after [`Config::HistoryDepth`] eras.
|
||||||
**/
|
**/
|
||||||
erasValidatorPrefs: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<PezpalletStakingAsyncValidatorPrefs>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
erasValidatorPrefs: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<PezpalletStakingAsyncValidatorPrefs>, [u32, PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [u32, PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* The total validator era payout for the last [`Config::HistoryDepth`] eras.
|
* The total validator era payout for the last [`Config::HistoryDepth`] eras.
|
||||||
*
|
*
|
||||||
@@ -1627,14 +1627,14 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* easy to initialize and the performance hit is minimal (we expect no more than four
|
* easy to initialize and the performance hit is minimal (we expect no more than four
|
||||||
* invulnerables) and restricted to testnets.
|
* invulnerables) and restricted to testnets.
|
||||||
**/
|
**/
|
||||||
invulnerables: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
invulnerables: AugmentedQuery<ApiType, () => Observable<Vec<PezspCoreCryptoAccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* Map from all (unlocked) "controller" accounts to the info regarding the staking.
|
* Map from all (unlocked) "controller" accounts to the info regarding the staking.
|
||||||
*
|
*
|
||||||
* Note: All the reads and mutations to this storage *MUST* be done through the methods exposed
|
* Note: All the reads and mutations to this storage *MUST* be done through the methods exposed
|
||||||
* by [`StakingLedger`] to ensure data and lock consistency.
|
* by [`StakingLedger`] to ensure data and lock consistency.
|
||||||
**/
|
**/
|
||||||
ledger: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PezpalletStakingAsyncLedgerStakingLedger>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
ledger: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezpalletStakingAsyncLedgerStakingLedger>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* The maximum nominator count before we stop allowing new validators to join.
|
* The maximum nominator count before we stop allowing new validators to join.
|
||||||
*
|
*
|
||||||
@@ -1646,7 +1646,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* is used for stake rewards.
|
* is used for stake rewards.
|
||||||
* See [Era payout](./index.html#era-payout).
|
* See [Era payout](./index.html#era-payout).
|
||||||
**/
|
**/
|
||||||
maxStakedRewards: AugmentedQuery<ApiType, () => Observable<Option<Percent>>, []> & QueryableStorageEntry<ApiType, []>;
|
maxStakedRewards: AugmentedQuery<ApiType, () => Observable<Option<u8>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* The maximum validator count before we stop allowing new validators to join.
|
* The maximum validator count before we stop allowing new validators to join.
|
||||||
*
|
*
|
||||||
@@ -1658,7 +1658,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
*
|
*
|
||||||
* If set to `0`, no limit exists.
|
* If set to `0`, no limit exists.
|
||||||
**/
|
**/
|
||||||
minCommission: AugmentedQuery<ApiType, () => Observable<Perbill>, []> & QueryableStorageEntry<ApiType, []>;
|
minCommission: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* The minimum active nominator stake of the last successful election.
|
* The minimum active nominator stake of the last successful election.
|
||||||
**/
|
**/
|
||||||
@@ -1701,7 +1701,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
*
|
*
|
||||||
* TWOX-NOTE: SAFE since `AccountId` is a secure hash.
|
* TWOX-NOTE: SAFE since `AccountId` is a secure hash.
|
||||||
**/
|
**/
|
||||||
nominators: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PezpalletStakingAsyncNominations>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
nominators: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezpalletStakingAsyncNominations>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Stores reported offences in a queue until they are processed in subsequent blocks.
|
* Stores reported offences in a queue until they are processed in subsequent blocks.
|
||||||
*
|
*
|
||||||
@@ -1714,7 +1714,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* Any offences tied to an era older than `BondingDuration` are automatically dropped.
|
* Any offences tied to an era older than `BondingDuration` are automatically dropped.
|
||||||
* Processing always prioritizes the oldest era first.
|
* Processing always prioritizes the oldest era first.
|
||||||
**/
|
**/
|
||||||
offenceQueue: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PezpalletStakingAsyncSlashingOffenceRecord>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
offenceQueue: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezpalletStakingAsyncSlashingOffenceRecord>>, [u32, PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [u32, PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Tracks the eras that contain offences in `OffenceQueue`, sorted from **earliest to latest**.
|
* Tracks the eras that contain offences in `OffenceQueue`, sorted from **earliest to latest**.
|
||||||
*
|
*
|
||||||
@@ -1734,7 +1734,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
*
|
*
|
||||||
* TWOX-NOTE: SAFE since `AccountId` is a secure hash.
|
* TWOX-NOTE: SAFE since `AccountId` is a secure hash.
|
||||||
**/
|
**/
|
||||||
payee: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PezpalletStakingAsyncRewardDestination>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
payee: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezpalletStakingAsyncRewardDestination>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Tracks the currently processed offence record from the `OffenceQueue`.
|
* Tracks the currently processed offence record from the `OffenceQueue`.
|
||||||
*
|
*
|
||||||
@@ -1749,17 +1749,17 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* This ensures that offences are processed incrementally, preventing excessive computation
|
* This ensures that offences are processed incrementally, preventing excessive computation
|
||||||
* in a single block while maintaining correct slashing behavior.
|
* in a single block while maintaining correct slashing behavior.
|
||||||
**/
|
**/
|
||||||
processingOffence: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[u32, AccountId32, PezpalletStakingAsyncSlashingOffenceRecord]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
processingOffence: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[u32, PezspCoreCryptoAccountId32, PezpalletStakingAsyncSlashingOffenceRecord]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* The percentage of the slash that is distributed to reporters.
|
* The percentage of the slash that is distributed to reporters.
|
||||||
*
|
*
|
||||||
* The rest of the slashed value is handled by the `Slash`.
|
* The rest of the slashed value is handled by the `Slash`.
|
||||||
**/
|
**/
|
||||||
slashRewardFraction: AugmentedQuery<ApiType, () => Observable<Perbill>, []> & QueryableStorageEntry<ApiType, []>;
|
slashRewardFraction: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* All unapplied slashes that are queued for later.
|
* All unapplied slashes that are queued for later.
|
||||||
**/
|
**/
|
||||||
unappliedSlashes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: ITuple<[AccountId32, Perbill, u32]> | [AccountId32 | string | Uint8Array, Perbill | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<Option<PezpalletStakingAsyncUnappliedSlash>>, [u32, ITuple<[AccountId32, Perbill, u32]>]> & QueryableStorageEntry<ApiType, [u32, ITuple<[AccountId32, Perbill, u32]>]>;
|
unappliedSlashes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: ITuple<[PezspCoreCryptoAccountId32, u32, u32]> | string | Uint8Array) => Observable<Option<PezpalletStakingAsyncUnappliedSlash>>, [u32, ITuple<[PezspCoreCryptoAccountId32, u32, u32]>]> & QueryableStorageEntry<ApiType, [u32, ITuple<[PezspCoreCryptoAccountId32, u32, u32]>]>;
|
||||||
/**
|
/**
|
||||||
* The ideal number of active validators.
|
* The ideal number of active validators.
|
||||||
**/
|
**/
|
||||||
@@ -1769,12 +1769,12 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
*
|
*
|
||||||
* TWOX-NOTE: SAFE since `AccountId` is a secure hash.
|
* TWOX-NOTE: SAFE since `AccountId` is a secure hash.
|
||||||
**/
|
**/
|
||||||
validators: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PezpalletStakingAsyncValidatorPrefs>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
validators: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<PezpalletStakingAsyncValidatorPrefs>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* All slashing events on validators, mapped by era to the highest slash proportion
|
* All slashing events on validators, mapped by era to the highest slash proportion
|
||||||
* and slash value of the era.
|
* and slash value of the era.
|
||||||
**/
|
**/
|
||||||
validatorSlashInEra: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[Perbill, u128]>>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
validatorSlashInEra: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<ITuple<[u32, u128]>>>, [u32, PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [u32, PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Stakers whose funds are managed by other pallets.
|
* Stakers whose funds are managed by other pallets.
|
||||||
*
|
*
|
||||||
@@ -1783,7 +1783,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* directly via this pallet. Instead, these accounts are managed by other pallets and accessed
|
* directly via this pallet. Instead, these accounts are managed by other pallets and accessed
|
||||||
* via low level apis. We keep track of them to do minimal integrity checks.
|
* via low level apis. We keep track of them to do minimal integrity checks.
|
||||||
**/
|
**/
|
||||||
virtualStakers: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Null>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
virtualStakers: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<Null>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Voter snapshot progress status.
|
* Voter snapshot progress status.
|
||||||
*
|
*
|
||||||
@@ -1853,7 +1853,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* The full account information for a particular account ID.
|
* The full account information for a particular account ID.
|
||||||
**/
|
**/
|
||||||
account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PezframeSystemAccountInfo>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
account: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<PezframeSystemAccountInfo>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Total length (in bytes) for all extrinsics put together, for the current block.
|
* Total length (in bytes) for all extrinsics put together, for the current block.
|
||||||
**/
|
**/
|
||||||
@@ -2042,7 +2042,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* The items held by any given account; set out this way so that items owned by a single
|
* The items held by any given account; set out this way so that items owned by a single
|
||||||
* account can be enumerated.
|
* account can be enumerated.
|
||||||
**/
|
**/
|
||||||
account: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [AccountId32, u32, u32]> & QueryableStorageEntry<ApiType, [AccountId32, u32, u32]>;
|
account: AugmentedQuery<ApiType, (arg1: PezspCoreCryptoAccountId32 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [PezspCoreCryptoAccountId32, u32, u32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32, u32, u32]>;
|
||||||
/**
|
/**
|
||||||
* The items in existence and their ownership details.
|
* The items in existence and their ownership details.
|
||||||
**/
|
**/
|
||||||
@@ -2059,7 +2059,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* The collections owned by any given account; set out this way so that collections owned by
|
* The collections owned by any given account; set out this way so that collections owned by
|
||||||
* a single account can be enumerated.
|
* a single account can be enumerated.
|
||||||
**/
|
**/
|
||||||
classAccount: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [AccountId32, u32]> & QueryableStorageEntry<ApiType, [AccountId32, u32]>;
|
classAccount: AugmentedQuery<ApiType, (arg1: PezspCoreCryptoAccountId32 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [PezspCoreCryptoAccountId32, u32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32, u32]>;
|
||||||
/**
|
/**
|
||||||
* Metadata of a collection.
|
* Metadata of a collection.
|
||||||
**/
|
**/
|
||||||
@@ -2075,11 +2075,11 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* Price of an asset instance.
|
* Price of an asset instance.
|
||||||
**/
|
**/
|
||||||
itemPriceOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u128, Option<AccountId32>]>>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
itemPriceOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u128, Option<PezspCoreCryptoAccountId32>]>>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
||||||
/**
|
/**
|
||||||
* The collection, if any, of which an account is willing to take ownership.
|
* The collection, if any, of which an account is willing to take ownership.
|
||||||
**/
|
**/
|
||||||
ownershipAcceptance: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
ownershipAcceptance: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<u32>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Generic query
|
* Generic query
|
||||||
**/
|
**/
|
||||||
@@ -2095,7 +2095,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* Information regarding the vesting of a given account.
|
* Information regarding the vesting of a given account.
|
||||||
**/
|
**/
|
||||||
vesting: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Vec<PezpalletVestingVestingInfo>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
vesting: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<Vec<PezpalletVestingVestingInfo>>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Generic query
|
* Generic query
|
||||||
**/
|
**/
|
||||||
@@ -2117,7 +2117,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
*
|
*
|
||||||
* Nodes store links forward and back within their respective bags.
|
* Nodes store links forward and back within their respective bags.
|
||||||
**/
|
**/
|
||||||
listNodes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PezpalletBagsListListNode>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
listNodes: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezpalletBagsListListNode>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Lock all updates to this pallet.
|
* Lock all updates to this pallet.
|
||||||
*
|
*
|
||||||
@@ -2129,7 +2129,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* Pointer that remembers the next node that will be auto-rebagged.
|
* Pointer that remembers the next node that will be auto-rebagged.
|
||||||
* When `None`, the next scan will start from the list head again.
|
* When `None`, the next scan will start from the list head again.
|
||||||
**/
|
**/
|
||||||
nextNodeAutoRebagged: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
nextNodeAutoRebagged: AugmentedQuery<ApiType, () => Observable<Option<PezspCoreCryptoAccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* Generic query
|
* Generic query
|
||||||
**/
|
**/
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ import type { Extrinsic } from '@pezkuwi/types/interfaces/extrinsics';
|
|||||||
import type { OpaqueMetadata } from '@pezkuwi/types/interfaces/metadata';
|
import type { OpaqueMetadata } from '@pezkuwi/types/interfaces/metadata';
|
||||||
import type { AccountId32, H160, H256, OriginCaller, RuntimeCall, Slot, SlotDuration } from '@pezkuwi/types/interfaces/runtime';
|
import type { AccountId32, H160, H256, OriginCaller, RuntimeCall, Slot, SlotDuration } from '@pezkuwi/types/interfaces/runtime';
|
||||||
import type { ParaId } from '@pezkuwi/types/interfaces/teyrchains';
|
import type { ParaId } from '@pezkuwi/types/interfaces/teyrchains';
|
||||||
import type { AssetsCommonRuntimeApiFungiblesAccessError, PezcumulusPrimitivesCoreCollationInfo, PezframeSupportViewFunctionsViewFunctionDispatchError, PezframeSupportViewFunctionsViewFunctionId, PezpalletReviveEvmApiDebugRpcTypesTrace, PezpalletReviveEvmApiDebugRpcTypesTracerType, PezpalletReviveEvmApiRpcTypesGenGenericTransaction, PezpalletRevivePrimitivesCode, PezpalletRevivePrimitivesCodeUploadReturnValue, PezpalletRevivePrimitivesContractAccessError, PezpalletRevivePrimitivesContractResultExecReturnValue, PezpalletRevivePrimitivesContractResultInstantiateReturnValue, PezpalletRevivePrimitivesEthTransactError, PezpalletRevivePrimitivesEthTransactInfo, PezpalletTransactionPaymentFeeDetails, PezpalletTransactionPaymentRuntimeDispatchInfo, PezspConsensusAuraSr25519AppSr25519Public, PezspCoreCryptoKeyTypeId, PezspInherentsCheckInherentsResult, PezspInherentsInherentData, PezspRuntimeBlock, PezspRuntimeDispatchError, PezspRuntimeExtrinsicInclusionMode, PezspRuntimeHeader, PezspRuntimeTransactionValidityTransactionSource, PezspRuntimeTransactionValidityTransactionValidityError, PezspRuntimeTransactionValidityValidTransaction, PezspVersionRuntimeVersion, PezspWeightsWeightV2Weight, StagingXcmV5Location, XcmRuntimeApisAuthorizedAliasesError, XcmRuntimeApisAuthorizedAliasesOriginAliaser, XcmRuntimeApisConversionsError, XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError, XcmRuntimeApisDryRunXcmDryRunEffects, XcmRuntimeApisFeesError, XcmRuntimeApisTrustedQueryError, XcmVersionedAsset, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@pezkuwi/types/lookup';
|
import type { AssetsCommonRuntimeApiFungiblesAccessError, PezcumulusPrimitivesCoreCollationInfo, PezframeSupportViewFunctionsViewFunctionDispatchError, PezframeSupportViewFunctionsViewFunctionId, PezpalletReviveEvmApiDebugRpcTypesTrace, PezpalletReviveEvmApiDebugRpcTypesTracerType, PezpalletReviveEvmApiRpcTypesGenGenericTransaction, PezpalletRevivePrimitivesCode, PezpalletRevivePrimitivesCodeUploadReturnValue, PezpalletRevivePrimitivesContractAccessError, PezpalletRevivePrimitivesContractResultExecReturnValue, PezpalletRevivePrimitivesContractResultInstantiateReturnValue, PezpalletRevivePrimitivesEthTransactError, PezpalletRevivePrimitivesEthTransactInfo, PezpalletTransactionPaymentFeeDetails, PezpalletTransactionPaymentRuntimeDispatchInfo, PezspConsensusAuraSr25519AppSr25519Public, PezspCoreCryptoAccountId32, PezspCoreCryptoKeyTypeId, PezspInherentsCheckInherentsResult, PezspInherentsInherentData, PezspRuntimeBlock, PezspRuntimeDispatchError, PezspRuntimeExtrinsicInclusionMode, PezspRuntimeHeader, PezspRuntimeTransactionValidityTransactionSource, PezspRuntimeTransactionValidityTransactionValidityError, PezspRuntimeTransactionValidityValidTransaction, PezspVersionRuntimeVersion, PezspWeightsWeightV2Weight, StagingXcmV5Location, XcmRuntimeApisAuthorizedAliasesError, XcmRuntimeApisAuthorizedAliasesOriginAliaser, XcmRuntimeApisConversionsError, XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError, XcmRuntimeApisDryRunXcmDryRunEffects, XcmRuntimeApisFeesError, XcmRuntimeApisTrustedQueryError, XcmVersionedAsset, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@pezkuwi/types/lookup';
|
||||||
import type { IExtrinsic, Observable } from '@pezkuwi/types/types';
|
import type { IExtrinsic, Observable } from '@pezkuwi/types/types';
|
||||||
|
|
||||||
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
|
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
|
||||||
@@ -205,7 +205,7 @@ declare module '@pezkuwi/api-base/types/calls' {
|
|||||||
/**
|
/**
|
||||||
* Converts `Location` to `AccountId`.
|
* Converts `Location` to `AccountId`.
|
||||||
**/
|
**/
|
||||||
convertLocation: AugmentedCall<ApiType, (location: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<AccountId32, XcmRuntimeApisConversionsError>>>;
|
convertLocation: AugmentedCall<ApiType, (location: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<PezspCoreCryptoAccountId32, XcmRuntimeApisConversionsError>>>;
|
||||||
/**
|
/**
|
||||||
* Generic call
|
* Generic call
|
||||||
**/
|
**/
|
||||||
@@ -220,7 +220,7 @@ declare module '@pezkuwi/api-base/types/calls' {
|
|||||||
/**
|
/**
|
||||||
* Returns the metadata at a given version.,, If the given `version` isn't supported, this will return `None`., Use [`Self::metadata_versions`] to find out about supported metadata version of the runtime.
|
* Returns the metadata at a given version.,, If the given `version` isn't supported, this will return `None`., Use [`Self::metadata_versions`] to find out about supported metadata version of the runtime.
|
||||||
**/
|
**/
|
||||||
metadataAtVersion: AugmentedCall<ApiType, (version: u32 | AnyNumber | Uint8Array) => Observable<Option<OpaqueMetadata>>>;
|
metadataAtVersion: AugmentedCall<ApiType, (version: u32 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>>;
|
||||||
/**
|
/**
|
||||||
* Returns the supported metadata versions.,, This can be used to call `metadata_at_version`.
|
* Returns the supported metadata versions.,, This can be used to call `metadata_at_version`.
|
||||||
**/
|
**/
|
||||||
@@ -259,7 +259,7 @@ declare module '@pezkuwi/api-base/types/calls' {
|
|||||||
/**
|
/**
|
||||||
* Returns the bonded account and reward account associated with the pool_id.
|
* Returns the bonded account and reward account associated with the pool_id.
|
||||||
**/
|
**/
|
||||||
poolAccounts: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array) => Observable<ITuple<[AccountId32, AccountId32]>>>;
|
poolAccounts: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array) => Observable<ITuple<[PezspCoreCryptoAccountId32, PezspCoreCryptoAccountId32]>>>;
|
||||||
/**
|
/**
|
||||||
* Total balance contributed to the pool.
|
* Total balance contributed to the pool.
|
||||||
**/
|
**/
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -8,8 +8,7 @@ import '@pezkuwi/api-base/types/consts';
|
|||||||
import type { ApiTypes, AugmentedConst } from '@pezkuwi/api-base/types';
|
import type { ApiTypes, AugmentedConst } from '@pezkuwi/api-base/types';
|
||||||
import type { Bytes, Option, Vec, u128, u16, u32, u64, u8 } from '@pezkuwi/types-codec';
|
import type { Bytes, Option, Vec, u128, u16, u32, u64, u8 } from '@pezkuwi/types-codec';
|
||||||
import type { Codec, ITuple } from '@pezkuwi/types-codec/types';
|
import type { Codec, ITuple } from '@pezkuwi/types-codec/types';
|
||||||
import type { AccountId32, Perbill, Permill } from '@pezkuwi/types/interfaces/runtime';
|
import type { PezframeSupportPezpalletId, PezframeSystemLimitsBlockLength, PezframeSystemLimitsBlockWeights, PezpalletReferendaTrackDetails, PezspCoreCryptoAccountId32, PezspVersionRuntimeVersion, PezspWeightsRuntimeDbWeight, PezspWeightsWeightV2Weight, StagingXcmV5Junctions, StagingXcmV5Location } from '@pezkuwi/types/lookup';
|
||||||
import type { PezframeSupportPezpalletId, PezframeSystemLimitsBlockLength, PezframeSystemLimitsBlockWeights, PezpalletReferendaTrackDetails, PezspVersionRuntimeVersion, PezspWeightsRuntimeDbWeight, PezspWeightsWeightV2Weight, StagingXcmV5Junctions, StagingXcmV5Location } from '@pezkuwi/types/lookup';
|
|
||||||
|
|
||||||
export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
|
export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
|
||||||
|
|
||||||
@@ -19,7 +18,7 @@ declare module '@pezkuwi/api-base/types/consts' {
|
|||||||
/**
|
/**
|
||||||
* A fee to withdraw the liquidity.
|
* A fee to withdraw the liquidity.
|
||||||
**/
|
**/
|
||||||
liquidityWithdrawalFee: Permill & AugmentedConst<ApiType>;
|
liquidityWithdrawalFee: u32 & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
* A % the liquidity providers will take of every swap. Represents 10ths of a percent.
|
* A % the liquidity providers will take of every swap. Represents 10ths of a percent.
|
||||||
**/
|
**/
|
||||||
@@ -170,7 +169,7 @@ declare module '@pezkuwi/api-base/types/consts' {
|
|||||||
* This deposit has optional upper and lower bounds with `CuratorDepositMax` and
|
* This deposit has optional upper and lower bounds with `CuratorDepositMax` and
|
||||||
* `CuratorDepositMin`.
|
* `CuratorDepositMin`.
|
||||||
**/
|
**/
|
||||||
curatorDepositMultiplier: Permill & AugmentedConst<ApiType>;
|
curatorDepositMultiplier: u32 & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
* The amount held on deposit per byte within the tip report reason or bounty description.
|
* The amount held on deposit per byte within the tip report reason or bounty description.
|
||||||
**/
|
**/
|
||||||
@@ -228,7 +227,7 @@ declare module '@pezkuwi/api-base/types/consts' {
|
|||||||
/**
|
/**
|
||||||
* Gets this pallet's derived pot account.
|
* Gets this pallet's derived pot account.
|
||||||
**/
|
**/
|
||||||
potAccount: AccountId32 & AugmentedConst<ApiType>;
|
potAccount: PezspCoreCryptoAccountId32 & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
* Account Identifier from which the internal Pot is generated.
|
* Account Identifier from which the internal Pot is generated.
|
||||||
**/
|
**/
|
||||||
@@ -266,7 +265,7 @@ declare module '@pezkuwi/api-base/types/consts' {
|
|||||||
/**
|
/**
|
||||||
* Fraction of the slash that is rewarded to the caller of pending slash to the agent.
|
* Fraction of the slash that is rewarded to the caller of pending slash to the agent.
|
||||||
**/
|
**/
|
||||||
slashRewardFraction: Perbill & AugmentedConst<ApiType>;
|
slashRewardFraction: u32 & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
* Generic const
|
* Generic const
|
||||||
**/
|
**/
|
||||||
@@ -418,7 +417,7 @@ declare module '@pezkuwi/api-base/types/consts' {
|
|||||||
* The minimum amount of improvement to the solution score that defines a solution as
|
* The minimum amount of improvement to the solution score that defines a solution as
|
||||||
* "better".
|
* "better".
|
||||||
**/
|
**/
|
||||||
solutionImprovementThreshold: Perbill & AugmentedConst<ApiType>;
|
solutionImprovementThreshold: u32 & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
* Generic const
|
* Generic const
|
||||||
**/
|
**/
|
||||||
@@ -938,7 +937,7 @@ declare module '@pezkuwi/api-base/types/consts' {
|
|||||||
/**
|
/**
|
||||||
* Percentage of spare funds (if any) that are burnt per spend period.
|
* Percentage of spare funds (if any) that are burnt per spend period.
|
||||||
**/
|
**/
|
||||||
burn: Permill & AugmentedConst<ApiType>;
|
burn: u32 & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
* DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
|
* DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
|
||||||
* Refer to <https://github.com/paritytech/polkadot-sdk/pull/5961> for migration to `spend`.
|
* Refer to <https://github.com/paritytech/polkadot-sdk/pull/5961> for migration to `spend`.
|
||||||
@@ -959,7 +958,7 @@ declare module '@pezkuwi/api-base/types/consts' {
|
|||||||
/**
|
/**
|
||||||
* Gets this pallet's derived pot account.
|
* Gets this pallet's derived pot account.
|
||||||
**/
|
**/
|
||||||
potAccount: AccountId32 & AugmentedConst<ApiType>;
|
potAccount: PezspCoreCryptoAccountId32 & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
* Period between successive spends.
|
* Period between successive spends.
|
||||||
**/
|
**/
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -8,8 +8,8 @@ import '@pezkuwi/api-base/types/storage';
|
|||||||
import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@pezkuwi/api-base/types';
|
import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@pezkuwi/api-base/types';
|
||||||
import type { BTreeMap, BTreeSet, Bytes, Null, Option, Struct, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@pezkuwi/types-codec';
|
import type { BTreeMap, BTreeSet, Bytes, Null, Option, Struct, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@pezkuwi/types-codec';
|
||||||
import type { AnyNumber, ITuple } from '@pezkuwi/types-codec/types';
|
import type { AnyNumber, ITuple } from '@pezkuwi/types-codec/types';
|
||||||
import type { AccountId32, H256, Perbill, Percent } from '@pezkuwi/types/interfaces/runtime';
|
import type { H256 } from '@pezkuwi/types/interfaces/runtime';
|
||||||
import type { AssetHubPezkuwiRuntimeRuntimeParametersKey, AssetHubPezkuwiRuntimeRuntimeParametersValue, AssetHubPezkuwiRuntimeSessionKeys, AssetHubPezkuwiRuntimeStakingNposCompactSolution16, BpXcmBridgeHubRouterBridgeState, PezcumulusPezpalletTeyrchainSystemRelayStateSnapshotMessagingStateSnapshot, PezcumulusPezpalletTeyrchainSystemTeyrchainInherentInboundMessageId, PezcumulusPezpalletTeyrchainSystemUnincludedSegmentAncestor, PezcumulusPezpalletTeyrchainSystemUnincludedSegmentSegmentTracker, PezcumulusPezpalletXcmpQueueOutboundChannelDetails, PezcumulusPezpalletXcmpQueueQueueConfigData, PezcumulusPrimitivesCoreAggregateMessageOrigin, PezframeElectionProviderSupportBoundedSupports, PezframeSupportDispatchPerDispatchClassWeight, PezframeSupportTokensMiscIdAmountRuntimeFreezeReason, PezframeSupportTokensMiscIdAmountRuntimeHoldReason, PezframeSystemAccountInfo, PezframeSystemCodeUpgradeAuthorization, PezframeSystemEventRecord, PezframeSystemLastRuntimeUpgradeInfo, PezframeSystemPhase, PezkuwiCorePrimitivesOutboundHrmpMessage, PezkuwiPrimitivesV8AbridgedHostConfiguration, PezkuwiPrimitivesV8PersistedValidationData, PezkuwiPrimitivesV8UpgradeGoAhead, PezkuwiPrimitivesV8UpgradeRestriction, PezkuwiRuntimeCommonClaimsEthereumAddress, PezkuwiRuntimeCommonClaimsStatementKind, PezkuwiRuntimeCommonImplsVersionedLocatableAsset, PezpalletAhMigratorBalancesBefore, PezpalletAhMigratorMigrationStage, PezpalletAssetConversionPoolInfo, PezpalletAssetsApproval, PezpalletAssetsAssetAccount, PezpalletAssetsAssetDetails, PezpalletAssetsAssetMetadata, PezpalletBagsListListBag, PezpalletBagsListListNode, PezpalletBalancesAccountData, PezpalletBalancesBalanceLock, PezpalletBalancesReserveData, PezpalletBountiesBounty, PezpalletChildBountiesChildBounty, PezpalletCollatorSelectionCandidateInfo, PezpalletConvictionVotingVoteVoting, PezpalletDelegatedStakingAgentLedger, PezpalletDelegatedStakingDelegation, PezpalletElectionProviderMultiBlockPhase, PezpalletElectionProviderMultiBlockSignedSubmissionMetadata, PezpalletElectionProviderMultiBlockVerifierImplsPartialBackings, PezpalletElectionProviderMultiBlockVerifierImplsStatus, PezpalletElectionProviderMultiBlockVerifierImplsValidSolution, PezpalletMessageQueueBookState, PezpalletMessageQueuePage, PezpalletMultisigMultisig, PezpalletNftsAttributeDeposit, PezpalletNftsAttributeNamespace, PezpalletNftsCollectionConfig, PezpalletNftsCollectionDetails, PezpalletNftsCollectionMetadata, PezpalletNftsItemConfig, PezpalletNftsItemDetails, PezpalletNftsItemMetadata, PezpalletNftsPendingSwap, PezpalletNominationPoolsBondedPoolInner, PezpalletNominationPoolsClaimPermission, PezpalletNominationPoolsPoolMember, PezpalletNominationPoolsRewardPool, PezpalletNominationPoolsSubPools, PezpalletPreimageOldRequestStatus, PezpalletPreimageRequestStatus, PezpalletProxyAnnouncement, PezpalletProxyProxyDefinitionAssetHubPezkuwiRuntimeProxyType, PezpalletRcMigratorAccountsAccount, PezpalletRcMigratorQueuePriority, PezpalletReferendaReferendumInfoOriginCaller, PezpalletSchedulerRetryConfig, PezpalletSchedulerScheduled, PezpalletStakingAsyncActiveEraInfo, PezpalletStakingAsyncEraRewardPoints, PezpalletStakingAsyncForcing, PezpalletStakingAsyncLedgerStakingLedger, PezpalletStakingAsyncNominations, PezpalletStakingAsyncPezpalletBoundedExposurePage, PezpalletStakingAsyncPezpalletPruningStep, PezpalletStakingAsyncRcClientSessionReport, PezpalletStakingAsyncRcClientValidatorSetReport, PezpalletStakingAsyncRewardDestination, PezpalletStakingAsyncSlashingOffenceRecord, PezpalletStakingAsyncSnapshotStatus, PezpalletStakingAsyncUnappliedSlash, PezpalletStakingAsyncValidatorPrefs, PezpalletStateTrieMigrationMigrationLimits, PezpalletStateTrieMigrationMigrationTask, PezpalletTransactionPaymentReleases, PezpalletTreasuryProposal, PezpalletTreasurySpendStatus, PezpalletUniquesCollectionDetails, PezpalletUniquesCollectionMetadata, PezpalletUniquesItemDetails, PezpalletUniquesItemMetadata, PezpalletVestingReleases, PezpalletVestingVestingInfo, PezpalletXcmAuthorizedAliasesEntry, PezpalletXcmQueryStatus, PezpalletXcmRemoteLockedFungibleRecord, PezpalletXcmVersionMigrationStage, PezspConsensusAuraEd25519AppEd25519Public, PezspCoreCryptoKeyTypeId, PezspNposElectionsElectionScore, PezspRuntimeDigest, PezspStakingPagedExposureMetadata, PezspTrieStorageProof, PezspWeightsWeightV2Weight, SnowbridgeCoreOperatingModeBasicOperatingMode, StagingXcmV5Instruction, StagingXcmV5Location, XcmVersionedAssetId, XcmVersionedLocation } from '@pezkuwi/types/lookup';
|
import type { AssetHubPezkuwiRuntimeRuntimeParametersKey, AssetHubPezkuwiRuntimeRuntimeParametersValue, AssetHubPezkuwiRuntimeSessionKeys, AssetHubPezkuwiRuntimeStakingNposCompactSolution16, BpXcmBridgeHubRouterBridgeState, PezcumulusPezpalletTeyrchainSystemRelayStateSnapshotMessagingStateSnapshot, PezcumulusPezpalletTeyrchainSystemTeyrchainInherentInboundMessageId, PezcumulusPezpalletTeyrchainSystemUnincludedSegmentAncestor, PezcumulusPezpalletTeyrchainSystemUnincludedSegmentSegmentTracker, PezcumulusPezpalletXcmpQueueOutboundChannelDetails, PezcumulusPezpalletXcmpQueueQueueConfigData, PezcumulusPrimitivesCoreAggregateMessageOrigin, PezframeElectionProviderSupportBoundedSupports, PezframeSupportDispatchPerDispatchClassWeight, PezframeSupportTokensMiscIdAmountRuntimeFreezeReason, PezframeSupportTokensMiscIdAmountRuntimeHoldReason, PezframeSystemAccountInfo, PezframeSystemCodeUpgradeAuthorization, PezframeSystemEventRecord, PezframeSystemLastRuntimeUpgradeInfo, PezframeSystemPhase, PezkuwiCorePrimitivesOutboundHrmpMessage, PezkuwiPrimitivesV8AbridgedHostConfiguration, PezkuwiPrimitivesV8PersistedValidationData, PezkuwiPrimitivesV8UpgradeGoAhead, PezkuwiPrimitivesV8UpgradeRestriction, PezkuwiRuntimeCommonClaimsEthereumAddress, PezkuwiRuntimeCommonClaimsStatementKind, PezkuwiRuntimeCommonImplsVersionedLocatableAsset, PezpalletAhMigratorBalancesBefore, PezpalletAhMigratorMigrationStage, PezpalletAssetConversionPoolInfo, PezpalletAssetsApproval, PezpalletAssetsAssetAccount, PezpalletAssetsAssetDetails, PezpalletAssetsAssetMetadata, PezpalletBagsListListBag, PezpalletBagsListListNode, PezpalletBalancesAccountData, PezpalletBalancesBalanceLock, PezpalletBalancesReserveData, PezpalletBountiesBounty, PezpalletChildBountiesChildBounty, PezpalletCollatorSelectionCandidateInfo, PezpalletConvictionVotingVoteVoting, PezpalletDelegatedStakingAgentLedger, PezpalletDelegatedStakingDelegation, PezpalletElectionProviderMultiBlockPhase, PezpalletElectionProviderMultiBlockSignedSubmissionMetadata, PezpalletElectionProviderMultiBlockVerifierImplsPartialBackings, PezpalletElectionProviderMultiBlockVerifierImplsStatus, PezpalletElectionProviderMultiBlockVerifierImplsValidSolution, PezpalletMessageQueueBookState, PezpalletMessageQueuePage, PezpalletMultisigMultisig, PezpalletNftsAttributeDeposit, PezpalletNftsAttributeNamespace, PezpalletNftsCollectionConfig, PezpalletNftsCollectionDetails, PezpalletNftsCollectionMetadata, PezpalletNftsItemConfig, PezpalletNftsItemDetails, PezpalletNftsItemMetadata, PezpalletNftsPendingSwap, PezpalletNominationPoolsBondedPoolInner, PezpalletNominationPoolsClaimPermission, PezpalletNominationPoolsPoolMember, PezpalletNominationPoolsRewardPool, PezpalletNominationPoolsSubPools, PezpalletPreimageOldRequestStatus, PezpalletPreimageRequestStatus, PezpalletProxyAnnouncement, PezpalletProxyProxyDefinitionAssetHubPezkuwiRuntimeProxyType, PezpalletRcMigratorAccountsAccount, PezpalletRcMigratorQueuePriority, PezpalletReferendaReferendumInfoOriginCaller, PezpalletSchedulerRetryConfig, PezpalletSchedulerScheduled, PezpalletStakingAsyncActiveEraInfo, PezpalletStakingAsyncEraRewardPoints, PezpalletStakingAsyncForcing, PezpalletStakingAsyncLedgerStakingLedger, PezpalletStakingAsyncNominations, PezpalletStakingAsyncPezpalletBoundedExposurePage, PezpalletStakingAsyncPezpalletPruningStep, PezpalletStakingAsyncRcClientSessionReport, PezpalletStakingAsyncRcClientValidatorSetReport, PezpalletStakingAsyncRewardDestination, PezpalletStakingAsyncSlashingOffenceRecord, PezpalletStakingAsyncSnapshotStatus, PezpalletStakingAsyncUnappliedSlash, PezpalletStakingAsyncValidatorPrefs, PezpalletStateTrieMigrationMigrationLimits, PezpalletStateTrieMigrationMigrationTask, PezpalletTransactionPaymentReleases, PezpalletTreasuryProposal, PezpalletTreasurySpendStatus, PezpalletUniquesCollectionDetails, PezpalletUniquesCollectionMetadata, PezpalletUniquesItemDetails, PezpalletUniquesItemMetadata, PezpalletVestingReleases, PezpalletVestingVestingInfo, PezpalletXcmAuthorizedAliasesEntry, PezpalletXcmQueryStatus, PezpalletXcmRemoteLockedFungibleRecord, PezpalletXcmVersionMigrationStage, PezspConsensusAuraEd25519AppEd25519Public, PezspCoreCryptoAccountId32, PezspCoreCryptoKeyTypeId, PezspNposElectionsElectionScore, PezspRuntimeDigest, PezspStakingPagedExposureMetadata, PezspTrieStorageProof, PezspWeightsWeightV2Weight, SnowbridgeCoreOperatingModeBasicOperatingMode, StagingXcmV5Instruction, StagingXcmV5Location, XcmVersionedAssetId, XcmVersionedLocation } from '@pezkuwi/types/lookup';
|
||||||
import type { Observable } from '@pezkuwi/types/types';
|
import type { Observable } from '@pezkuwi/types/types';
|
||||||
|
|
||||||
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
|
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
|
||||||
@@ -43,7 +43,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* This account id has similar privileges to [`Config::AdminOrigin`] except that it
|
* This account id has similar privileges to [`Config::AdminOrigin`] except that it
|
||||||
* can not set the manager account id via `set_manager` call.
|
* can not set the manager account id via `set_manager` call.
|
||||||
**/
|
**/
|
||||||
manager: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
manager: AugmentedQuery<ApiType, () => Observable<Option<PezspCoreCryptoAccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* Block number when migration finished and extrinsics were unlocked.
|
* Block number when migration finished and extrinsics were unlocked.
|
||||||
*
|
*
|
||||||
@@ -63,7 +63,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
*
|
*
|
||||||
* This is unlikely to happen, since we dry run the migration, but we keep it for completeness.
|
* This is unlikely to happen, since we dry run the migration, but we keep it for completeness.
|
||||||
**/
|
**/
|
||||||
rcAccounts: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PezpalletRcMigratorAccountsAccount>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
rcAccounts: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezpalletRcMigratorAccountsAccount>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Generic query
|
* Generic query
|
||||||
**/
|
**/
|
||||||
@@ -84,7 +84,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* The value is (fund_pot, balance). The contribution pot is the second key in the
|
* The value is (fund_pot, balance). The contribution pot is the second key in the
|
||||||
* `RcCrowdloanContribution` storage.
|
* `RcCrowdloanContribution` storage.
|
||||||
**/
|
**/
|
||||||
rcCrowdloanContribution: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[AccountId32, u128]>>>, [u32, u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, u32, AccountId32]>;
|
rcCrowdloanContribution: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<ITuple<[PezspCoreCryptoAccountId32, u128]>>>, [u32, u32, PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [u32, u32, PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* The reserve that was taken to create a crowdloan.
|
* The reserve that was taken to create a crowdloan.
|
||||||
*
|
*
|
||||||
@@ -96,7 +96,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* - The para_id of the crowdloan
|
* - The para_id of the crowdloan
|
||||||
* - The account that will have the balance unreserved
|
* - The account that will have the balance unreserved
|
||||||
**/
|
**/
|
||||||
rcCrowdloanReserve: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: AccountId32 | string | Uint8Array) => Observable<Option<u128>>, [u32, u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, u32, AccountId32]>;
|
rcCrowdloanReserve: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<u128>>, [u32, u32, PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [u32, u32, PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Amount of balance that was reserved for winning a lease auction.
|
* Amount of balance that was reserved for winning a lease auction.
|
||||||
*
|
*
|
||||||
@@ -113,7 +113,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* - The account that will have the balance unreserved.
|
* - The account that will have the balance unreserved.
|
||||||
* - The balance to be unreserved.
|
* - The balance to be unreserved.
|
||||||
**/
|
**/
|
||||||
rcLeaseReserve: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: AccountId32 | string | Uint8Array) => Observable<Option<u128>>, [u32, u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, u32, AccountId32]>;
|
rcLeaseReserve: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<u128>>, [u32, u32, PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [u32, u32, PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Generic query
|
* Generic query
|
||||||
**/
|
**/
|
||||||
@@ -151,13 +151,13 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* The holdings of a specific account for a specific asset.
|
* The holdings of a specific account for a specific asset.
|
||||||
**/
|
**/
|
||||||
account: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PezpalletAssetsAssetAccount>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
account: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezpalletAssetsAssetAccount>>, [u32, PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [u32, PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Approved balance transfers. First balance is the amount approved for transfer. Second
|
* Approved balance transfers. First balance is the amount approved for transfer. Second
|
||||||
* is the amount of `T::Currency` reserved for storing this.
|
* is the amount of `T::Currency` reserved for storing this.
|
||||||
* First key is the asset ID, second key is the owner and third key is the delegate.
|
* First key is the asset ID, second key is the owner and third key is the delegate.
|
||||||
**/
|
**/
|
||||||
approvals: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array, arg3: AccountId32 | string | Uint8Array) => Observable<Option<PezpalletAssetsApproval>>, [u32, AccountId32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32, AccountId32]>;
|
approvals: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PezspCoreCryptoAccountId32 | string | Uint8Array, arg3: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezpalletAssetsApproval>>, [u32, PezspCoreCryptoAccountId32, PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [u32, PezspCoreCryptoAccountId32, PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Details of an asset.
|
* Details of an asset.
|
||||||
**/
|
**/
|
||||||
@@ -230,7 +230,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* Author of current block.
|
* Author of current block.
|
||||||
**/
|
**/
|
||||||
author: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
author: AugmentedQuery<ApiType, () => Observable<Option<PezspCoreCryptoAccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* Generic query
|
* Generic query
|
||||||
**/
|
**/
|
||||||
@@ -263,15 +263,15 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* `Balances` pallet, which uses a `StorageMap` to store balances data only.
|
* `Balances` pallet, which uses a `StorageMap` to store balances data only.
|
||||||
* NOTE: This is only used in the case that this pallet is used to store balances.
|
* NOTE: This is only used in the case that this pallet is used to store balances.
|
||||||
**/
|
**/
|
||||||
account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PezpalletBalancesAccountData>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
account: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<PezpalletBalancesAccountData>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Freeze locks on account balances.
|
* Freeze locks on account balances.
|
||||||
**/
|
**/
|
||||||
freezes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PezframeSupportTokensMiscIdAmountRuntimeFreezeReason>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
freezes: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Vec<PezframeSupportTokensMiscIdAmountRuntimeFreezeReason>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Holds on account balances.
|
* Holds on account balances.
|
||||||
**/
|
**/
|
||||||
holds: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PezframeSupportTokensMiscIdAmountRuntimeHoldReason>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
holds: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Vec<PezframeSupportTokensMiscIdAmountRuntimeHoldReason>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* The total units of outstanding deactivated balance in the system.
|
* The total units of outstanding deactivated balance in the system.
|
||||||
**/
|
**/
|
||||||
@@ -282,13 +282,13 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
*
|
*
|
||||||
* Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
|
* Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
|
||||||
**/
|
**/
|
||||||
locks: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PezpalletBalancesBalanceLock>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
locks: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Vec<PezpalletBalancesBalanceLock>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Named reserves on some account balances.
|
* Named reserves on some account balances.
|
||||||
*
|
*
|
||||||
* Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
|
* Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
|
||||||
**/
|
**/
|
||||||
reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PezpalletBalancesReserveData>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
reserves: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Vec<PezpalletBalancesReserveData>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* The total units issued in the system.
|
* The total units issued in the system.
|
||||||
**/
|
**/
|
||||||
@@ -367,7 +367,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* Pre-claimed Ethereum accounts, by the Account ID that they are claimed to.
|
* Pre-claimed Ethereum accounts, by the Account ID that they are claimed to.
|
||||||
**/
|
**/
|
||||||
preclaims: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PezkuwiRuntimeCommonClaimsEthereumAddress>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
preclaims: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezkuwiRuntimeCommonClaimsEthereumAddress>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* The statement kind that must be signed, if any.
|
* The statement kind that must be signed, if any.
|
||||||
**/
|
**/
|
||||||
@@ -409,11 +409,11 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* The invulnerable, permissioned collators. This list must be sorted.
|
* The invulnerable, permissioned collators. This list must be sorted.
|
||||||
**/
|
**/
|
||||||
invulnerables: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
invulnerables: AugmentedQuery<ApiType, () => Observable<Vec<PezspCoreCryptoAccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* Last block authored by collator.
|
* Last block authored by collator.
|
||||||
**/
|
**/
|
||||||
lastAuthoredBlock: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u32>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
lastAuthoredBlock: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<u32>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Generic query
|
* Generic query
|
||||||
**/
|
**/
|
||||||
@@ -425,12 +425,12 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* require. The actual amount locked on behalf of this pallet should always be the maximum of
|
* require. The actual amount locked on behalf of this pallet should always be the maximum of
|
||||||
* this list.
|
* this list.
|
||||||
**/
|
**/
|
||||||
classLocksFor: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<ITuple<[u16, u128]>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
classLocksFor: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Vec<ITuple<[u16, u128]>>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* All voting for a particular voter in a particular voting class. We store the balance for the
|
* All voting for a particular voter in a particular voting class. We store the balance for the
|
||||||
* number of votes that we have recorded.
|
* number of votes that we have recorded.
|
||||||
**/
|
**/
|
||||||
votingFor: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u16 | AnyNumber | Uint8Array) => Observable<PezpalletConvictionVotingVoteVoting>, [AccountId32, u16]> & QueryableStorageEntry<ApiType, [AccountId32, u16]>;
|
votingFor: AugmentedQuery<ApiType, (arg1: PezspCoreCryptoAccountId32 | string | Uint8Array, arg2: u16 | AnyNumber | Uint8Array) => Observable<PezpalletConvictionVotingVoteVoting>, [PezspCoreCryptoAccountId32, u16]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32, u16]>;
|
||||||
/**
|
/**
|
||||||
* Generic query
|
* Generic query
|
||||||
**/
|
**/
|
||||||
@@ -440,7 +440,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* Map of `Agent` to their `Ledger`.
|
* Map of `Agent` to their `Ledger`.
|
||||||
**/
|
**/
|
||||||
agents: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PezpalletDelegatedStakingAgentLedger>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
agents: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezpalletDelegatedStakingAgentLedger>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Counter for the related counted storage map
|
* Counter for the related counted storage map
|
||||||
**/
|
**/
|
||||||
@@ -455,7 +455,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* Implementation note: We are not using a double map with `delegator` and `agent` account
|
* Implementation note: We are not using a double map with `delegator` and `agent` account
|
||||||
* as keys since we want to restrict delegators to delegate only to one account at a time.
|
* as keys since we want to restrict delegators to delegate only to one account at a time.
|
||||||
**/
|
**/
|
||||||
delegators: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PezpalletDelegatedStakingDelegation>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
delegators: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezpalletDelegatedStakingDelegation>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Generic query
|
* Generic query
|
||||||
**/
|
**/
|
||||||
@@ -465,13 +465,13 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* The holdings of a specific account for a specific asset.
|
* The holdings of a specific account for a specific asset.
|
||||||
**/
|
**/
|
||||||
account: AugmentedQuery<ApiType, (arg1: StagingXcmV5Location | { parents?: any; interior?: any } | string | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PezpalletAssetsAssetAccount>>, [StagingXcmV5Location, AccountId32]> & QueryableStorageEntry<ApiType, [StagingXcmV5Location, AccountId32]>;
|
account: AugmentedQuery<ApiType, (arg1: StagingXcmV5Location | { parents?: any; interior?: any } | string | Uint8Array, arg2: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezpalletAssetsAssetAccount>>, [StagingXcmV5Location, PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [StagingXcmV5Location, PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Approved balance transfers. First balance is the amount approved for transfer. Second
|
* Approved balance transfers. First balance is the amount approved for transfer. Second
|
||||||
* is the amount of `T::Currency` reserved for storing this.
|
* is the amount of `T::Currency` reserved for storing this.
|
||||||
* First key is the asset ID, second key is the owner and third key is the delegate.
|
* First key is the asset ID, second key is the owner and third key is the delegate.
|
||||||
**/
|
**/
|
||||||
approvals: AugmentedQuery<ApiType, (arg1: StagingXcmV5Location | { parents?: any; interior?: any } | string | Uint8Array, arg2: AccountId32 | string | Uint8Array, arg3: AccountId32 | string | Uint8Array) => Observable<Option<PezpalletAssetsApproval>>, [StagingXcmV5Location, AccountId32, AccountId32]> & QueryableStorageEntry<ApiType, [StagingXcmV5Location, AccountId32, AccountId32]>;
|
approvals: AugmentedQuery<ApiType, (arg1: StagingXcmV5Location | { parents?: any; interior?: any } | string | Uint8Array, arg2: PezspCoreCryptoAccountId32 | string | Uint8Array, arg3: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezpalletAssetsApproval>>, [StagingXcmV5Location, PezspCoreCryptoAccountId32, PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [StagingXcmV5Location, PezspCoreCryptoAccountId32, PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Details of an asset.
|
* Details of an asset.
|
||||||
**/
|
**/
|
||||||
@@ -507,7 +507,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* The lookup from index to account.
|
* The lookup from index to account.
|
||||||
**/
|
**/
|
||||||
accounts: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[AccountId32, u128, bool]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
accounts: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[PezspCoreCryptoAccountId32, u128, bool]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||||
/**
|
/**
|
||||||
* Generic query
|
* Generic query
|
||||||
**/
|
**/
|
||||||
@@ -545,7 +545,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
*
|
*
|
||||||
* For the time being, since we assume one pages of targets, at most ONE key will exist.
|
* For the time being, since we assume one pages of targets, at most ONE key will exist.
|
||||||
**/
|
**/
|
||||||
pagedTargetSnapshot: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<Vec<AccountId32>>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
pagedTargetSnapshot: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<Vec<PezspCoreCryptoAccountId32>>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
||||||
/**
|
/**
|
||||||
* Same as [`PagedTargetSnapshot`], but it will store the hash of the snapshot.
|
* Same as [`PagedTargetSnapshot`], but it will store the hash of the snapshot.
|
||||||
*
|
*
|
||||||
@@ -555,7 +555,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* Paginated voter snapshot. At most [`T::Pages`] keys will exist.
|
* Paginated voter snapshot. At most [`T::Pages`] keys will exist.
|
||||||
**/
|
**/
|
||||||
pagedVoterSnapshot: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<Vec<ITuple<[AccountId32, u64, Vec<AccountId32>]>>>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
pagedVoterSnapshot: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<Vec<ITuple<[PezspCoreCryptoAccountId32, u64, Vec<PezspCoreCryptoAccountId32>]>>>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
||||||
/**
|
/**
|
||||||
* Same as [`PagedVoterSnapshot`], but it will store the hash of the snapshot.
|
* Same as [`PagedVoterSnapshot`], but it will store the hash of the snapshot.
|
||||||
*
|
*
|
||||||
@@ -588,19 +588,19 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* back.
|
* back.
|
||||||
* * They always get their tx-fee back even if they are _discarded_.
|
* * They always get their tx-fee back even if they are _discarded_.
|
||||||
**/
|
**/
|
||||||
invulnerables: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
invulnerables: AugmentedQuery<ApiType, () => Observable<Vec<PezspCoreCryptoAccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
sortedScores: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[AccountId32, PezspNposElectionsElectionScore]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
sortedScores: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[PezspCoreCryptoAccountId32, PezspNposElectionsElectionScore]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||||
/**
|
/**
|
||||||
* Map from account to the metadata of their submission.
|
* Map from account to the metadata of their submission.
|
||||||
*
|
*
|
||||||
* invariant: for any Key1 of type `AccountId` in [`Submissions`], this storage map also has a
|
* invariant: for any Key1 of type `AccountId` in [`Submissions`], this storage map also has a
|
||||||
* value.
|
* value.
|
||||||
**/
|
**/
|
||||||
submissionMetadataStorage: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PezpalletElectionProviderMultiBlockSignedSubmissionMetadata>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
submissionMetadataStorage: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezpalletElectionProviderMultiBlockSignedSubmissionMetadata>>, [u32, PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [u32, PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Triple map from (round, account, page) to a solution page.
|
* Triple map from (round, account, page) to a solution page.
|
||||||
**/
|
**/
|
||||||
submissionStorage: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<Option<AssetHubPezkuwiRuntimeStakingNposCompactSolution16>>, [u32, AccountId32, u32]> & QueryableStorageEntry<ApiType, [u32, AccountId32, u32]>;
|
submissionStorage: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PezspCoreCryptoAccountId32 | string | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<Option<AssetHubPezkuwiRuntimeStakingNposCompactSolution16>>, [u32, PezspCoreCryptoAccountId32, u32]> & QueryableStorageEntry<ApiType, [u32, PezspCoreCryptoAccountId32, u32]>;
|
||||||
/**
|
/**
|
||||||
* Generic query
|
* Generic query
|
||||||
**/
|
**/
|
||||||
@@ -621,7 +621,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* need this information anymore; the score is already computed once in
|
* need this information anymore; the score is already computed once in
|
||||||
* [`QueuedSolutionScore`], and the backing counts are checked.
|
* [`QueuedSolutionScore`], and the backing counts are checked.
|
||||||
**/
|
**/
|
||||||
queuedSolutionBackings: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<Vec<ITuple<[AccountId32, PezpalletElectionProviderMultiBlockVerifierImplsPartialBackings]>>>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
queuedSolutionBackings: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<Vec<ITuple<[PezspCoreCryptoAccountId32, PezpalletElectionProviderMultiBlockVerifierImplsPartialBackings]>>>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
||||||
/**
|
/**
|
||||||
* The score of the valid variant of [`QueuedSolution`].
|
* The score of the valid variant of [`QueuedSolution`].
|
||||||
*
|
*
|
||||||
@@ -660,7 +660,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* The set of open multisig operations.
|
* The set of open multisig operations.
|
||||||
**/
|
**/
|
||||||
multisigs: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: U8aFixed | string | Uint8Array) => Observable<Option<PezpalletMultisigMultisig>>, [AccountId32, U8aFixed]> & QueryableStorageEntry<ApiType, [AccountId32, U8aFixed]>;
|
multisigs: AugmentedQuery<ApiType, (arg1: PezspCoreCryptoAccountId32 | string | Uint8Array, arg2: U8aFixed | string | Uint8Array) => Observable<Option<PezpalletMultisigMultisig>>, [PezspCoreCryptoAccountId32, U8aFixed]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32, U8aFixed]>;
|
||||||
/**
|
/**
|
||||||
* Generic query
|
* Generic query
|
||||||
**/
|
**/
|
||||||
@@ -671,7 +671,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* The items held by any given account; set out this way so that items owned by a single
|
* The items held by any given account; set out this way so that items owned by a single
|
||||||
* account can be enumerated.
|
* account can be enumerated.
|
||||||
**/
|
**/
|
||||||
account: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [AccountId32, u32, u32]> & QueryableStorageEntry<ApiType, [AccountId32, u32, u32]>;
|
account: AugmentedQuery<ApiType, (arg1: PezspCoreCryptoAccountId32 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [PezspCoreCryptoAccountId32, u32, u32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32, u32, u32]>;
|
||||||
/**
|
/**
|
||||||
* Attributes of a collection.
|
* Attributes of a collection.
|
||||||
**/
|
**/
|
||||||
@@ -684,7 +684,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* The collections owned by any given account; set out this way so that collections owned by
|
* The collections owned by any given account; set out this way so that collections owned by
|
||||||
* a single account can be enumerated.
|
* a single account can be enumerated.
|
||||||
**/
|
**/
|
||||||
collectionAccount: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [AccountId32, u32]> & QueryableStorageEntry<ApiType, [AccountId32, u32]>;
|
collectionAccount: AugmentedQuery<ApiType, (arg1: PezspCoreCryptoAccountId32 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [PezspCoreCryptoAccountId32, u32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32, u32]>;
|
||||||
/**
|
/**
|
||||||
* Config of a collection.
|
* Config of a collection.
|
||||||
**/
|
**/
|
||||||
@@ -697,7 +697,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* The items in existence and their ownership details.
|
* The items in existence and their ownership details.
|
||||||
* Stores collection roles as per account.
|
* Stores collection roles as per account.
|
||||||
**/
|
**/
|
||||||
collectionRoleOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u8>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
collectionRoleOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<u8>>, [u32, PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [u32, PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* The items in existence and their ownership details.
|
* The items in existence and their ownership details.
|
||||||
**/
|
**/
|
||||||
@@ -705,7 +705,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* Item attribute approvals.
|
* Item attribute approvals.
|
||||||
**/
|
**/
|
||||||
itemAttributesApprovalsOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<BTreeSet<AccountId32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
itemAttributesApprovalsOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<BTreeSet<PezspCoreCryptoAccountId32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
||||||
/**
|
/**
|
||||||
* Config of an item.
|
* Config of an item.
|
||||||
**/
|
**/
|
||||||
@@ -717,7 +717,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* A price of an item.
|
* A price of an item.
|
||||||
**/
|
**/
|
||||||
itemPriceOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u128, Option<AccountId32>]>>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
itemPriceOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u128, Option<PezspCoreCryptoAccountId32>]>>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
||||||
/**
|
/**
|
||||||
* Stores the `CollectionId` that is going to be used for the next collection.
|
* Stores the `CollectionId` that is going to be used for the next collection.
|
||||||
* This gets incremented whenever a new collection is created.
|
* This gets incremented whenever a new collection is created.
|
||||||
@@ -726,7 +726,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* The collection, if any, of which an account is willing to take ownership.
|
* The collection, if any, of which an account is willing to take ownership.
|
||||||
**/
|
**/
|
||||||
ownershipAcceptance: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
ownershipAcceptance: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<u32>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Handles all the pending swaps.
|
* Handles all the pending swaps.
|
||||||
**/
|
**/
|
||||||
@@ -744,7 +744,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* Map from a pool member account to their opted claim permission.
|
* Map from a pool member account to their opted claim permission.
|
||||||
**/
|
**/
|
||||||
claimPermissions: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PezpalletNominationPoolsClaimPermission>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
claimPermissions: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<PezpalletNominationPoolsClaimPermission>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Counter for the related counted storage map
|
* Counter for the related counted storage map
|
||||||
**/
|
**/
|
||||||
@@ -774,7 +774,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* pool commissions that are > `GlobalMaxCommission`, necessary if a future
|
* pool commissions that are > `GlobalMaxCommission`, necessary if a future
|
||||||
* `GlobalMaxCommission` is lower than some current pool commissions.
|
* `GlobalMaxCommission` is lower than some current pool commissions.
|
||||||
**/
|
**/
|
||||||
globalMaxCommission: AugmentedQuery<ApiType, () => Observable<Option<Perbill>>, []> & QueryableStorageEntry<ApiType, []>;
|
globalMaxCommission: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* Ever increasing number of all pools created so far.
|
* Ever increasing number of all pools created so far.
|
||||||
**/
|
**/
|
||||||
@@ -817,14 +817,14 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
*
|
*
|
||||||
* TWOX-NOTE: SAFE since `AccountId` is a secure hash.
|
* TWOX-NOTE: SAFE since `AccountId` is a secure hash.
|
||||||
**/
|
**/
|
||||||
poolMembers: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PezpalletNominationPoolsPoolMember>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
poolMembers: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezpalletNominationPoolsPoolMember>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* A reverse lookup from the pool's account id to its id.
|
* A reverse lookup from the pool's account id to its id.
|
||||||
*
|
*
|
||||||
* This is only used for slashing and on automatic withdraw update. In all other instances, the
|
* This is only used for slashing and on automatic withdraw update. In all other instances, the
|
||||||
* pool id is used, and the accounts are deterministically derived from it.
|
* pool id is used, and the accounts are deterministically derived from it.
|
||||||
**/
|
**/
|
||||||
reversePoolIdLookup: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
reversePoolIdLookup: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<u32>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Reward pools. This is where there rewards for each pool accumulate. When a members payout is
|
* Reward pools. This is where there rewards for each pool accumulate. When a members payout is
|
||||||
* claimed, the balance comes out of the reward pool. Keyed by the bonded pools account.
|
* claimed, the balance comes out of the reward pool. Keyed by the bonded pools account.
|
||||||
@@ -1063,7 +1063,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* Fungible assets which we know are locked on this chain.
|
* Fungible assets which we know are locked on this chain.
|
||||||
**/
|
**/
|
||||||
lockedFungibles: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Vec<ITuple<[u128, XcmVersionedLocation]>>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
lockedFungibles: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<Vec<ITuple<[u128, XcmVersionedLocation]>>>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* The ongoing queries.
|
* The ongoing queries.
|
||||||
**/
|
**/
|
||||||
@@ -1084,7 +1084,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* Fungible assets which we know are locked on a remote chain.
|
* Fungible assets which we know are locked on a remote chain.
|
||||||
**/
|
**/
|
||||||
remoteLockedFungibles: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array, arg3: XcmVersionedAssetId | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Option<PezpalletXcmRemoteLockedFungibleRecord>>, [u32, AccountId32, XcmVersionedAssetId]> & QueryableStorageEntry<ApiType, [u32, AccountId32, XcmVersionedAssetId]>;
|
remoteLockedFungibles: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PezspCoreCryptoAccountId32 | string | Uint8Array, arg3: XcmVersionedAssetId | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Option<PezpalletXcmRemoteLockedFungibleRecord>>, [u32, PezspCoreCryptoAccountId32, XcmVersionedAssetId]> & QueryableStorageEntry<ApiType, [u32, PezspCoreCryptoAccountId32, XcmVersionedAssetId]>;
|
||||||
/**
|
/**
|
||||||
* Default version to encode XCM when latest version of destination is unknown. If `None`,
|
* Default version to encode XCM when latest version of destination is unknown. If `None`,
|
||||||
* then the destinations whose XCM version is unknown are considered unreachable.
|
* then the destinations whose XCM version is unknown are considered unreachable.
|
||||||
@@ -1132,13 +1132,13 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* The holdings of a specific account for a specific asset.
|
* The holdings of a specific account for a specific asset.
|
||||||
**/
|
**/
|
||||||
account: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PezpalletAssetsAssetAccount>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
account: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezpalletAssetsAssetAccount>>, [u32, PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [u32, PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Approved balance transfers. First balance is the amount approved for transfer. Second
|
* Approved balance transfers. First balance is the amount approved for transfer. Second
|
||||||
* is the amount of `T::Currency` reserved for storing this.
|
* is the amount of `T::Currency` reserved for storing this.
|
||||||
* First key is the asset ID, second key is the owner and third key is the delegate.
|
* First key is the asset ID, second key is the owner and third key is the delegate.
|
||||||
**/
|
**/
|
||||||
approvals: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array, arg3: AccountId32 | string | Uint8Array) => Observable<Option<PezpalletAssetsApproval>>, [u32, AccountId32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32, AccountId32]>;
|
approvals: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PezspCoreCryptoAccountId32 | string | Uint8Array, arg3: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezpalletAssetsApproval>>, [u32, PezspCoreCryptoAccountId32, PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [u32, PezspCoreCryptoAccountId32, PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Details of an asset.
|
* Details of an asset.
|
||||||
**/
|
**/
|
||||||
@@ -1183,12 +1183,12 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* The announcements made by the proxy (key).
|
* The announcements made by the proxy (key).
|
||||||
**/
|
**/
|
||||||
announcements: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PezpalletProxyAnnouncement>, u128]>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
announcements: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PezpalletProxyAnnouncement>, u128]>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* The set of account proxies. Maps the account which has delegated to the accounts
|
* The set of account proxies. Maps the account which has delegated to the accounts
|
||||||
* which are being delegated to, together with the amount held on deposit.
|
* which are being delegated to, together with the amount held on deposit.
|
||||||
**/
|
**/
|
||||||
proxies: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PezpalletProxyProxyDefinitionAssetHubPezkuwiRuntimeProxyType>, u128]>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
proxies: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PezpalletProxyProxyDefinitionAssetHubPezkuwiRuntimeProxyType>, u128]>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Generic query
|
* Generic query
|
||||||
**/
|
**/
|
||||||
@@ -1265,15 +1265,15 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* disabled using binary search. It gets cleared when `on_session_ending` returns
|
* disabled using binary search. It gets cleared when `on_session_ending` returns
|
||||||
* a new set of identities.
|
* a new set of identities.
|
||||||
**/
|
**/
|
||||||
disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, Perbill]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* The owner of a key. The key is the `KeyTypeId` + the encoded key.
|
* The owner of a key. The key is the `KeyTypeId` + the encoded key.
|
||||||
**/
|
**/
|
||||||
keyOwner: AugmentedQuery<ApiType, (arg: ITuple<[PezspCoreCryptoKeyTypeId, Bytes]> | [PezspCoreCryptoKeyTypeId | string | Uint8Array, Bytes | string | Uint8Array]) => Observable<Option<AccountId32>>, [ITuple<[PezspCoreCryptoKeyTypeId, Bytes]>]> & QueryableStorageEntry<ApiType, [ITuple<[PezspCoreCryptoKeyTypeId, Bytes]>]>;
|
keyOwner: AugmentedQuery<ApiType, (arg: ITuple<[PezspCoreCryptoKeyTypeId, Bytes]> | [PezspCoreCryptoKeyTypeId | string | Uint8Array, Bytes | string | Uint8Array]) => Observable<Option<PezspCoreCryptoAccountId32>>, [ITuple<[PezspCoreCryptoKeyTypeId, Bytes]>]> & QueryableStorageEntry<ApiType, [ITuple<[PezspCoreCryptoKeyTypeId, Bytes]>]>;
|
||||||
/**
|
/**
|
||||||
* The next session keys for a validator.
|
* The next session keys for a validator.
|
||||||
**/
|
**/
|
||||||
nextKeys: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<AssetHubPezkuwiRuntimeSessionKeys>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
nextKeys: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<AssetHubPezkuwiRuntimeSessionKeys>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* True if the underlying economic identities or weighting behind the validators
|
* True if the underlying economic identities or weighting behind the validators
|
||||||
* has changed in the queued validator set.
|
* has changed in the queued validator set.
|
||||||
@@ -1283,11 +1283,11 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* The queued keys for the next session. When the next session begins, these keys
|
* The queued keys for the next session. When the next session begins, these keys
|
||||||
* will be used to determine the validator's session keys.
|
* will be used to determine the validator's session keys.
|
||||||
**/
|
**/
|
||||||
queuedKeys: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[AccountId32, AssetHubPezkuwiRuntimeSessionKeys]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
queuedKeys: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[PezspCoreCryptoAccountId32, AssetHubPezkuwiRuntimeSessionKeys]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* The current set of validators.
|
* The current set of validators.
|
||||||
**/
|
**/
|
||||||
validators: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
validators: AugmentedQuery<ApiType, () => Observable<Vec<PezspCoreCryptoAccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* Generic query
|
* Generic query
|
||||||
**/
|
**/
|
||||||
@@ -1316,7 +1316,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
*
|
*
|
||||||
* TWOX-NOTE: SAFE since `AccountId` is a secure hash.
|
* TWOX-NOTE: SAFE since `AccountId` is a secure hash.
|
||||||
**/
|
**/
|
||||||
bonded: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<AccountId32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
bonded: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezspCoreCryptoAccountId32>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* A mapping from still-bonded eras to the first session index of that era.
|
* A mapping from still-bonded eras to the first session index of that era.
|
||||||
*
|
*
|
||||||
@@ -1336,13 +1336,13 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* whose slashes should be cancelled, along with the maximum slash fraction that should
|
* whose slashes should be cancelled, along with the maximum slash fraction that should
|
||||||
* be cancelled for each validator.
|
* be cancelled for each validator.
|
||||||
**/
|
**/
|
||||||
cancelledSlashes: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[AccountId32, Perbill]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
cancelledSlashes: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[PezspCoreCryptoAccountId32, u32]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||||
/**
|
/**
|
||||||
* The threshold for when users can start calling `chill_other` for other validators /
|
* The threshold for when users can start calling `chill_other` for other validators /
|
||||||
* nominators. The threshold is compared to the actual number of validators / nominators
|
* nominators. The threshold is compared to the actual number of validators / nominators
|
||||||
* (`CountFor*`) in the system compared to the configured max (`Max*Count`).
|
* (`CountFor*`) in the system compared to the configured max (`Max*Count`).
|
||||||
**/
|
**/
|
||||||
chillThreshold: AugmentedQuery<ApiType, () => Observable<Option<Percent>>, []> & QueryableStorageEntry<ApiType, []>;
|
chillThreshold: AugmentedQuery<ApiType, () => Observable<Option<u8>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* History of claimed paged rewards by era and validator.
|
* History of claimed paged rewards by era and validator.
|
||||||
*
|
*
|
||||||
@@ -1351,7 +1351,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
*
|
*
|
||||||
* It is removed after [`Config::HistoryDepth`] eras.
|
* It is removed after [`Config::HistoryDepth`] eras.
|
||||||
**/
|
**/
|
||||||
claimedRewards: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Vec<u32>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
claimedRewards: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Vec<u32>>, [u32, PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [u32, PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Counter for the related counted storage map
|
* Counter for the related counted storage map
|
||||||
**/
|
**/
|
||||||
@@ -1374,7 +1374,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* A bounded list of the "electable" stashes that resulted from a successful election.
|
* A bounded list of the "electable" stashes that resulted from a successful election.
|
||||||
**/
|
**/
|
||||||
electableStashes: AugmentedQuery<ApiType, () => Observable<BTreeSet<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
electableStashes: AugmentedQuery<ApiType, () => Observable<BTreeSet<PezspCoreCryptoAccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* Tracks the current step of era pruning process for each era being lazily pruned.
|
* Tracks the current step of era pruning process for each era being lazily pruned.
|
||||||
**/
|
**/
|
||||||
@@ -1398,7 +1398,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* Is it removed after [`Config::HistoryDepth`] eras.
|
* Is it removed after [`Config::HistoryDepth`] eras.
|
||||||
* If stakers hasn't been set or has been removed then empty overview is returned.
|
* If stakers hasn't been set or has been removed then empty overview is returned.
|
||||||
**/
|
**/
|
||||||
erasStakersOverview: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PezspStakingPagedExposureMetadata>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
erasStakersOverview: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezspStakingPagedExposureMetadata>>, [u32, PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [u32, PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Paginated exposure of a validator at given era.
|
* Paginated exposure of a validator at given era.
|
||||||
*
|
*
|
||||||
@@ -1407,7 +1407,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
*
|
*
|
||||||
* This is cleared after [`Config::HistoryDepth`] eras.
|
* This is cleared after [`Config::HistoryDepth`] eras.
|
||||||
**/
|
**/
|
||||||
erasStakersPaged: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<Option<PezpalletStakingAsyncPezpalletBoundedExposurePage>>, [u32, AccountId32, u32]> & QueryableStorageEntry<ApiType, [u32, AccountId32, u32]>;
|
erasStakersPaged: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PezspCoreCryptoAccountId32 | string | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<Option<PezpalletStakingAsyncPezpalletBoundedExposurePage>>, [u32, PezspCoreCryptoAccountId32, u32]> & QueryableStorageEntry<ApiType, [u32, PezspCoreCryptoAccountId32, u32]>;
|
||||||
/**
|
/**
|
||||||
* The total amount staked for the last [`Config::HistoryDepth`] eras.
|
* The total amount staked for the last [`Config::HistoryDepth`] eras.
|
||||||
* If total hasn't been set or has been removed then 0 stake is returned.
|
* If total hasn't been set or has been removed then 0 stake is returned.
|
||||||
@@ -1420,7 +1420,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
*
|
*
|
||||||
* Is it removed after [`Config::HistoryDepth`] eras.
|
* Is it removed after [`Config::HistoryDepth`] eras.
|
||||||
**/
|
**/
|
||||||
erasValidatorPrefs: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<PezpalletStakingAsyncValidatorPrefs>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
erasValidatorPrefs: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<PezpalletStakingAsyncValidatorPrefs>, [u32, PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [u32, PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* The total validator era payout for the last [`Config::HistoryDepth`] eras.
|
* The total validator era payout for the last [`Config::HistoryDepth`] eras.
|
||||||
*
|
*
|
||||||
@@ -1436,14 +1436,14 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* easy to initialize and the performance hit is minimal (we expect no more than four
|
* easy to initialize and the performance hit is minimal (we expect no more than four
|
||||||
* invulnerables) and restricted to testnets.
|
* invulnerables) and restricted to testnets.
|
||||||
**/
|
**/
|
||||||
invulnerables: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
invulnerables: AugmentedQuery<ApiType, () => Observable<Vec<PezspCoreCryptoAccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* Map from all (unlocked) "controller" accounts to the info regarding the staking.
|
* Map from all (unlocked) "controller" accounts to the info regarding the staking.
|
||||||
*
|
*
|
||||||
* Note: All the reads and mutations to this storage *MUST* be done through the methods exposed
|
* Note: All the reads and mutations to this storage *MUST* be done through the methods exposed
|
||||||
* by [`StakingLedger`] to ensure data and lock consistency.
|
* by [`StakingLedger`] to ensure data and lock consistency.
|
||||||
**/
|
**/
|
||||||
ledger: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PezpalletStakingAsyncLedgerStakingLedger>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
ledger: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezpalletStakingAsyncLedgerStakingLedger>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* The maximum nominator count before we stop allowing new validators to join.
|
* The maximum nominator count before we stop allowing new validators to join.
|
||||||
*
|
*
|
||||||
@@ -1455,7 +1455,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* is used for stake rewards.
|
* is used for stake rewards.
|
||||||
* See [Era payout](./index.html#era-payout).
|
* See [Era payout](./index.html#era-payout).
|
||||||
**/
|
**/
|
||||||
maxStakedRewards: AugmentedQuery<ApiType, () => Observable<Option<Percent>>, []> & QueryableStorageEntry<ApiType, []>;
|
maxStakedRewards: AugmentedQuery<ApiType, () => Observable<Option<u8>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* The maximum validator count before we stop allowing new validators to join.
|
* The maximum validator count before we stop allowing new validators to join.
|
||||||
*
|
*
|
||||||
@@ -1467,7 +1467,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
*
|
*
|
||||||
* If set to `0`, no limit exists.
|
* If set to `0`, no limit exists.
|
||||||
**/
|
**/
|
||||||
minCommission: AugmentedQuery<ApiType, () => Observable<Perbill>, []> & QueryableStorageEntry<ApiType, []>;
|
minCommission: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* The minimum active nominator stake of the last successful election.
|
* The minimum active nominator stake of the last successful election.
|
||||||
**/
|
**/
|
||||||
@@ -1510,7 +1510,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
*
|
*
|
||||||
* TWOX-NOTE: SAFE since `AccountId` is a secure hash.
|
* TWOX-NOTE: SAFE since `AccountId` is a secure hash.
|
||||||
**/
|
**/
|
||||||
nominators: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PezpalletStakingAsyncNominations>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
nominators: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezpalletStakingAsyncNominations>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Stores reported offences in a queue until they are processed in subsequent blocks.
|
* Stores reported offences in a queue until they are processed in subsequent blocks.
|
||||||
*
|
*
|
||||||
@@ -1523,7 +1523,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* Any offences tied to an era older than `BondingDuration` are automatically dropped.
|
* Any offences tied to an era older than `BondingDuration` are automatically dropped.
|
||||||
* Processing always prioritizes the oldest era first.
|
* Processing always prioritizes the oldest era first.
|
||||||
**/
|
**/
|
||||||
offenceQueue: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PezpalletStakingAsyncSlashingOffenceRecord>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
offenceQueue: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezpalletStakingAsyncSlashingOffenceRecord>>, [u32, PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [u32, PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Tracks the eras that contain offences in `OffenceQueue`, sorted from **earliest to latest**.
|
* Tracks the eras that contain offences in `OffenceQueue`, sorted from **earliest to latest**.
|
||||||
*
|
*
|
||||||
@@ -1543,7 +1543,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
*
|
*
|
||||||
* TWOX-NOTE: SAFE since `AccountId` is a secure hash.
|
* TWOX-NOTE: SAFE since `AccountId` is a secure hash.
|
||||||
**/
|
**/
|
||||||
payee: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PezpalletStakingAsyncRewardDestination>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
payee: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezpalletStakingAsyncRewardDestination>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Tracks the currently processed offence record from the `OffenceQueue`.
|
* Tracks the currently processed offence record from the `OffenceQueue`.
|
||||||
*
|
*
|
||||||
@@ -1558,17 +1558,17 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* This ensures that offences are processed incrementally, preventing excessive computation
|
* This ensures that offences are processed incrementally, preventing excessive computation
|
||||||
* in a single block while maintaining correct slashing behavior.
|
* in a single block while maintaining correct slashing behavior.
|
||||||
**/
|
**/
|
||||||
processingOffence: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[u32, AccountId32, PezpalletStakingAsyncSlashingOffenceRecord]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
processingOffence: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[u32, PezspCoreCryptoAccountId32, PezpalletStakingAsyncSlashingOffenceRecord]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* The percentage of the slash that is distributed to reporters.
|
* The percentage of the slash that is distributed to reporters.
|
||||||
*
|
*
|
||||||
* The rest of the slashed value is handled by the `Slash`.
|
* The rest of the slashed value is handled by the `Slash`.
|
||||||
**/
|
**/
|
||||||
slashRewardFraction: AugmentedQuery<ApiType, () => Observable<Perbill>, []> & QueryableStorageEntry<ApiType, []>;
|
slashRewardFraction: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* All unapplied slashes that are queued for later.
|
* All unapplied slashes that are queued for later.
|
||||||
**/
|
**/
|
||||||
unappliedSlashes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: ITuple<[AccountId32, Perbill, u32]> | [AccountId32 | string | Uint8Array, Perbill | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<Option<PezpalletStakingAsyncUnappliedSlash>>, [u32, ITuple<[AccountId32, Perbill, u32]>]> & QueryableStorageEntry<ApiType, [u32, ITuple<[AccountId32, Perbill, u32]>]>;
|
unappliedSlashes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: ITuple<[PezspCoreCryptoAccountId32, u32, u32]> | string | Uint8Array) => Observable<Option<PezpalletStakingAsyncUnappliedSlash>>, [u32, ITuple<[PezspCoreCryptoAccountId32, u32, u32]>]> & QueryableStorageEntry<ApiType, [u32, ITuple<[PezspCoreCryptoAccountId32, u32, u32]>]>;
|
||||||
/**
|
/**
|
||||||
* The ideal number of active validators.
|
* The ideal number of active validators.
|
||||||
**/
|
**/
|
||||||
@@ -1578,12 +1578,12 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
*
|
*
|
||||||
* TWOX-NOTE: SAFE since `AccountId` is a secure hash.
|
* TWOX-NOTE: SAFE since `AccountId` is a secure hash.
|
||||||
**/
|
**/
|
||||||
validators: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PezpalletStakingAsyncValidatorPrefs>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
validators: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<PezpalletStakingAsyncValidatorPrefs>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* All slashing events on validators, mapped by era to the highest slash proportion
|
* All slashing events on validators, mapped by era to the highest slash proportion
|
||||||
* and slash value of the era.
|
* and slash value of the era.
|
||||||
**/
|
**/
|
||||||
validatorSlashInEra: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[Perbill, u128]>>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
validatorSlashInEra: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<ITuple<[u32, u128]>>>, [u32, PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [u32, PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Stakers whose funds are managed by other pallets.
|
* Stakers whose funds are managed by other pallets.
|
||||||
*
|
*
|
||||||
@@ -1592,7 +1592,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* directly via this pallet. Instead, these accounts are managed by other pallets and accessed
|
* directly via this pallet. Instead, these accounts are managed by other pallets and accessed
|
||||||
* via low level apis. We keep track of them to do minimal integrity checks.
|
* via low level apis. We keep track of them to do minimal integrity checks.
|
||||||
**/
|
**/
|
||||||
virtualStakers: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Null>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
virtualStakers: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<Null>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Voter snapshot progress status.
|
* Voter snapshot progress status.
|
||||||
*
|
*
|
||||||
@@ -1662,7 +1662,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* The full account information for a particular account ID.
|
* The full account information for a particular account ID.
|
||||||
**/
|
**/
|
||||||
account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PezframeSystemAccountInfo>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
account: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<PezframeSystemAccountInfo>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Total length (in bytes) for all extrinsics put together, for the current block.
|
* Total length (in bytes) for all extrinsics put together, for the current block.
|
||||||
**/
|
**/
|
||||||
@@ -1851,7 +1851,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* The items held by any given account; set out this way so that items owned by a single
|
* The items held by any given account; set out this way so that items owned by a single
|
||||||
* account can be enumerated.
|
* account can be enumerated.
|
||||||
**/
|
**/
|
||||||
account: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [AccountId32, u32, u32]> & QueryableStorageEntry<ApiType, [AccountId32, u32, u32]>;
|
account: AugmentedQuery<ApiType, (arg1: PezspCoreCryptoAccountId32 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [PezspCoreCryptoAccountId32, u32, u32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32, u32, u32]>;
|
||||||
/**
|
/**
|
||||||
* The items in existence and their ownership details.
|
* The items in existence and their ownership details.
|
||||||
**/
|
**/
|
||||||
@@ -1868,7 +1868,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* The collections owned by any given account; set out this way so that collections owned by
|
* The collections owned by any given account; set out this way so that collections owned by
|
||||||
* a single account can be enumerated.
|
* a single account can be enumerated.
|
||||||
**/
|
**/
|
||||||
classAccount: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [AccountId32, u32]> & QueryableStorageEntry<ApiType, [AccountId32, u32]>;
|
classAccount: AugmentedQuery<ApiType, (arg1: PezspCoreCryptoAccountId32 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [PezspCoreCryptoAccountId32, u32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32, u32]>;
|
||||||
/**
|
/**
|
||||||
* Metadata of a collection.
|
* Metadata of a collection.
|
||||||
**/
|
**/
|
||||||
@@ -1884,11 +1884,11 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* Price of an asset instance.
|
* Price of an asset instance.
|
||||||
**/
|
**/
|
||||||
itemPriceOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u128, Option<AccountId32>]>>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
itemPriceOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u128, Option<PezspCoreCryptoAccountId32>]>>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
||||||
/**
|
/**
|
||||||
* The collection, if any, of which an account is willing to take ownership.
|
* The collection, if any, of which an account is willing to take ownership.
|
||||||
**/
|
**/
|
||||||
ownershipAcceptance: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
ownershipAcceptance: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<u32>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Generic query
|
* Generic query
|
||||||
**/
|
**/
|
||||||
@@ -1904,7 +1904,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* Information regarding the vesting of a given account.
|
* Information regarding the vesting of a given account.
|
||||||
**/
|
**/
|
||||||
vesting: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Vec<PezpalletVestingVestingInfo>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
vesting: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<Vec<PezpalletVestingVestingInfo>>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Generic query
|
* Generic query
|
||||||
**/
|
**/
|
||||||
@@ -1926,7 +1926,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
*
|
*
|
||||||
* Nodes store links forward and back within their respective bags.
|
* Nodes store links forward and back within their respective bags.
|
||||||
**/
|
**/
|
||||||
listNodes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PezpalletBagsListListNode>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
listNodes: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezpalletBagsListListNode>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Lock all updates to this pallet.
|
* Lock all updates to this pallet.
|
||||||
*
|
*
|
||||||
@@ -1938,7 +1938,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* Pointer that remembers the next node that will be auto-rebagged.
|
* Pointer that remembers the next node that will be auto-rebagged.
|
||||||
* When `None`, the next scan will start from the list head again.
|
* When `None`, the next scan will start from the list head again.
|
||||||
**/
|
**/
|
||||||
nextNodeAutoRebagged: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
nextNodeAutoRebagged: AugmentedQuery<ApiType, () => Observable<Option<PezspCoreCryptoAccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* Generic query
|
* Generic query
|
||||||
**/
|
**/
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ import type { Extrinsic } from '@pezkuwi/types/interfaces/extrinsics';
|
|||||||
import type { OpaqueMetadata } from '@pezkuwi/types/interfaces/metadata';
|
import type { OpaqueMetadata } from '@pezkuwi/types/interfaces/metadata';
|
||||||
import type { AccountId32, H256, RuntimeCall, Slot, SlotDuration } from '@pezkuwi/types/interfaces/runtime';
|
import type { AccountId32, H256, RuntimeCall, Slot, SlotDuration } from '@pezkuwi/types/interfaces/runtime';
|
||||||
import type { ParaId } from '@pezkuwi/types/interfaces/teyrchains';
|
import type { ParaId } from '@pezkuwi/types/interfaces/teyrchains';
|
||||||
import type { AssetHubPezkuwiRuntimeOriginCaller, AssetsCommonRuntimeApiFungiblesAccessError, PezcumulusPrimitivesCoreCollationInfo, PezframeSupportViewFunctionsViewFunctionDispatchError, PezframeSupportViewFunctionsViewFunctionId, PezpalletTransactionPaymentFeeDetails, PezpalletTransactionPaymentRuntimeDispatchInfo, PezspConsensusAuraEd25519AppEd25519Public, PezspCoreCryptoKeyTypeId, PezspInherentsCheckInherentsResult, PezspInherentsInherentData, PezspRuntimeBlock, PezspRuntimeDispatchError, PezspRuntimeExtrinsicInclusionMode, PezspRuntimeHeader, PezspRuntimeTransactionValidityTransactionSource, PezspRuntimeTransactionValidityTransactionValidityError, PezspRuntimeTransactionValidityValidTransaction, PezspVersionRuntimeVersion, PezspWeightsWeightV2Weight, StagingXcmV5Location, XcmRuntimeApisAuthorizedAliasesError, XcmRuntimeApisAuthorizedAliasesOriginAliaser, XcmRuntimeApisConversionsError, XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError, XcmRuntimeApisDryRunXcmDryRunEffects, XcmRuntimeApisFeesError, XcmRuntimeApisTrustedQueryError, XcmVersionedAsset, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@pezkuwi/types/lookup';
|
import type { AssetHubPezkuwiRuntimeOriginCaller, AssetsCommonRuntimeApiFungiblesAccessError, PezcumulusPrimitivesCoreCollationInfo, PezframeSupportViewFunctionsViewFunctionDispatchError, PezframeSupportViewFunctionsViewFunctionId, PezpalletTransactionPaymentFeeDetails, PezpalletTransactionPaymentRuntimeDispatchInfo, PezspConsensusAuraEd25519AppEd25519Public, PezspCoreCryptoAccountId32, PezspCoreCryptoKeyTypeId, PezspInherentsCheckInherentsResult, PezspInherentsInherentData, PezspRuntimeBlock, PezspRuntimeDispatchError, PezspRuntimeExtrinsicInclusionMode, PezspRuntimeHeader, PezspRuntimeTransactionValidityTransactionSource, PezspRuntimeTransactionValidityTransactionValidityError, PezspRuntimeTransactionValidityValidTransaction, PezspVersionRuntimeVersion, PezspWeightsWeightV2Weight, StagingXcmV5Location, XcmRuntimeApisAuthorizedAliasesError, XcmRuntimeApisAuthorizedAliasesOriginAliaser, XcmRuntimeApisConversionsError, XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError, XcmRuntimeApisDryRunXcmDryRunEffects, XcmRuntimeApisFeesError, XcmRuntimeApisTrustedQueryError, XcmVersionedAsset, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@pezkuwi/types/lookup';
|
||||||
import type { IExtrinsic, Observable } from '@pezkuwi/types/types';
|
import type { IExtrinsic, Observable } from '@pezkuwi/types/types';
|
||||||
|
|
||||||
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
|
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
|
||||||
@@ -205,7 +205,7 @@ declare module '@pezkuwi/api-base/types/calls' {
|
|||||||
/**
|
/**
|
||||||
* Converts `Location` to `AccountId`.
|
* Converts `Location` to `AccountId`.
|
||||||
**/
|
**/
|
||||||
convertLocation: AugmentedCall<ApiType, (location: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<AccountId32, XcmRuntimeApisConversionsError>>>;
|
convertLocation: AugmentedCall<ApiType, (location: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<PezspCoreCryptoAccountId32, XcmRuntimeApisConversionsError>>>;
|
||||||
/**
|
/**
|
||||||
* Generic call
|
* Generic call
|
||||||
**/
|
**/
|
||||||
@@ -220,7 +220,7 @@ declare module '@pezkuwi/api-base/types/calls' {
|
|||||||
/**
|
/**
|
||||||
* Returns the metadata at a given version.,, If the given `version` isn't supported, this will return `None`., Use [`Self::metadata_versions`] to find out about supported metadata version of the runtime.
|
* Returns the metadata at a given version.,, If the given `version` isn't supported, this will return `None`., Use [`Self::metadata_versions`] to find out about supported metadata version of the runtime.
|
||||||
**/
|
**/
|
||||||
metadataAtVersion: AugmentedCall<ApiType, (version: u32 | AnyNumber | Uint8Array) => Observable<Option<OpaqueMetadata>>>;
|
metadataAtVersion: AugmentedCall<ApiType, (version: u32 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>>;
|
||||||
/**
|
/**
|
||||||
* Returns the supported metadata versions.,, This can be used to call `metadata_at_version`.
|
* Returns the supported metadata versions.,, This can be used to call `metadata_at_version`.
|
||||||
**/
|
**/
|
||||||
@@ -259,7 +259,7 @@ declare module '@pezkuwi/api-base/types/calls' {
|
|||||||
/**
|
/**
|
||||||
* Returns the bonded account and reward account associated with the pool_id.
|
* Returns the bonded account and reward account associated with the pool_id.
|
||||||
**/
|
**/
|
||||||
poolAccounts: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array) => Observable<ITuple<[AccountId32, AccountId32]>>>;
|
poolAccounts: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array) => Observable<ITuple<[PezspCoreCryptoAccountId32, PezspCoreCryptoAccountId32]>>>;
|
||||||
/**
|
/**
|
||||||
* Total balance contributed to the pool.
|
* Total balance contributed to the pool.
|
||||||
**/
|
**/
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -8,8 +8,7 @@ import '@pezkuwi/api-base/types/consts';
|
|||||||
import type { ApiTypes, AugmentedConst } from '@pezkuwi/api-base/types';
|
import type { ApiTypes, AugmentedConst } from '@pezkuwi/api-base/types';
|
||||||
import type { Bytes, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@pezkuwi/types-codec';
|
import type { Bytes, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@pezkuwi/types-codec';
|
||||||
import type { Codec, ITuple } from '@pezkuwi/types-codec/types';
|
import type { Codec, ITuple } from '@pezkuwi/types-codec/types';
|
||||||
import type { AccountId32, Perbill, Percent, Permill, Perquintill } from '@pezkuwi/types/interfaces/runtime';
|
import type { PezframeSupportPezpalletId, PezframeSupportTokensFungibleUnionOfNativeOrWithId, PezframeSystemLimitsBlockLength, PezframeSystemLimitsBlockWeights, PezpalletContractsEnvironment, PezpalletContractsSchedule, PezpalletReferendaTrackDetails, PezspCoreCryptoAccountId32, PezspVersionRuntimeVersion, PezspWeightsRuntimeDbWeight, PezspWeightsWeightV2Weight } from '@pezkuwi/types/lookup';
|
||||||
import type { PezframeSupportPezpalletId, PezframeSupportTokensFungibleUnionOfNativeOrWithId, PezframeSystemLimitsBlockLength, PezframeSystemLimitsBlockWeights, PezpalletContractsEnvironment, PezpalletContractsSchedule, PezpalletReferendaTrackDetails, PezspVersionRuntimeVersion, PezspWeightsRuntimeDbWeight, PezspWeightsWeightV2Weight } from '@pezkuwi/types/lookup';
|
|
||||||
|
|
||||||
export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
|
export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
|
||||||
|
|
||||||
@@ -55,7 +54,7 @@ declare module '@pezkuwi/api-base/types/consts' {
|
|||||||
/**
|
/**
|
||||||
* A fee to withdraw the liquidity.
|
* A fee to withdraw the liquidity.
|
||||||
**/
|
**/
|
||||||
liquidityWithdrawalFee: Permill & AugmentedConst<ApiType>;
|
liquidityWithdrawalFee: u32 & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
* A % the liquidity providers will take of every swap. Represents 10ths of a percent.
|
* A % the liquidity providers will take of every swap. Represents 10ths of a percent.
|
||||||
**/
|
**/
|
||||||
@@ -256,7 +255,7 @@ declare module '@pezkuwi/api-base/types/consts' {
|
|||||||
* This deposit has optional upper and lower bounds with `CuratorDepositMax` and
|
* This deposit has optional upper and lower bounds with `CuratorDepositMax` and
|
||||||
* `CuratorDepositMin`.
|
* `CuratorDepositMin`.
|
||||||
**/
|
**/
|
||||||
curatorDepositMultiplier: Permill & AugmentedConst<ApiType>;
|
curatorDepositMultiplier: u32 & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
* The amount held on deposit per byte within the tip report reason or bounty description.
|
* The amount held on deposit per byte within the tip report reason or bounty description.
|
||||||
**/
|
**/
|
||||||
@@ -331,7 +330,7 @@ declare module '@pezkuwi/api-base/types/consts' {
|
|||||||
* protects the code from being removed. In order to prevent abuse these actions are
|
* protects the code from being removed. In order to prevent abuse these actions are
|
||||||
* protected with a percentage of the code deposit.
|
* protected with a percentage of the code deposit.
|
||||||
**/
|
**/
|
||||||
codeHashLockupDepositPercent: Perbill & AugmentedConst<ApiType>;
|
codeHashLockupDepositPercent: u32 & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
* Fallback value to limit the storage deposit if it's not being set by the caller.
|
* Fallback value to limit the storage deposit if it's not being set by the caller.
|
||||||
**/
|
**/
|
||||||
@@ -460,7 +459,7 @@ declare module '@pezkuwi/api-base/types/consts' {
|
|||||||
/**
|
/**
|
||||||
* Fraction of the slash that is rewarded to the caller of pending slash to the agent.
|
* Fraction of the slash that is rewarded to the caller of pending slash to the agent.
|
||||||
**/
|
**/
|
||||||
slashRewardFraction: Perbill & AugmentedConst<ApiType>;
|
slashRewardFraction: u32 & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
* Generic const
|
* Generic const
|
||||||
**/
|
**/
|
||||||
@@ -537,7 +536,7 @@ declare module '@pezkuwi/api-base/types/consts' {
|
|||||||
* The minimum amount of improvement to the solution score that defines a solution as
|
* The minimum amount of improvement to the solution score that defines a solution as
|
||||||
* "better" in the Signed phase.
|
* "better" in the Signed phase.
|
||||||
**/
|
**/
|
||||||
betterSignedThreshold: Perbill & AugmentedConst<ApiType>;
|
betterSignedThreshold: u32 & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
* The maximum number of winners that can be elected by this `ElectionProvider`
|
* The maximum number of winners that can be elected by this `ElectionProvider`
|
||||||
* implementation.
|
* implementation.
|
||||||
@@ -1059,7 +1058,7 @@ declare module '@pezkuwi/api-base/types/consts' {
|
|||||||
* The minimum amount of funds which may intentionally be left remaining under a single
|
* The minimum amount of funds which may intentionally be left remaining under a single
|
||||||
* receipt.
|
* receipt.
|
||||||
**/
|
**/
|
||||||
minReceipt: Perquintill & AugmentedConst<ApiType>;
|
minReceipt: u64 & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
* The treasury's pallet id, used for deriving its sovereign account ID.
|
* The treasury's pallet id, used for deriving its sovereign account ID.
|
||||||
**/
|
**/
|
||||||
@@ -1072,7 +1071,7 @@ declare module '@pezkuwi/api-base/types/consts' {
|
|||||||
/**
|
/**
|
||||||
* The maximum proportion which may be thawed and the period over which it is reset.
|
* The maximum proportion which may be thawed and the period over which it is reset.
|
||||||
**/
|
**/
|
||||||
thawThrottle: ITuple<[Perquintill, u32]> & AugmentedConst<ApiType>;
|
thawThrottle: ITuple<[u64, u32]> & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
* Generic const
|
* Generic const
|
||||||
**/
|
**/
|
||||||
@@ -1303,7 +1302,7 @@ declare module '@pezkuwi/api-base/types/consts' {
|
|||||||
* Instantiating a contract, protects the code from being removed. In order to prevent
|
* Instantiating a contract, protects the code from being removed. In order to prevent
|
||||||
* abuse these actions are protected with a percentage of the code deposit.
|
* abuse these actions are protected with a percentage of the code deposit.
|
||||||
**/
|
**/
|
||||||
codeHashLockupDepositPercent: Perbill & AugmentedConst<ApiType>;
|
codeHashLockupDepositPercent: u32 & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
* The amount of balance a caller has to pay for each byte of storage.
|
* The amount of balance a caller has to pay for each byte of storage.
|
||||||
*
|
*
|
||||||
@@ -1681,7 +1680,7 @@ declare module '@pezkuwi/api-base/types/consts' {
|
|||||||
/**
|
/**
|
||||||
* The percent of the final tip which goes to the original reporter of the tip.
|
* The percent of the final tip which goes to the original reporter of the tip.
|
||||||
**/
|
**/
|
||||||
tipFindersFee: Percent & AugmentedConst<ApiType>;
|
tipFindersFee: u8 & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
* The non-zero amount held on deposit for placing a tip report.
|
* The non-zero amount held on deposit for placing a tip report.
|
||||||
**/
|
**/
|
||||||
@@ -1725,7 +1724,7 @@ declare module '@pezkuwi/api-base/types/consts' {
|
|||||||
/**
|
/**
|
||||||
* Percentage of spare funds (if any) that are burnt per spend period.
|
* Percentage of spare funds (if any) that are burnt per spend period.
|
||||||
**/
|
**/
|
||||||
burn: Permill & AugmentedConst<ApiType>;
|
burn: u32 & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
* DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
|
* DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
|
||||||
* Refer to <https://github.com/paritytech/polkadot-sdk/pull/5961> for migration to `spend`.
|
* Refer to <https://github.com/paritytech/polkadot-sdk/pull/5961> for migration to `spend`.
|
||||||
@@ -1746,7 +1745,7 @@ declare module '@pezkuwi/api-base/types/consts' {
|
|||||||
/**
|
/**
|
||||||
* Gets this pallet's derived pot account.
|
* Gets this pallet's derived pot account.
|
||||||
**/
|
**/
|
||||||
potAccount: AccountId32 & AugmentedConst<ApiType>;
|
potAccount: PezspCoreCryptoAccountId32 & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
* Period between successive spends.
|
* Period between successive spends.
|
||||||
**/
|
**/
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -12,7 +12,7 @@ import type { OpaqueKeyOwnershipProof } from '@pezkuwi/types/interfaces/babe';
|
|||||||
import type { Extrinsic } from '@pezkuwi/types/interfaces/extrinsics';
|
import type { Extrinsic } from '@pezkuwi/types/interfaces/extrinsics';
|
||||||
import type { OpaqueMetadata } from '@pezkuwi/types/interfaces/metadata';
|
import type { OpaqueMetadata } from '@pezkuwi/types/interfaces/metadata';
|
||||||
import type { AccountId32, H160, H256, RuntimeCall, Slot } from '@pezkuwi/types/interfaces/runtime';
|
import type { AccountId32, H160, H256, RuntimeCall, Slot } from '@pezkuwi/types/interfaces/runtime';
|
||||||
import type { PezframeSupportTokensFungibleUnionOfNativeOrWithId, PezframeSupportViewFunctionsViewFunctionDispatchError, PezframeSupportViewFunctionsViewFunctionId, PezframeSystemEventRecord, PezpalletContractsPrimitivesCode, PezpalletContractsPrimitivesCodeUploadReturnValue, PezpalletContractsPrimitivesContractAccessError, PezpalletContractsPrimitivesContractResult, PezpalletContractsPrimitivesExecReturnValue, PezpalletContractsPrimitivesStorageDeposit, PezpalletContractsWasmDeterminism, PezpalletReviveEvmApiDebugRpcTypesTrace, PezpalletReviveEvmApiDebugRpcTypesTracerType, PezpalletReviveEvmApiRpcTypesGenGenericTransaction, PezpalletRevivePrimitivesCode, PezpalletRevivePrimitivesCodeUploadReturnValue, PezpalletRevivePrimitivesContractAccessError, PezpalletRevivePrimitivesContractResultExecReturnValue, PezpalletRevivePrimitivesContractResultInstantiateReturnValue, PezpalletRevivePrimitivesEthTransactError, PezpalletRevivePrimitivesEthTransactInfo, PezpalletTransactionPaymentFeeDetails, PezpalletTransactionPaymentRuntimeDispatchInfo, PezspAuthorityDiscoveryAppPublic, PezspConsensusBabeAppPublic, PezspConsensusBabeBabeConfiguration, PezspConsensusBabeEpoch, PezspConsensusBeefyDoubleVotingProof, PezspConsensusBeefyEcdsaCryptoPublic, PezspConsensusBeefyForkVotingProofOpaqueValue, PezspConsensusBeefyFutureBlockVotingProof, PezspConsensusBeefyValidatorSet, PezspConsensusGrandpaAppPublic, PezspConsensusGrandpaEquivocationProof, PezspConsensusSlotsEquivocationProof, PezspCoreCryptoKeyTypeId, PezspInherentsCheckInherentsResult, PezspInherentsInherentData, PezspMixnetMixnode, PezspMixnetMixnodesErr, PezspMixnetSessionStatus, PezspMmrPrimitivesError, PezspMmrPrimitivesLeafProof, PezspRuntimeBlock, PezspRuntimeDispatchError, PezspRuntimeExtrinsicInclusionMode, PezspRuntimeHeader, PezspRuntimeTransactionValidityTransactionSource, PezspRuntimeTransactionValidityTransactionValidityError, PezspRuntimeTransactionValidityValidTransaction, PezspStatementStoreRuntimeApiInvalidStatement, PezspStatementStoreRuntimeApiStatementSource, PezspStatementStoreRuntimeApiValidStatement, PezspStatementStoreStatement, PezspVersionRuntimeVersion, PezspWeightsWeightV2Weight } from '@pezkuwi/types/lookup';
|
import type { PezframeSupportTokensFungibleUnionOfNativeOrWithId, PezframeSupportViewFunctionsViewFunctionDispatchError, PezframeSupportViewFunctionsViewFunctionId, PezframeSystemEventRecord, PezpalletContractsPrimitivesCode, PezpalletContractsPrimitivesCodeUploadReturnValue, PezpalletContractsPrimitivesContractAccessError, PezpalletContractsPrimitivesContractResult, PezpalletContractsPrimitivesExecReturnValue, PezpalletContractsPrimitivesStorageDeposit, PezpalletContractsWasmDeterminism, PezpalletReviveEvmApiDebugRpcTypesTrace, PezpalletReviveEvmApiDebugRpcTypesTracerType, PezpalletReviveEvmApiRpcTypesGenGenericTransaction, PezpalletRevivePrimitivesCode, PezpalletRevivePrimitivesCodeUploadReturnValue, PezpalletRevivePrimitivesContractAccessError, PezpalletRevivePrimitivesContractResultExecReturnValue, PezpalletRevivePrimitivesContractResultInstantiateReturnValue, PezpalletRevivePrimitivesEthTransactError, PezpalletRevivePrimitivesEthTransactInfo, PezpalletTransactionPaymentFeeDetails, PezpalletTransactionPaymentRuntimeDispatchInfo, PezspAuthorityDiscoveryAppPublic, PezspConsensusBabeAppPublic, PezspConsensusBabeBabeConfiguration, PezspConsensusBabeEpoch, PezspConsensusBeefyDoubleVotingProof, PezspConsensusBeefyEcdsaCryptoPublic, PezspConsensusBeefyForkVotingProofOpaqueValue, PezspConsensusBeefyFutureBlockVotingProof, PezspConsensusBeefyValidatorSet, PezspConsensusGrandpaAppPublic, PezspConsensusGrandpaEquivocationProof, PezspConsensusSlotsEquivocationProof, PezspCoreCryptoAccountId32, PezspCoreCryptoKeyTypeId, PezspInherentsCheckInherentsResult, PezspInherentsInherentData, PezspMixnetMixnode, PezspMixnetMixnodesErr, PezspMixnetSessionStatus, PezspMmrPrimitivesError, PezspMmrPrimitivesLeafProof, PezspRuntimeBlock, PezspRuntimeDispatchError, PezspRuntimeExtrinsicInclusionMode, PezspRuntimeHeader, PezspRuntimeTransactionValidityTransactionSource, PezspRuntimeTransactionValidityTransactionValidityError, PezspRuntimeTransactionValidityValidTransaction, PezspStatementStoreRuntimeApiInvalidStatement, PezspStatementStoreRuntimeApiStatementSource, PezspStatementStoreRuntimeApiValidStatement, PezspStatementStoreStatement, PezspVersionRuntimeVersion, PezspWeightsWeightV2Weight } from '@pezkuwi/types/lookup';
|
||||||
import type { IExtrinsic, Observable } from '@pezkuwi/types/types';
|
import type { IExtrinsic, Observable } from '@pezkuwi/types/types';
|
||||||
|
|
||||||
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
|
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
|
||||||
@@ -272,7 +272,7 @@ declare module '@pezkuwi/api-base/types/calls' {
|
|||||||
/**
|
/**
|
||||||
* Returns the metadata at a given version.,, If the given `version` isn't supported, this will return `None`., Use [`Self::metadata_versions`] to find out about supported metadata version of the runtime.
|
* Returns the metadata at a given version.,, If the given `version` isn't supported, this will return `None`., Use [`Self::metadata_versions`] to find out about supported metadata version of the runtime.
|
||||||
**/
|
**/
|
||||||
metadataAtVersion: AugmentedCall<ApiType, (version: u32 | AnyNumber | Uint8Array) => Observable<Option<OpaqueMetadata>>>;
|
metadataAtVersion: AugmentedCall<ApiType, (version: u32 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>>;
|
||||||
/**
|
/**
|
||||||
* Returns the supported metadata versions.,, This can be used to call `metadata_at_version`.
|
* Returns the supported metadata versions.,, This can be used to call `metadata_at_version`.
|
||||||
**/
|
**/
|
||||||
@@ -345,7 +345,7 @@ declare module '@pezkuwi/api-base/types/calls' {
|
|||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
collectionOwner: AugmentedCall<ApiType, (collection: u32 | AnyNumber | Uint8Array) => Observable<Option<AccountId32>>>;
|
collectionOwner: AugmentedCall<ApiType, (collection: u32 | AnyNumber | Uint8Array) => Observable<Option<PezspCoreCryptoAccountId32>>>;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
@@ -353,7 +353,7 @@ declare module '@pezkuwi/api-base/types/calls' {
|
|||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
owner: AugmentedCall<ApiType, (collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array) => Observable<Option<AccountId32>>>;
|
owner: AugmentedCall<ApiType, (collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array) => Observable<Option<PezspCoreCryptoAccountId32>>>;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
@@ -392,7 +392,7 @@ declare module '@pezkuwi/api-base/types/calls' {
|
|||||||
/**
|
/**
|
||||||
* Returns the bonded account and reward account associated with the pool_id.
|
* Returns the bonded account and reward account associated with the pool_id.
|
||||||
**/
|
**/
|
||||||
poolAccounts: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array) => Observable<ITuple<[AccountId32, AccountId32]>>>;
|
poolAccounts: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array) => Observable<ITuple<[PezspCoreCryptoAccountId32, PezspCoreCryptoAccountId32]>>>;
|
||||||
/**
|
/**
|
||||||
* Total balance contributed to the pool.
|
* Total balance contributed to the pool.
|
||||||
**/
|
**/
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -8,8 +8,7 @@ import '@pezkuwi/api-base/types/consts';
|
|||||||
import type { ApiTypes, AugmentedConst } from '@pezkuwi/api-base/types';
|
import type { ApiTypes, AugmentedConst } from '@pezkuwi/api-base/types';
|
||||||
import type { Bytes, Option, Vec, u128, u16, u32, u64, u8 } from '@pezkuwi/types-codec';
|
import type { Bytes, Option, Vec, u128, u16, u32, u64, u8 } from '@pezkuwi/types-codec';
|
||||||
import type { Codec, ITuple } from '@pezkuwi/types-codec/types';
|
import type { Codec, ITuple } from '@pezkuwi/types-codec/types';
|
||||||
import type { AccountId32, Perbill, Permill } from '@pezkuwi/types/interfaces/runtime';
|
import type { PezframeSupportPezpalletId, PezframeSystemLimitsBlockLength, PezframeSystemLimitsBlockWeights, PezpalletReferendaTrackDetails, PezspCoreCryptoAccountId32, PezspVersionRuntimeVersion, PezspWeightsRuntimeDbWeight, PezspWeightsWeightV2Weight, StagingXcmV5Junctions } from '@pezkuwi/types/lookup';
|
||||||
import type { PezframeSupportPezpalletId, PezframeSystemLimitsBlockLength, PezframeSystemLimitsBlockWeights, PezpalletReferendaTrackDetails, PezspVersionRuntimeVersion, PezspWeightsRuntimeDbWeight, PezspWeightsWeightV2Weight, StagingXcmV5Junctions } from '@pezkuwi/types/lookup';
|
|
||||||
|
|
||||||
export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
|
export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
|
||||||
|
|
||||||
@@ -154,7 +153,7 @@ declare module '@pezkuwi/api-base/types/consts' {
|
|||||||
* This deposit has optional upper and lower bounds with `CuratorDepositMax` and
|
* This deposit has optional upper and lower bounds with `CuratorDepositMax` and
|
||||||
* `CuratorDepositMin`.
|
* `CuratorDepositMin`.
|
||||||
**/
|
**/
|
||||||
curatorDepositMultiplier: Permill & AugmentedConst<ApiType>;
|
curatorDepositMultiplier: u32 & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
* The amount held on deposit per byte within the tip report reason or bounty description.
|
* The amount held on deposit per byte within the tip report reason or bounty description.
|
||||||
**/
|
**/
|
||||||
@@ -253,7 +252,7 @@ declare module '@pezkuwi/api-base/types/consts' {
|
|||||||
/**
|
/**
|
||||||
* Fraction of the slash that is rewarded to the caller of pending slash to the agent.
|
* Fraction of the slash that is rewarded to the caller of pending slash to the agent.
|
||||||
**/
|
**/
|
||||||
slashRewardFraction: Perbill & AugmentedConst<ApiType>;
|
slashRewardFraction: u32 & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
* Generic const
|
* Generic const
|
||||||
**/
|
**/
|
||||||
@@ -264,7 +263,7 @@ declare module '@pezkuwi/api-base/types/consts' {
|
|||||||
* The minimum amount of improvement to the solution score that defines a solution as
|
* The minimum amount of improvement to the solution score that defines a solution as
|
||||||
* "better" in the Signed phase.
|
* "better" in the Signed phase.
|
||||||
**/
|
**/
|
||||||
betterSignedThreshold: Perbill & AugmentedConst<ApiType>;
|
betterSignedThreshold: u32 & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
* Maximum number of voters that can support a winner in an election solution.
|
* Maximum number of voters that can support a winner in an election solution.
|
||||||
*
|
*
|
||||||
@@ -897,7 +896,7 @@ declare module '@pezkuwi/api-base/types/consts' {
|
|||||||
/**
|
/**
|
||||||
* Percentage of spare funds (if any) that are burnt per spend period.
|
* Percentage of spare funds (if any) that are burnt per spend period.
|
||||||
**/
|
**/
|
||||||
burn: Permill & AugmentedConst<ApiType>;
|
burn: u32 & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
* DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
|
* DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
|
||||||
* Refer to <https://github.com/paritytech/polkadot-sdk/pull/5961> for migration to `spend`.
|
* Refer to <https://github.com/paritytech/polkadot-sdk/pull/5961> for migration to `spend`.
|
||||||
@@ -918,7 +917,7 @@ declare module '@pezkuwi/api-base/types/consts' {
|
|||||||
/**
|
/**
|
||||||
* Gets this pallet's derived pot account.
|
* Gets this pallet's derived pot account.
|
||||||
**/
|
**/
|
||||||
potAccount: AccountId32 & AugmentedConst<ApiType>;
|
potAccount: PezspCoreCryptoAccountId32 & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
* Period between successive spends.
|
* Period between successive spends.
|
||||||
**/
|
**/
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ import '@pezkuwi/api-base/types/events';
|
|||||||
import type { ApiTypes, AugmentedEvent } from '@pezkuwi/api-base/types';
|
import type { ApiTypes, AugmentedEvent } from '@pezkuwi/api-base/types';
|
||||||
import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@pezkuwi/types-codec';
|
import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@pezkuwi/types-codec';
|
||||||
import type { ITuple } from '@pezkuwi/types-codec/types';
|
import type { ITuple } from '@pezkuwi/types-codec/types';
|
||||||
import type { AccountId32, H256, Perbill } from '@pezkuwi/types/interfaces/runtime';
|
import type { H256 } from '@pezkuwi/types/interfaces/runtime';
|
||||||
import type { DicleRuntimeConstantsProxyProxyType, PezframeSupportDispatchPostDispatchInfo, PezframeSupportMessagesProcessMessageError, PezframeSupportPreimagesBounded, PezframeSupportTokensMiscBalanceStatus, PezframeSystemDispatchEventInfo, PezkuwiPrimitivesVstagingCandidateReceiptV2, PezkuwiRuntimeCommonClaimsEthereumAddress, PezkuwiRuntimeCommonImplsVersionedLocatableAsset, PezkuwiRuntimeTeyrchainsDisputesDisputeLocation, PezkuwiRuntimeTeyrchainsDisputesDisputeResult, PezkuwiRuntimeTeyrchainsInclusionAggregateMessageOrigin, PezkuwiTeyrchainPrimitivesPrimitivesHrmpChannelId, PezpalletBalancesUnexpectedKind, PezpalletConvictionVotingTally, PezpalletConvictionVotingVoteAccountVote, PezpalletElectionProviderMultiPhaseElectionCompute, PezpalletElectionProviderMultiPhasePhase, PezpalletMultisigTimepoint, PezpalletNominationPoolsClaimPermission, PezpalletNominationPoolsCommissionChangeRate, PezpalletNominationPoolsCommissionClaimPermission, PezpalletNominationPoolsPoolState, PezpalletProxyDepositKind, PezpalletRankedCollectiveTally, PezpalletRankedCollectiveVoteRecord, PezpalletRcMigratorMigrationStage, PezpalletRcMigratorQueuePriority, PezpalletRecoveryDepositKind, PezpalletSocietyGroupParams, PezpalletStakingAsyncAhClientUnexpectedKind, PezpalletStakingForcing, PezpalletStakingRewardDestination, PezpalletStakingValidatorPrefs, PezspConsensusGrandpaAppPublic, PezspNposElectionsElectionScore, PezspRuntimeDispatchError, PezspRuntimeDispatchErrorWithPostInfo, PezspWeightsWeightV2Weight, StagingDicleRuntimeRuntimeParametersKey, StagingDicleRuntimeRuntimeParametersValue, StagingXcmV5AssetAssets, StagingXcmV5Location, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, XcmV3MaybeErrorCode, XcmV3TraitsSendError, XcmV5TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@pezkuwi/types/lookup';
|
import type { DicleRuntimeConstantsProxyProxyType, PezframeSupportDispatchPostDispatchInfo, PezframeSupportMessagesProcessMessageError, PezframeSupportPreimagesBounded, PezframeSupportTokensMiscBalanceStatus, PezframeSystemDispatchEventInfo, PezkuwiPrimitivesVstagingCandidateReceiptV2, PezkuwiRuntimeCommonClaimsEthereumAddress, PezkuwiRuntimeCommonImplsVersionedLocatableAsset, PezkuwiRuntimeTeyrchainsDisputesDisputeLocation, PezkuwiRuntimeTeyrchainsDisputesDisputeResult, PezkuwiRuntimeTeyrchainsInclusionAggregateMessageOrigin, PezkuwiTeyrchainPrimitivesPrimitivesHrmpChannelId, PezpalletBalancesUnexpectedKind, PezpalletConvictionVotingTally, PezpalletConvictionVotingVoteAccountVote, PezpalletElectionProviderMultiPhaseElectionCompute, PezpalletElectionProviderMultiPhasePhase, PezpalletMultisigTimepoint, PezpalletNominationPoolsClaimPermission, PezpalletNominationPoolsCommissionChangeRate, PezpalletNominationPoolsCommissionClaimPermission, PezpalletNominationPoolsPoolState, PezpalletProxyDepositKind, PezpalletRankedCollectiveTally, PezpalletRankedCollectiveVoteRecord, PezpalletRcMigratorMigrationStage, PezpalletRcMigratorQueuePriority, PezpalletRecoveryDepositKind, PezpalletSocietyGroupParams, PezpalletStakingAsyncAhClientUnexpectedKind, PezpalletStakingForcing, PezpalletStakingRewardDestination, PezpalletStakingValidatorPrefs, PezspConsensusGrandpaAppPublic, PezspCoreCryptoAccountId32, PezspNposElectionsElectionScore, PezspRuntimeDispatchError, PezspRuntimeDispatchErrorWithPostInfo, PezspWeightsWeightV2Weight, StagingDicleRuntimeRuntimeParametersKey, StagingDicleRuntimeRuntimeParametersValue, StagingXcmV5AssetAssets, StagingXcmV5Location, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, XcmV3MaybeErrorCode, XcmV3TraitsSendError, XcmV5TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@pezkuwi/types/lookup';
|
||||||
|
|
||||||
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
|
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
|
||||||
|
|
||||||
@@ -37,21 +37,21 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* A new bid has been accepted as the current winner.
|
* A new bid has been accepted as the current winner.
|
||||||
**/
|
**/
|
||||||
BidAccepted: AugmentedEvent<ApiType, [bidder: AccountId32, paraId: u32, amount: u128, firstSlot: u32, lastSlot: u32], { bidder: AccountId32, paraId: u32, amount: u128, firstSlot: u32, lastSlot: u32 }>;
|
BidAccepted: AugmentedEvent<ApiType, [bidder: PezspCoreCryptoAccountId32, paraId: u32, amount: u128, firstSlot: u32, lastSlot: u32], { bidder: PezspCoreCryptoAccountId32, paraId: u32, amount: u128, firstSlot: u32, lastSlot: u32 }>;
|
||||||
/**
|
/**
|
||||||
* Someone attempted to lease the same slot twice for a parachain. The amount is held in
|
* Someone attempted to lease the same slot twice for a parachain. The amount is held in
|
||||||
* reserve but no parachain slot has been leased.
|
* reserve but no parachain slot has been leased.
|
||||||
**/
|
**/
|
||||||
ReserveConfiscated: AugmentedEvent<ApiType, [paraId: u32, leaser: AccountId32, amount: u128], { paraId: u32, leaser: AccountId32, amount: u128 }>;
|
ReserveConfiscated: AugmentedEvent<ApiType, [paraId: u32, leaser: PezspCoreCryptoAccountId32, amount: u128], { paraId: u32, leaser: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* Funds were reserved for a winning bid. First balance is the extra amount reserved.
|
* Funds were reserved for a winning bid. First balance is the extra amount reserved.
|
||||||
* Second is the total.
|
* Second is the total.
|
||||||
**/
|
**/
|
||||||
Reserved: AugmentedEvent<ApiType, [bidder: AccountId32, extraReserved: u128, totalAmount: u128], { bidder: AccountId32, extraReserved: u128, totalAmount: u128 }>;
|
Reserved: AugmentedEvent<ApiType, [bidder: PezspCoreCryptoAccountId32, extraReserved: u128, totalAmount: u128], { bidder: PezspCoreCryptoAccountId32, extraReserved: u128, totalAmount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* Funds were unreserved since bidder is no longer active. `[bidder, amount]`
|
* Funds were unreserved since bidder is no longer active. `[bidder, amount]`
|
||||||
**/
|
**/
|
||||||
Unreserved: AugmentedEvent<ApiType, [bidder: AccountId32, amount: u128], { bidder: AccountId32, amount: u128 }>;
|
Unreserved: AugmentedEvent<ApiType, [bidder: PezspCoreCryptoAccountId32, amount: u128], { bidder: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* The winning offset was chosen for an auction. This will map into the `Winning` storage
|
* The winning offset was chosen for an auction. This will map into the `Winning` storage
|
||||||
* map.
|
* map.
|
||||||
@@ -66,28 +66,28 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* A balance was set by root.
|
* A balance was set by root.
|
||||||
**/
|
**/
|
||||||
BalanceSet: AugmentedEvent<ApiType, [who: AccountId32, free: u128], { who: AccountId32, free: u128 }>;
|
BalanceSet: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, free: u128], { who: PezspCoreCryptoAccountId32, free: u128 }>;
|
||||||
/**
|
/**
|
||||||
* Some amount was burned from an account.
|
* Some amount was burned from an account.
|
||||||
**/
|
**/
|
||||||
Burned: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
Burned: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, amount: u128], { who: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* Some amount was deposited (e.g. for transaction fees).
|
* Some amount was deposited (e.g. for transaction fees).
|
||||||
**/
|
**/
|
||||||
Deposit: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
Deposit: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, amount: u128], { who: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* An account was removed whose balance was non-zero but below ExistentialDeposit,
|
* An account was removed whose balance was non-zero but below ExistentialDeposit,
|
||||||
* resulting in an outright loss.
|
* resulting in an outright loss.
|
||||||
**/
|
**/
|
||||||
DustLost: AugmentedEvent<ApiType, [account: AccountId32, amount: u128], { account: AccountId32, amount: u128 }>;
|
DustLost: AugmentedEvent<ApiType, [account: PezspCoreCryptoAccountId32, amount: u128], { account: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* An account was created with some free balance.
|
* An account was created with some free balance.
|
||||||
**/
|
**/
|
||||||
Endowed: AugmentedEvent<ApiType, [account: AccountId32, freeBalance: u128], { account: AccountId32, freeBalance: u128 }>;
|
Endowed: AugmentedEvent<ApiType, [account: PezspCoreCryptoAccountId32, freeBalance: u128], { account: PezspCoreCryptoAccountId32, freeBalance: u128 }>;
|
||||||
/**
|
/**
|
||||||
* Some balance was frozen.
|
* Some balance was frozen.
|
||||||
**/
|
**/
|
||||||
Frozen: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
Frozen: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, amount: u128], { who: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* Total issuance was increased by `amount`, creating a credit to be balanced.
|
* Total issuance was increased by `amount`, creating a credit to be balanced.
|
||||||
**/
|
**/
|
||||||
@@ -95,11 +95,11 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* Some balance was locked.
|
* Some balance was locked.
|
||||||
**/
|
**/
|
||||||
Locked: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
Locked: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, amount: u128], { who: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* Some amount was minted into an account.
|
* Some amount was minted into an account.
|
||||||
**/
|
**/
|
||||||
Minted: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
Minted: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, amount: u128], { who: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* Total issuance was decreased by `amount`, creating a debt to be balanced.
|
* Total issuance was decreased by `amount`, creating a debt to be balanced.
|
||||||
**/
|
**/
|
||||||
@@ -107,28 +107,28 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* Some balance was reserved (moved from free to reserved).
|
* Some balance was reserved (moved from free to reserved).
|
||||||
**/
|
**/
|
||||||
Reserved: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
Reserved: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, amount: u128], { who: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* Some balance was moved from the reserve of the first account to the second account.
|
* Some balance was moved from the reserve of the first account to the second account.
|
||||||
* Final argument indicates the destination balance type.
|
* Final argument indicates the destination balance type.
|
||||||
**/
|
**/
|
||||||
ReserveRepatriated: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, amount: u128, destinationStatus: PezframeSupportTokensMiscBalanceStatus], { from: AccountId32, to: AccountId32, amount: u128, destinationStatus: PezframeSupportTokensMiscBalanceStatus }>;
|
ReserveRepatriated: AugmentedEvent<ApiType, [from: PezspCoreCryptoAccountId32, to: PezspCoreCryptoAccountId32, amount: u128, destinationStatus: PezframeSupportTokensMiscBalanceStatus], { from: PezspCoreCryptoAccountId32, to: PezspCoreCryptoAccountId32, amount: u128, destinationStatus: PezframeSupportTokensMiscBalanceStatus }>;
|
||||||
/**
|
/**
|
||||||
* Some amount was restored into an account.
|
* Some amount was restored into an account.
|
||||||
**/
|
**/
|
||||||
Restored: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
Restored: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, amount: u128], { who: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* Some amount was removed from the account (e.g. for misbehavior).
|
* Some amount was removed from the account (e.g. for misbehavior).
|
||||||
**/
|
**/
|
||||||
Slashed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
Slashed: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, amount: u128], { who: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* Some amount was suspended from an account (it can be restored later).
|
* Some amount was suspended from an account (it can be restored later).
|
||||||
**/
|
**/
|
||||||
Suspended: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
Suspended: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, amount: u128], { who: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* Some balance was thawed.
|
* Some balance was thawed.
|
||||||
**/
|
**/
|
||||||
Thawed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
Thawed: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, amount: u128], { who: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* The `TotalIssuance` was forcefully changed.
|
* The `TotalIssuance` was forcefully changed.
|
||||||
**/
|
**/
|
||||||
@@ -136,7 +136,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* Transfer succeeded.
|
* Transfer succeeded.
|
||||||
**/
|
**/
|
||||||
Transfer: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, amount: u128], { from: AccountId32, to: AccountId32, amount: u128 }>;
|
Transfer: AugmentedEvent<ApiType, [from: PezspCoreCryptoAccountId32, to: PezspCoreCryptoAccountId32, amount: u128], { from: PezspCoreCryptoAccountId32, to: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* An unexpected/defensive event was triggered.
|
* An unexpected/defensive event was triggered.
|
||||||
**/
|
**/
|
||||||
@@ -144,19 +144,19 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* Some balance was unlocked.
|
* Some balance was unlocked.
|
||||||
**/
|
**/
|
||||||
Unlocked: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
Unlocked: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, amount: u128], { who: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* Some balance was unreserved (moved from reserved to free).
|
* Some balance was unreserved (moved from reserved to free).
|
||||||
**/
|
**/
|
||||||
Unreserved: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
Unreserved: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, amount: u128], { who: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* An account was upgraded.
|
* An account was upgraded.
|
||||||
**/
|
**/
|
||||||
Upgraded: AugmentedEvent<ApiType, [who: AccountId32], { who: AccountId32 }>;
|
Upgraded: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32], { who: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* Some amount was withdrawn from the account (e.g. for transaction fees).
|
* Some amount was withdrawn from the account (e.g. for transaction fees).
|
||||||
**/
|
**/
|
||||||
Withdraw: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
Withdraw: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, amount: u128], { who: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* Generic event
|
* Generic event
|
||||||
**/
|
**/
|
||||||
@@ -170,7 +170,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* A bounty is awarded to a beneficiary.
|
* A bounty is awarded to a beneficiary.
|
||||||
**/
|
**/
|
||||||
BountyAwarded: AugmentedEvent<ApiType, [index: u32, beneficiary: AccountId32], { index: u32, beneficiary: AccountId32 }>;
|
BountyAwarded: AugmentedEvent<ApiType, [index: u32, beneficiary: PezspCoreCryptoAccountId32], { index: u32, beneficiary: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* A bounty proposal is funded and became active.
|
* A bounty proposal is funded and became active.
|
||||||
**/
|
**/
|
||||||
@@ -182,7 +182,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* A bounty is claimed by beneficiary.
|
* A bounty is claimed by beneficiary.
|
||||||
**/
|
**/
|
||||||
BountyClaimed: AugmentedEvent<ApiType, [index: u32, payout: u128, beneficiary: AccountId32], { index: u32, payout: u128, beneficiary: AccountId32 }>;
|
BountyClaimed: AugmentedEvent<ApiType, [index: u32, payout: u128, beneficiary: PezspCoreCryptoAccountId32], { index: u32, payout: u128, beneficiary: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* A bounty expiry is extended.
|
* A bounty expiry is extended.
|
||||||
**/
|
**/
|
||||||
@@ -198,11 +198,11 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* A bounty curator is accepted.
|
* A bounty curator is accepted.
|
||||||
**/
|
**/
|
||||||
CuratorAccepted: AugmentedEvent<ApiType, [bountyId: u32, curator: AccountId32], { bountyId: u32, curator: AccountId32 }>;
|
CuratorAccepted: AugmentedEvent<ApiType, [bountyId: u32, curator: PezspCoreCryptoAccountId32], { bountyId: u32, curator: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* A bounty curator is proposed.
|
* A bounty curator is proposed.
|
||||||
**/
|
**/
|
||||||
CuratorProposed: AugmentedEvent<ApiType, [bountyId: u32, curator: AccountId32], { bountyId: u32, curator: AccountId32 }>;
|
CuratorProposed: AugmentedEvent<ApiType, [bountyId: u32, curator: PezspCoreCryptoAccountId32], { bountyId: u32, curator: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* A bounty curator is unassigned.
|
* A bounty curator is unassigned.
|
||||||
**/
|
**/
|
||||||
@@ -210,7 +210,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* A bounty deposit has been poked.
|
* A bounty deposit has been poked.
|
||||||
**/
|
**/
|
||||||
DepositPoked: AugmentedEvent<ApiType, [bountyId: u32, proposer: AccountId32, oldDeposit: u128, newDeposit: u128], { bountyId: u32, proposer: AccountId32, oldDeposit: u128, newDeposit: u128 }>;
|
DepositPoked: AugmentedEvent<ApiType, [bountyId: u32, proposer: PezspCoreCryptoAccountId32, oldDeposit: u128, newDeposit: u128], { bountyId: u32, proposer: PezspCoreCryptoAccountId32, oldDeposit: u128, newDeposit: u128 }>;
|
||||||
/**
|
/**
|
||||||
* Generic event
|
* Generic event
|
||||||
**/
|
**/
|
||||||
@@ -224,7 +224,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* A child-bounty is awarded to a beneficiary.
|
* A child-bounty is awarded to a beneficiary.
|
||||||
**/
|
**/
|
||||||
Awarded: AugmentedEvent<ApiType, [index: u32, childIndex: u32, beneficiary: AccountId32], { index: u32, childIndex: u32, beneficiary: AccountId32 }>;
|
Awarded: AugmentedEvent<ApiType, [index: u32, childIndex: u32, beneficiary: PezspCoreCryptoAccountId32], { index: u32, childIndex: u32, beneficiary: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* A child-bounty is cancelled.
|
* A child-bounty is cancelled.
|
||||||
**/
|
**/
|
||||||
@@ -232,7 +232,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* A child-bounty is claimed by beneficiary.
|
* A child-bounty is claimed by beneficiary.
|
||||||
**/
|
**/
|
||||||
Claimed: AugmentedEvent<ApiType, [index: u32, childIndex: u32, payout: u128, beneficiary: AccountId32], { index: u32, childIndex: u32, payout: u128, beneficiary: AccountId32 }>;
|
Claimed: AugmentedEvent<ApiType, [index: u32, childIndex: u32, payout: u128, beneficiary: PezspCoreCryptoAccountId32], { index: u32, childIndex: u32, payout: u128, beneficiary: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* Generic event
|
* Generic event
|
||||||
**/
|
**/
|
||||||
@@ -242,7 +242,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* Someone claimed some DOTs.
|
* Someone claimed some DOTs.
|
||||||
**/
|
**/
|
||||||
Claimed: AugmentedEvent<ApiType, [who: AccountId32, ethereumAddress: PezkuwiRuntimeCommonClaimsEthereumAddress, amount: u128], { who: AccountId32, ethereumAddress: PezkuwiRuntimeCommonClaimsEthereumAddress, amount: u128 }>;
|
Claimed: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, ethereumAddress: PezkuwiRuntimeCommonClaimsEthereumAddress, amount: u128], { who: PezspCoreCryptoAccountId32, ethereumAddress: PezkuwiRuntimeCommonClaimsEthereumAddress, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* Generic event
|
* Generic event
|
||||||
**/
|
**/
|
||||||
@@ -252,23 +252,23 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* An account has delegated their vote to another account. \[who, target\]
|
* An account has delegated their vote to another account. \[who, target\]
|
||||||
**/
|
**/
|
||||||
Delegated: AugmentedEvent<ApiType, [AccountId32, AccountId32]>;
|
Delegated: AugmentedEvent<ApiType, [PezspCoreCryptoAccountId32, PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* An \[account\] has cancelled a previous delegation operation.
|
* An \[account\] has cancelled a previous delegation operation.
|
||||||
**/
|
**/
|
||||||
Undelegated: AugmentedEvent<ApiType, [AccountId32]>;
|
Undelegated: AugmentedEvent<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* An account has voted
|
* An account has voted
|
||||||
**/
|
**/
|
||||||
Voted: AugmentedEvent<ApiType, [who: AccountId32, vote: PezpalletConvictionVotingVoteAccountVote], { who: AccountId32, vote: PezpalletConvictionVotingVoteAccountVote }>;
|
Voted: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, vote: PezpalletConvictionVotingVoteAccountVote], { who: PezspCoreCryptoAccountId32, vote: PezpalletConvictionVotingVoteAccountVote }>;
|
||||||
/**
|
/**
|
||||||
* A vote has been removed
|
* A vote has been removed
|
||||||
**/
|
**/
|
||||||
VoteRemoved: AugmentedEvent<ApiType, [who: AccountId32, vote: PezpalletConvictionVotingVoteAccountVote], { who: AccountId32, vote: PezpalletConvictionVotingVoteAccountVote }>;
|
VoteRemoved: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, vote: PezpalletConvictionVotingVoteAccountVote], { who: PezspCoreCryptoAccountId32, vote: PezpalletConvictionVotingVoteAccountVote }>;
|
||||||
/**
|
/**
|
||||||
* The lockup period of a conviction vote expired, and the funds have been unlocked.
|
* The lockup period of a conviction vote expired, and the funds have been unlocked.
|
||||||
**/
|
**/
|
||||||
VoteUnlocked: AugmentedEvent<ApiType, [who: AccountId32, class_: u16], { who: AccountId32, class: u16 }>;
|
VoteUnlocked: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, class_: u16], { who: PezspCoreCryptoAccountId32, class: u16 }>;
|
||||||
/**
|
/**
|
||||||
* Generic event
|
* Generic event
|
||||||
**/
|
**/
|
||||||
@@ -300,7 +300,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* Contributed to a crowd sale.
|
* Contributed to a crowd sale.
|
||||||
**/
|
**/
|
||||||
Contributed: AugmentedEvent<ApiType, [who: AccountId32, fundIndex: u32, amount: u128], { who: AccountId32, fundIndex: u32, amount: u128 }>;
|
Contributed: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, fundIndex: u32, amount: u128], { who: PezspCoreCryptoAccountId32, fundIndex: u32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* Create a new crowdloaning campaign.
|
* Create a new crowdloaning campaign.
|
||||||
**/
|
**/
|
||||||
@@ -320,7 +320,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* A memo has been updated.
|
* A memo has been updated.
|
||||||
**/
|
**/
|
||||||
MemoUpdated: AugmentedEvent<ApiType, [who: AccountId32, paraId: u32, memo: Bytes], { who: AccountId32, paraId: u32, memo: Bytes }>;
|
MemoUpdated: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, paraId: u32, memo: Bytes], { who: PezspCoreCryptoAccountId32, paraId: u32, memo: Bytes }>;
|
||||||
/**
|
/**
|
||||||
* The loans in a fund have been partially dissolved, i.e. there are some left
|
* The loans in a fund have been partially dissolved, i.e. there are some left
|
||||||
* over child keys that still need to be killed.
|
* over child keys that still need to be killed.
|
||||||
@@ -329,7 +329,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* Withdrew full balance of a contributor.
|
* Withdrew full balance of a contributor.
|
||||||
**/
|
**/
|
||||||
Withdrew: AugmentedEvent<ApiType, [who: AccountId32, fundIndex: u32, amount: u128], { who: AccountId32, fundIndex: u32, amount: u128 }>;
|
Withdrew: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, fundIndex: u32, amount: u128], { who: PezspCoreCryptoAccountId32, fundIndex: u32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* Generic event
|
* Generic event
|
||||||
**/
|
**/
|
||||||
@@ -339,19 +339,19 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* Funds delegated by a delegator.
|
* Funds delegated by a delegator.
|
||||||
**/
|
**/
|
||||||
Delegated: AugmentedEvent<ApiType, [agent: AccountId32, delegator: AccountId32, amount: u128], { agent: AccountId32, delegator: AccountId32, amount: u128 }>;
|
Delegated: AugmentedEvent<ApiType, [agent: PezspCoreCryptoAccountId32, delegator: PezspCoreCryptoAccountId32, amount: u128], { agent: PezspCoreCryptoAccountId32, delegator: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* Unclaimed delegation funds migrated to delegator.
|
* Unclaimed delegation funds migrated to delegator.
|
||||||
**/
|
**/
|
||||||
MigratedDelegation: AugmentedEvent<ApiType, [agent: AccountId32, delegator: AccountId32, amount: u128], { agent: AccountId32, delegator: AccountId32, amount: u128 }>;
|
MigratedDelegation: AugmentedEvent<ApiType, [agent: PezspCoreCryptoAccountId32, delegator: PezspCoreCryptoAccountId32, amount: u128], { agent: PezspCoreCryptoAccountId32, delegator: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* Funds released to a delegator.
|
* Funds released to a delegator.
|
||||||
**/
|
**/
|
||||||
Released: AugmentedEvent<ApiType, [agent: AccountId32, delegator: AccountId32, amount: u128], { agent: AccountId32, delegator: AccountId32, amount: u128 }>;
|
Released: AugmentedEvent<ApiType, [agent: PezspCoreCryptoAccountId32, delegator: PezspCoreCryptoAccountId32, amount: u128], { agent: PezspCoreCryptoAccountId32, delegator: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* Funds slashed from a delegator.
|
* Funds slashed from a delegator.
|
||||||
**/
|
**/
|
||||||
Slashed: AugmentedEvent<ApiType, [agent: AccountId32, delegator: AccountId32, amount: u128], { agent: AccountId32, delegator: AccountId32, amount: u128 }>;
|
Slashed: AugmentedEvent<ApiType, [agent: PezspCoreCryptoAccountId32, delegator: PezspCoreCryptoAccountId32, amount: u128], { agent: PezspCoreCryptoAccountId32, delegator: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* Generic event
|
* Generic event
|
||||||
**/
|
**/
|
||||||
@@ -375,11 +375,11 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* An account has been rewarded for their signed submission being finalized.
|
* An account has been rewarded for their signed submission being finalized.
|
||||||
**/
|
**/
|
||||||
Rewarded: AugmentedEvent<ApiType, [account: AccountId32, value: u128], { account: AccountId32, value: u128 }>;
|
Rewarded: AugmentedEvent<ApiType, [account: PezspCoreCryptoAccountId32, value: u128], { account: PezspCoreCryptoAccountId32, value: u128 }>;
|
||||||
/**
|
/**
|
||||||
* An account has been slashed for submitting an invalid signed submission.
|
* An account has been slashed for submitting an invalid signed submission.
|
||||||
**/
|
**/
|
||||||
Slashed: AugmentedEvent<ApiType, [account: AccountId32, value: u128], { account: AccountId32, value: u128 }>;
|
Slashed: AugmentedEvent<ApiType, [account: PezspCoreCryptoAccountId32, value: u128], { account: PezspCoreCryptoAccountId32, value: u128 }>;
|
||||||
/**
|
/**
|
||||||
* A solution was stored with the given compute.
|
* A solution was stored with the given compute.
|
||||||
*
|
*
|
||||||
@@ -389,7 +389,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
* `T::ForceOrigin`. The `bool` is `true` when a previous solution was ejected to make
|
* `T::ForceOrigin`. The `bool` is `true` when a previous solution was ejected to make
|
||||||
* room for this one.
|
* room for this one.
|
||||||
**/
|
**/
|
||||||
SolutionStored: AugmentedEvent<ApiType, [compute: PezpalletElectionProviderMultiPhaseElectionCompute, origin: Option<AccountId32>, prevEjected: bool], { compute: PezpalletElectionProviderMultiPhaseElectionCompute, origin: Option<AccountId32>, prevEjected: bool }>;
|
SolutionStored: AugmentedEvent<ApiType, [compute: PezpalletElectionProviderMultiPhaseElectionCompute, origin: Option<PezspCoreCryptoAccountId32>, prevEjected: bool], { compute: PezpalletElectionProviderMultiPhaseElectionCompute, origin: Option<PezspCoreCryptoAccountId32>, prevEjected: bool }>;
|
||||||
/**
|
/**
|
||||||
* Generic event
|
* Generic event
|
||||||
**/
|
**/
|
||||||
@@ -414,11 +414,11 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* A staker was slashed for requesting fast-unstake whilst being exposed.
|
* A staker was slashed for requesting fast-unstake whilst being exposed.
|
||||||
**/
|
**/
|
||||||
Slashed: AugmentedEvent<ApiType, [stash: AccountId32, amount: u128], { stash: AccountId32, amount: u128 }>;
|
Slashed: AugmentedEvent<ApiType, [stash: PezspCoreCryptoAccountId32, amount: u128], { stash: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* A staker was unstaked.
|
* A staker was unstaked.
|
||||||
**/
|
**/
|
||||||
Unstaked: AugmentedEvent<ApiType, [stash: AccountId32, result: Result<Null, PezspRuntimeDispatchError>], { stash: AccountId32, result: Result<Null, PezspRuntimeDispatchError> }>;
|
Unstaked: AugmentedEvent<ApiType, [stash: PezspCoreCryptoAccountId32, result: Result<Null, PezspRuntimeDispatchError>], { stash: PezspCoreCryptoAccountId32, result: Result<Null, PezspRuntimeDispatchError> }>;
|
||||||
/**
|
/**
|
||||||
* Generic event
|
* Generic event
|
||||||
**/
|
**/
|
||||||
@@ -428,24 +428,24 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* A member `who` has been added.
|
* A member `who` has been added.
|
||||||
**/
|
**/
|
||||||
MemberAdded: AugmentedEvent<ApiType, [who: AccountId32], { who: AccountId32 }>;
|
MemberAdded: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32], { who: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* The member `who` had their `AccountId` changed to `new_who`.
|
* The member `who` had their `AccountId` changed to `new_who`.
|
||||||
**/
|
**/
|
||||||
MemberExchanged: AugmentedEvent<ApiType, [who: AccountId32, newWho: AccountId32], { who: AccountId32, newWho: AccountId32 }>;
|
MemberExchanged: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, newWho: PezspCoreCryptoAccountId32], { who: PezspCoreCryptoAccountId32, newWho: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* The member `who` of given `rank` has been removed from the collective.
|
* The member `who` of given `rank` has been removed from the collective.
|
||||||
**/
|
**/
|
||||||
MemberRemoved: AugmentedEvent<ApiType, [who: AccountId32, rank: u16], { who: AccountId32, rank: u16 }>;
|
MemberRemoved: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, rank: u16], { who: PezspCoreCryptoAccountId32, rank: u16 }>;
|
||||||
/**
|
/**
|
||||||
* The member `who`se rank has been changed to the given `rank`.
|
* The member `who`se rank has been changed to the given `rank`.
|
||||||
**/
|
**/
|
||||||
RankChanged: AugmentedEvent<ApiType, [who: AccountId32, rank: u16], { who: AccountId32, rank: u16 }>;
|
RankChanged: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, rank: u16], { who: PezspCoreCryptoAccountId32, rank: u16 }>;
|
||||||
/**
|
/**
|
||||||
* The member `who` has voted for the `poll` with the given `vote` leading to an updated
|
* The member `who` has voted for the `poll` with the given `vote` leading to an updated
|
||||||
* `tally`.
|
* `tally`.
|
||||||
**/
|
**/
|
||||||
Voted: AugmentedEvent<ApiType, [who: AccountId32, poll: u32, vote: PezpalletRankedCollectiveVoteRecord, tally: PezpalletRankedCollectiveTally], { who: AccountId32, poll: u32, vote: PezpalletRankedCollectiveVoteRecord, tally: PezpalletRankedCollectiveTally }>;
|
Voted: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, poll: u32, vote: PezpalletRankedCollectiveVoteRecord, tally: PezpalletRankedCollectiveTally], { who: PezspCoreCryptoAccountId32, poll: u32, vote: PezpalletRankedCollectiveVoteRecord, tally: PezpalletRankedCollectiveTally }>;
|
||||||
/**
|
/**
|
||||||
* Generic event
|
* Generic event
|
||||||
**/
|
**/
|
||||||
@@ -469,11 +469,11 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* The decision deposit has been placed.
|
* The decision deposit has been placed.
|
||||||
**/
|
**/
|
||||||
DecisionDepositPlaced: AugmentedEvent<ApiType, [index: u32, who: AccountId32, amount: u128], { index: u32, who: AccountId32, amount: u128 }>;
|
DecisionDepositPlaced: AugmentedEvent<ApiType, [index: u32, who: PezspCoreCryptoAccountId32, amount: u128], { index: u32, who: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* The decision deposit has been refunded.
|
* The decision deposit has been refunded.
|
||||||
**/
|
**/
|
||||||
DecisionDepositRefunded: AugmentedEvent<ApiType, [index: u32, who: AccountId32, amount: u128], { index: u32, who: AccountId32, amount: u128 }>;
|
DecisionDepositRefunded: AugmentedEvent<ApiType, [index: u32, who: PezspCoreCryptoAccountId32, amount: u128], { index: u32, who: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* A referendum has moved into the deciding phase.
|
* A referendum has moved into the deciding phase.
|
||||||
**/
|
**/
|
||||||
@@ -481,7 +481,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* A deposit has been slashed.
|
* A deposit has been slashed.
|
||||||
**/
|
**/
|
||||||
DepositSlashed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
DepositSlashed: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, amount: u128], { who: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* A referendum has been killed.
|
* A referendum has been killed.
|
||||||
**/
|
**/
|
||||||
@@ -501,7 +501,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* The submission deposit has been refunded.
|
* The submission deposit has been refunded.
|
||||||
**/
|
**/
|
||||||
SubmissionDepositRefunded: AugmentedEvent<ApiType, [index: u32, who: AccountId32, amount: u128], { index: u32, who: AccountId32, amount: u128 }>;
|
SubmissionDepositRefunded: AugmentedEvent<ApiType, [index: u32, who: PezspCoreCryptoAccountId32, amount: u128], { index: u32, who: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* A referendum has been submitted.
|
* A referendum has been submitted.
|
||||||
**/
|
**/
|
||||||
@@ -585,11 +585,11 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* A deposit to reserve an index has been poked/reconsidered.
|
* A deposit to reserve an index has been poked/reconsidered.
|
||||||
**/
|
**/
|
||||||
DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, index: u32, oldDeposit: u128, newDeposit: u128], { who: AccountId32, index: u32, oldDeposit: u128, newDeposit: u128 }>;
|
DepositPoked: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, index: u32, oldDeposit: u128, newDeposit: u128], { who: PezspCoreCryptoAccountId32, index: u32, oldDeposit: u128, newDeposit: u128 }>;
|
||||||
/**
|
/**
|
||||||
* A account index was assigned.
|
* A account index was assigned.
|
||||||
**/
|
**/
|
||||||
IndexAssigned: AugmentedEvent<ApiType, [who: AccountId32, index: u32], { who: AccountId32, index: u32 }>;
|
IndexAssigned: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, index: u32], { who: PezspCoreCryptoAccountId32, index: u32 }>;
|
||||||
/**
|
/**
|
||||||
* A account index has been freed up (unassigned).
|
* A account index has been freed up (unassigned).
|
||||||
**/
|
**/
|
||||||
@@ -597,7 +597,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* A account index has been frozen to its current account ID.
|
* A account index has been frozen to its current account ID.
|
||||||
**/
|
**/
|
||||||
IndexFrozen: AugmentedEvent<ApiType, [index: u32, who: AccountId32], { index: u32, who: AccountId32 }>;
|
IndexFrozen: AugmentedEvent<ApiType, [index: u32, who: PezspCoreCryptoAccountId32], { index: u32, who: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* Generic event
|
* Generic event
|
||||||
**/
|
**/
|
||||||
@@ -629,23 +629,23 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* The deposit for a multisig operation has been updated/poked.
|
* The deposit for a multisig operation has been updated/poked.
|
||||||
**/
|
**/
|
||||||
DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, callHash: U8aFixed, oldDeposit: u128, newDeposit: u128], { who: AccountId32, callHash: U8aFixed, oldDeposit: u128, newDeposit: u128 }>;
|
DepositPoked: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, callHash: U8aFixed, oldDeposit: u128, newDeposit: u128], { who: PezspCoreCryptoAccountId32, callHash: U8aFixed, oldDeposit: u128, newDeposit: u128 }>;
|
||||||
/**
|
/**
|
||||||
* A multisig operation has been approved by someone.
|
* A multisig operation has been approved by someone.
|
||||||
**/
|
**/
|
||||||
MultisigApproval: AugmentedEvent<ApiType, [approving: AccountId32, timepoint: PezpalletMultisigTimepoint, multisig: AccountId32, callHash: U8aFixed], { approving: AccountId32, timepoint: PezpalletMultisigTimepoint, multisig: AccountId32, callHash: U8aFixed }>;
|
MultisigApproval: AugmentedEvent<ApiType, [approving: PezspCoreCryptoAccountId32, timepoint: PezpalletMultisigTimepoint, multisig: PezspCoreCryptoAccountId32, callHash: U8aFixed], { approving: PezspCoreCryptoAccountId32, timepoint: PezpalletMultisigTimepoint, multisig: PezspCoreCryptoAccountId32, callHash: U8aFixed }>;
|
||||||
/**
|
/**
|
||||||
* A multisig operation has been cancelled.
|
* A multisig operation has been cancelled.
|
||||||
**/
|
**/
|
||||||
MultisigCancelled: AugmentedEvent<ApiType, [cancelling: AccountId32, timepoint: PezpalletMultisigTimepoint, multisig: AccountId32, callHash: U8aFixed], { cancelling: AccountId32, timepoint: PezpalletMultisigTimepoint, multisig: AccountId32, callHash: U8aFixed }>;
|
MultisigCancelled: AugmentedEvent<ApiType, [cancelling: PezspCoreCryptoAccountId32, timepoint: PezpalletMultisigTimepoint, multisig: PezspCoreCryptoAccountId32, callHash: U8aFixed], { cancelling: PezspCoreCryptoAccountId32, timepoint: PezpalletMultisigTimepoint, multisig: PezspCoreCryptoAccountId32, callHash: U8aFixed }>;
|
||||||
/**
|
/**
|
||||||
* A multisig operation has been executed.
|
* A multisig operation has been executed.
|
||||||
**/
|
**/
|
||||||
MultisigExecuted: AugmentedEvent<ApiType, [approving: AccountId32, timepoint: PezpalletMultisigTimepoint, multisig: AccountId32, callHash: U8aFixed, result: Result<Null, PezspRuntimeDispatchError>], { approving: AccountId32, timepoint: PezpalletMultisigTimepoint, multisig: AccountId32, callHash: U8aFixed, result: Result<Null, PezspRuntimeDispatchError> }>;
|
MultisigExecuted: AugmentedEvent<ApiType, [approving: PezspCoreCryptoAccountId32, timepoint: PezpalletMultisigTimepoint, multisig: PezspCoreCryptoAccountId32, callHash: U8aFixed, result: Result<Null, PezspRuntimeDispatchError>], { approving: PezspCoreCryptoAccountId32, timepoint: PezpalletMultisigTimepoint, multisig: PezspCoreCryptoAccountId32, callHash: U8aFixed, result: Result<Null, PezspRuntimeDispatchError> }>;
|
||||||
/**
|
/**
|
||||||
* A new multisig operation has begun.
|
* A new multisig operation has begun.
|
||||||
**/
|
**/
|
||||||
NewMultisig: AugmentedEvent<ApiType, [approving: AccountId32, multisig: AccountId32, callHash: U8aFixed], { approving: AccountId32, multisig: AccountId32, callHash: U8aFixed }>;
|
NewMultisig: AugmentedEvent<ApiType, [approving: PezspCoreCryptoAccountId32, multisig: PezspCoreCryptoAccountId32, callHash: U8aFixed], { approving: PezspCoreCryptoAccountId32, multisig: PezspCoreCryptoAccountId32, callHash: U8aFixed }>;
|
||||||
/**
|
/**
|
||||||
* Generic event
|
* Generic event
|
||||||
**/
|
**/
|
||||||
@@ -655,11 +655,11 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* A member has became bonded in a pool.
|
* A member has became bonded in a pool.
|
||||||
**/
|
**/
|
||||||
Bonded: AugmentedEvent<ApiType, [member: AccountId32, poolId: u32, bonded: u128, joined: bool], { member: AccountId32, poolId: u32, bonded: u128, joined: bool }>;
|
Bonded: AugmentedEvent<ApiType, [member: PezspCoreCryptoAccountId32, poolId: u32, bonded: u128, joined: bool], { member: PezspCoreCryptoAccountId32, poolId: u32, bonded: u128, joined: bool }>;
|
||||||
/**
|
/**
|
||||||
* A pool has been created.
|
* A pool has been created.
|
||||||
**/
|
**/
|
||||||
Created: AugmentedEvent<ApiType, [depositor: AccountId32, poolId: u32], { depositor: AccountId32, poolId: u32 }>;
|
Created: AugmentedEvent<ApiType, [depositor: PezspCoreCryptoAccountId32, poolId: u32], { depositor: PezspCoreCryptoAccountId32, poolId: u32 }>;
|
||||||
/**
|
/**
|
||||||
* A pool has been destroyed.
|
* A pool has been destroyed.
|
||||||
**/
|
**/
|
||||||
@@ -667,11 +667,11 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* Global parameters regulating nomination pools have been updated.
|
* Global parameters regulating nomination pools have been updated.
|
||||||
**/
|
**/
|
||||||
GlobalParamsUpdated: AugmentedEvent<ApiType, [minJoinBond: u128, minCreateBond: u128, maxPools: Option<u32>, maxMembers: Option<u32>, maxMembersPerPool: Option<u32>, globalMaxCommission: Option<Perbill>], { minJoinBond: u128, minCreateBond: u128, maxPools: Option<u32>, maxMembers: Option<u32>, maxMembersPerPool: Option<u32>, globalMaxCommission: Option<Perbill> }>;
|
GlobalParamsUpdated: AugmentedEvent<ApiType, [minJoinBond: u128, minCreateBond: u128, maxPools: Option<u32>, maxMembers: Option<u32>, maxMembersPerPool: Option<u32>, globalMaxCommission: Option<u32>], { minJoinBond: u128, minCreateBond: u128, maxPools: Option<u32>, maxMembers: Option<u32>, maxMembersPerPool: Option<u32>, globalMaxCommission: Option<u32> }>;
|
||||||
/**
|
/**
|
||||||
* A pool member's claim permission has been updated.
|
* A pool member's claim permission has been updated.
|
||||||
**/
|
**/
|
||||||
MemberClaimPermissionUpdated: AugmentedEvent<ApiType, [member: AccountId32, permission: PezpalletNominationPoolsClaimPermission], { member: AccountId32, permission: PezpalletNominationPoolsClaimPermission }>;
|
MemberClaimPermissionUpdated: AugmentedEvent<ApiType, [member: PezspCoreCryptoAccountId32, permission: PezpalletNominationPoolsClaimPermission], { member: PezspCoreCryptoAccountId32, permission: PezpalletNominationPoolsClaimPermission }>;
|
||||||
/**
|
/**
|
||||||
* A member has been removed from a pool.
|
* A member has been removed from a pool.
|
||||||
*
|
*
|
||||||
@@ -679,11 +679,11 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
* Any funds that are still delegated (i.e. dangling delegation) are released and are
|
* Any funds that are still delegated (i.e. dangling delegation) are released and are
|
||||||
* represented by `released_balance`.
|
* represented by `released_balance`.
|
||||||
**/
|
**/
|
||||||
MemberRemoved: AugmentedEvent<ApiType, [poolId: u32, member: AccountId32, releasedBalance: u128], { poolId: u32, member: AccountId32, releasedBalance: u128 }>;
|
MemberRemoved: AugmentedEvent<ApiType, [poolId: u32, member: PezspCoreCryptoAccountId32, releasedBalance: u128], { poolId: u32, member: PezspCoreCryptoAccountId32, releasedBalance: u128 }>;
|
||||||
/**
|
/**
|
||||||
* A pool's metadata was updated.
|
* A pool's metadata was updated.
|
||||||
**/
|
**/
|
||||||
MetadataUpdated: AugmentedEvent<ApiType, [poolId: u32, caller: AccountId32], { poolId: u32, caller: AccountId32 }>;
|
MetadataUpdated: AugmentedEvent<ApiType, [poolId: u32, caller: PezspCoreCryptoAccountId32], { poolId: u32, caller: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* Topped up deficit in frozen ED of the reward pool.
|
* Topped up deficit in frozen ED of the reward pool.
|
||||||
**/
|
**/
|
||||||
@@ -695,7 +695,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* A payout has been made to a member.
|
* A payout has been made to a member.
|
||||||
**/
|
**/
|
||||||
PaidOut: AugmentedEvent<ApiType, [member: AccountId32, poolId: u32, payout: u128], { member: AccountId32, poolId: u32, payout: u128 }>;
|
PaidOut: AugmentedEvent<ApiType, [member: PezspCoreCryptoAccountId32, poolId: u32, payout: u128], { member: PezspCoreCryptoAccountId32, poolId: u32, payout: u128 }>;
|
||||||
/**
|
/**
|
||||||
* A pool's commission `change_rate` has been changed.
|
* A pool's commission `change_rate` has been changed.
|
||||||
**/
|
**/
|
||||||
@@ -711,20 +711,20 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* A pool's commission setting has been changed.
|
* A pool's commission setting has been changed.
|
||||||
**/
|
**/
|
||||||
PoolCommissionUpdated: AugmentedEvent<ApiType, [poolId: u32, current: Option<ITuple<[Perbill, AccountId32]>>], { poolId: u32, current: Option<ITuple<[Perbill, AccountId32]>> }>;
|
PoolCommissionUpdated: AugmentedEvent<ApiType, [poolId: u32, current: Option<ITuple<[u32, PezspCoreCryptoAccountId32]>>], { poolId: u32, current: Option<ITuple<[u32, PezspCoreCryptoAccountId32]>> }>;
|
||||||
/**
|
/**
|
||||||
* A pool's maximum commission setting has been changed.
|
* A pool's maximum commission setting has been changed.
|
||||||
**/
|
**/
|
||||||
PoolMaxCommissionUpdated: AugmentedEvent<ApiType, [poolId: u32, maxCommission: Perbill], { poolId: u32, maxCommission: Perbill }>;
|
PoolMaxCommissionUpdated: AugmentedEvent<ApiType, [poolId: u32, maxCommission: u32], { poolId: u32, maxCommission: u32 }>;
|
||||||
/**
|
/**
|
||||||
* A pool's nominating account (or the pool's root account) has nominated a validator set
|
* A pool's nominating account (or the pool's root account) has nominated a validator set
|
||||||
* on behalf of the pool.
|
* on behalf of the pool.
|
||||||
**/
|
**/
|
||||||
PoolNominationMade: AugmentedEvent<ApiType, [poolId: u32, caller: AccountId32], { poolId: u32, caller: AccountId32 }>;
|
PoolNominationMade: AugmentedEvent<ApiType, [poolId: u32, caller: PezspCoreCryptoAccountId32], { poolId: u32, caller: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* The pool is chilled i.e. no longer nominating.
|
* The pool is chilled i.e. no longer nominating.
|
||||||
**/
|
**/
|
||||||
PoolNominatorChilled: AugmentedEvent<ApiType, [poolId: u32, caller: AccountId32], { poolId: u32, caller: AccountId32 }>;
|
PoolNominatorChilled: AugmentedEvent<ApiType, [poolId: u32, caller: PezspCoreCryptoAccountId32], { poolId: u32, caller: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* The active balance of pool `pool_id` has been slashed to `balance`.
|
* The active balance of pool `pool_id` has been slashed to `balance`.
|
||||||
**/
|
**/
|
||||||
@@ -733,7 +733,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
* The roles of a pool have been updated to the given new roles. Note that the depositor
|
* The roles of a pool have been updated to the given new roles. Note that the depositor
|
||||||
* can never change.
|
* can never change.
|
||||||
**/
|
**/
|
||||||
RolesUpdated: AugmentedEvent<ApiType, [root: Option<AccountId32>, bouncer: Option<AccountId32>, nominator: Option<AccountId32>], { root: Option<AccountId32>, bouncer: Option<AccountId32>, nominator: Option<AccountId32> }>;
|
RolesUpdated: AugmentedEvent<ApiType, [root: Option<PezspCoreCryptoAccountId32>, bouncer: Option<PezspCoreCryptoAccountId32>, nominator: Option<PezspCoreCryptoAccountId32>], { root: Option<PezspCoreCryptoAccountId32>, bouncer: Option<PezspCoreCryptoAccountId32>, nominator: Option<PezspCoreCryptoAccountId32> }>;
|
||||||
/**
|
/**
|
||||||
* The state of a pool has changed
|
* The state of a pool has changed
|
||||||
**/
|
**/
|
||||||
@@ -751,7 +751,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
* number of points that are issued in the unbonding pool will be less than the amount
|
* number of points that are issued in the unbonding pool will be less than the amount
|
||||||
* requested to be unbonded.
|
* requested to be unbonded.
|
||||||
**/
|
**/
|
||||||
Unbonded: AugmentedEvent<ApiType, [member: AccountId32, poolId: u32, balance: u128, points: u128, era: u32], { member: AccountId32, poolId: u32, balance: u128, points: u128, era: u32 }>;
|
Unbonded: AugmentedEvent<ApiType, [member: PezspCoreCryptoAccountId32, poolId: u32, balance: u128, points: u128, era: u32], { member: PezspCoreCryptoAccountId32, poolId: u32, balance: u128, points: u128, era: u32 }>;
|
||||||
/**
|
/**
|
||||||
* The unbond pool at `era` of pool `pool_id` has been slashed to `balance`.
|
* The unbond pool at `era` of pool `pool_id` has been slashed to `balance`.
|
||||||
**/
|
**/
|
||||||
@@ -764,7 +764,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
* Similar to `Unbonded` event, in the absence of slashing, the ratio of point to balance
|
* Similar to `Unbonded` event, in the absence of slashing, the ratio of point to balance
|
||||||
* will be 1.
|
* will be 1.
|
||||||
**/
|
**/
|
||||||
Withdrawn: AugmentedEvent<ApiType, [member: AccountId32, poolId: u32, balance: u128, points: u128], { member: AccountId32, poolId: u32, balance: u128, points: u128 }>;
|
Withdrawn: AugmentedEvent<ApiType, [member: PezspCoreCryptoAccountId32, poolId: u32, balance: u128, points: u128], { member: PezspCoreCryptoAccountId32, poolId: u32, balance: u128, points: u128 }>;
|
||||||
/**
|
/**
|
||||||
* Generic event
|
* Generic event
|
||||||
**/
|
**/
|
||||||
@@ -786,11 +786,11 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* An account was given credits.
|
* An account was given credits.
|
||||||
**/
|
**/
|
||||||
AccountCredited: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
AccountCredited: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, amount: u128], { who: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* An order was placed at some spot price amount by orderer ordered_by
|
* An order was placed at some spot price amount by orderer ordered_by
|
||||||
**/
|
**/
|
||||||
OnDemandOrderPlaced: AugmentedEvent<ApiType, [paraId: u32, spotPrice: u128, orderedBy: AccountId32], { paraId: u32, spotPrice: u128, orderedBy: AccountId32 }>;
|
OnDemandOrderPlaced: AugmentedEvent<ApiType, [paraId: u32, spotPrice: u128, orderedBy: PezspCoreCryptoAccountId32], { paraId: u32, spotPrice: u128, orderedBy: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* The value of the spot price has likely changed
|
* The value of the spot price has likely changed
|
||||||
**/
|
**/
|
||||||
@@ -927,15 +927,15 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* An announcement was placed to make a call in the future.
|
* An announcement was placed to make a call in the future.
|
||||||
**/
|
**/
|
||||||
Announced: AugmentedEvent<ApiType, [real: AccountId32, proxy: AccountId32, callHash: H256], { real: AccountId32, proxy: AccountId32, callHash: H256 }>;
|
Announced: AugmentedEvent<ApiType, [real: PezspCoreCryptoAccountId32, proxy: PezspCoreCryptoAccountId32, callHash: H256], { real: PezspCoreCryptoAccountId32, proxy: PezspCoreCryptoAccountId32, callHash: H256 }>;
|
||||||
/**
|
/**
|
||||||
* A deposit stored for proxies or announcements was poked / updated.
|
* A deposit stored for proxies or announcements was poked / updated.
|
||||||
**/
|
**/
|
||||||
DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, kind: PezpalletProxyDepositKind, oldDeposit: u128, newDeposit: u128], { who: AccountId32, kind: PezpalletProxyDepositKind, oldDeposit: u128, newDeposit: u128 }>;
|
DepositPoked: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, kind: PezpalletProxyDepositKind, oldDeposit: u128, newDeposit: u128], { who: PezspCoreCryptoAccountId32, kind: PezpalletProxyDepositKind, oldDeposit: u128, newDeposit: u128 }>;
|
||||||
/**
|
/**
|
||||||
* A proxy was added.
|
* A proxy was added.
|
||||||
**/
|
**/
|
||||||
ProxyAdded: AugmentedEvent<ApiType, [delegator: AccountId32, delegatee: AccountId32, proxyType: DicleRuntimeConstantsProxyProxyType, delay: u32], { delegator: AccountId32, delegatee: AccountId32, proxyType: DicleRuntimeConstantsProxyProxyType, delay: u32 }>;
|
ProxyAdded: AugmentedEvent<ApiType, [delegator: PezspCoreCryptoAccountId32, delegatee: PezspCoreCryptoAccountId32, proxyType: DicleRuntimeConstantsProxyProxyType, delay: u32], { delegator: PezspCoreCryptoAccountId32, delegatee: PezspCoreCryptoAccountId32, proxyType: DicleRuntimeConstantsProxyProxyType, delay: u32 }>;
|
||||||
/**
|
/**
|
||||||
* A proxy was executed correctly, with the given.
|
* A proxy was executed correctly, with the given.
|
||||||
**/
|
**/
|
||||||
@@ -943,16 +943,16 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* A proxy was removed.
|
* A proxy was removed.
|
||||||
**/
|
**/
|
||||||
ProxyRemoved: AugmentedEvent<ApiType, [delegator: AccountId32, delegatee: AccountId32, proxyType: DicleRuntimeConstantsProxyProxyType, delay: u32], { delegator: AccountId32, delegatee: AccountId32, proxyType: DicleRuntimeConstantsProxyProxyType, delay: u32 }>;
|
ProxyRemoved: AugmentedEvent<ApiType, [delegator: PezspCoreCryptoAccountId32, delegatee: PezspCoreCryptoAccountId32, proxyType: DicleRuntimeConstantsProxyProxyType, delay: u32], { delegator: PezspCoreCryptoAccountId32, delegatee: PezspCoreCryptoAccountId32, proxyType: DicleRuntimeConstantsProxyProxyType, delay: u32 }>;
|
||||||
/**
|
/**
|
||||||
* A pure account has been created by new proxy with given
|
* A pure account has been created by new proxy with given
|
||||||
* disambiguation index and proxy type.
|
* disambiguation index and proxy type.
|
||||||
**/
|
**/
|
||||||
PureCreated: AugmentedEvent<ApiType, [pure: AccountId32, who: AccountId32, proxyType: DicleRuntimeConstantsProxyProxyType, disambiguationIndex: u16], { pure: AccountId32, who: AccountId32, proxyType: DicleRuntimeConstantsProxyProxyType, disambiguationIndex: u16 }>;
|
PureCreated: AugmentedEvent<ApiType, [pure: PezspCoreCryptoAccountId32, who: PezspCoreCryptoAccountId32, proxyType: DicleRuntimeConstantsProxyProxyType, disambiguationIndex: u16], { pure: PezspCoreCryptoAccountId32, who: PezspCoreCryptoAccountId32, proxyType: DicleRuntimeConstantsProxyProxyType, disambiguationIndex: u16 }>;
|
||||||
/**
|
/**
|
||||||
* A pure proxy was killed by its spawner.
|
* A pure proxy was killed by its spawner.
|
||||||
**/
|
**/
|
||||||
PureKilled: AugmentedEvent<ApiType, [pure: AccountId32, spawner: AccountId32, proxyType: DicleRuntimeConstantsProxyProxyType, disambiguationIndex: u16], { pure: AccountId32, spawner: AccountId32, proxyType: DicleRuntimeConstantsProxyProxyType, disambiguationIndex: u16 }>;
|
PureKilled: AugmentedEvent<ApiType, [pure: PezspCoreCryptoAccountId32, spawner: PezspCoreCryptoAccountId32, proxyType: DicleRuntimeConstantsProxyProxyType, disambiguationIndex: u16], { pure: PezspCoreCryptoAccountId32, spawner: PezspCoreCryptoAccountId32, proxyType: DicleRuntimeConstantsProxyProxyType, disambiguationIndex: u16 }>;
|
||||||
/**
|
/**
|
||||||
* Generic event
|
* Generic event
|
||||||
**/
|
**/
|
||||||
@@ -962,7 +962,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* The accounts to be preserved on Relay Chain were set.
|
* The accounts to be preserved on Relay Chain were set.
|
||||||
**/
|
**/
|
||||||
AccountsPreserved: AugmentedEvent<ApiType, [accounts: Vec<AccountId32>], { accounts: Vec<AccountId32> }>;
|
AccountsPreserved: AugmentedEvent<ApiType, [accounts: Vec<PezspCoreCryptoAccountId32>], { accounts: Vec<PezspCoreCryptoAccountId32> }>;
|
||||||
/**
|
/**
|
||||||
* The AH UMP queue priority config was set.
|
* The AH UMP queue priority config was set.
|
||||||
**/
|
**/
|
||||||
@@ -991,7 +991,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* The canceller account id was set.
|
* The canceller account id was set.
|
||||||
**/
|
**/
|
||||||
CancellerSet: AugmentedEvent<ApiType, [old: Option<AccountId32>, new_: Option<AccountId32>], { old: Option<AccountId32>, new_: Option<AccountId32> }>;
|
CancellerSet: AugmentedEvent<ApiType, [old: Option<PezspCoreCryptoAccountId32>, new_: Option<PezspCoreCryptoAccountId32>], { old: Option<PezspCoreCryptoAccountId32>, new_: Option<PezspCoreCryptoAccountId32> }>;
|
||||||
/**
|
/**
|
||||||
* The manager multisig dispatched something.
|
* The manager multisig dispatched something.
|
||||||
**/
|
**/
|
||||||
@@ -1003,7 +1003,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* The manager account id was set.
|
* The manager account id was set.
|
||||||
**/
|
**/
|
||||||
ManagerSet: AugmentedEvent<ApiType, [old: Option<AccountId32>, new_: Option<AccountId32>], { old: Option<AccountId32>, new_: Option<AccountId32> }>;
|
ManagerSet: AugmentedEvent<ApiType, [old: Option<PezspCoreCryptoAccountId32>, new_: Option<PezspCoreCryptoAccountId32>], { old: Option<PezspCoreCryptoAccountId32>, new_: Option<PezspCoreCryptoAccountId32> }>;
|
||||||
/**
|
/**
|
||||||
* The RC kept balance was consumed.
|
* The RC kept balance was consumed.
|
||||||
**/
|
**/
|
||||||
@@ -1057,31 +1057,31 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* Lost account has been successfully recovered by rescuer account.
|
* Lost account has been successfully recovered by rescuer account.
|
||||||
**/
|
**/
|
||||||
AccountRecovered: AugmentedEvent<ApiType, [lostAccount: AccountId32, rescuerAccount: AccountId32], { lostAccount: AccountId32, rescuerAccount: AccountId32 }>;
|
AccountRecovered: AugmentedEvent<ApiType, [lostAccount: PezspCoreCryptoAccountId32, rescuerAccount: PezspCoreCryptoAccountId32], { lostAccount: PezspCoreCryptoAccountId32, rescuerAccount: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* A deposit has been updated.
|
* A deposit has been updated.
|
||||||
**/
|
**/
|
||||||
DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, kind: PezpalletRecoveryDepositKind, oldDeposit: u128, newDeposit: u128], { who: AccountId32, kind: PezpalletRecoveryDepositKind, oldDeposit: u128, newDeposit: u128 }>;
|
DepositPoked: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, kind: PezpalletRecoveryDepositKind, oldDeposit: u128, newDeposit: u128], { who: PezspCoreCryptoAccountId32, kind: PezpalletRecoveryDepositKind, oldDeposit: u128, newDeposit: u128 }>;
|
||||||
/**
|
/**
|
||||||
* A recovery process for lost account by rescuer account has been closed.
|
* A recovery process for lost account by rescuer account has been closed.
|
||||||
**/
|
**/
|
||||||
RecoveryClosed: AugmentedEvent<ApiType, [lostAccount: AccountId32, rescuerAccount: AccountId32], { lostAccount: AccountId32, rescuerAccount: AccountId32 }>;
|
RecoveryClosed: AugmentedEvent<ApiType, [lostAccount: PezspCoreCryptoAccountId32, rescuerAccount: PezspCoreCryptoAccountId32], { lostAccount: PezspCoreCryptoAccountId32, rescuerAccount: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* A recovery process has been set up for an account.
|
* A recovery process has been set up for an account.
|
||||||
**/
|
**/
|
||||||
RecoveryCreated: AugmentedEvent<ApiType, [account: AccountId32], { account: AccountId32 }>;
|
RecoveryCreated: AugmentedEvent<ApiType, [account: PezspCoreCryptoAccountId32], { account: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* A recovery process has been initiated for lost account by rescuer account.
|
* A recovery process has been initiated for lost account by rescuer account.
|
||||||
**/
|
**/
|
||||||
RecoveryInitiated: AugmentedEvent<ApiType, [lostAccount: AccountId32, rescuerAccount: AccountId32], { lostAccount: AccountId32, rescuerAccount: AccountId32 }>;
|
RecoveryInitiated: AugmentedEvent<ApiType, [lostAccount: PezspCoreCryptoAccountId32, rescuerAccount: PezspCoreCryptoAccountId32], { lostAccount: PezspCoreCryptoAccountId32, rescuerAccount: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* A recovery process has been removed for an account.
|
* A recovery process has been removed for an account.
|
||||||
**/
|
**/
|
||||||
RecoveryRemoved: AugmentedEvent<ApiType, [lostAccount: AccountId32], { lostAccount: AccountId32 }>;
|
RecoveryRemoved: AugmentedEvent<ApiType, [lostAccount: PezspCoreCryptoAccountId32], { lostAccount: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* A recovery process for lost account by rescuer account has been vouched for by sender.
|
* A recovery process for lost account by rescuer account has been vouched for by sender.
|
||||||
**/
|
**/
|
||||||
RecoveryVouched: AugmentedEvent<ApiType, [lostAccount: AccountId32, rescuerAccount: AccountId32, sender: AccountId32], { lostAccount: AccountId32, rescuerAccount: AccountId32, sender: AccountId32 }>;
|
RecoveryVouched: AugmentedEvent<ApiType, [lostAccount: PezspCoreCryptoAccountId32, rescuerAccount: PezspCoreCryptoAccountId32, sender: PezspCoreCryptoAccountId32], { lostAccount: PezspCoreCryptoAccountId32, rescuerAccount: PezspCoreCryptoAccountId32, sender: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* Generic event
|
* Generic event
|
||||||
**/
|
**/
|
||||||
@@ -1105,11 +1105,11 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* The decision deposit has been placed.
|
* The decision deposit has been placed.
|
||||||
**/
|
**/
|
||||||
DecisionDepositPlaced: AugmentedEvent<ApiType, [index: u32, who: AccountId32, amount: u128], { index: u32, who: AccountId32, amount: u128 }>;
|
DecisionDepositPlaced: AugmentedEvent<ApiType, [index: u32, who: PezspCoreCryptoAccountId32, amount: u128], { index: u32, who: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* The decision deposit has been refunded.
|
* The decision deposit has been refunded.
|
||||||
**/
|
**/
|
||||||
DecisionDepositRefunded: AugmentedEvent<ApiType, [index: u32, who: AccountId32, amount: u128], { index: u32, who: AccountId32, amount: u128 }>;
|
DecisionDepositRefunded: AugmentedEvent<ApiType, [index: u32, who: PezspCoreCryptoAccountId32, amount: u128], { index: u32, who: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* A referendum has moved into the deciding phase.
|
* A referendum has moved into the deciding phase.
|
||||||
**/
|
**/
|
||||||
@@ -1117,7 +1117,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* A deposit has been slashed.
|
* A deposit has been slashed.
|
||||||
**/
|
**/
|
||||||
DepositSlashed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
DepositSlashed: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, amount: u128], { who: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* A referendum has been killed.
|
* A referendum has been killed.
|
||||||
**/
|
**/
|
||||||
@@ -1137,7 +1137,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* The submission deposit has been refunded.
|
* The submission deposit has been refunded.
|
||||||
**/
|
**/
|
||||||
SubmissionDepositRefunded: AugmentedEvent<ApiType, [index: u32, who: AccountId32, amount: u128], { index: u32, who: AccountId32, amount: u128 }>;
|
SubmissionDepositRefunded: AugmentedEvent<ApiType, [index: u32, who: PezspCoreCryptoAccountId32, amount: u128], { index: u32, who: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* A referendum has been submitted.
|
* A referendum has been submitted.
|
||||||
**/
|
**/
|
||||||
@@ -1153,8 +1153,8 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
};
|
};
|
||||||
registrar: {
|
registrar: {
|
||||||
Deregistered: AugmentedEvent<ApiType, [paraId: u32], { paraId: u32 }>;
|
Deregistered: AugmentedEvent<ApiType, [paraId: u32], { paraId: u32 }>;
|
||||||
Registered: AugmentedEvent<ApiType, [paraId: u32, manager: AccountId32], { paraId: u32, manager: AccountId32 }>;
|
Registered: AugmentedEvent<ApiType, [paraId: u32, manager: PezspCoreCryptoAccountId32], { paraId: u32, manager: PezspCoreCryptoAccountId32 }>;
|
||||||
Reserved: AugmentedEvent<ApiType, [paraId: u32, who: AccountId32], { paraId: u32, who: AccountId32 }>;
|
Reserved: AugmentedEvent<ApiType, [paraId: u32, who: PezspCoreCryptoAccountId32], { paraId: u32, who: PezspCoreCryptoAccountId32 }>;
|
||||||
Swapped: AugmentedEvent<ApiType, [paraId: u32, otherId: u32], { paraId: u32, otherId: u32 }>;
|
Swapped: AugmentedEvent<ApiType, [paraId: u32, otherId: u32], { paraId: u32, otherId: u32 }>;
|
||||||
/**
|
/**
|
||||||
* Generic event
|
* Generic event
|
||||||
@@ -1222,11 +1222,11 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* Validator has been disabled.
|
* Validator has been disabled.
|
||||||
**/
|
**/
|
||||||
ValidatorDisabled: AugmentedEvent<ApiType, [validator: AccountId32], { validator: AccountId32 }>;
|
ValidatorDisabled: AugmentedEvent<ApiType, [validator: PezspCoreCryptoAccountId32], { validator: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* Validator has been re-enabled.
|
* Validator has been re-enabled.
|
||||||
**/
|
**/
|
||||||
ValidatorReenabled: AugmentedEvent<ApiType, [validator: AccountId32], { validator: AccountId32 }>;
|
ValidatorReenabled: AugmentedEvent<ApiType, [validator: PezspCoreCryptoAccountId32], { validator: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* Generic event
|
* Generic event
|
||||||
**/
|
**/
|
||||||
@@ -1238,7 +1238,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
* First balance is any extra amount reserved on top of the para's existing deposit.
|
* First balance is any extra amount reserved on top of the para's existing deposit.
|
||||||
* Second balance is the total amount reserved.
|
* Second balance is the total amount reserved.
|
||||||
**/
|
**/
|
||||||
Leased: AugmentedEvent<ApiType, [paraId: u32, leaser: AccountId32, periodBegin: u32, periodCount: u32, extraReserved: u128, totalAmount: u128], { paraId: u32, leaser: AccountId32, periodBegin: u32, periodCount: u32, extraReserved: u128, totalAmount: u128 }>;
|
Leased: AugmentedEvent<ApiType, [paraId: u32, leaser: PezspCoreCryptoAccountId32, periodBegin: u32, periodCount: u32, extraReserved: u128, totalAmount: u128], { paraId: u32, leaser: PezspCoreCryptoAccountId32, periodBegin: u32, periodCount: u32, extraReserved: u128, totalAmount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* A new `[lease_period]` is beginning.
|
* A new `[lease_period]` is beginning.
|
||||||
**/
|
**/
|
||||||
@@ -1252,24 +1252,24 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* A candidate was dropped (due to an excess of bids in the system).
|
* A candidate was dropped (due to an excess of bids in the system).
|
||||||
**/
|
**/
|
||||||
AutoUnbid: AugmentedEvent<ApiType, [candidate: AccountId32], { candidate: AccountId32 }>;
|
AutoUnbid: AugmentedEvent<ApiType, [candidate: PezspCoreCryptoAccountId32], { candidate: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* A membership bid just happened. The given account is the candidate's ID and their offer
|
* A membership bid just happened. The given account is the candidate's ID and their offer
|
||||||
* is the second.
|
* is the second.
|
||||||
**/
|
**/
|
||||||
Bid: AugmentedEvent<ApiType, [candidateId: AccountId32, offer: u128], { candidateId: AccountId32, offer: u128 }>;
|
Bid: AugmentedEvent<ApiType, [candidateId: PezspCoreCryptoAccountId32, offer: u128], { candidateId: PezspCoreCryptoAccountId32, offer: u128 }>;
|
||||||
/**
|
/**
|
||||||
* A candidate has been suspended
|
* A candidate has been suspended
|
||||||
**/
|
**/
|
||||||
CandidateSuspended: AugmentedEvent<ApiType, [candidate: AccountId32], { candidate: AccountId32 }>;
|
CandidateSuspended: AugmentedEvent<ApiType, [candidate: PezspCoreCryptoAccountId32], { candidate: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* A member has been challenged
|
* A member has been challenged
|
||||||
**/
|
**/
|
||||||
Challenged: AugmentedEvent<ApiType, [member: AccountId32], { member: AccountId32 }>;
|
Challenged: AugmentedEvent<ApiType, [member: PezspCoreCryptoAccountId32], { member: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* A vote has been placed for a defending member
|
* A vote has been placed for a defending member
|
||||||
**/
|
**/
|
||||||
DefenderVote: AugmentedEvent<ApiType, [voter: AccountId32, vote: bool], { voter: AccountId32, vote: bool }>;
|
DefenderVote: AugmentedEvent<ApiType, [voter: PezspCoreCryptoAccountId32, vote: bool], { voter: PezspCoreCryptoAccountId32, vote: bool }>;
|
||||||
/**
|
/**
|
||||||
* Some funds were deposited into the society account.
|
* Some funds were deposited into the society account.
|
||||||
**/
|
**/
|
||||||
@@ -1277,24 +1277,24 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* A deposit was poked / adjusted.
|
* A deposit was poked / adjusted.
|
||||||
**/
|
**/
|
||||||
DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, oldDeposit: u128, newDeposit: u128], { who: AccountId32, oldDeposit: u128, newDeposit: u128 }>;
|
DepositPoked: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, oldDeposit: u128, newDeposit: u128], { who: PezspCoreCryptoAccountId32, oldDeposit: u128, newDeposit: u128 }>;
|
||||||
/**
|
/**
|
||||||
* A \[member\] got elevated to \[rank\].
|
* A \[member\] got elevated to \[rank\].
|
||||||
**/
|
**/
|
||||||
Elevated: AugmentedEvent<ApiType, [member: AccountId32, rank: u32], { member: AccountId32, rank: u32 }>;
|
Elevated: AugmentedEvent<ApiType, [member: PezspCoreCryptoAccountId32, rank: u32], { member: PezspCoreCryptoAccountId32, rank: u32 }>;
|
||||||
/**
|
/**
|
||||||
* The society is founded by the given identity.
|
* The society is founded by the given identity.
|
||||||
**/
|
**/
|
||||||
Founded: AugmentedEvent<ApiType, [founder: AccountId32], { founder: AccountId32 }>;
|
Founded: AugmentedEvent<ApiType, [founder: PezspCoreCryptoAccountId32], { founder: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* A group of candidates have been inducted. The batch's primary is the first value, the
|
* A group of candidates have been inducted. The batch's primary is the first value, the
|
||||||
* batch in full is the second.
|
* batch in full is the second.
|
||||||
**/
|
**/
|
||||||
Inducted: AugmentedEvent<ApiType, [primary: AccountId32, candidates: Vec<AccountId32>], { primary: AccountId32, candidates: Vec<AccountId32> }>;
|
Inducted: AugmentedEvent<ApiType, [primary: PezspCoreCryptoAccountId32, candidates: Vec<PezspCoreCryptoAccountId32>], { primary: PezspCoreCryptoAccountId32, candidates: Vec<PezspCoreCryptoAccountId32> }>;
|
||||||
/**
|
/**
|
||||||
* A member has been suspended
|
* A member has been suspended
|
||||||
**/
|
**/
|
||||||
MemberSuspended: AugmentedEvent<ApiType, [member: AccountId32], { member: AccountId32 }>;
|
MemberSuspended: AugmentedEvent<ApiType, [member: PezspCoreCryptoAccountId32], { member: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* A new set of \[params\] has been set for the group.
|
* A new set of \[params\] has been set for the group.
|
||||||
**/
|
**/
|
||||||
@@ -1302,28 +1302,28 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* A suspended member has been judged.
|
* A suspended member has been judged.
|
||||||
**/
|
**/
|
||||||
SuspendedMemberJudgement: AugmentedEvent<ApiType, [who: AccountId32, judged: bool], { who: AccountId32, judged: bool }>;
|
SuspendedMemberJudgement: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, judged: bool], { who: PezspCoreCryptoAccountId32, judged: bool }>;
|
||||||
/**
|
/**
|
||||||
* A candidate was dropped (by their request).
|
* A candidate was dropped (by their request).
|
||||||
**/
|
**/
|
||||||
Unbid: AugmentedEvent<ApiType, [candidate: AccountId32], { candidate: AccountId32 }>;
|
Unbid: AugmentedEvent<ApiType, [candidate: PezspCoreCryptoAccountId32], { candidate: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* Society is unfounded.
|
* Society is unfounded.
|
||||||
**/
|
**/
|
||||||
Unfounded: AugmentedEvent<ApiType, [founder: AccountId32], { founder: AccountId32 }>;
|
Unfounded: AugmentedEvent<ApiType, [founder: PezspCoreCryptoAccountId32], { founder: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* A candidate was dropped (by request of who vouched for them).
|
* A candidate was dropped (by request of who vouched for them).
|
||||||
**/
|
**/
|
||||||
Unvouch: AugmentedEvent<ApiType, [candidate: AccountId32], { candidate: AccountId32 }>;
|
Unvouch: AugmentedEvent<ApiType, [candidate: PezspCoreCryptoAccountId32], { candidate: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* A vote has been placed
|
* A vote has been placed
|
||||||
**/
|
**/
|
||||||
Vote: AugmentedEvent<ApiType, [candidate: AccountId32, voter: AccountId32, vote: bool], { candidate: AccountId32, voter: AccountId32, vote: bool }>;
|
Vote: AugmentedEvent<ApiType, [candidate: PezspCoreCryptoAccountId32, voter: PezspCoreCryptoAccountId32, vote: bool], { candidate: PezspCoreCryptoAccountId32, voter: PezspCoreCryptoAccountId32, vote: bool }>;
|
||||||
/**
|
/**
|
||||||
* A membership bid just happened by vouching. The given account is the candidate's ID and
|
* A membership bid just happened by vouching. The given account is the candidate's ID and
|
||||||
* their offer is the second. The vouching party is the third.
|
* their offer is the second. The vouching party is the third.
|
||||||
**/
|
**/
|
||||||
Vouch: AugmentedEvent<ApiType, [candidateId: AccountId32, offer: u128, vouching: AccountId32], { candidateId: AccountId32, offer: u128, vouching: AccountId32 }>;
|
Vouch: AugmentedEvent<ApiType, [candidateId: PezspCoreCryptoAccountId32, offer: u128, vouching: PezspCoreCryptoAccountId32], { candidateId: PezspCoreCryptoAccountId32, offer: u128, vouching: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* Generic event
|
* Generic event
|
||||||
**/
|
**/
|
||||||
@@ -1336,11 +1336,11 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
* NOTE: This event is only emitted when funds are bonded via a dispatchable. Notably,
|
* NOTE: This event is only emitted when funds are bonded via a dispatchable. Notably,
|
||||||
* it will not be emitted for staking rewards when they are added to stake.
|
* it will not be emitted for staking rewards when they are added to stake.
|
||||||
**/
|
**/
|
||||||
Bonded: AugmentedEvent<ApiType, [stash: AccountId32, amount: u128], { stash: AccountId32, amount: u128 }>;
|
Bonded: AugmentedEvent<ApiType, [stash: PezspCoreCryptoAccountId32, amount: u128], { stash: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* An account has stopped participating as either a validator or nominator.
|
* An account has stopped participating as either a validator or nominator.
|
||||||
**/
|
**/
|
||||||
Chilled: AugmentedEvent<ApiType, [stash: AccountId32], { stash: AccountId32 }>;
|
Chilled: AugmentedEvent<ApiType, [stash: PezspCoreCryptoAccountId32], { stash: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* Report of a controller batch deprecation.
|
* Report of a controller batch deprecation.
|
||||||
**/
|
**/
|
||||||
@@ -1349,7 +1349,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
* Staking balance migrated from locks to holds, with any balance that could not be held
|
* Staking balance migrated from locks to holds, with any balance that could not be held
|
||||||
* is force withdrawn.
|
* is force withdrawn.
|
||||||
**/
|
**/
|
||||||
CurrencyMigrated: AugmentedEvent<ApiType, [stash: AccountId32, forceWithdraw: u128], { stash: AccountId32, forceWithdraw: u128 }>;
|
CurrencyMigrated: AugmentedEvent<ApiType, [stash: PezspCoreCryptoAccountId32, forceWithdraw: u128], { stash: PezspCoreCryptoAccountId32, forceWithdraw: u128 }>;
|
||||||
/**
|
/**
|
||||||
* The era payout has been set; the first balance is the validator-payout; the second is
|
* The era payout has been set; the first balance is the validator-payout; the second is
|
||||||
* the remainder from the maximum amount of reward.
|
* the remainder from the maximum amount of reward.
|
||||||
@@ -1362,7 +1362,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* A nominator has been kicked from a validator.
|
* A nominator has been kicked from a validator.
|
||||||
**/
|
**/
|
||||||
Kicked: AugmentedEvent<ApiType, [nominator: AccountId32, stash: AccountId32], { nominator: AccountId32, stash: AccountId32 }>;
|
Kicked: AugmentedEvent<ApiType, [nominator: PezspCoreCryptoAccountId32, stash: PezspCoreCryptoAccountId32], { nominator: PezspCoreCryptoAccountId32, stash: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* An old slashing report from a prior era was discarded because it could
|
* An old slashing report from a prior era was discarded because it could
|
||||||
* not be processed.
|
* not be processed.
|
||||||
@@ -1371,20 +1371,20 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* A Page of stakers rewards are getting paid. `next` is `None` if all pages are claimed.
|
* A Page of stakers rewards are getting paid. `next` is `None` if all pages are claimed.
|
||||||
**/
|
**/
|
||||||
PayoutStarted: AugmentedEvent<ApiType, [eraIndex: u32, validatorStash: AccountId32, page: u32, next: Option<u32>], { eraIndex: u32, validatorStash: AccountId32, page: u32, next: Option<u32> }>;
|
PayoutStarted: AugmentedEvent<ApiType, [eraIndex: u32, validatorStash: PezspCoreCryptoAccountId32, page: u32, next: Option<u32>], { eraIndex: u32, validatorStash: PezspCoreCryptoAccountId32, page: u32, next: Option<u32> }>;
|
||||||
/**
|
/**
|
||||||
* The nominator has been rewarded by this amount to this destination.
|
* The nominator has been rewarded by this amount to this destination.
|
||||||
**/
|
**/
|
||||||
Rewarded: AugmentedEvent<ApiType, [stash: AccountId32, dest: PezpalletStakingRewardDestination, amount: u128], { stash: AccountId32, dest: PezpalletStakingRewardDestination, amount: u128 }>;
|
Rewarded: AugmentedEvent<ApiType, [stash: PezspCoreCryptoAccountId32, dest: PezpalletStakingRewardDestination, amount: u128], { stash: PezspCoreCryptoAccountId32, dest: PezpalletStakingRewardDestination, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* A staker (validator or nominator) has been slashed by the given amount.
|
* A staker (validator or nominator) has been slashed by the given amount.
|
||||||
**/
|
**/
|
||||||
Slashed: AugmentedEvent<ApiType, [staker: AccountId32, amount: u128], { staker: AccountId32, amount: u128 }>;
|
Slashed: AugmentedEvent<ApiType, [staker: PezspCoreCryptoAccountId32, amount: u128], { staker: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* A slash for the given validator, for the given percentage of their stake, at the given
|
* A slash for the given validator, for the given percentage of their stake, at the given
|
||||||
* era as been reported.
|
* era as been reported.
|
||||||
**/
|
**/
|
||||||
SlashReported: AugmentedEvent<ApiType, [validator: AccountId32, fraction: Perbill, slashEra: u32], { validator: AccountId32, fraction: Perbill, slashEra: u32 }>;
|
SlashReported: AugmentedEvent<ApiType, [validator: PezspCoreCryptoAccountId32, fraction: u32, slashEra: u32], { validator: PezspCoreCryptoAccountId32, fraction: u32, slashEra: u32 }>;
|
||||||
/**
|
/**
|
||||||
* Targets size limit reached.
|
* Targets size limit reached.
|
||||||
**/
|
**/
|
||||||
@@ -1404,16 +1404,16 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* An account has unbonded this amount.
|
* An account has unbonded this amount.
|
||||||
**/
|
**/
|
||||||
Unbonded: AugmentedEvent<ApiType, [stash: AccountId32, amount: u128], { stash: AccountId32, amount: u128 }>;
|
Unbonded: AugmentedEvent<ApiType, [stash: PezspCoreCryptoAccountId32, amount: u128], { stash: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* A validator has set their preferences.
|
* A validator has set their preferences.
|
||||||
**/
|
**/
|
||||||
ValidatorPrefsSet: AugmentedEvent<ApiType, [stash: AccountId32, prefs: PezpalletStakingValidatorPrefs], { stash: AccountId32, prefs: PezpalletStakingValidatorPrefs }>;
|
ValidatorPrefsSet: AugmentedEvent<ApiType, [stash: PezspCoreCryptoAccountId32, prefs: PezpalletStakingValidatorPrefs], { stash: PezspCoreCryptoAccountId32, prefs: PezpalletStakingValidatorPrefs }>;
|
||||||
/**
|
/**
|
||||||
* An account has called `withdraw_unbonded` and removed unbonding chunks worth `Balance`
|
* An account has called `withdraw_unbonded` and removed unbonding chunks worth `Balance`
|
||||||
* from the unlocking queue.
|
* from the unlocking queue.
|
||||||
**/
|
**/
|
||||||
Withdrawn: AugmentedEvent<ApiType, [stash: AccountId32, amount: u128], { stash: AccountId32, amount: u128 }>;
|
Withdrawn: AugmentedEvent<ApiType, [stash: PezspCoreCryptoAccountId32, amount: u128], { stash: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* Generic event
|
* Generic event
|
||||||
**/
|
**/
|
||||||
@@ -1462,11 +1462,11 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* An account was reaped.
|
* An account was reaped.
|
||||||
**/
|
**/
|
||||||
KilledAccount: AugmentedEvent<ApiType, [account: AccountId32], { account: AccountId32 }>;
|
KilledAccount: AugmentedEvent<ApiType, [account: PezspCoreCryptoAccountId32], { account: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* A new account was created.
|
* A new account was created.
|
||||||
**/
|
**/
|
||||||
NewAccount: AugmentedEvent<ApiType, [account: AccountId32], { account: AccountId32 }>;
|
NewAccount: AugmentedEvent<ApiType, [account: PezspCoreCryptoAccountId32], { account: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* An invalid authorized upgrade was rejected while trying to apply it.
|
* An invalid authorized upgrade was rejected while trying to apply it.
|
||||||
**/
|
**/
|
||||||
@@ -1474,7 +1474,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* On on-chain remark happened.
|
* On on-chain remark happened.
|
||||||
**/
|
**/
|
||||||
Remarked: AugmentedEvent<ApiType, [sender: AccountId32, hash_: H256], { sender: AccountId32, hash_: H256 }>;
|
Remarked: AugmentedEvent<ApiType, [sender: PezspCoreCryptoAccountId32, hash_: H256], { sender: PezspCoreCryptoAccountId32, hash_: H256 }>;
|
||||||
/**
|
/**
|
||||||
* An upgrade was authorized.
|
* An upgrade was authorized.
|
||||||
**/
|
**/
|
||||||
@@ -1489,7 +1489,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
* A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
|
* A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
|
||||||
* has been paid by `who`.
|
* has been paid by `who`.
|
||||||
**/
|
**/
|
||||||
TransactionFeePaid: AugmentedEvent<ApiType, [who: AccountId32, actualFee: u128, tip: u128], { who: AccountId32, actualFee: u128, tip: u128 }>;
|
TransactionFeePaid: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, actualFee: u128, tip: u128], { who: PezspCoreCryptoAccountId32, actualFee: u128, tip: u128 }>;
|
||||||
/**
|
/**
|
||||||
* Generic event
|
* Generic event
|
||||||
**/
|
**/
|
||||||
@@ -1507,7 +1507,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* Some funds have been allocated.
|
* Some funds have been allocated.
|
||||||
**/
|
**/
|
||||||
Awarded: AugmentedEvent<ApiType, [proposalIndex: u32, award: u128, account: AccountId32], { proposalIndex: u32, award: u128, account: AccountId32 }>;
|
Awarded: AugmentedEvent<ApiType, [proposalIndex: u32, award: u128, account: PezspCoreCryptoAccountId32], { proposalIndex: u32, award: u128, account: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* Some of our funds have been burnt.
|
* Some of our funds have been burnt.
|
||||||
**/
|
**/
|
||||||
@@ -1531,7 +1531,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* A new spend proposal has been approved.
|
* A new spend proposal has been approved.
|
||||||
**/
|
**/
|
||||||
SpendApproved: AugmentedEvent<ApiType, [proposalIndex: u32, amount: u128, beneficiary: AccountId32], { proposalIndex: u32, amount: u128, beneficiary: AccountId32 }>;
|
SpendApproved: AugmentedEvent<ApiType, [proposalIndex: u32, amount: u128, beneficiary: PezspCoreCryptoAccountId32], { proposalIndex: u32, amount: u128, beneficiary: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* We have ended a spend period and will now allocate funds.
|
* We have ended a spend period and will now allocate funds.
|
||||||
**/
|
**/
|
||||||
@@ -1593,16 +1593,16 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* An \[account\] has become fully vested.
|
* An \[account\] has become fully vested.
|
||||||
**/
|
**/
|
||||||
VestingCompleted: AugmentedEvent<ApiType, [account: AccountId32], { account: AccountId32 }>;
|
VestingCompleted: AugmentedEvent<ApiType, [account: PezspCoreCryptoAccountId32], { account: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* A vesting schedule has been created.
|
* A vesting schedule has been created.
|
||||||
**/
|
**/
|
||||||
VestingCreated: AugmentedEvent<ApiType, [account: AccountId32, scheduleIndex: u32], { account: AccountId32, scheduleIndex: u32 }>;
|
VestingCreated: AugmentedEvent<ApiType, [account: PezspCoreCryptoAccountId32, scheduleIndex: u32], { account: PezspCoreCryptoAccountId32, scheduleIndex: u32 }>;
|
||||||
/**
|
/**
|
||||||
* The amount vested has been updated. This could indicate a change in funds available.
|
* The amount vested has been updated. This could indicate a change in funds available.
|
||||||
* The balance given is the amount which is left unvested (and thus locked).
|
* The balance given is the amount which is left unvested (and thus locked).
|
||||||
**/
|
**/
|
||||||
VestingUpdated: AugmentedEvent<ApiType, [account: AccountId32, unvested: u128], { account: AccountId32, unvested: u128 }>;
|
VestingUpdated: AugmentedEvent<ApiType, [account: PezspCoreCryptoAccountId32, unvested: u128], { account: PezspCoreCryptoAccountId32, unvested: u128 }>;
|
||||||
/**
|
/**
|
||||||
* Generic event
|
* Generic event
|
||||||
**/
|
**/
|
||||||
@@ -1612,11 +1612,11 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* Moved an account from one bag to another.
|
* Moved an account from one bag to another.
|
||||||
**/
|
**/
|
||||||
Rebagged: AugmentedEvent<ApiType, [who: AccountId32, from: u64, to: u64], { who: AccountId32, from: u64, to: u64 }>;
|
Rebagged: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, from: u64, to: u64], { who: PezspCoreCryptoAccountId32, from: u64, to: u64 }>;
|
||||||
/**
|
/**
|
||||||
* Updated the score of some account to the given amount.
|
* Updated the score of some account to the given amount.
|
||||||
**/
|
**/
|
||||||
ScoreUpdated: AugmentedEvent<ApiType, [who: AccountId32, newScore: u64], { who: AccountId32, newScore: u64 }>;
|
ScoreUpdated: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, newScore: u64], { who: PezspCoreCryptoAccountId32, newScore: u64 }>;
|
||||||
/**
|
/**
|
||||||
* Generic event
|
* Generic event
|
||||||
**/
|
**/
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -13,7 +13,7 @@ import type { Extrinsic } from '@pezkuwi/types/interfaces/extrinsics';
|
|||||||
import type { OpaqueMetadata } from '@pezkuwi/types/interfaces/metadata';
|
import type { OpaqueMetadata } from '@pezkuwi/types/interfaces/metadata';
|
||||||
import type { AccountId32, H256, OriginCaller, RuntimeCall, Slot } from '@pezkuwi/types/interfaces/runtime';
|
import type { AccountId32, H256, OriginCaller, RuntimeCall, Slot } from '@pezkuwi/types/interfaces/runtime';
|
||||||
import type { ParaId, ValidationCodeHash } from '@pezkuwi/types/interfaces/teyrchains';
|
import type { ParaId, ValidationCodeHash } from '@pezkuwi/types/interfaces/teyrchains';
|
||||||
import type { PezkuwiCorePrimitivesInboundDownwardMessage, PezkuwiCorePrimitivesInboundHrmpMessage, PezkuwiPrimitivesV8ApprovalVotingParams, PezkuwiPrimitivesV8AsyncBackingAsyncBackingParams, PezkuwiPrimitivesV8CandidateCommitments, PezkuwiPrimitivesV8DisputeState, PezkuwiPrimitivesV8ExecutorParams, PezkuwiPrimitivesV8GroupRotationInfo, PezkuwiPrimitivesV8OccupiedCoreAssumption, PezkuwiPrimitivesV8PersistedValidationData, PezkuwiPrimitivesV8PvfCheckStatement, PezkuwiPrimitivesV8SessionInfo, PezkuwiPrimitivesV8SlashingDisputeProof, PezkuwiPrimitivesV8SlashingPendingSlashes, PezkuwiPrimitivesV8ValidatorAppPublic, PezkuwiPrimitivesV8ValidatorAppSignature, PezkuwiPrimitivesVstagingAsyncBackingBackingState, PezkuwiPrimitivesVstagingAsyncBackingConstraints, PezkuwiPrimitivesVstagingCandidateEvent, PezkuwiPrimitivesVstagingCommittedCandidateReceiptV2, PezkuwiPrimitivesVstagingCoreState, PezkuwiPrimitivesVstagingScrapedOnChainVotes, PezpalletTransactionPaymentFeeDetails, PezpalletTransactionPaymentRuntimeDispatchInfo, PezspAuthorityDiscoveryAppPublic, PezspConsensusBabeAppPublic, PezspConsensusBabeBabeConfiguration, PezspConsensusBabeEpoch, PezspConsensusBeefyDoubleVotingProof, PezspConsensusBeefyEcdsaCryptoPublic, PezspConsensusBeefyForkVotingProofOpaqueValue, PezspConsensusBeefyFutureBlockVotingProof, PezspConsensusBeefyMmrBeefyAuthoritySet, PezspConsensusBeefyValidatorSet, PezspConsensusGrandpaAppPublic, PezspConsensusGrandpaEquivocationProof, PezspConsensusSlotsEquivocationProof, PezspCoreCryptoKeyTypeId, PezspInherentsCheckInherentsResult, PezspInherentsInherentData, PezspMmrPrimitivesError, PezspMmrPrimitivesLeafProof, PezspRuntimeBlock, PezspRuntimeDispatchError, PezspRuntimeExtrinsicInclusionMode, PezspRuntimeHeader, PezspRuntimeTransactionValidityTransactionSource, PezspRuntimeTransactionValidityTransactionValidityError, PezspRuntimeTransactionValidityValidTransaction, PezspVersionRuntimeVersion, PezspWeightsWeightV2Weight, RelayCommonApisInflationInfo, XcmRuntimeApisConversionsError, XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError, XcmRuntimeApisDryRunXcmDryRunEffects, XcmRuntimeApisFeesError, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@pezkuwi/types/lookup';
|
import type { PezkuwiCorePrimitivesInboundDownwardMessage, PezkuwiCorePrimitivesInboundHrmpMessage, PezkuwiPrimitivesV8ApprovalVotingParams, PezkuwiPrimitivesV8AsyncBackingAsyncBackingParams, PezkuwiPrimitivesV8CandidateCommitments, PezkuwiPrimitivesV8DisputeState, PezkuwiPrimitivesV8ExecutorParams, PezkuwiPrimitivesV8GroupRotationInfo, PezkuwiPrimitivesV8OccupiedCoreAssumption, PezkuwiPrimitivesV8PersistedValidationData, PezkuwiPrimitivesV8PvfCheckStatement, PezkuwiPrimitivesV8SessionInfo, PezkuwiPrimitivesV8SlashingDisputeProof, PezkuwiPrimitivesV8SlashingPendingSlashes, PezkuwiPrimitivesV8ValidatorAppPublic, PezkuwiPrimitivesV8ValidatorAppSignature, PezkuwiPrimitivesVstagingAsyncBackingBackingState, PezkuwiPrimitivesVstagingAsyncBackingConstraints, PezkuwiPrimitivesVstagingCandidateEvent, PezkuwiPrimitivesVstagingCommittedCandidateReceiptV2, PezkuwiPrimitivesVstagingCoreState, PezkuwiPrimitivesVstagingScrapedOnChainVotes, PezpalletTransactionPaymentFeeDetails, PezpalletTransactionPaymentRuntimeDispatchInfo, PezspAuthorityDiscoveryAppPublic, PezspConsensusBabeAppPublic, PezspConsensusBabeBabeConfiguration, PezspConsensusBabeEpoch, PezspConsensusBeefyDoubleVotingProof, PezspConsensusBeefyEcdsaCryptoPublic, PezspConsensusBeefyForkVotingProofOpaqueValue, PezspConsensusBeefyFutureBlockVotingProof, PezspConsensusBeefyMmrBeefyAuthoritySet, PezspConsensusBeefyValidatorSet, PezspConsensusGrandpaAppPublic, PezspConsensusGrandpaEquivocationProof, PezspConsensusSlotsEquivocationProof, PezspCoreCryptoAccountId32, PezspCoreCryptoKeyTypeId, PezspInherentsCheckInherentsResult, PezspInherentsInherentData, PezspMmrPrimitivesError, PezspMmrPrimitivesLeafProof, PezspRuntimeBlock, PezspRuntimeDispatchError, PezspRuntimeExtrinsicInclusionMode, PezspRuntimeHeader, PezspRuntimeTransactionValidityTransactionSource, PezspRuntimeTransactionValidityTransactionValidityError, PezspRuntimeTransactionValidityValidTransaction, PezspVersionRuntimeVersion, PezspWeightsWeightV2Weight, RelayCommonApisInflationInfo, XcmRuntimeApisConversionsError, XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError, XcmRuntimeApisDryRunXcmDryRunEffects, XcmRuntimeApisFeesError, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@pezkuwi/types/lookup';
|
||||||
import type { IExtrinsic, Observable } from '@pezkuwi/types/types';
|
import type { IExtrinsic, Observable } from '@pezkuwi/types/types';
|
||||||
|
|
||||||
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
|
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
|
||||||
@@ -239,7 +239,7 @@ declare module '@pezkuwi/api-base/types/calls' {
|
|||||||
/**
|
/**
|
||||||
* Converts `Location` to `AccountId`.
|
* Converts `Location` to `AccountId`.
|
||||||
**/
|
**/
|
||||||
convertLocation: AugmentedCall<ApiType, (location: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<AccountId32, XcmRuntimeApisConversionsError>>>;
|
convertLocation: AugmentedCall<ApiType, (location: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<PezspCoreCryptoAccountId32, XcmRuntimeApisConversionsError>>>;
|
||||||
/**
|
/**
|
||||||
* Generic call
|
* Generic call
|
||||||
**/
|
**/
|
||||||
@@ -254,7 +254,7 @@ declare module '@pezkuwi/api-base/types/calls' {
|
|||||||
/**
|
/**
|
||||||
* Returns the metadata at a given version.,, If the given `version` isn't supported, this will return `None`., Use [`Self::metadata_versions`] to find out about supported metadata version of the runtime.
|
* Returns the metadata at a given version.,, If the given `version` isn't supported, this will return `None`., Use [`Self::metadata_versions`] to find out about supported metadata version of the runtime.
|
||||||
**/
|
**/
|
||||||
metadataAtVersion: AugmentedCall<ApiType, (version: u32 | AnyNumber | Uint8Array) => Observable<Option<OpaqueMetadata>>>;
|
metadataAtVersion: AugmentedCall<ApiType, (version: u32 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>>;
|
||||||
/**
|
/**
|
||||||
* Returns the supported metadata versions.,, This can be used to call `metadata_at_version`.
|
* Returns the supported metadata versions.,, This can be used to call `metadata_at_version`.
|
||||||
**/
|
**/
|
||||||
@@ -320,7 +320,7 @@ declare module '@pezkuwi/api-base/types/calls' {
|
|||||||
/**
|
/**
|
||||||
* Returns the bonded account and reward account associated with the pool_id.
|
* Returns the bonded account and reward account associated with the pool_id.
|
||||||
**/
|
**/
|
||||||
poolAccounts: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array) => Observable<ITuple<[AccountId32, AccountId32]>>>;
|
poolAccounts: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array) => Observable<ITuple<[PezspCoreCryptoAccountId32, PezspCoreCryptoAccountId32]>>>;
|
||||||
/**
|
/**
|
||||||
* Total balance contributed to the pool.
|
* Total balance contributed to the pool.
|
||||||
**/
|
**/
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ import '@pezkuwi/api-base/types/submittable';
|
|||||||
import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableExtrinsicFunction } from '@pezkuwi/api-base/types';
|
import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableExtrinsicFunction } from '@pezkuwi/api-base/types';
|
||||||
import type { Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@pezkuwi/types-codec';
|
import type { Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@pezkuwi/types-codec';
|
||||||
import type { AnyNumber, IMethod, ITuple } from '@pezkuwi/types-codec/types';
|
import type { AnyNumber, IMethod, ITuple } from '@pezkuwi/types-codec/types';
|
||||||
import type { AccountId32, H256, MultiAddress, Perbill, Percent, RuntimeCall } from '@pezkuwi/types/interfaces/runtime';
|
import type { AccountId, AccountIndex, Address, H256, LookupSource, RuntimeCall } from '@pezkuwi/types/interfaces/runtime';
|
||||||
import type { DicleRuntimeConstantsProxyProxyType, PezframeSupportPreimagesBounded, PezframeSupportScheduleDispatchTime, PezkuwiPrimitivesV8ApprovalVotingParams, PezkuwiPrimitivesV8AsyncBackingAsyncBackingParams, PezkuwiPrimitivesV8ExecutorParams, PezkuwiPrimitivesV8PvfCheckStatement, PezkuwiPrimitivesV8SchedulerParams, PezkuwiPrimitivesV8ValidatorAppSignature, PezkuwiPrimitivesVstagingDisputeProof, PezkuwiPrimitivesVstagingInherentData, PezkuwiRuntimeCommonClaimsEcdsaSignature, PezkuwiRuntimeCommonClaimsEthereumAddress, PezkuwiRuntimeCommonClaimsStatementKind, PezkuwiRuntimeCommonImplsVersionedLocatableAsset, PezkuwiRuntimeTeyrchainsInclusionAggregateMessageOrigin, PezkuwiTeyrchainPrimitivesPrimitivesHrmpChannelId, PezpalletBalancesAdjustmentDirection, PezpalletBrokerCoretimeInterfaceCoreAssignment, PezpalletConvictionVotingConviction, PezpalletConvictionVotingVoteAccountVote, PezpalletElectionProviderMultiPhaseRawSolution, PezpalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PezpalletMultisigTimepoint, PezpalletNominationPoolsBondExtra, PezpalletNominationPoolsClaimPermission, PezpalletNominationPoolsCommissionChangeRate, PezpalletNominationPoolsCommissionClaimPermission, PezpalletNominationPoolsConfigOpAccountId32, PezpalletNominationPoolsConfigOpPerbill, PezpalletNominationPoolsConfigOpU128, PezpalletNominationPoolsConfigOpU32, PezpalletNominationPoolsPoolState, PezpalletRcMigratorManagerMultisigVote, PezpalletRcMigratorMigrationStage, PezpalletRcMigratorQueuePriority, PezpalletStakingAsyncAhClientOperatingMode, PezpalletStakingAsyncRcClientValidatorSetReport, PezpalletStakingPezpalletConfigOpPerbill, PezpalletStakingPezpalletConfigOpPercent, PezpalletStakingPezpalletConfigOpU128, PezpalletStakingPezpalletConfigOpU32, PezpalletStakingRewardDestination, PezpalletStakingUnlockChunk, PezpalletStakingValidatorPrefs, PezpalletVestingVestingInfo, PezspConsensusBabeDigestsNextConfigDescriptor, PezspConsensusBeefyDoubleVotingProof, PezspConsensusBeefyForkVotingProofAncestryProof, PezspConsensusBeefyFutureBlockVotingProof, PezspConsensusGrandpaEquivocationProof, PezspConsensusSlotsEquivocationProof, PezspNposElectionsElectionScore, PezspNposElectionsSupport, PezspRuntimeMultiSignature, PezspRuntimeMultiSigner, PezspSessionMembershipProof, PezspWeightsWeightV2Weight, StagingDicleRuntimeOriginCaller, StagingDicleRuntimeRuntimeParameters, StagingDicleRuntimeSessionKeys, StagingXcmExecutorAssetTransferTransferType, StagingXcmV5Location, StagingXcmV5Response, XcmV3WeightLimit, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@pezkuwi/types/lookup';
|
import type { DicleRuntimeConstantsProxyProxyType, PezframeSupportPreimagesBounded, PezframeSupportScheduleDispatchTime, PezkuwiPrimitivesV8ApprovalVotingParams, PezkuwiPrimitivesV8AsyncBackingAsyncBackingParams, PezkuwiPrimitivesV8ExecutorParams, PezkuwiPrimitivesV8PvfCheckStatement, PezkuwiPrimitivesV8SchedulerParams, PezkuwiPrimitivesV8ValidatorAppSignature, PezkuwiPrimitivesVstagingDisputeProof, PezkuwiPrimitivesVstagingInherentData, PezkuwiRuntimeCommonClaimsEcdsaSignature, PezkuwiRuntimeCommonClaimsEthereumAddress, PezkuwiRuntimeCommonClaimsStatementKind, PezkuwiRuntimeCommonImplsVersionedLocatableAsset, PezkuwiRuntimeTeyrchainsInclusionAggregateMessageOrigin, PezkuwiTeyrchainPrimitivesPrimitivesHrmpChannelId, PezpalletBalancesAdjustmentDirection, PezpalletBrokerCoretimeInterfaceCoreAssignment, PezpalletConvictionVotingConviction, PezpalletConvictionVotingVoteAccountVote, PezpalletElectionProviderMultiPhaseRawSolution, PezpalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PezpalletMultisigTimepoint, PezpalletNominationPoolsBondExtra, PezpalletNominationPoolsClaimPermission, PezpalletNominationPoolsCommissionChangeRate, PezpalletNominationPoolsCommissionClaimPermission, PezpalletNominationPoolsConfigOpAccountId32, PezpalletNominationPoolsConfigOpPerbill, PezpalletNominationPoolsConfigOpU128, PezpalletNominationPoolsConfigOpU32, PezpalletNominationPoolsPoolState, PezpalletRcMigratorManagerMultisigVote, PezpalletRcMigratorMigrationStage, PezpalletRcMigratorQueuePriority, PezpalletStakingAsyncAhClientOperatingMode, PezpalletStakingAsyncRcClientValidatorSetReport, PezpalletStakingPezpalletConfigOpPerbill, PezpalletStakingPezpalletConfigOpPercent, PezpalletStakingPezpalletConfigOpU128, PezpalletStakingPezpalletConfigOpU32, PezpalletStakingRewardDestination, PezpalletStakingUnlockChunk, PezpalletStakingValidatorPrefs, PezpalletVestingVestingInfo, PezspConsensusBabeDigestsNextConfigDescriptor, PezspConsensusBeefyDoubleVotingProof, PezspConsensusBeefyForkVotingProofAncestryProof, PezspConsensusBeefyFutureBlockVotingProof, PezspConsensusGrandpaEquivocationProof, PezspConsensusSlotsEquivocationProof, PezspCoreCryptoAccountId32, PezspNposElectionsElectionScore, PezspNposElectionsSupport, PezspRuntimeMultiAddress, PezspRuntimeMultiSignature, PezspRuntimeMultiSigner, PezspSessionMembershipProof, PezspWeightsWeightV2Weight, StagingDicleRuntimeOriginCaller, StagingDicleRuntimeRuntimeParameters, StagingDicleRuntimeSessionKeys, StagingXcmExecutorAssetTransferTransferType, StagingXcmV5Location, StagingXcmV5Response, XcmV3WeightLimit, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@pezkuwi/types/lookup';
|
||||||
|
|
||||||
export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
|
export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
|
||||||
export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
|
export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
|
||||||
@@ -138,18 +138,18 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* The dispatch origin for this call is `root`.
|
* The dispatch origin for this call is `root`.
|
||||||
**/
|
**/
|
||||||
forceSetBalance: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, newFree: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
|
forceSetBalance: AugmentedSubmittable<(who: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, newFree: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, Compact<u128>]>;
|
||||||
/**
|
/**
|
||||||
* Exactly as `transfer_allow_death`, except the origin must be root and the source account
|
* Exactly as `transfer_allow_death`, except the origin must be root and the source account
|
||||||
* may be specified.
|
* may be specified.
|
||||||
**/
|
**/
|
||||||
forceTransfer: AugmentedSubmittable<(source: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Compact<u128>]>;
|
forceTransfer: AugmentedSubmittable<(source: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, dest: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, PezspRuntimeMultiAddress, Compact<u128>]>;
|
||||||
/**
|
/**
|
||||||
* Unreserve some balance from a user by force.
|
* Unreserve some balance from a user by force.
|
||||||
*
|
*
|
||||||
* Can only be called by ROOT.
|
* Can only be called by ROOT.
|
||||||
**/
|
**/
|
||||||
forceUnreserve: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u128]>;
|
forceUnreserve: AugmentedSubmittable<(who: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, u128]>;
|
||||||
/**
|
/**
|
||||||
* Transfer the entire transferable balance from the caller account.
|
* Transfer the entire transferable balance from the caller account.
|
||||||
*
|
*
|
||||||
@@ -167,7 +167,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* transfer everything except at least the existential deposit, which will guarantee to
|
* transfer everything except at least the existential deposit, which will guarantee to
|
||||||
* keep the sender account alive (true).
|
* keep the sender account alive (true).
|
||||||
**/
|
**/
|
||||||
transferAll: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, bool]>;
|
transferAll: AugmentedSubmittable<(dest: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, bool]>;
|
||||||
/**
|
/**
|
||||||
* Transfer some liquid free balance to another account.
|
* Transfer some liquid free balance to another account.
|
||||||
*
|
*
|
||||||
@@ -177,7 +177,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* The dispatch origin for this call must be `Signed` by the transactor.
|
* The dispatch origin for this call must be `Signed` by the transactor.
|
||||||
**/
|
**/
|
||||||
transferAllowDeath: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
|
transferAllowDeath: AugmentedSubmittable<(dest: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, Compact<u128>]>;
|
||||||
/**
|
/**
|
||||||
* Same as the [`transfer_allow_death`] call, but with a check that the transfer will not
|
* Same as the [`transfer_allow_death`] call, but with a check that the transfer will not
|
||||||
* kill the origin account.
|
* kill the origin account.
|
||||||
@@ -186,7 +186,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* [`transfer_allow_death`]: struct.Pallet.html#method.transfer
|
* [`transfer_allow_death`]: struct.Pallet.html#method.transfer
|
||||||
**/
|
**/
|
||||||
transferKeepAlive: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
|
transferKeepAlive: AugmentedSubmittable<(dest: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, Compact<u128>]>;
|
||||||
/**
|
/**
|
||||||
* Upgrade a specified account.
|
* Upgrade a specified account.
|
||||||
*
|
*
|
||||||
@@ -197,7 +197,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* be upgraded. (We let some not have to be upgraded just in order to allow for the
|
* be upgraded. (We let some not have to be upgraded just in order to allow for the
|
||||||
* possibility of churn).
|
* possibility of churn).
|
||||||
**/
|
**/
|
||||||
upgradeAccounts: AugmentedSubmittable<(who: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
|
upgradeAccounts: AugmentedSubmittable<(who: Vec<PezspCoreCryptoAccountId32> | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<PezspCoreCryptoAccountId32>]>;
|
||||||
/**
|
/**
|
||||||
* Generic tx
|
* Generic tx
|
||||||
**/
|
**/
|
||||||
@@ -303,7 +303,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* ## Complexity
|
* ## Complexity
|
||||||
* - O(1).
|
* - O(1).
|
||||||
**/
|
**/
|
||||||
approveBountyWithCurator: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array, curator: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, fee: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, Compact<u128>]>;
|
approveBountyWithCurator: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array, curator: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, fee: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, PezspRuntimeMultiAddress, Compact<u128>]>;
|
||||||
/**
|
/**
|
||||||
* Award bounty to a beneficiary account. The beneficiary will be able to claim the funds
|
* Award bounty to a beneficiary account. The beneficiary will be able to claim the funds
|
||||||
* after a delay.
|
* after a delay.
|
||||||
@@ -316,7 +316,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* ## Complexity
|
* ## Complexity
|
||||||
* - O(1).
|
* - O(1).
|
||||||
**/
|
**/
|
||||||
awardBounty: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array, beneficiary: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress]>;
|
awardBounty: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array, beneficiary: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, PezspRuntimeMultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Claim the payout from an awarded bounty after payout delay.
|
* Claim the payout from an awarded bounty after payout delay.
|
||||||
*
|
*
|
||||||
@@ -393,7 +393,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* ## Complexity
|
* ## Complexity
|
||||||
* - O(1).
|
* - O(1).
|
||||||
**/
|
**/
|
||||||
proposeCurator: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array, curator: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, fee: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, Compact<u128>]>;
|
proposeCurator: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array, curator: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, fee: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, PezspRuntimeMultiAddress, Compact<u128>]>;
|
||||||
/**
|
/**
|
||||||
* Unassign curator from a bounty.
|
* Unassign curator from a bounty.
|
||||||
*
|
*
|
||||||
@@ -483,7 +483,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* - `child_bounty_id`: Index of child bounty.
|
* - `child_bounty_id`: Index of child bounty.
|
||||||
* - `beneficiary`: Beneficiary account.
|
* - `beneficiary`: Beneficiary account.
|
||||||
**/
|
**/
|
||||||
awardChildBounty: AugmentedSubmittable<(parentBountyId: Compact<u32> | AnyNumber | Uint8Array, childBountyId: Compact<u32> | AnyNumber | Uint8Array, beneficiary: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u32>, MultiAddress]>;
|
awardChildBounty: AugmentedSubmittable<(parentBountyId: Compact<u32> | AnyNumber | Uint8Array, childBountyId: Compact<u32> | AnyNumber | Uint8Array, beneficiary: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u32>, PezspRuntimeMultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Claim the payout from an awarded child-bounty after payout delay.
|
* Claim the payout from an awarded child-bounty after payout delay.
|
||||||
*
|
*
|
||||||
@@ -545,7 +545,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* - `curator`: Address of child-bounty curator.
|
* - `curator`: Address of child-bounty curator.
|
||||||
* - `fee`: payment fee to child-bounty curator for execution.
|
* - `fee`: payment fee to child-bounty curator for execution.
|
||||||
**/
|
**/
|
||||||
proposeCurator: AugmentedSubmittable<(parentBountyId: Compact<u32> | AnyNumber | Uint8Array, childBountyId: Compact<u32> | AnyNumber | Uint8Array, curator: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, fee: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u32>, MultiAddress, Compact<u128>]>;
|
proposeCurator: AugmentedSubmittable<(parentBountyId: Compact<u32> | AnyNumber | Uint8Array, childBountyId: Compact<u32> | AnyNumber | Uint8Array, curator: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, fee: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u32>, PezspRuntimeMultiAddress, Compact<u128>]>;
|
||||||
/**
|
/**
|
||||||
* Unassign curator from a child-bounty.
|
* Unassign curator from a child-bounty.
|
||||||
*
|
*
|
||||||
@@ -637,7 +637,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* Total Complexity: O(1)
|
* Total Complexity: O(1)
|
||||||
* </weight>
|
* </weight>
|
||||||
**/
|
**/
|
||||||
claim: AugmentedSubmittable<(dest: AccountId32 | string | Uint8Array, ethereumSignature: PezkuwiRuntimeCommonClaimsEcdsaSignature) => SubmittableExtrinsic<ApiType>, [AccountId32, PezkuwiRuntimeCommonClaimsEcdsaSignature]>;
|
claim: AugmentedSubmittable<(dest: PezspCoreCryptoAccountId32 | string | Uint8Array, ethereumSignature: PezkuwiRuntimeCommonClaimsEcdsaSignature) => SubmittableExtrinsic<ApiType>, [PezspCoreCryptoAccountId32, PezkuwiRuntimeCommonClaimsEcdsaSignature]>;
|
||||||
/**
|
/**
|
||||||
* Make a claim to collect your DOTs by signing a statement.
|
* Make a claim to collect your DOTs by signing a statement.
|
||||||
*
|
*
|
||||||
@@ -667,7 +667,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* Total Complexity: O(1)
|
* Total Complexity: O(1)
|
||||||
* </weight>
|
* </weight>
|
||||||
**/
|
**/
|
||||||
claimAttest: AugmentedSubmittable<(dest: AccountId32 | string | Uint8Array, ethereumSignature: PezkuwiRuntimeCommonClaimsEcdsaSignature, statement: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, PezkuwiRuntimeCommonClaimsEcdsaSignature, Bytes]>;
|
claimAttest: AugmentedSubmittable<(dest: PezspCoreCryptoAccountId32 | string | Uint8Array, ethereumSignature: PezkuwiRuntimeCommonClaimsEcdsaSignature, statement: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspCoreCryptoAccountId32, PezkuwiRuntimeCommonClaimsEcdsaSignature, Bytes]>;
|
||||||
/**
|
/**
|
||||||
* Mint a new claim to collect DOTs.
|
* Mint a new claim to collect DOTs.
|
||||||
*
|
*
|
||||||
@@ -686,7 +686,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* </weight>
|
* </weight>
|
||||||
**/
|
**/
|
||||||
mintClaim: AugmentedSubmittable<(who: PezkuwiRuntimeCommonClaimsEthereumAddress, value: u128 | AnyNumber | Uint8Array, vestingSchedule: Option<ITuple<[u128, u128, u32]>> | null | Uint8Array | ITuple<[u128, u128, u32]> | [u128 | AnyNumber | Uint8Array, u128 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], statement: Option<PezkuwiRuntimeCommonClaimsStatementKind> | null | Uint8Array | PezkuwiRuntimeCommonClaimsStatementKind) => SubmittableExtrinsic<ApiType>, [PezkuwiRuntimeCommonClaimsEthereumAddress, u128, Option<ITuple<[u128, u128, u32]>>, Option<PezkuwiRuntimeCommonClaimsStatementKind>]>;
|
mintClaim: AugmentedSubmittable<(who: PezkuwiRuntimeCommonClaimsEthereumAddress, value: u128 | AnyNumber | Uint8Array, vestingSchedule: Option<ITuple<[u128, u128, u32]>> | null | Uint8Array | ITuple<[u128, u128, u32]> | [u128 | AnyNumber | Uint8Array, u128 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], statement: Option<PezkuwiRuntimeCommonClaimsStatementKind> | null | Uint8Array | PezkuwiRuntimeCommonClaimsStatementKind) => SubmittableExtrinsic<ApiType>, [PezkuwiRuntimeCommonClaimsEthereumAddress, u128, Option<ITuple<[u128, u128, u32]>>, Option<PezkuwiRuntimeCommonClaimsStatementKind>]>;
|
||||||
moveClaim: AugmentedSubmittable<(old: PezkuwiRuntimeCommonClaimsEthereumAddress, updated: PezkuwiRuntimeCommonClaimsEthereumAddress, maybePreclaim: Option<AccountId32> | null | Uint8Array | AccountId32 | string) => SubmittableExtrinsic<ApiType>, [PezkuwiRuntimeCommonClaimsEthereumAddress, PezkuwiRuntimeCommonClaimsEthereumAddress, Option<AccountId32>]>;
|
moveClaim: AugmentedSubmittable<(old: PezkuwiRuntimeCommonClaimsEthereumAddress, updated: PezkuwiRuntimeCommonClaimsEthereumAddress, maybePreclaim: Option<PezspCoreCryptoAccountId32> | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezkuwiRuntimeCommonClaimsEthereumAddress, PezkuwiRuntimeCommonClaimsEthereumAddress, Option<PezspCoreCryptoAccountId32>]>;
|
||||||
/**
|
/**
|
||||||
* Generic tx
|
* Generic tx
|
||||||
**/
|
**/
|
||||||
@@ -846,7 +846,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
/**
|
/**
|
||||||
* Set the on demand (parathreads) fee variability.
|
* Set the on demand (parathreads) fee variability.
|
||||||
**/
|
**/
|
||||||
setOnDemandFeeVariability: AugmentedSubmittable<(updated: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Perbill]>;
|
setOnDemandFeeVariability: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
||||||
/**
|
/**
|
||||||
* Set the on demand (parathreads) queue max size.
|
* Set the on demand (parathreads) queue max size.
|
||||||
**/
|
**/
|
||||||
@@ -854,7 +854,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
/**
|
/**
|
||||||
* Set the on demand (parathreads) fee variability.
|
* Set the on demand (parathreads) fee variability.
|
||||||
**/
|
**/
|
||||||
setOnDemandTargetQueueUtilization: AugmentedSubmittable<(updated: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Perbill]>;
|
setOnDemandTargetQueueUtilization: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
||||||
/**
|
/**
|
||||||
* Set the availability period for paras.
|
* Set the availability period for paras.
|
||||||
**/
|
**/
|
||||||
@@ -918,7 +918,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* Weight: `O(R)` where R is the number of polls the voter delegating to has
|
* Weight: `O(R)` where R is the number of polls the voter delegating to has
|
||||||
* voted on. Weight is initially charged as if maximum votes, but is refunded later.
|
* voted on. Weight is initially charged as if maximum votes, but is refunded later.
|
||||||
**/
|
**/
|
||||||
delegate: AugmentedSubmittable<(clazz: u16 | AnyNumber | Uint8Array, to: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, conviction: PezpalletConvictionVotingConviction, balance: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, MultiAddress, PezpalletConvictionVotingConviction, u128]>;
|
delegate: AugmentedSubmittable<(clazz: u16 | AnyNumber | Uint8Array, to: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, conviction: PezpalletConvictionVotingConviction, balance: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, PezspRuntimeMultiAddress, PezpalletConvictionVotingConviction, u128]>;
|
||||||
/**
|
/**
|
||||||
* Remove a vote for a poll.
|
* Remove a vote for a poll.
|
||||||
*
|
*
|
||||||
@@ -937,7 +937,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* Weight: `O(R + log R)` where R is the number of polls that `target` has voted on.
|
* Weight: `O(R + log R)` where R is the number of polls that `target` has voted on.
|
||||||
* Weight is calculated for the maximum number of vote.
|
* Weight is calculated for the maximum number of vote.
|
||||||
**/
|
**/
|
||||||
removeOtherVote: AugmentedSubmittable<(target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, clazz: u16 | AnyNumber | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u16, u32]>;
|
removeOtherVote: AugmentedSubmittable<(target: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, clazz: u16 | AnyNumber | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, u16, u32]>;
|
||||||
/**
|
/**
|
||||||
* Remove a vote for a poll.
|
* Remove a vote for a poll.
|
||||||
*
|
*
|
||||||
@@ -998,7 +998,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* Weight: `O(R)` with R number of vote of target.
|
* Weight: `O(R)` with R number of vote of target.
|
||||||
**/
|
**/
|
||||||
unlock: AugmentedSubmittable<(clazz: u16 | AnyNumber | Uint8Array, target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, MultiAddress]>;
|
unlock: AugmentedSubmittable<(clazz: u16 | AnyNumber | Uint8Array, target: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, PezspRuntimeMultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Vote in a poll. If `vote.is_aye()`, the vote is to enact the proposal;
|
* Vote in a poll. If `vote.is_aye()`, the vote is to enact the proposal;
|
||||||
* otherwise it is a vote to keep the status quo.
|
* otherwise it is a vote to keep the status quo.
|
||||||
@@ -1029,7 +1029,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* -`end_hint`: An optional hint as to when this particular set of instructions will end.
|
* -`end_hint`: An optional hint as to when this particular set of instructions will end.
|
||||||
**/
|
**/
|
||||||
assignCore: AugmentedSubmittable<(core: u16 | AnyNumber | Uint8Array, begin: u32 | AnyNumber | Uint8Array, assignment: Vec<ITuple<[PezpalletBrokerCoretimeInterfaceCoreAssignment, u16]>> | ([PezpalletBrokerCoretimeInterfaceCoreAssignment, u16 | AnyNumber | Uint8Array])[], endHint: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [u16, u32, Vec<ITuple<[PezpalletBrokerCoretimeInterfaceCoreAssignment, u16]>>, Option<u32>]>;
|
assignCore: AugmentedSubmittable<(core: u16 | AnyNumber | Uint8Array, begin: u32 | AnyNumber | Uint8Array, assignment: Vec<ITuple<[PezpalletBrokerCoretimeInterfaceCoreAssignment, u16]>> | ([PezpalletBrokerCoretimeInterfaceCoreAssignment, u16 | AnyNumber | Uint8Array])[], endHint: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [u16, u32, Vec<ITuple<[PezpalletBrokerCoretimeInterfaceCoreAssignment, u16]>>, Option<u32>]>;
|
||||||
creditAccount: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u128]>;
|
creditAccount: AugmentedSubmittable<(who: PezspCoreCryptoAccountId32 | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspCoreCryptoAccountId32, u128]>;
|
||||||
/**
|
/**
|
||||||
* Request the configuration to be updated with the specified number of cores. Warning:
|
* Request the configuration to be updated with the specified number of cores. Warning:
|
||||||
* Since this only schedules a configuration update, it takes two sessions to come into
|
* Since this only schedules a configuration update, it takes two sessions to come into
|
||||||
@@ -1120,7 +1120,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* - `who`: The account whose contribution should be withdrawn.
|
* - `who`: The account whose contribution should be withdrawn.
|
||||||
* - `index`: The parachain to whose crowdloan the contribution was made.
|
* - `index`: The parachain to whose crowdloan the contribution was made.
|
||||||
**/
|
**/
|
||||||
withdraw: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, Compact<u32>]>;
|
withdraw: AugmentedSubmittable<(who: PezspCoreCryptoAccountId32 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspCoreCryptoAccountId32, Compact<u32>]>;
|
||||||
/**
|
/**
|
||||||
* Generic tx
|
* Generic tx
|
||||||
**/
|
**/
|
||||||
@@ -1144,7 +1144,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* feasibility check itself can in principle cause the election process to fail (due to
|
* feasibility check itself can in principle cause the election process to fail (due to
|
||||||
* memory/weight constrains).
|
* memory/weight constrains).
|
||||||
**/
|
**/
|
||||||
setEmergencyElectionResult: AugmentedSubmittable<(supports: Vec<ITuple<[AccountId32, PezspNposElectionsSupport]>> | ([AccountId32 | string | Uint8Array, PezspNposElectionsSupport])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[AccountId32, PezspNposElectionsSupport]>>]>;
|
setEmergencyElectionResult: AugmentedSubmittable<(supports: Vec<ITuple<[PezspCoreCryptoAccountId32, PezspNposElectionsSupport]>> | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[PezspCoreCryptoAccountId32, PezspNposElectionsSupport]>>]>;
|
||||||
/**
|
/**
|
||||||
* Set a new value for `MinimumUntrustedScore`.
|
* Set a new value for `MinimumUntrustedScore`.
|
||||||
*
|
*
|
||||||
@@ -1268,7 +1268,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* Weight: `O(1)`
|
* Weight: `O(1)`
|
||||||
**/
|
**/
|
||||||
addMember: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
addMember: AugmentedSubmittable<(who: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Remove votes from the given poll. It must have ended.
|
* Remove votes from the given poll. It must have ended.
|
||||||
*
|
*
|
||||||
@@ -1291,7 +1291,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* Weight: `O(1)`, less if the member's index is highest in its rank.
|
* Weight: `O(1)`, less if the member's index is highest in its rank.
|
||||||
**/
|
**/
|
||||||
demoteMember: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
demoteMember: AugmentedSubmittable<(who: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Exchanges a member with a new account and the same existing rank.
|
* Exchanges a member with a new account and the same existing rank.
|
||||||
*
|
*
|
||||||
@@ -1299,7 +1299,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* - `who`: Account of existing member of rank greater than zero to be exchanged.
|
* - `who`: Account of existing member of rank greater than zero to be exchanged.
|
||||||
* - `new_who`: New Account of existing member of rank greater than zero to exchanged to.
|
* - `new_who`: New Account of existing member of rank greater than zero to exchanged to.
|
||||||
**/
|
**/
|
||||||
exchangeMember: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, newWho: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress]>;
|
exchangeMember: AugmentedSubmittable<(who: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, newWho: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, PezspRuntimeMultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Increment the rank of an existing member by one.
|
* Increment the rank of an existing member by one.
|
||||||
*
|
*
|
||||||
@@ -1308,7 +1308,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* Weight: `O(1)`
|
* Weight: `O(1)`
|
||||||
**/
|
**/
|
||||||
promoteMember: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
promoteMember: AugmentedSubmittable<(who: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Remove the member entirely.
|
* Remove the member entirely.
|
||||||
*
|
*
|
||||||
@@ -1318,7 +1318,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* Weight: `O(min_rank)`.
|
* Weight: `O(min_rank)`.
|
||||||
**/
|
**/
|
||||||
removeMember: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, minRank: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u16]>;
|
removeMember: AugmentedSubmittable<(who: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, minRank: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, u16]>;
|
||||||
/**
|
/**
|
||||||
* Add an aye or nay vote for the sender to the given proposal.
|
* Add an aye or nay vote for the sender to the given proposal.
|
||||||
*
|
*
|
||||||
@@ -1628,7 +1628,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* ## Complexity
|
* ## Complexity
|
||||||
* - `O(1)`.
|
* - `O(1)`.
|
||||||
**/
|
**/
|
||||||
forceTransfer: AugmentedSubmittable<(updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, index: u32 | AnyNumber | Uint8Array, freeze: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u32, bool]>;
|
forceTransfer: AugmentedSubmittable<(updated: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, index: u32 | AnyNumber | Uint8Array, freeze: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, u32, bool]>;
|
||||||
/**
|
/**
|
||||||
* Free up an index owned by the sender.
|
* Free up an index owned by the sender.
|
||||||
*
|
*
|
||||||
@@ -1686,7 +1686,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* ## Complexity
|
* ## Complexity
|
||||||
* - `O(1)`.
|
* - `O(1)`.
|
||||||
**/
|
**/
|
||||||
transfer: AugmentedSubmittable<(updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u32]>;
|
transfer: AugmentedSubmittable<(updated: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, u32]>;
|
||||||
/**
|
/**
|
||||||
* Generic tx
|
* Generic tx
|
||||||
**/
|
**/
|
||||||
@@ -1763,7 +1763,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit
|
* - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit
|
||||||
* taken for its lifetime of `DepositBase + threshold * DepositFactor`.
|
* taken for its lifetime of `DepositBase + threshold * DepositFactor`.
|
||||||
**/
|
**/
|
||||||
approveAsMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], maybeTimepoint: Option<PezpalletMultisigTimepoint> | null | Uint8Array | PezpalletMultisigTimepoint, callHash: U8aFixed | string | Uint8Array, maxWeight: PezspWeightsWeightV2Weight) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, Option<PezpalletMultisigTimepoint>, U8aFixed, PezspWeightsWeightV2Weight]>;
|
approveAsMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<PezspCoreCryptoAccountId32> | string | Uint8Array, maybeTimepoint: Option<PezpalletMultisigTimepoint> | null | Uint8Array | PezpalletMultisigTimepoint, callHash: U8aFixed | string | Uint8Array, maxWeight: PezspWeightsWeightV2Weight) => SubmittableExtrinsic<ApiType>, [u16, Vec<PezspCoreCryptoAccountId32>, Option<PezpalletMultisigTimepoint>, U8aFixed, PezspWeightsWeightV2Weight]>;
|
||||||
/**
|
/**
|
||||||
* Register approval for a dispatch to be made from a deterministic composite account if
|
* Register approval for a dispatch to be made from a deterministic composite account if
|
||||||
* approved by a total of `threshold - 1` of `other_signatories`.
|
* approved by a total of `threshold - 1` of `other_signatories`.
|
||||||
@@ -1805,7 +1805,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit
|
* - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit
|
||||||
* taken for its lifetime of `DepositBase + threshold * DepositFactor`.
|
* taken for its lifetime of `DepositBase + threshold * DepositFactor`.
|
||||||
**/
|
**/
|
||||||
asMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], maybeTimepoint: Option<PezpalletMultisigTimepoint> | null | Uint8Array | PezpalletMultisigTimepoint, call: RuntimeCall | IMethod | string | Uint8Array, maxWeight: PezspWeightsWeightV2Weight) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, Option<PezpalletMultisigTimepoint>, RuntimeCall, PezspWeightsWeightV2Weight]>;
|
asMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<PezspCoreCryptoAccountId32> | string | Uint8Array, maybeTimepoint: Option<PezpalletMultisigTimepoint> | null | Uint8Array | PezpalletMultisigTimepoint, call: RuntimeCall | IMethod | string | Uint8Array, maxWeight: PezspWeightsWeightV2Weight) => SubmittableExtrinsic<ApiType>, [u16, Vec<PezspCoreCryptoAccountId32>, Option<PezpalletMultisigTimepoint>, RuntimeCall, PezspWeightsWeightV2Weight]>;
|
||||||
/**
|
/**
|
||||||
* Immediately dispatch a multi-signature call using a single approval from the caller.
|
* Immediately dispatch a multi-signature call using a single approval from the caller.
|
||||||
*
|
*
|
||||||
@@ -1820,7 +1820,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* ## Complexity
|
* ## Complexity
|
||||||
* O(Z + C) where Z is the length of the call and C its execution weight.
|
* O(Z + C) where Z is the length of the call and C its execution weight.
|
||||||
**/
|
**/
|
||||||
asMultiThreshold1: AugmentedSubmittable<(otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], call: RuntimeCall | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>, RuntimeCall]>;
|
asMultiThreshold1: AugmentedSubmittable<(otherSignatories: Vec<PezspCoreCryptoAccountId32> | string | Uint8Array, call: RuntimeCall | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<PezspCoreCryptoAccountId32>, RuntimeCall]>;
|
||||||
/**
|
/**
|
||||||
* Cancel a pre-existing, on-going multisig transaction. Any deposit reserved previously
|
* Cancel a pre-existing, on-going multisig transaction. Any deposit reserved previously
|
||||||
* for this operation will be unreserved on success.
|
* for this operation will be unreserved on success.
|
||||||
@@ -1844,7 +1844,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* - I/O: 1 read `O(S)`, one remove.
|
* - I/O: 1 read `O(S)`, one remove.
|
||||||
* - Storage: removes one item.
|
* - Storage: removes one item.
|
||||||
**/
|
**/
|
||||||
cancelAsMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], timepoint: PezpalletMultisigTimepoint, callHash: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, PezpalletMultisigTimepoint, U8aFixed]>;
|
cancelAsMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<PezspCoreCryptoAccountId32> | string | Uint8Array, timepoint: PezpalletMultisigTimepoint, callHash: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<PezspCoreCryptoAccountId32>, PezpalletMultisigTimepoint, U8aFixed]>;
|
||||||
/**
|
/**
|
||||||
* Poke the deposit reserved for an existing multisig operation.
|
* Poke the deposit reserved for an existing multisig operation.
|
||||||
*
|
*
|
||||||
@@ -1860,7 +1860,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* Emits `DepositPoked` if successful.
|
* Emits `DepositPoked` if successful.
|
||||||
**/
|
**/
|
||||||
pokeDeposit: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], callHash: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, U8aFixed]>;
|
pokeDeposit: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<PezspCoreCryptoAccountId32> | string | Uint8Array, callHash: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<PezspCoreCryptoAccountId32>, U8aFixed]>;
|
||||||
/**
|
/**
|
||||||
* Generic tx
|
* Generic tx
|
||||||
**/
|
**/
|
||||||
@@ -1888,7 +1888,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* is successful, fee is refunded and caller may be rewarded with a part of the slash
|
* is successful, fee is refunded and caller may be rewarded with a part of the slash
|
||||||
* based on the [`crate::pallet::Config::StakeAdapter`] configuration.
|
* based on the [`crate::pallet::Config::StakeAdapter`] configuration.
|
||||||
**/
|
**/
|
||||||
applySlash: AugmentedSubmittable<(memberAccount: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
applySlash: AugmentedSubmittable<(memberAccount: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Bond `extra` more funds from `origin` into the pool to which they already belong.
|
* Bond `extra` more funds from `origin` into the pool to which they already belong.
|
||||||
*
|
*
|
||||||
@@ -1910,7 +1910,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* `other` members assuming set_claim_permission for the given member is
|
* `other` members assuming set_claim_permission for the given member is
|
||||||
* `PermissionlessCompound` or `PermissionlessAll`.
|
* `PermissionlessCompound` or `PermissionlessAll`.
|
||||||
**/
|
**/
|
||||||
bondExtraOther: AugmentedSubmittable<(member: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, extra: PezpalletNominationPoolsBondExtra) => SubmittableExtrinsic<ApiType>, [MultiAddress, PezpalletNominationPoolsBondExtra]>;
|
bondExtraOther: AugmentedSubmittable<(member: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, extra: PezpalletNominationPoolsBondExtra) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, PezpalletNominationPoolsBondExtra]>;
|
||||||
/**
|
/**
|
||||||
* Chill on behalf of the pool.
|
* Chill on behalf of the pool.
|
||||||
*
|
*
|
||||||
@@ -1967,7 +1967,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* Pool member `other` must have a `PermissionlessWithdraw` or `PermissionlessAll` claim
|
* Pool member `other` must have a `PermissionlessWithdraw` or `PermissionlessAll` claim
|
||||||
* permission for this call to be successful.
|
* permission for this call to be successful.
|
||||||
**/
|
**/
|
||||||
claimPayoutOther: AugmentedSubmittable<(other: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
claimPayoutOther: AugmentedSubmittable<(other: PezspCoreCryptoAccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Create a new delegation pool.
|
* Create a new delegation pool.
|
||||||
*
|
*
|
||||||
@@ -1987,7 +1987,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* In addition to `amount`, the caller will transfer the existential deposit; so the caller
|
* In addition to `amount`, the caller will transfer the existential deposit; so the caller
|
||||||
* needs at have at least `amount + existential_deposit` transferable.
|
* needs at have at least `amount + existential_deposit` transferable.
|
||||||
**/
|
**/
|
||||||
create: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, root: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, nominator: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, bouncer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress, MultiAddress, MultiAddress]>;
|
create: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, root: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, nominator: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, bouncer: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, PezspRuntimeMultiAddress, PezspRuntimeMultiAddress, PezspRuntimeMultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Create a new delegation pool with a previously used pool id
|
* Create a new delegation pool with a previously used pool id
|
||||||
*
|
*
|
||||||
@@ -1996,7 +1996,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* same as `create` with the inclusion of
|
* same as `create` with the inclusion of
|
||||||
* * `pool_id` - `A valid PoolId.
|
* * `pool_id` - `A valid PoolId.
|
||||||
**/
|
**/
|
||||||
createWithPoolId: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, root: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, nominator: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, bouncer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress, MultiAddress, MultiAddress, u32]>;
|
createWithPoolId: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, root: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, nominator: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, bouncer: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, PezspRuntimeMultiAddress, PezspRuntimeMultiAddress, PezspRuntimeMultiAddress, u32]>;
|
||||||
/**
|
/**
|
||||||
* Stake funds with a pool. The amount to bond is delegated (or transferred based on
|
* Stake funds with a pool. The amount to bond is delegated (or transferred based on
|
||||||
* [`adapter::StakeStrategyType`]) from the member to the pool account and immediately
|
* [`adapter::StakeStrategyType`]) from the member to the pool account and immediately
|
||||||
@@ -2027,7 +2027,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* If the pool has migrated to delegation based staking, the staked tokens of pool members
|
* If the pool has migrated to delegation based staking, the staked tokens of pool members
|
||||||
* can be moved and held in their own account. See [`adapter::DelegateStake`]
|
* can be moved and held in their own account. See [`adapter::DelegateStake`]
|
||||||
**/
|
**/
|
||||||
migrateDelegation: AugmentedSubmittable<(memberAccount: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
migrateDelegation: AugmentedSubmittable<(memberAccount: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Migrate pool from [`adapter::StakeStrategyType::Transfer`] to
|
* Migrate pool from [`adapter::StakeStrategyType::Transfer`] to
|
||||||
* [`adapter::StakeStrategyType::Delegate`].
|
* [`adapter::StakeStrategyType::Delegate`].
|
||||||
@@ -2054,7 +2054,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* In addition to a `root` or `nominator` role of `origin`, the pool's depositor needs to
|
* In addition to a `root` or `nominator` role of `origin`, the pool's depositor needs to
|
||||||
* have at least `depositor_min_bond` in the pool to start nominating.
|
* have at least `depositor_min_bond` in the pool to start nominating.
|
||||||
**/
|
**/
|
||||||
nominate: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, validators: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<AccountId32>]>;
|
nominate: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, validators: Vec<PezspCoreCryptoAccountId32> | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Vec<PezspCoreCryptoAccountId32>]>;
|
||||||
/**
|
/**
|
||||||
* Call `withdraw_unbonded` for the pools account. This call can be made by any account.
|
* Call `withdraw_unbonded` for the pools account. This call can be made by any account.
|
||||||
*
|
*
|
||||||
@@ -2081,7 +2081,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* - If a `None` is supplied to `new_commission`, existing commission will be removed.
|
* - If a `None` is supplied to `new_commission`, existing commission will be removed.
|
||||||
**/
|
**/
|
||||||
setCommission: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, newCommission: Option<ITuple<[Perbill, AccountId32]>> | null | Uint8Array | ITuple<[Perbill, AccountId32]> | [Perbill | AnyNumber | Uint8Array, AccountId32 | string | Uint8Array]) => SubmittableExtrinsic<ApiType>, [u32, Option<ITuple<[Perbill, AccountId32]>>]>;
|
setCommission: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, newCommission: Option<ITuple<[u32, PezspCoreCryptoAccountId32]>> | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Option<ITuple<[u32, PezspCoreCryptoAccountId32]>>]>;
|
||||||
/**
|
/**
|
||||||
* Set the commission change rate for a pool.
|
* Set the commission change rate for a pool.
|
||||||
*
|
*
|
||||||
@@ -2103,7 +2103,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* - Current commission will be lowered in the event it is higher than a new max
|
* - Current commission will be lowered in the event it is higher than a new max
|
||||||
* commission.
|
* commission.
|
||||||
**/
|
**/
|
||||||
setCommissionMax: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, maxCommission: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Perbill]>;
|
setCommissionMax: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, maxCommission: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
|
||||||
/**
|
/**
|
||||||
* Update configurations for the nomination pools. The origin for this call must be
|
* Update configurations for the nomination pools. The origin for this call must be
|
||||||
* [`Config::AdminOrigin`].
|
* [`Config::AdminOrigin`].
|
||||||
@@ -2171,7 +2171,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* in which case, the result of this call will likely be the `NoMoreChunks` error from the
|
* in which case, the result of this call will likely be the `NoMoreChunks` error from the
|
||||||
* staking system.
|
* staking system.
|
||||||
**/
|
**/
|
||||||
unbond: AugmentedSubmittable<(memberAccount: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, unbondingPoints: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
|
unbond: AugmentedSubmittable<(memberAccount: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, unbondingPoints: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, Compact<u128>]>;
|
||||||
/**
|
/**
|
||||||
* Update the roles of the pool.
|
* Update the roles of the pool.
|
||||||
*
|
*
|
||||||
@@ -2181,7 +2181,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* It emits an event, notifying UIs of the role change. This event is quite relevant to
|
* It emits an event, notifying UIs of the role change. This event is quite relevant to
|
||||||
* most pool members and they should be informed of changes to pool roles.
|
* most pool members and they should be informed of changes to pool roles.
|
||||||
**/
|
**/
|
||||||
updateRoles: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, newRoot: PezpalletNominationPoolsConfigOpAccountId32, newNominator: PezpalletNominationPoolsConfigOpAccountId32, newBouncer: PezpalletNominationPoolsConfigOpAccountId32) => SubmittableExtrinsic<ApiType>, [u32, PezpalletNominationPoolsConfigOpAccountId32, PezpalletNominationPoolsConfigOpAccountId32, PezpalletNominationPoolsConfigOpAccountId32]>;
|
updateRoles: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, newRoot: PezpalletNominationPoolsConfigOpAccountId32 | string | Uint8Array, newNominator: PezpalletNominationPoolsConfigOpAccountId32 | string | Uint8Array, newBouncer: PezpalletNominationPoolsConfigOpAccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PezpalletNominationPoolsConfigOpAccountId32, PezpalletNominationPoolsConfigOpAccountId32, PezpalletNominationPoolsConfigOpAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Withdraw unbonded funds from `member_account`. If no bonded funds can be unbonded, an
|
* Withdraw unbonded funds from `member_account`. If no bonded funds can be unbonded, an
|
||||||
* error is returned.
|
* error is returned.
|
||||||
@@ -2206,7 +2206,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* withdraw. This calculation adds some weight overhead and is only defensive. In reality,
|
* withdraw. This calculation adds some weight overhead and is only defensive. In reality,
|
||||||
* pool slashes must have been already applied via permissionless [`Call::apply_slash`].
|
* pool slashes must have been already applied via permissionless [`Call::apply_slash`].
|
||||||
**/
|
**/
|
||||||
withdrawUnbonded: AugmentedSubmittable<(memberAccount: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u32]>;
|
withdrawUnbonded: AugmentedSubmittable<(memberAccount: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, u32]>;
|
||||||
/**
|
/**
|
||||||
* Generic tx
|
* Generic tx
|
||||||
**/
|
**/
|
||||||
@@ -2464,7 +2464,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* - `delay`: The announcement period required of the initial proxy. Will generally be
|
* - `delay`: The announcement period required of the initial proxy. Will generally be
|
||||||
* zero.
|
* zero.
|
||||||
**/
|
**/
|
||||||
addProxy: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: DicleRuntimeConstantsProxyProxyType, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, DicleRuntimeConstantsProxyProxyType, u32]>;
|
addProxy: AugmentedSubmittable<(delegate: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, proxyType: DicleRuntimeConstantsProxyProxyType, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, DicleRuntimeConstantsProxyProxyType, u32]>;
|
||||||
/**
|
/**
|
||||||
* Publish the hash of a proxy-call that will be made in the future.
|
* Publish the hash of a proxy-call that will be made in the future.
|
||||||
*
|
*
|
||||||
@@ -2482,7 +2482,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* - `real`: The account that the proxy will make a call on behalf of.
|
* - `real`: The account that the proxy will make a call on behalf of.
|
||||||
* - `call_hash`: The hash of the call to be made by the `real` account.
|
* - `call_hash`: The hash of the call to be made by the `real` account.
|
||||||
**/
|
**/
|
||||||
announce: AugmentedSubmittable<(real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256]>;
|
announce: AugmentedSubmittable<(real: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, H256]>;
|
||||||
/**
|
/**
|
||||||
* Spawn a fresh new account that is guaranteed to be otherwise inaccessible, and
|
* Spawn a fresh new account that is guaranteed to be otherwise inaccessible, and
|
||||||
* initialize it with a proxy of `proxy_type` for `origin` sender.
|
* initialize it with a proxy of `proxy_type` for `origin` sender.
|
||||||
@@ -2522,7 +2522,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* Fails with `NoPermission` in case the caller is not a previously created pure
|
* Fails with `NoPermission` in case the caller is not a previously created pure
|
||||||
* account whose `create_pure` call has corresponding parameters.
|
* account whose `create_pure` call has corresponding parameters.
|
||||||
**/
|
**/
|
||||||
killPure: AugmentedSubmittable<(spawner: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: DicleRuntimeConstantsProxyProxyType, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, DicleRuntimeConstantsProxyProxyType, u16, Compact<u32>, Compact<u32>]>;
|
killPure: AugmentedSubmittable<(spawner: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, proxyType: DicleRuntimeConstantsProxyProxyType, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, DicleRuntimeConstantsProxyProxyType, u16, Compact<u32>, Compact<u32>]>;
|
||||||
/**
|
/**
|
||||||
* Poke / Adjust deposits made for proxies and announcements based on current values.
|
* Poke / Adjust deposits made for proxies and announcements based on current values.
|
||||||
* This can be used by accounts to possibly lower their locked amount.
|
* This can be used by accounts to possibly lower their locked amount.
|
||||||
@@ -2545,7 +2545,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call.
|
* - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call.
|
||||||
* - `call`: The call to be made by the `real` account.
|
* - `call`: The call to be made by the `real` account.
|
||||||
**/
|
**/
|
||||||
proxy: AugmentedSubmittable<(real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, forceProxyType: Option<DicleRuntimeConstantsProxyProxyType> | null | Uint8Array | DicleRuntimeConstantsProxyProxyType, call: RuntimeCall | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Option<DicleRuntimeConstantsProxyProxyType>, RuntimeCall]>;
|
proxy: AugmentedSubmittable<(real: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, forceProxyType: Option<DicleRuntimeConstantsProxyProxyType> | null | Uint8Array | DicleRuntimeConstantsProxyProxyType, call: RuntimeCall | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, Option<DicleRuntimeConstantsProxyProxyType>, RuntimeCall]>;
|
||||||
/**
|
/**
|
||||||
* Dispatch the given `call` from an account that the sender is authorized for through
|
* Dispatch the given `call` from an account that the sender is authorized for through
|
||||||
* `add_proxy`.
|
* `add_proxy`.
|
||||||
@@ -2559,7 +2559,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call.
|
* - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call.
|
||||||
* - `call`: The call to be made by the `real` account.
|
* - `call`: The call to be made by the `real` account.
|
||||||
**/
|
**/
|
||||||
proxyAnnounced: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, forceProxyType: Option<DicleRuntimeConstantsProxyProxyType> | null | Uint8Array | DicleRuntimeConstantsProxyProxyType, call: RuntimeCall | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Option<DicleRuntimeConstantsProxyProxyType>, RuntimeCall]>;
|
proxyAnnounced: AugmentedSubmittable<(delegate: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, real: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, forceProxyType: Option<DicleRuntimeConstantsProxyProxyType> | null | Uint8Array | DicleRuntimeConstantsProxyProxyType, call: RuntimeCall | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, PezspRuntimeMultiAddress, Option<DicleRuntimeConstantsProxyProxyType>, RuntimeCall]>;
|
||||||
/**
|
/**
|
||||||
* Remove the given announcement of a delegate.
|
* Remove the given announcement of a delegate.
|
||||||
*
|
*
|
||||||
@@ -2572,7 +2572,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* - `delegate`: The account that previously announced the call.
|
* - `delegate`: The account that previously announced the call.
|
||||||
* - `call_hash`: The hash of the call to be made.
|
* - `call_hash`: The hash of the call to be made.
|
||||||
**/
|
**/
|
||||||
rejectAnnouncement: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256]>;
|
rejectAnnouncement: AugmentedSubmittable<(delegate: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, H256]>;
|
||||||
/**
|
/**
|
||||||
* Remove a given announcement.
|
* Remove a given announcement.
|
||||||
*
|
*
|
||||||
@@ -2585,7 +2585,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* - `real`: The account that the proxy will make a call on behalf of.
|
* - `real`: The account that the proxy will make a call on behalf of.
|
||||||
* - `call_hash`: The hash of the call to be made by the `real` account.
|
* - `call_hash`: The hash of the call to be made by the `real` account.
|
||||||
**/
|
**/
|
||||||
removeAnnouncement: AugmentedSubmittable<(real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256]>;
|
removeAnnouncement: AugmentedSubmittable<(real: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, H256]>;
|
||||||
/**
|
/**
|
||||||
* Unregister all proxy accounts for the sender.
|
* Unregister all proxy accounts for the sender.
|
||||||
*
|
*
|
||||||
@@ -2604,7 +2604,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* - `proxy`: The account that the `caller` would like to remove as a proxy.
|
* - `proxy`: The account that the `caller` would like to remove as a proxy.
|
||||||
* - `proxy_type`: The permissions currently enabled for the removed proxy account.
|
* - `proxy_type`: The permissions currently enabled for the removed proxy account.
|
||||||
**/
|
**/
|
||||||
removeProxy: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: DicleRuntimeConstantsProxyProxyType, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, DicleRuntimeConstantsProxyProxyType, u32]>;
|
removeProxy: AugmentedSubmittable<(delegate: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, proxyType: DicleRuntimeConstantsProxyProxyType, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, DicleRuntimeConstantsProxyProxyType, u32]>;
|
||||||
/**
|
/**
|
||||||
* Generic tx
|
* Generic tx
|
||||||
**/
|
**/
|
||||||
@@ -2633,7 +2633,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* The accounts must have no consumers references.
|
* The accounts must have no consumers references.
|
||||||
**/
|
**/
|
||||||
preserveAccounts: AugmentedSubmittable<(accounts: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
|
preserveAccounts: AugmentedSubmittable<(accounts: Vec<PezspCoreCryptoAccountId32> | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<PezspCoreCryptoAccountId32>]>;
|
||||||
/**
|
/**
|
||||||
* Receive a query response from the Asset Hub for a previously sent xcm message.
|
* Receive a query response from the Asset Hub for a previously sent xcm message.
|
||||||
**/
|
**/
|
||||||
@@ -2683,14 +2683,14 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* The canceller can only stop scheduled migration.
|
* The canceller can only stop scheduled migration.
|
||||||
**/
|
**/
|
||||||
setCanceller: AugmentedSubmittable<(updated: Option<AccountId32> | null | Uint8Array | AccountId32 | string) => SubmittableExtrinsic<ApiType>, [Option<AccountId32>]>;
|
setCanceller: AugmentedSubmittable<(updated: Option<PezspCoreCryptoAccountId32> | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Option<PezspCoreCryptoAccountId32>]>;
|
||||||
/**
|
/**
|
||||||
* Set the manager account id.
|
* Set the manager account id.
|
||||||
*
|
*
|
||||||
* The manager has the similar to [`Config::AdminOrigin`] privileges except that it
|
* The manager has the similar to [`Config::AdminOrigin`] privileges except that it
|
||||||
* can not set the manager account id via `set_manager` call.
|
* can not set the manager account id via `set_manager` call.
|
||||||
**/
|
**/
|
||||||
setManager: AugmentedSubmittable<(updated: Option<AccountId32> | null | Uint8Array | AccountId32 | string) => SubmittableExtrinsic<ApiType>, [Option<AccountId32>]>;
|
setManager: AugmentedSubmittable<(updated: Option<PezspCoreCryptoAccountId32> | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Option<PezspCoreCryptoAccountId32>]>;
|
||||||
/**
|
/**
|
||||||
* Set the unprocessed message buffer size.
|
* Set the unprocessed message buffer size.
|
||||||
*
|
*
|
||||||
@@ -2732,7 +2732,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* - `account`: The recovered account you want to make a call on-behalf-of.
|
* - `account`: The recovered account you want to make a call on-behalf-of.
|
||||||
* - `call`: The call you want to make with the recovered account.
|
* - `call`: The call you want to make with the recovered account.
|
||||||
**/
|
**/
|
||||||
asRecovered: AugmentedSubmittable<(account: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, call: RuntimeCall | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, RuntimeCall]>;
|
asRecovered: AugmentedSubmittable<(account: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, call: RuntimeCall | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, RuntimeCall]>;
|
||||||
/**
|
/**
|
||||||
* Cancel the ability to use `as_recovered` for `account`.
|
* Cancel the ability to use `as_recovered` for `account`.
|
||||||
*
|
*
|
||||||
@@ -2742,7 +2742,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* Parameters:
|
* Parameters:
|
||||||
* - `account`: The recovered account you are able to call on-behalf-of.
|
* - `account`: The recovered account you are able to call on-behalf-of.
|
||||||
**/
|
**/
|
||||||
cancelRecovered: AugmentedSubmittable<(account: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
cancelRecovered: AugmentedSubmittable<(account: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Allow a successful rescuer to claim their recovered account.
|
* Allow a successful rescuer to claim their recovered account.
|
||||||
*
|
*
|
||||||
@@ -2754,7 +2754,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* - `account`: The lost account that you want to claim has been successfully recovered by
|
* - `account`: The lost account that you want to claim has been successfully recovered by
|
||||||
* you.
|
* you.
|
||||||
**/
|
**/
|
||||||
claimRecovery: AugmentedSubmittable<(account: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
claimRecovery: AugmentedSubmittable<(account: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* As the controller of a recoverable account, close an active recovery
|
* As the controller of a recoverable account, close an active recovery
|
||||||
* process for your account.
|
* process for your account.
|
||||||
@@ -2768,7 +2768,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* Parameters:
|
* Parameters:
|
||||||
* - `rescuer`: The account trying to rescue this recoverable account.
|
* - `rescuer`: The account trying to rescue this recoverable account.
|
||||||
**/
|
**/
|
||||||
closeRecovery: AugmentedSubmittable<(rescuer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
closeRecovery: AugmentedSubmittable<(rescuer: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Create a recovery configuration for your account. This makes your account recoverable.
|
* Create a recovery configuration for your account. This makes your account recoverable.
|
||||||
*
|
*
|
||||||
@@ -2787,7 +2787,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* - `delay_period`: The number of blocks after a recovery attempt is initialized that
|
* - `delay_period`: The number of blocks after a recovery attempt is initialized that
|
||||||
* needs to pass before the account can be recovered.
|
* needs to pass before the account can be recovered.
|
||||||
**/
|
**/
|
||||||
createRecovery: AugmentedSubmittable<(friends: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], threshold: u16 | AnyNumber | Uint8Array, delayPeriod: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>, u16, u32]>;
|
createRecovery: AugmentedSubmittable<(friends: Vec<PezspCoreCryptoAccountId32> | string | Uint8Array, threshold: u16 | AnyNumber | Uint8Array, delayPeriod: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<PezspCoreCryptoAccountId32>, u16, u32]>;
|
||||||
/**
|
/**
|
||||||
* Initiate the process for recovering a recoverable account.
|
* Initiate the process for recovering a recoverable account.
|
||||||
*
|
*
|
||||||
@@ -2801,7 +2801,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* - `account`: The lost account that you want to recover. This account needs to be
|
* - `account`: The lost account that you want to recover. This account needs to be
|
||||||
* recoverable (i.e. have a recovery configuration).
|
* recoverable (i.e. have a recovery configuration).
|
||||||
**/
|
**/
|
||||||
initiateRecovery: AugmentedSubmittable<(account: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
initiateRecovery: AugmentedSubmittable<(account: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Poke deposits for recovery configurations and / or active recoveries.
|
* Poke deposits for recovery configurations and / or active recoveries.
|
||||||
*
|
*
|
||||||
@@ -2827,7 +2827,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* Emits `DepositPoked` if any deposit is updated.
|
* Emits `DepositPoked` if any deposit is updated.
|
||||||
* Multiple events may be emitted in case both types of deposits are updated.
|
* Multiple events may be emitted in case both types of deposits are updated.
|
||||||
**/
|
**/
|
||||||
pokeDeposit: AugmentedSubmittable<(maybeAccount: Option<MultiAddress> | null | Uint8Array | MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string) => SubmittableExtrinsic<ApiType>, [Option<MultiAddress>]>;
|
pokeDeposit: AugmentedSubmittable<(maybeAccount: Option<PezspRuntimeMultiAddress> | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Option<PezspRuntimeMultiAddress>]>;
|
||||||
/**
|
/**
|
||||||
* Remove the recovery process for your account. Recovered accounts are still accessible.
|
* Remove the recovery process for your account. Recovered accounts are still accessible.
|
||||||
*
|
*
|
||||||
@@ -2852,7 +2852,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* - `lost`: The "lost account" to be recovered.
|
* - `lost`: The "lost account" to be recovered.
|
||||||
* - `rescuer`: The "rescuer account" which can call as the lost account.
|
* - `rescuer`: The "rescuer account" which can call as the lost account.
|
||||||
**/
|
**/
|
||||||
setRecovered: AugmentedSubmittable<(lost: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, rescuer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress]>;
|
setRecovered: AugmentedSubmittable<(lost: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, rescuer: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, PezspRuntimeMultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Allow a "friend" of a recoverable account to vouch for an active recovery
|
* Allow a "friend" of a recoverable account to vouch for an active recovery
|
||||||
* process for that account.
|
* process for that account.
|
||||||
@@ -2867,7 +2867,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* The combination of these two parameters must point to an active recovery
|
* The combination of these two parameters must point to an active recovery
|
||||||
* process.
|
* process.
|
||||||
**/
|
**/
|
||||||
vouchRecovery: AugmentedSubmittable<(lost: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, rescuer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress]>;
|
vouchRecovery: AugmentedSubmittable<(lost: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, rescuer: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, PezspRuntimeMultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Generic tx
|
* Generic tx
|
||||||
**/
|
**/
|
||||||
@@ -2993,7 +2993,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* The deposit taken can be specified for this registration. Any `ParaId`
|
* The deposit taken can be specified for this registration. Any `ParaId`
|
||||||
* can be registered, including sub-1000 IDs which are System Parachains.
|
* can be registered, including sub-1000 IDs which are System Parachains.
|
||||||
**/
|
**/
|
||||||
forceRegister: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array, deposit: u128 | AnyNumber | Uint8Array, id: u32 | AnyNumber | Uint8Array, genesisHead: Bytes | string | Uint8Array, validationCode: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u128, u32, Bytes, Bytes]>;
|
forceRegister: AugmentedSubmittable<(who: PezspCoreCryptoAccountId32 | string | Uint8Array, deposit: u128 | AnyNumber | Uint8Array, id: u32 | AnyNumber | Uint8Array, genesisHead: Bytes | string | Uint8Array, validationCode: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspCoreCryptoAccountId32, u128, u32, Bytes, Bytes]>;
|
||||||
/**
|
/**
|
||||||
* Register head data and validation code for a reserved Para Id.
|
* Register head data and validation code for a reserved Para Id.
|
||||||
*
|
*
|
||||||
@@ -3199,7 +3199,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* The dispatch origin for this call must match `T::ForceOrigin`.
|
* The dispatch origin for this call must match `T::ForceOrigin`.
|
||||||
**/
|
**/
|
||||||
forceLease: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, leaser: AccountId32 | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, periodBegin: u32 | AnyNumber | Uint8Array, periodCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, AccountId32, u128, u32, u32]>;
|
forceLease: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, leaser: PezspCoreCryptoAccountId32 | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, periodBegin: u32 | AnyNumber | Uint8Array, periodCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PezspCoreCryptoAccountId32, u128, u32, u32]>;
|
||||||
/**
|
/**
|
||||||
* Try to onboard a parachain that has a lease for the current lease period.
|
* Try to onboard a parachain that has a lease for the current lease period.
|
||||||
*
|
*
|
||||||
@@ -3221,7 +3221,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* Founder, only after the period for voting has ended and only when the candidate is not
|
* Founder, only after the period for voting has ended and only when the candidate is not
|
||||||
* clearly rejected.
|
* clearly rejected.
|
||||||
**/
|
**/
|
||||||
bestowMembership: AugmentedSubmittable<(candidate: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
bestowMembership: AugmentedSubmittable<(candidate: PezspCoreCryptoAccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* A user outside of the society can make a bid for entry.
|
* A user outside of the society can make a bid for entry.
|
||||||
*
|
*
|
||||||
@@ -3244,7 +3244,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* May be called by any Signed origin, but only after the candidate's candidacy is ended.
|
* May be called by any Signed origin, but only after the candidate's candidacy is ended.
|
||||||
**/
|
**/
|
||||||
cleanupCandidacy: AugmentedSubmittable<(candidate: AccountId32 | string | Uint8Array, max: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32]>;
|
cleanupCandidacy: AugmentedSubmittable<(candidate: PezspCoreCryptoAccountId32 | string | Uint8Array, max: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspCoreCryptoAccountId32, u32]>;
|
||||||
/**
|
/**
|
||||||
* Remove up to `max` stale votes for the defender in the given `challenge_round`.
|
* Remove up to `max` stale votes for the defender in the given `challenge_round`.
|
||||||
*
|
*
|
||||||
@@ -3276,7 +3276,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* The bid deposit is lost and the voucher is banned.
|
* The bid deposit is lost and the voucher is banned.
|
||||||
**/
|
**/
|
||||||
dropCandidate: AugmentedSubmittable<(candidate: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
dropCandidate: AugmentedSubmittable<(candidate: PezspCoreCryptoAccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Found the society.
|
* Found the society.
|
||||||
*
|
*
|
||||||
@@ -3296,7 +3296,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* Complexity: O(1)
|
* Complexity: O(1)
|
||||||
**/
|
**/
|
||||||
foundSociety: AugmentedSubmittable<(founder: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, maxMembers: u32 | AnyNumber | Uint8Array, maxIntake: u32 | AnyNumber | Uint8Array, maxStrikes: u32 | AnyNumber | Uint8Array, candidateDeposit: u128 | AnyNumber | Uint8Array, rules: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u32, u32, u32, u128, Bytes]>;
|
foundSociety: AugmentedSubmittable<(founder: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, maxMembers: u32 | AnyNumber | Uint8Array, maxIntake: u32 | AnyNumber | Uint8Array, maxStrikes: u32 | AnyNumber | Uint8Array, candidateDeposit: u128 | AnyNumber | Uint8Array, rules: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, u32, u32, u32, u128, Bytes]>;
|
||||||
/**
|
/**
|
||||||
* Allow suspension judgement origin to make judgement on a suspended member.
|
* Allow suspension judgement origin to make judgement on a suspended member.
|
||||||
*
|
*
|
||||||
@@ -3313,7 +3313,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* - `forgive` - A boolean representing whether the suspension judgement origin forgives
|
* - `forgive` - A boolean representing whether the suspension judgement origin forgives
|
||||||
* (`true`) or rejects (`false`) a suspended member.
|
* (`true`) or rejects (`false`) a suspended member.
|
||||||
**/
|
**/
|
||||||
judgeSuspendedMember: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, forgive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, bool]>;
|
judgeSuspendedMember: AugmentedSubmittable<(who: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, forgive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, bool]>;
|
||||||
/**
|
/**
|
||||||
* Remove the candidate's application from the society. Callable only by the Signed origin
|
* Remove the candidate's application from the society. Callable only by the Signed origin
|
||||||
* of the Founder, only after the period for voting has ended, and only when they do not
|
* of the Founder, only after the period for voting has ended, and only when they do not
|
||||||
@@ -3321,7 +3321,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* Any bid deposit is lost and voucher is banned.
|
* Any bid deposit is lost and voucher is banned.
|
||||||
**/
|
**/
|
||||||
kickCandidate: AugmentedSubmittable<(candidate: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
kickCandidate: AugmentedSubmittable<(candidate: PezspCoreCryptoAccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Transfer the first matured payout for the sender and remove it from the records.
|
* Transfer the first matured payout for the sender and remove it from the records.
|
||||||
*
|
*
|
||||||
@@ -3401,7 +3401,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* - `approve`: A boolean which says if the candidate should be approved (`true`) or
|
* - `approve`: A boolean which says if the candidate should be approved (`true`) or
|
||||||
* rejected (`false`).
|
* rejected (`false`).
|
||||||
**/
|
**/
|
||||||
vote: AugmentedSubmittable<(candidate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, approve: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, bool]>;
|
vote: AugmentedSubmittable<(candidate: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, approve: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, bool]>;
|
||||||
/**
|
/**
|
||||||
* As a member, vouch for someone to join society by placing a bid on their behalf.
|
* As a member, vouch for someone to join society by placing a bid on their behalf.
|
||||||
*
|
*
|
||||||
@@ -3421,7 +3421,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* - `tip`: Your cut of the total `value` payout when the candidate is inducted into
|
* - `tip`: Your cut of the total `value` payout when the candidate is inducted into
|
||||||
* the society. Tips larger than `value` will be saturated upon payout.
|
* the society. Tips larger than `value` will be saturated upon payout.
|
||||||
**/
|
**/
|
||||||
vouch: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: u128 | AnyNumber | Uint8Array, tip: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u128, u128]>;
|
vouch: AugmentedSubmittable<(who: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, value: u128 | AnyNumber | Uint8Array, tip: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, u128, u128]>;
|
||||||
/**
|
/**
|
||||||
* Repay the payment previously given to the member with the signed origin, remove any
|
* Repay the payment previously given to the member with the signed origin, remove any
|
||||||
* pending payments, and elevate them from rank 0 to rank 1.
|
* pending payments, and elevate them from rank 0 to rank 1.
|
||||||
@@ -3519,7 +3519,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* This can be helpful if bond requirements are updated, and we need to remove old users
|
* This can be helpful if bond requirements are updated, and we need to remove old users
|
||||||
* who do not satisfy these requirements.
|
* who do not satisfy these requirements.
|
||||||
**/
|
**/
|
||||||
chillOther: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
chillOther: AugmentedSubmittable<(stash: PezspCoreCryptoAccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Updates a batch of controller accounts to their corresponding stash account if they are
|
* Updates a batch of controller accounts to their corresponding stash account if they are
|
||||||
* not the same. Ignores any controller accounts that do not exist, and does not operate if
|
* not the same. Ignores any controller accounts that do not exist, and does not operate if
|
||||||
@@ -3529,13 +3529,13 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* The dispatch origin must be `T::AdminOrigin`.
|
* The dispatch origin must be `T::AdminOrigin`.
|
||||||
**/
|
**/
|
||||||
deprecateControllerBatch: AugmentedSubmittable<(controllers: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
|
deprecateControllerBatch: AugmentedSubmittable<(controllers: Vec<PezspCoreCryptoAccountId32> | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<PezspCoreCryptoAccountId32>]>;
|
||||||
/**
|
/**
|
||||||
* Force a validator to have at least the minimum commission. This will not affect a
|
* Force a validator to have at least the minimum commission. This will not affect a
|
||||||
* validator who already has a commission greater than or equal to the minimum. Any account
|
* validator who already has a commission greater than or equal to the minimum. Any account
|
||||||
* can call this.
|
* can call this.
|
||||||
**/
|
**/
|
||||||
forceApplyMinCommission: AugmentedSubmittable<(validatorStash: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
forceApplyMinCommission: AugmentedSubmittable<(validatorStash: PezspCoreCryptoAccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Force there to be a new era at the end of the next session. After this, it will be
|
* Force there to be a new era at the end of the next session. After this, it will be
|
||||||
* reset to normal (non-forced) behaviour.
|
* reset to normal (non-forced) behaviour.
|
||||||
@@ -3591,7 +3591,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* - `num_slashing_spans`: Refer to comments on [`Call::withdraw_unbonded`] for more
|
* - `num_slashing_spans`: Refer to comments on [`Call::withdraw_unbonded`] for more
|
||||||
* details.
|
* details.
|
||||||
**/
|
**/
|
||||||
forceUnstake: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array, numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32]>;
|
forceUnstake: AugmentedSubmittable<(stash: PezspCoreCryptoAccountId32 | string | Uint8Array, numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspCoreCryptoAccountId32, u32]>;
|
||||||
/**
|
/**
|
||||||
* Increments the ideal number of validators up to maximum of
|
* Increments the ideal number of validators up to maximum of
|
||||||
* `ElectionProviderBase::MaxWinners`.
|
* `ElectionProviderBase::MaxWinners`.
|
||||||
@@ -3615,7 +3615,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* Note: Making this call only makes sense if you first set the validator preferences to
|
* Note: Making this call only makes sense if you first set the validator preferences to
|
||||||
* block any further nominations.
|
* block any further nominations.
|
||||||
**/
|
**/
|
||||||
kick: AugmentedSubmittable<(who: Vec<MultiAddress> | (MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<MultiAddress>]>;
|
kick: AugmentedSubmittable<(who: Vec<PezspRuntimeMultiAddress> | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<PezspRuntimeMultiAddress>]>;
|
||||||
/**
|
/**
|
||||||
* This function allows governance to manually slash a validator and is a
|
* This function allows governance to manually slash a validator and is a
|
||||||
* **fallback mechanism**.
|
* **fallback mechanism**.
|
||||||
@@ -3639,7 +3639,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* will be applied.
|
* will be applied.
|
||||||
* - The slash will be deferred by `SlashDeferDuration` eras before being enacted.
|
* - The slash will be deferred by `SlashDeferDuration` eras before being enacted.
|
||||||
**/
|
**/
|
||||||
manualSlash: AugmentedSubmittable<(validatorStash: AccountId32 | string | Uint8Array, era: u32 | AnyNumber | Uint8Array, slashFraction: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32, Perbill]>;
|
manualSlash: AugmentedSubmittable<(validatorStash: PezspCoreCryptoAccountId32 | string | Uint8Array, era: u32 | AnyNumber | Uint8Array, slashFraction: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspCoreCryptoAccountId32, u32, u32]>;
|
||||||
/**
|
/**
|
||||||
* Removes the legacy Staking locks if they exist.
|
* Removes the legacy Staking locks if they exist.
|
||||||
*
|
*
|
||||||
@@ -3649,7 +3649,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* The fee is waived if the migration is successful.
|
* The fee is waived if the migration is successful.
|
||||||
**/
|
**/
|
||||||
migrateCurrency: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
migrateCurrency: AugmentedSubmittable<(stash: PezspCoreCryptoAccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Declare the desire to nominate `targets` for the origin controller.
|
* Declare the desire to nominate `targets` for the origin controller.
|
||||||
*
|
*
|
||||||
@@ -3662,7 +3662,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* which is capped at CompactAssignments::LIMIT (T::MaxNominations).
|
* which is capped at CompactAssignments::LIMIT (T::MaxNominations).
|
||||||
* - Both the reads and writes follow a similar pattern.
|
* - Both the reads and writes follow a similar pattern.
|
||||||
**/
|
**/
|
||||||
nominate: AugmentedSubmittable<(targets: Vec<MultiAddress> | (MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<MultiAddress>]>;
|
nominate: AugmentedSubmittable<(targets: Vec<PezspRuntimeMultiAddress> | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<PezspRuntimeMultiAddress>]>;
|
||||||
/**
|
/**
|
||||||
* Pay out next page of the stakers behind a validator for the given era.
|
* Pay out next page of the stakers behind a validator for the given era.
|
||||||
*
|
*
|
||||||
@@ -3678,7 +3678,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* If all pages are claimed, it returns an error `InvalidPage`.
|
* If all pages are claimed, it returns an error `InvalidPage`.
|
||||||
**/
|
**/
|
||||||
payoutStakers: AugmentedSubmittable<(validatorStash: AccountId32 | string | Uint8Array, era: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32]>;
|
payoutStakers: AugmentedSubmittable<(validatorStash: PezspCoreCryptoAccountId32 | string | Uint8Array, era: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspCoreCryptoAccountId32, u32]>;
|
||||||
/**
|
/**
|
||||||
* Pay out a page of the stakers behind a validator for the given era and page.
|
* Pay out a page of the stakers behind a validator for the given era and page.
|
||||||
*
|
*
|
||||||
@@ -3698,7 +3698,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* and so it should not be assumed the highest staker would be on the topmost page and vice
|
* and so it should not be assumed the highest staker would be on the topmost page and vice
|
||||||
* versa. If rewards are not claimed in [`Config::HistoryDepth`] eras, they are lost.
|
* versa. If rewards are not claimed in [`Config::HistoryDepth`] eras, they are lost.
|
||||||
**/
|
**/
|
||||||
payoutStakersByPage: AugmentedSubmittable<(validatorStash: AccountId32 | string | Uint8Array, era: u32 | AnyNumber | Uint8Array, page: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32, u32]>;
|
payoutStakersByPage: AugmentedSubmittable<(validatorStash: PezspCoreCryptoAccountId32 | string | Uint8Array, era: u32 | AnyNumber | Uint8Array, page: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspCoreCryptoAccountId32, u32, u32]>;
|
||||||
/**
|
/**
|
||||||
* Remove all data structures concerning a staker/stash once it is at a state where it can
|
* Remove all data structures concerning a staker/stash once it is at a state where it can
|
||||||
* be considered `dust` in the staking system. The requirements are:
|
* be considered `dust` in the staking system. The requirements are:
|
||||||
@@ -3719,7 +3719,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* - `num_slashing_spans`: Refer to comments on [`Call::withdraw_unbonded`] for more
|
* - `num_slashing_spans`: Refer to comments on [`Call::withdraw_unbonded`] for more
|
||||||
* details.
|
* details.
|
||||||
**/
|
**/
|
||||||
reapStash: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array, numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32]>;
|
reapStash: AugmentedSubmittable<(stash: PezspCoreCryptoAccountId32 | string | Uint8Array, numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspCoreCryptoAccountId32, u32]>;
|
||||||
/**
|
/**
|
||||||
* Rebond a portion of the stash scheduled to be unlocked.
|
* Rebond a portion of the stash scheduled to be unlocked.
|
||||||
*
|
*
|
||||||
@@ -3743,7 +3743,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* ledger associated with the stash. If the input parameters are not set, the ledger will
|
* ledger associated with the stash. If the input parameters are not set, the ledger will
|
||||||
* be reset values from on-chain state.
|
* be reset values from on-chain state.
|
||||||
**/
|
**/
|
||||||
restoreLedger: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array, maybeController: Option<AccountId32> | null | Uint8Array | AccountId32 | string, maybeTotal: Option<u128> | null | Uint8Array | u128 | AnyNumber, maybeUnlocking: Option<Vec<PezpalletStakingUnlockChunk>> | null | Uint8Array | Vec<PezpalletStakingUnlockChunk> | (PezpalletStakingUnlockChunk)[]) => SubmittableExtrinsic<ApiType>, [AccountId32, Option<AccountId32>, Option<u128>, Option<Vec<PezpalletStakingUnlockChunk>>]>;
|
restoreLedger: AugmentedSubmittable<(stash: PezspCoreCryptoAccountId32 | string | Uint8Array, maybeController: Option<PezspCoreCryptoAccountId32> | string | Uint8Array, maybeTotal: Option<u128> | null | Uint8Array | u128 | AnyNumber, maybeUnlocking: Option<Vec<PezpalletStakingUnlockChunk>> | null | Uint8Array | Vec<PezpalletStakingUnlockChunk> | (PezpalletStakingUnlockChunk)[]) => SubmittableExtrinsic<ApiType>, [PezspCoreCryptoAccountId32, Option<PezspCoreCryptoAccountId32>, Option<u128>, Option<Vec<PezpalletStakingUnlockChunk>>]>;
|
||||||
/**
|
/**
|
||||||
* Scale up the ideal number of validators by a factor up to maximum of
|
* Scale up the ideal number of validators by a factor up to maximum of
|
||||||
* `ElectionProviderBase::MaxWinners`.
|
* `ElectionProviderBase::MaxWinners`.
|
||||||
@@ -3753,7 +3753,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* ## Complexity
|
* ## Complexity
|
||||||
* Same as [`Self::set_validator_count`].
|
* Same as [`Self::set_validator_count`].
|
||||||
**/
|
**/
|
||||||
scaleValidatorCount: AugmentedSubmittable<(factor: Percent | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Percent]>;
|
scaleValidatorCount: AugmentedSubmittable<(factor: u8 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u8]>;
|
||||||
/**
|
/**
|
||||||
* (Re-)sets the controller of a stash to the stash itself. This function previously
|
* (Re-)sets the controller of a stash to the stash itself. This function previously
|
||||||
* accepted a `controller` argument to set the controller to an account other than the
|
* accepted a `controller` argument to set the controller to an account other than the
|
||||||
@@ -3776,14 +3776,14 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* The dispatch origin must be Root.
|
* The dispatch origin must be Root.
|
||||||
**/
|
**/
|
||||||
setInvulnerables: AugmentedSubmittable<(invulnerables: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
|
setInvulnerables: AugmentedSubmittable<(invulnerables: Vec<PezspCoreCryptoAccountId32> | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<PezspCoreCryptoAccountId32>]>;
|
||||||
/**
|
/**
|
||||||
* Sets the minimum amount of commission that each validators must maintain.
|
* Sets the minimum amount of commission that each validators must maintain.
|
||||||
*
|
*
|
||||||
* This call has lower privilege requirements than `set_staking_config` and can be called
|
* This call has lower privilege requirements than `set_staking_config` and can be called
|
||||||
* by the `T::AdminOrigin`. Root can always call this.
|
* by the `T::AdminOrigin`. Root can always call this.
|
||||||
**/
|
**/
|
||||||
setMinCommission: AugmentedSubmittable<(updated: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Perbill]>;
|
setMinCommission: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
||||||
/**
|
/**
|
||||||
* (Re-)set the payment target for a controller.
|
* (Re-)set the payment target for a controller.
|
||||||
*
|
*
|
||||||
@@ -3860,7 +3860,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* This will waive the transaction fee if the `payee` is successfully migrated.
|
* This will waive the transaction fee if the `payee` is successfully migrated.
|
||||||
**/
|
**/
|
||||||
updatePayee: AugmentedSubmittable<(controller: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
updatePayee: AugmentedSubmittable<(controller: PezspCoreCryptoAccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Declare the desire to validate for the origin controller.
|
* Declare the desire to validate for the origin controller.
|
||||||
*
|
*
|
||||||
@@ -4136,7 +4136,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* Emits [`Event::SpendApproved`] if successful.
|
* Emits [`Event::SpendApproved`] if successful.
|
||||||
**/
|
**/
|
||||||
spendLocal: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, beneficiary: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress]>;
|
spendLocal: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, beneficiary: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, PezspRuntimeMultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Void previously approved spend.
|
* Void previously approved spend.
|
||||||
*
|
*
|
||||||
@@ -4297,7 +4297,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* - `target`: An account that has a vesting schedule
|
* - `target`: An account that has a vesting schedule
|
||||||
* - `schedule_index`: The vesting schedule index that should be removed
|
* - `schedule_index`: The vesting schedule index that should be removed
|
||||||
**/
|
**/
|
||||||
forceRemoveVestingSchedule: AugmentedSubmittable<(target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, scheduleIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u32]>;
|
forceRemoveVestingSchedule: AugmentedSubmittable<(target: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, scheduleIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, u32]>;
|
||||||
/**
|
/**
|
||||||
* Force a vested transfer.
|
* Force a vested transfer.
|
||||||
*
|
*
|
||||||
@@ -4314,7 +4314,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* ## Complexity
|
* ## Complexity
|
||||||
* - `O(1)`.
|
* - `O(1)`.
|
||||||
**/
|
**/
|
||||||
forceVestedTransfer: AugmentedSubmittable<(source: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, schedule: PezpalletVestingVestingInfo) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, PezpalletVestingVestingInfo]>;
|
forceVestedTransfer: AugmentedSubmittable<(source: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, target: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, schedule: PezpalletVestingVestingInfo) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, PezspRuntimeMultiAddress, PezpalletVestingVestingInfo]>;
|
||||||
/**
|
/**
|
||||||
* Merge two vesting schedules together, creating a new vesting schedule that unlocks over
|
* Merge two vesting schedules together, creating a new vesting schedule that unlocks over
|
||||||
* the highest possible start and end blocks. If both schedules have already started the
|
* the highest possible start and end blocks. If both schedules have already started the
|
||||||
@@ -4366,7 +4366,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* ## Complexity
|
* ## Complexity
|
||||||
* - `O(1)`.
|
* - `O(1)`.
|
||||||
**/
|
**/
|
||||||
vestedTransfer: AugmentedSubmittable<(target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, schedule: PezpalletVestingVestingInfo) => SubmittableExtrinsic<ApiType>, [MultiAddress, PezpalletVestingVestingInfo]>;
|
vestedTransfer: AugmentedSubmittable<(target: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, schedule: PezpalletVestingVestingInfo) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, PezpalletVestingVestingInfo]>;
|
||||||
/**
|
/**
|
||||||
* Unlock any vested funds of a `target` account.
|
* Unlock any vested funds of a `target` account.
|
||||||
*
|
*
|
||||||
@@ -4380,7 +4380,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* ## Complexity
|
* ## Complexity
|
||||||
* - `O(1)`.
|
* - `O(1)`.
|
||||||
**/
|
**/
|
||||||
vestOther: AugmentedSubmittable<(target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
vestOther: AugmentedSubmittable<(target: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Generic tx
|
* Generic tx
|
||||||
**/
|
**/
|
||||||
@@ -4399,13 +4399,13 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* - both nodes are within the same bag,
|
* - both nodes are within the same bag,
|
||||||
* - and `origin` has a greater `Score` than `lighter`.
|
* - and `origin` has a greater `Score` than `lighter`.
|
||||||
**/
|
**/
|
||||||
putInFrontOf: AugmentedSubmittable<(lighter: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
putInFrontOf: AugmentedSubmittable<(lighter: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Same as [`Pallet::put_in_front_of`], but it can be called by anyone.
|
* Same as [`Pallet::put_in_front_of`], but it can be called by anyone.
|
||||||
*
|
*
|
||||||
* Fee is paid by the origin under all circumstances.
|
* Fee is paid by the origin under all circumstances.
|
||||||
**/
|
**/
|
||||||
putInFrontOfOther: AugmentedSubmittable<(heavier: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, lighter: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress]>;
|
putInFrontOfOther: AugmentedSubmittable<(heavier: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, lighter: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, PezspRuntimeMultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Declare that some `dislocated` account has, through rewards or penalties, sufficiently
|
* Declare that some `dislocated` account has, through rewards or penalties, sufficiently
|
||||||
* changed its score that it should properly fall into a different bag than its current
|
* changed its score that it should properly fall into a different bag than its current
|
||||||
@@ -4418,7 +4418,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* If `dislocated` does not exists, it returns an error.
|
* If `dislocated` does not exists, it returns an error.
|
||||||
**/
|
**/
|
||||||
rebag: AugmentedSubmittable<(dislocated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
rebag: AugmentedSubmittable<(dislocated: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Generic tx
|
* Generic tx
|
||||||
**/
|
**/
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @pezkuwi/dev
|
// Do not edit, auto-generated by @pezkuwi/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@pezkuwi/api-augment', path: 'auto', type: 'auto', version: '16.5.4' };
|
export const packageInfo = { name: '@pezkuwi/api-augment', path: 'auto', type: 'auto', version: '16.5.34' };
|
||||||
|
|||||||
@@ -8,8 +8,7 @@ import '@pezkuwi/api-base/types/consts';
|
|||||||
import type { ApiTypes, AugmentedConst } from '@pezkuwi/api-base/types';
|
import type { ApiTypes, AugmentedConst } from '@pezkuwi/api-base/types';
|
||||||
import type { Bytes, Option, Vec, u128, u16, u32, u64, u8 } from '@pezkuwi/types-codec';
|
import type { Bytes, Option, Vec, u128, u16, u32, u64, u8 } from '@pezkuwi/types-codec';
|
||||||
import type { Codec, ITuple } from '@pezkuwi/types-codec/types';
|
import type { Codec, ITuple } from '@pezkuwi/types-codec/types';
|
||||||
import type { AccountId32, Perbill, Permill } from '@pezkuwi/types/interfaces/runtime';
|
import type { PezframeSupportPezpalletId, PezframeSystemLimitsBlockLength, PezframeSystemLimitsBlockWeights, PezpalletReferendaTrackDetails, PezspCoreCryptoAccountId32, PezspVersionRuntimeVersion, PezspWeightsRuntimeDbWeight, PezspWeightsWeightV2Weight, StagingXcmV5Junctions } from '@pezkuwi/types/lookup';
|
||||||
import type { PezframeSupportPezpalletId, PezframeSystemLimitsBlockLength, PezframeSystemLimitsBlockWeights, PezpalletReferendaTrackDetails, PezspVersionRuntimeVersion, PezspWeightsRuntimeDbWeight, PezspWeightsWeightV2Weight, StagingXcmV5Junctions } from '@pezkuwi/types/lookup';
|
|
||||||
|
|
||||||
export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
|
export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
|
||||||
|
|
||||||
@@ -154,7 +153,7 @@ declare module '@pezkuwi/api-base/types/consts' {
|
|||||||
* This deposit has optional upper and lower bounds with `CuratorDepositMax` and
|
* This deposit has optional upper and lower bounds with `CuratorDepositMax` and
|
||||||
* `CuratorDepositMin`.
|
* `CuratorDepositMin`.
|
||||||
**/
|
**/
|
||||||
curatorDepositMultiplier: Permill & AugmentedConst<ApiType>;
|
curatorDepositMultiplier: u32 & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
* The amount held on deposit per byte within the tip report reason or bounty description.
|
* The amount held on deposit per byte within the tip report reason or bounty description.
|
||||||
**/
|
**/
|
||||||
@@ -253,7 +252,7 @@ declare module '@pezkuwi/api-base/types/consts' {
|
|||||||
/**
|
/**
|
||||||
* Fraction of the slash that is rewarded to the caller of pending slash to the agent.
|
* Fraction of the slash that is rewarded to the caller of pending slash to the agent.
|
||||||
**/
|
**/
|
||||||
slashRewardFraction: Perbill & AugmentedConst<ApiType>;
|
slashRewardFraction: u32 & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
* Generic const
|
* Generic const
|
||||||
**/
|
**/
|
||||||
@@ -264,7 +263,7 @@ declare module '@pezkuwi/api-base/types/consts' {
|
|||||||
* The minimum amount of improvement to the solution score that defines a solution as
|
* The minimum amount of improvement to the solution score that defines a solution as
|
||||||
* "better" in the Signed phase.
|
* "better" in the Signed phase.
|
||||||
**/
|
**/
|
||||||
betterSignedThreshold: Perbill & AugmentedConst<ApiType>;
|
betterSignedThreshold: u32 & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
* Maximum number of voters that can support a winner in an election solution.
|
* Maximum number of voters that can support a winner in an election solution.
|
||||||
*
|
*
|
||||||
@@ -811,7 +810,7 @@ declare module '@pezkuwi/api-base/types/consts' {
|
|||||||
/**
|
/**
|
||||||
* Percentage of spare funds (if any) that are burnt per spend period.
|
* Percentage of spare funds (if any) that are burnt per spend period.
|
||||||
**/
|
**/
|
||||||
burn: Permill & AugmentedConst<ApiType>;
|
burn: u32 & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
* DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
|
* DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
|
||||||
* Refer to <https://github.com/paritytech/polkadot-sdk/pull/5961> for migration to `spend`.
|
* Refer to <https://github.com/paritytech/polkadot-sdk/pull/5961> for migration to `spend`.
|
||||||
@@ -832,7 +831,7 @@ declare module '@pezkuwi/api-base/types/consts' {
|
|||||||
/**
|
/**
|
||||||
* Gets this pallet's derived pot account.
|
* Gets this pallet's derived pot account.
|
||||||
**/
|
**/
|
||||||
potAccount: AccountId32 & AugmentedConst<ApiType>;
|
potAccount: PezspCoreCryptoAccountId32 & AugmentedConst<ApiType>;
|
||||||
/**
|
/**
|
||||||
* Period between successive spends.
|
* Period between successive spends.
|
||||||
**/
|
**/
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ import '@pezkuwi/api-base/types/events';
|
|||||||
import type { ApiTypes, AugmentedEvent } from '@pezkuwi/api-base/types';
|
import type { ApiTypes, AugmentedEvent } from '@pezkuwi/api-base/types';
|
||||||
import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@pezkuwi/types-codec';
|
import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@pezkuwi/types-codec';
|
||||||
import type { ITuple } from '@pezkuwi/types-codec/types';
|
import type { ITuple } from '@pezkuwi/types-codec/types';
|
||||||
import type { AccountId32, H256, Perbill } from '@pezkuwi/types/interfaces/runtime';
|
import type { H256 } from '@pezkuwi/types/interfaces/runtime';
|
||||||
import type { PezframeSupportDispatchPostDispatchInfo, PezframeSupportMessagesProcessMessageError, PezframeSupportPreimagesBounded, PezframeSupportTokensMiscBalanceStatus, PezframeSystemDispatchEventInfo, PezkuwiPrimitivesVstagingCandidateReceiptV2, PezkuwiRuntimeCommonClaimsEthereumAddress, PezkuwiRuntimeCommonImplsVersionedLocatableAsset, PezkuwiRuntimeConstantsProxyProxyType, PezkuwiRuntimeTeyrchainsDisputesDisputeLocation, PezkuwiRuntimeTeyrchainsDisputesDisputeResult, PezkuwiRuntimeTeyrchainsInclusionAggregateMessageOrigin, PezkuwiTeyrchainPrimitivesPrimitivesHrmpChannelId, PezpalletBalancesUnexpectedKind, PezpalletConvictionVotingTally, PezpalletConvictionVotingVoteAccountVote, PezpalletElectionProviderMultiPhaseElectionCompute, PezpalletElectionProviderMultiPhasePhase, PezpalletMultisigTimepoint, PezpalletNominationPoolsClaimPermission, PezpalletNominationPoolsCommissionChangeRate, PezpalletNominationPoolsCommissionClaimPermission, PezpalletNominationPoolsPoolState, PezpalletProxyDepositKind, PezpalletRcMigratorMigrationSettings, PezpalletRcMigratorMigrationStage, PezpalletRcMigratorQueuePriority, PezpalletStakingAsyncAhClientUnexpectedKind, PezpalletStakingForcing, PezpalletStakingRewardDestination, PezpalletStakingValidatorPrefs, PezpalletStateTrieMigrationError, PezpalletStateTrieMigrationMigrationCompute, PezspConsensusGrandpaAppPublic, PezspNposElectionsElectionScore, PezspRuntimeDispatchError, PezspRuntimeDispatchErrorWithPostInfo, PezspWeightsWeightV2Weight, StagingXcmV5AssetAssets, StagingXcmV5Location, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, XcmV3MaybeErrorCode, XcmV3TraitsSendError, XcmV5TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@pezkuwi/types/lookup';
|
import type { PezframeSupportDispatchPostDispatchInfo, PezframeSupportMessagesProcessMessageError, PezframeSupportPreimagesBounded, PezframeSupportTokensMiscBalanceStatus, PezframeSystemDispatchEventInfo, PezkuwiPrimitivesVstagingCandidateReceiptV2, PezkuwiRuntimeCommonClaimsEthereumAddress, PezkuwiRuntimeCommonImplsVersionedLocatableAsset, PezkuwiRuntimeConstantsProxyProxyType, PezkuwiRuntimeTeyrchainsDisputesDisputeLocation, PezkuwiRuntimeTeyrchainsDisputesDisputeResult, PezkuwiRuntimeTeyrchainsInclusionAggregateMessageOrigin, PezkuwiTeyrchainPrimitivesPrimitivesHrmpChannelId, PezpalletBalancesUnexpectedKind, PezpalletConvictionVotingTally, PezpalletConvictionVotingVoteAccountVote, PezpalletElectionProviderMultiPhaseElectionCompute, PezpalletElectionProviderMultiPhasePhase, PezpalletMultisigTimepoint, PezpalletNominationPoolsClaimPermission, PezpalletNominationPoolsCommissionChangeRate, PezpalletNominationPoolsCommissionClaimPermission, PezpalletNominationPoolsPoolState, PezpalletProxyDepositKind, PezpalletRcMigratorMigrationSettings, PezpalletRcMigratorMigrationStage, PezpalletRcMigratorQueuePriority, PezpalletStakingAsyncAhClientUnexpectedKind, PezpalletStakingForcing, PezpalletStakingRewardDestination, PezpalletStakingValidatorPrefs, PezpalletStateTrieMigrationError, PezpalletStateTrieMigrationMigrationCompute, PezspConsensusGrandpaAppPublic, PezspCoreCryptoAccountId32, PezspNposElectionsElectionScore, PezspRuntimeDispatchError, PezspRuntimeDispatchErrorWithPostInfo, PezspWeightsWeightV2Weight, StagingXcmV5AssetAssets, StagingXcmV5Location, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, XcmV3MaybeErrorCode, XcmV3TraitsSendError, XcmV5TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@pezkuwi/types/lookup';
|
||||||
|
|
||||||
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
|
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
|
||||||
|
|
||||||
@@ -37,21 +37,21 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* A new bid has been accepted as the current winner.
|
* A new bid has been accepted as the current winner.
|
||||||
**/
|
**/
|
||||||
BidAccepted: AugmentedEvent<ApiType, [bidder: AccountId32, paraId: u32, amount: u128, firstSlot: u32, lastSlot: u32], { bidder: AccountId32, paraId: u32, amount: u128, firstSlot: u32, lastSlot: u32 }>;
|
BidAccepted: AugmentedEvent<ApiType, [bidder: PezspCoreCryptoAccountId32, paraId: u32, amount: u128, firstSlot: u32, lastSlot: u32], { bidder: PezspCoreCryptoAccountId32, paraId: u32, amount: u128, firstSlot: u32, lastSlot: u32 }>;
|
||||||
/**
|
/**
|
||||||
* Someone attempted to lease the same slot twice for a parachain. The amount is held in
|
* Someone attempted to lease the same slot twice for a parachain. The amount is held in
|
||||||
* reserve but no parachain slot has been leased.
|
* reserve but no parachain slot has been leased.
|
||||||
**/
|
**/
|
||||||
ReserveConfiscated: AugmentedEvent<ApiType, [paraId: u32, leaser: AccountId32, amount: u128], { paraId: u32, leaser: AccountId32, amount: u128 }>;
|
ReserveConfiscated: AugmentedEvent<ApiType, [paraId: u32, leaser: PezspCoreCryptoAccountId32, amount: u128], { paraId: u32, leaser: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* Funds were reserved for a winning bid. First balance is the extra amount reserved.
|
* Funds were reserved for a winning bid. First balance is the extra amount reserved.
|
||||||
* Second is the total.
|
* Second is the total.
|
||||||
**/
|
**/
|
||||||
Reserved: AugmentedEvent<ApiType, [bidder: AccountId32, extraReserved: u128, totalAmount: u128], { bidder: AccountId32, extraReserved: u128, totalAmount: u128 }>;
|
Reserved: AugmentedEvent<ApiType, [bidder: PezspCoreCryptoAccountId32, extraReserved: u128, totalAmount: u128], { bidder: PezspCoreCryptoAccountId32, extraReserved: u128, totalAmount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* Funds were unreserved since bidder is no longer active. `[bidder, amount]`
|
* Funds were unreserved since bidder is no longer active. `[bidder, amount]`
|
||||||
**/
|
**/
|
||||||
Unreserved: AugmentedEvent<ApiType, [bidder: AccountId32, amount: u128], { bidder: AccountId32, amount: u128 }>;
|
Unreserved: AugmentedEvent<ApiType, [bidder: PezspCoreCryptoAccountId32, amount: u128], { bidder: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* The winning offset was chosen for an auction. This will map into the `Winning` storage
|
* The winning offset was chosen for an auction. This will map into the `Winning` storage
|
||||||
* map.
|
* map.
|
||||||
@@ -66,28 +66,28 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* A balance was set by root.
|
* A balance was set by root.
|
||||||
**/
|
**/
|
||||||
BalanceSet: AugmentedEvent<ApiType, [who: AccountId32, free: u128], { who: AccountId32, free: u128 }>;
|
BalanceSet: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, free: u128], { who: PezspCoreCryptoAccountId32, free: u128 }>;
|
||||||
/**
|
/**
|
||||||
* Some amount was burned from an account.
|
* Some amount was burned from an account.
|
||||||
**/
|
**/
|
||||||
Burned: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
Burned: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, amount: u128], { who: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* Some amount was deposited (e.g. for transaction fees).
|
* Some amount was deposited (e.g. for transaction fees).
|
||||||
**/
|
**/
|
||||||
Deposit: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
Deposit: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, amount: u128], { who: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* An account was removed whose balance was non-zero but below ExistentialDeposit,
|
* An account was removed whose balance was non-zero but below ExistentialDeposit,
|
||||||
* resulting in an outright loss.
|
* resulting in an outright loss.
|
||||||
**/
|
**/
|
||||||
DustLost: AugmentedEvent<ApiType, [account: AccountId32, amount: u128], { account: AccountId32, amount: u128 }>;
|
DustLost: AugmentedEvent<ApiType, [account: PezspCoreCryptoAccountId32, amount: u128], { account: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* An account was created with some free balance.
|
* An account was created with some free balance.
|
||||||
**/
|
**/
|
||||||
Endowed: AugmentedEvent<ApiType, [account: AccountId32, freeBalance: u128], { account: AccountId32, freeBalance: u128 }>;
|
Endowed: AugmentedEvent<ApiType, [account: PezspCoreCryptoAccountId32, freeBalance: u128], { account: PezspCoreCryptoAccountId32, freeBalance: u128 }>;
|
||||||
/**
|
/**
|
||||||
* Some balance was frozen.
|
* Some balance was frozen.
|
||||||
**/
|
**/
|
||||||
Frozen: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
Frozen: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, amount: u128], { who: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* Total issuance was increased by `amount`, creating a credit to be balanced.
|
* Total issuance was increased by `amount`, creating a credit to be balanced.
|
||||||
**/
|
**/
|
||||||
@@ -95,11 +95,11 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* Some balance was locked.
|
* Some balance was locked.
|
||||||
**/
|
**/
|
||||||
Locked: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
Locked: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, amount: u128], { who: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* Some amount was minted into an account.
|
* Some amount was minted into an account.
|
||||||
**/
|
**/
|
||||||
Minted: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
Minted: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, amount: u128], { who: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* Total issuance was decreased by `amount`, creating a debt to be balanced.
|
* Total issuance was decreased by `amount`, creating a debt to be balanced.
|
||||||
**/
|
**/
|
||||||
@@ -107,28 +107,28 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* Some balance was reserved (moved from free to reserved).
|
* Some balance was reserved (moved from free to reserved).
|
||||||
**/
|
**/
|
||||||
Reserved: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
Reserved: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, amount: u128], { who: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* Some balance was moved from the reserve of the first account to the second account.
|
* Some balance was moved from the reserve of the first account to the second account.
|
||||||
* Final argument indicates the destination balance type.
|
* Final argument indicates the destination balance type.
|
||||||
**/
|
**/
|
||||||
ReserveRepatriated: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, amount: u128, destinationStatus: PezframeSupportTokensMiscBalanceStatus], { from: AccountId32, to: AccountId32, amount: u128, destinationStatus: PezframeSupportTokensMiscBalanceStatus }>;
|
ReserveRepatriated: AugmentedEvent<ApiType, [from: PezspCoreCryptoAccountId32, to: PezspCoreCryptoAccountId32, amount: u128, destinationStatus: PezframeSupportTokensMiscBalanceStatus], { from: PezspCoreCryptoAccountId32, to: PezspCoreCryptoAccountId32, amount: u128, destinationStatus: PezframeSupportTokensMiscBalanceStatus }>;
|
||||||
/**
|
/**
|
||||||
* Some amount was restored into an account.
|
* Some amount was restored into an account.
|
||||||
**/
|
**/
|
||||||
Restored: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
Restored: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, amount: u128], { who: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* Some amount was removed from the account (e.g. for misbehavior).
|
* Some amount was removed from the account (e.g. for misbehavior).
|
||||||
**/
|
**/
|
||||||
Slashed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
Slashed: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, amount: u128], { who: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* Some amount was suspended from an account (it can be restored later).
|
* Some amount was suspended from an account (it can be restored later).
|
||||||
**/
|
**/
|
||||||
Suspended: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
Suspended: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, amount: u128], { who: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* Some balance was thawed.
|
* Some balance was thawed.
|
||||||
**/
|
**/
|
||||||
Thawed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
Thawed: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, amount: u128], { who: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* The `TotalIssuance` was forcefully changed.
|
* The `TotalIssuance` was forcefully changed.
|
||||||
**/
|
**/
|
||||||
@@ -136,7 +136,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* Transfer succeeded.
|
* Transfer succeeded.
|
||||||
**/
|
**/
|
||||||
Transfer: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, amount: u128], { from: AccountId32, to: AccountId32, amount: u128 }>;
|
Transfer: AugmentedEvent<ApiType, [from: PezspCoreCryptoAccountId32, to: PezspCoreCryptoAccountId32, amount: u128], { from: PezspCoreCryptoAccountId32, to: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* An unexpected/defensive event was triggered.
|
* An unexpected/defensive event was triggered.
|
||||||
**/
|
**/
|
||||||
@@ -144,19 +144,19 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* Some balance was unlocked.
|
* Some balance was unlocked.
|
||||||
**/
|
**/
|
||||||
Unlocked: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
Unlocked: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, amount: u128], { who: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* Some balance was unreserved (moved from reserved to free).
|
* Some balance was unreserved (moved from reserved to free).
|
||||||
**/
|
**/
|
||||||
Unreserved: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
Unreserved: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, amount: u128], { who: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* An account was upgraded.
|
* An account was upgraded.
|
||||||
**/
|
**/
|
||||||
Upgraded: AugmentedEvent<ApiType, [who: AccountId32], { who: AccountId32 }>;
|
Upgraded: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32], { who: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* Some amount was withdrawn from the account (e.g. for transaction fees).
|
* Some amount was withdrawn from the account (e.g. for transaction fees).
|
||||||
**/
|
**/
|
||||||
Withdraw: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
Withdraw: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, amount: u128], { who: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* Generic event
|
* Generic event
|
||||||
**/
|
**/
|
||||||
@@ -170,7 +170,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* A bounty is awarded to a beneficiary.
|
* A bounty is awarded to a beneficiary.
|
||||||
**/
|
**/
|
||||||
BountyAwarded: AugmentedEvent<ApiType, [index: u32, beneficiary: AccountId32], { index: u32, beneficiary: AccountId32 }>;
|
BountyAwarded: AugmentedEvent<ApiType, [index: u32, beneficiary: PezspCoreCryptoAccountId32], { index: u32, beneficiary: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* A bounty proposal is funded and became active.
|
* A bounty proposal is funded and became active.
|
||||||
**/
|
**/
|
||||||
@@ -182,7 +182,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* A bounty is claimed by beneficiary.
|
* A bounty is claimed by beneficiary.
|
||||||
**/
|
**/
|
||||||
BountyClaimed: AugmentedEvent<ApiType, [index: u32, payout: u128, beneficiary: AccountId32], { index: u32, payout: u128, beneficiary: AccountId32 }>;
|
BountyClaimed: AugmentedEvent<ApiType, [index: u32, payout: u128, beneficiary: PezspCoreCryptoAccountId32], { index: u32, payout: u128, beneficiary: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* A bounty expiry is extended.
|
* A bounty expiry is extended.
|
||||||
**/
|
**/
|
||||||
@@ -198,11 +198,11 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* A bounty curator is accepted.
|
* A bounty curator is accepted.
|
||||||
**/
|
**/
|
||||||
CuratorAccepted: AugmentedEvent<ApiType, [bountyId: u32, curator: AccountId32], { bountyId: u32, curator: AccountId32 }>;
|
CuratorAccepted: AugmentedEvent<ApiType, [bountyId: u32, curator: PezspCoreCryptoAccountId32], { bountyId: u32, curator: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* A bounty curator is proposed.
|
* A bounty curator is proposed.
|
||||||
**/
|
**/
|
||||||
CuratorProposed: AugmentedEvent<ApiType, [bountyId: u32, curator: AccountId32], { bountyId: u32, curator: AccountId32 }>;
|
CuratorProposed: AugmentedEvent<ApiType, [bountyId: u32, curator: PezspCoreCryptoAccountId32], { bountyId: u32, curator: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* A bounty curator is unassigned.
|
* A bounty curator is unassigned.
|
||||||
**/
|
**/
|
||||||
@@ -210,7 +210,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* A bounty deposit has been poked.
|
* A bounty deposit has been poked.
|
||||||
**/
|
**/
|
||||||
DepositPoked: AugmentedEvent<ApiType, [bountyId: u32, proposer: AccountId32, oldDeposit: u128, newDeposit: u128], { bountyId: u32, proposer: AccountId32, oldDeposit: u128, newDeposit: u128 }>;
|
DepositPoked: AugmentedEvent<ApiType, [bountyId: u32, proposer: PezspCoreCryptoAccountId32, oldDeposit: u128, newDeposit: u128], { bountyId: u32, proposer: PezspCoreCryptoAccountId32, oldDeposit: u128, newDeposit: u128 }>;
|
||||||
/**
|
/**
|
||||||
* Generic event
|
* Generic event
|
||||||
**/
|
**/
|
||||||
@@ -224,7 +224,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* A child-bounty is awarded to a beneficiary.
|
* A child-bounty is awarded to a beneficiary.
|
||||||
**/
|
**/
|
||||||
Awarded: AugmentedEvent<ApiType, [index: u32, childIndex: u32, beneficiary: AccountId32], { index: u32, childIndex: u32, beneficiary: AccountId32 }>;
|
Awarded: AugmentedEvent<ApiType, [index: u32, childIndex: u32, beneficiary: PezspCoreCryptoAccountId32], { index: u32, childIndex: u32, beneficiary: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* A child-bounty is cancelled.
|
* A child-bounty is cancelled.
|
||||||
**/
|
**/
|
||||||
@@ -232,7 +232,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* A child-bounty is claimed by beneficiary.
|
* A child-bounty is claimed by beneficiary.
|
||||||
**/
|
**/
|
||||||
Claimed: AugmentedEvent<ApiType, [index: u32, childIndex: u32, payout: u128, beneficiary: AccountId32], { index: u32, childIndex: u32, payout: u128, beneficiary: AccountId32 }>;
|
Claimed: AugmentedEvent<ApiType, [index: u32, childIndex: u32, payout: u128, beneficiary: PezspCoreCryptoAccountId32], { index: u32, childIndex: u32, payout: u128, beneficiary: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* Generic event
|
* Generic event
|
||||||
**/
|
**/
|
||||||
@@ -242,7 +242,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* Someone claimed some DOTs.
|
* Someone claimed some DOTs.
|
||||||
**/
|
**/
|
||||||
Claimed: AugmentedEvent<ApiType, [who: AccountId32, ethereumAddress: PezkuwiRuntimeCommonClaimsEthereumAddress, amount: u128], { who: AccountId32, ethereumAddress: PezkuwiRuntimeCommonClaimsEthereumAddress, amount: u128 }>;
|
Claimed: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, ethereumAddress: PezkuwiRuntimeCommonClaimsEthereumAddress, amount: u128], { who: PezspCoreCryptoAccountId32, ethereumAddress: PezkuwiRuntimeCommonClaimsEthereumAddress, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* Generic event
|
* Generic event
|
||||||
**/
|
**/
|
||||||
@@ -252,23 +252,23 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* An account has delegated their vote to another account. \[who, target\]
|
* An account has delegated their vote to another account. \[who, target\]
|
||||||
**/
|
**/
|
||||||
Delegated: AugmentedEvent<ApiType, [AccountId32, AccountId32]>;
|
Delegated: AugmentedEvent<ApiType, [PezspCoreCryptoAccountId32, PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* An \[account\] has cancelled a previous delegation operation.
|
* An \[account\] has cancelled a previous delegation operation.
|
||||||
**/
|
**/
|
||||||
Undelegated: AugmentedEvent<ApiType, [AccountId32]>;
|
Undelegated: AugmentedEvent<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* An account has voted
|
* An account has voted
|
||||||
**/
|
**/
|
||||||
Voted: AugmentedEvent<ApiType, [who: AccountId32, vote: PezpalletConvictionVotingVoteAccountVote], { who: AccountId32, vote: PezpalletConvictionVotingVoteAccountVote }>;
|
Voted: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, vote: PezpalletConvictionVotingVoteAccountVote], { who: PezspCoreCryptoAccountId32, vote: PezpalletConvictionVotingVoteAccountVote }>;
|
||||||
/**
|
/**
|
||||||
* A vote has been removed
|
* A vote has been removed
|
||||||
**/
|
**/
|
||||||
VoteRemoved: AugmentedEvent<ApiType, [who: AccountId32, vote: PezpalletConvictionVotingVoteAccountVote], { who: AccountId32, vote: PezpalletConvictionVotingVoteAccountVote }>;
|
VoteRemoved: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, vote: PezpalletConvictionVotingVoteAccountVote], { who: PezspCoreCryptoAccountId32, vote: PezpalletConvictionVotingVoteAccountVote }>;
|
||||||
/**
|
/**
|
||||||
* The lockup period of a conviction vote expired, and the funds have been unlocked.
|
* The lockup period of a conviction vote expired, and the funds have been unlocked.
|
||||||
**/
|
**/
|
||||||
VoteUnlocked: AugmentedEvent<ApiType, [who: AccountId32, class_: u16], { who: AccountId32, class: u16 }>;
|
VoteUnlocked: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, class_: u16], { who: PezspCoreCryptoAccountId32, class: u16 }>;
|
||||||
/**
|
/**
|
||||||
* Generic event
|
* Generic event
|
||||||
**/
|
**/
|
||||||
@@ -300,7 +300,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* Contributed to a crowd sale.
|
* Contributed to a crowd sale.
|
||||||
**/
|
**/
|
||||||
Contributed: AugmentedEvent<ApiType, [who: AccountId32, fundIndex: u32, amount: u128], { who: AccountId32, fundIndex: u32, amount: u128 }>;
|
Contributed: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, fundIndex: u32, amount: u128], { who: PezspCoreCryptoAccountId32, fundIndex: u32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* Create a new crowdloaning campaign.
|
* Create a new crowdloaning campaign.
|
||||||
**/
|
**/
|
||||||
@@ -320,7 +320,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* A memo has been updated.
|
* A memo has been updated.
|
||||||
**/
|
**/
|
||||||
MemoUpdated: AugmentedEvent<ApiType, [who: AccountId32, paraId: u32, memo: Bytes], { who: AccountId32, paraId: u32, memo: Bytes }>;
|
MemoUpdated: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, paraId: u32, memo: Bytes], { who: PezspCoreCryptoAccountId32, paraId: u32, memo: Bytes }>;
|
||||||
/**
|
/**
|
||||||
* The loans in a fund have been partially dissolved, i.e. there are some left
|
* The loans in a fund have been partially dissolved, i.e. there are some left
|
||||||
* over child keys that still need to be killed.
|
* over child keys that still need to be killed.
|
||||||
@@ -329,7 +329,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* Withdrew full balance of a contributor.
|
* Withdrew full balance of a contributor.
|
||||||
**/
|
**/
|
||||||
Withdrew: AugmentedEvent<ApiType, [who: AccountId32, fundIndex: u32, amount: u128], { who: AccountId32, fundIndex: u32, amount: u128 }>;
|
Withdrew: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, fundIndex: u32, amount: u128], { who: PezspCoreCryptoAccountId32, fundIndex: u32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* Generic event
|
* Generic event
|
||||||
**/
|
**/
|
||||||
@@ -339,19 +339,19 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* Funds delegated by a delegator.
|
* Funds delegated by a delegator.
|
||||||
**/
|
**/
|
||||||
Delegated: AugmentedEvent<ApiType, [agent: AccountId32, delegator: AccountId32, amount: u128], { agent: AccountId32, delegator: AccountId32, amount: u128 }>;
|
Delegated: AugmentedEvent<ApiType, [agent: PezspCoreCryptoAccountId32, delegator: PezspCoreCryptoAccountId32, amount: u128], { agent: PezspCoreCryptoAccountId32, delegator: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* Unclaimed delegation funds migrated to delegator.
|
* Unclaimed delegation funds migrated to delegator.
|
||||||
**/
|
**/
|
||||||
MigratedDelegation: AugmentedEvent<ApiType, [agent: AccountId32, delegator: AccountId32, amount: u128], { agent: AccountId32, delegator: AccountId32, amount: u128 }>;
|
MigratedDelegation: AugmentedEvent<ApiType, [agent: PezspCoreCryptoAccountId32, delegator: PezspCoreCryptoAccountId32, amount: u128], { agent: PezspCoreCryptoAccountId32, delegator: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* Funds released to a delegator.
|
* Funds released to a delegator.
|
||||||
**/
|
**/
|
||||||
Released: AugmentedEvent<ApiType, [agent: AccountId32, delegator: AccountId32, amount: u128], { agent: AccountId32, delegator: AccountId32, amount: u128 }>;
|
Released: AugmentedEvent<ApiType, [agent: PezspCoreCryptoAccountId32, delegator: PezspCoreCryptoAccountId32, amount: u128], { agent: PezspCoreCryptoAccountId32, delegator: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* Funds slashed from a delegator.
|
* Funds slashed from a delegator.
|
||||||
**/
|
**/
|
||||||
Slashed: AugmentedEvent<ApiType, [agent: AccountId32, delegator: AccountId32, amount: u128], { agent: AccountId32, delegator: AccountId32, amount: u128 }>;
|
Slashed: AugmentedEvent<ApiType, [agent: PezspCoreCryptoAccountId32, delegator: PezspCoreCryptoAccountId32, amount: u128], { agent: PezspCoreCryptoAccountId32, delegator: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* Generic event
|
* Generic event
|
||||||
**/
|
**/
|
||||||
@@ -375,11 +375,11 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* An account has been rewarded for their signed submission being finalized.
|
* An account has been rewarded for their signed submission being finalized.
|
||||||
**/
|
**/
|
||||||
Rewarded: AugmentedEvent<ApiType, [account: AccountId32, value: u128], { account: AccountId32, value: u128 }>;
|
Rewarded: AugmentedEvent<ApiType, [account: PezspCoreCryptoAccountId32, value: u128], { account: PezspCoreCryptoAccountId32, value: u128 }>;
|
||||||
/**
|
/**
|
||||||
* An account has been slashed for submitting an invalid signed submission.
|
* An account has been slashed for submitting an invalid signed submission.
|
||||||
**/
|
**/
|
||||||
Slashed: AugmentedEvent<ApiType, [account: AccountId32, value: u128], { account: AccountId32, value: u128 }>;
|
Slashed: AugmentedEvent<ApiType, [account: PezspCoreCryptoAccountId32, value: u128], { account: PezspCoreCryptoAccountId32, value: u128 }>;
|
||||||
/**
|
/**
|
||||||
* A solution was stored with the given compute.
|
* A solution was stored with the given compute.
|
||||||
*
|
*
|
||||||
@@ -389,7 +389,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
* `T::ForceOrigin`. The `bool` is `true` when a previous solution was ejected to make
|
* `T::ForceOrigin`. The `bool` is `true` when a previous solution was ejected to make
|
||||||
* room for this one.
|
* room for this one.
|
||||||
**/
|
**/
|
||||||
SolutionStored: AugmentedEvent<ApiType, [compute: PezpalletElectionProviderMultiPhaseElectionCompute, origin: Option<AccountId32>, prevEjected: bool], { compute: PezpalletElectionProviderMultiPhaseElectionCompute, origin: Option<AccountId32>, prevEjected: bool }>;
|
SolutionStored: AugmentedEvent<ApiType, [compute: PezpalletElectionProviderMultiPhaseElectionCompute, origin: Option<PezspCoreCryptoAccountId32>, prevEjected: bool], { compute: PezpalletElectionProviderMultiPhaseElectionCompute, origin: Option<PezspCoreCryptoAccountId32>, prevEjected: bool }>;
|
||||||
/**
|
/**
|
||||||
* Generic event
|
* Generic event
|
||||||
**/
|
**/
|
||||||
@@ -414,11 +414,11 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* A staker was slashed for requesting fast-unstake whilst being exposed.
|
* A staker was slashed for requesting fast-unstake whilst being exposed.
|
||||||
**/
|
**/
|
||||||
Slashed: AugmentedEvent<ApiType, [stash: AccountId32, amount: u128], { stash: AccountId32, amount: u128 }>;
|
Slashed: AugmentedEvent<ApiType, [stash: PezspCoreCryptoAccountId32, amount: u128], { stash: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* A staker was unstaked.
|
* A staker was unstaked.
|
||||||
**/
|
**/
|
||||||
Unstaked: AugmentedEvent<ApiType, [stash: AccountId32, result: Result<Null, PezspRuntimeDispatchError>], { stash: AccountId32, result: Result<Null, PezspRuntimeDispatchError> }>;
|
Unstaked: AugmentedEvent<ApiType, [stash: PezspCoreCryptoAccountId32, result: Result<Null, PezspRuntimeDispatchError>], { stash: PezspCoreCryptoAccountId32, result: Result<Null, PezspRuntimeDispatchError> }>;
|
||||||
/**
|
/**
|
||||||
* Generic event
|
* Generic event
|
||||||
**/
|
**/
|
||||||
@@ -494,11 +494,11 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* A deposit to reserve an index has been poked/reconsidered.
|
* A deposit to reserve an index has been poked/reconsidered.
|
||||||
**/
|
**/
|
||||||
DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, index: u32, oldDeposit: u128, newDeposit: u128], { who: AccountId32, index: u32, oldDeposit: u128, newDeposit: u128 }>;
|
DepositPoked: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, index: u32, oldDeposit: u128, newDeposit: u128], { who: PezspCoreCryptoAccountId32, index: u32, oldDeposit: u128, newDeposit: u128 }>;
|
||||||
/**
|
/**
|
||||||
* A account index was assigned.
|
* A account index was assigned.
|
||||||
**/
|
**/
|
||||||
IndexAssigned: AugmentedEvent<ApiType, [who: AccountId32, index: u32], { who: AccountId32, index: u32 }>;
|
IndexAssigned: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, index: u32], { who: PezspCoreCryptoAccountId32, index: u32 }>;
|
||||||
/**
|
/**
|
||||||
* A account index has been freed up (unassigned).
|
* A account index has been freed up (unassigned).
|
||||||
**/
|
**/
|
||||||
@@ -506,7 +506,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* A account index has been frozen to its current account ID.
|
* A account index has been frozen to its current account ID.
|
||||||
**/
|
**/
|
||||||
IndexFrozen: AugmentedEvent<ApiType, [index: u32, who: AccountId32], { index: u32, who: AccountId32 }>;
|
IndexFrozen: AugmentedEvent<ApiType, [index: u32, who: PezspCoreCryptoAccountId32], { index: u32, who: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* Generic event
|
* Generic event
|
||||||
**/
|
**/
|
||||||
@@ -538,23 +538,23 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* The deposit for a multisig operation has been updated/poked.
|
* The deposit for a multisig operation has been updated/poked.
|
||||||
**/
|
**/
|
||||||
DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, callHash: U8aFixed, oldDeposit: u128, newDeposit: u128], { who: AccountId32, callHash: U8aFixed, oldDeposit: u128, newDeposit: u128 }>;
|
DepositPoked: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, callHash: U8aFixed, oldDeposit: u128, newDeposit: u128], { who: PezspCoreCryptoAccountId32, callHash: U8aFixed, oldDeposit: u128, newDeposit: u128 }>;
|
||||||
/**
|
/**
|
||||||
* A multisig operation has been approved by someone.
|
* A multisig operation has been approved by someone.
|
||||||
**/
|
**/
|
||||||
MultisigApproval: AugmentedEvent<ApiType, [approving: AccountId32, timepoint: PezpalletMultisigTimepoint, multisig: AccountId32, callHash: U8aFixed], { approving: AccountId32, timepoint: PezpalletMultisigTimepoint, multisig: AccountId32, callHash: U8aFixed }>;
|
MultisigApproval: AugmentedEvent<ApiType, [approving: PezspCoreCryptoAccountId32, timepoint: PezpalletMultisigTimepoint, multisig: PezspCoreCryptoAccountId32, callHash: U8aFixed], { approving: PezspCoreCryptoAccountId32, timepoint: PezpalletMultisigTimepoint, multisig: PezspCoreCryptoAccountId32, callHash: U8aFixed }>;
|
||||||
/**
|
/**
|
||||||
* A multisig operation has been cancelled.
|
* A multisig operation has been cancelled.
|
||||||
**/
|
**/
|
||||||
MultisigCancelled: AugmentedEvent<ApiType, [cancelling: AccountId32, timepoint: PezpalletMultisigTimepoint, multisig: AccountId32, callHash: U8aFixed], { cancelling: AccountId32, timepoint: PezpalletMultisigTimepoint, multisig: AccountId32, callHash: U8aFixed }>;
|
MultisigCancelled: AugmentedEvent<ApiType, [cancelling: PezspCoreCryptoAccountId32, timepoint: PezpalletMultisigTimepoint, multisig: PezspCoreCryptoAccountId32, callHash: U8aFixed], { cancelling: PezspCoreCryptoAccountId32, timepoint: PezpalletMultisigTimepoint, multisig: PezspCoreCryptoAccountId32, callHash: U8aFixed }>;
|
||||||
/**
|
/**
|
||||||
* A multisig operation has been executed.
|
* A multisig operation has been executed.
|
||||||
**/
|
**/
|
||||||
MultisigExecuted: AugmentedEvent<ApiType, [approving: AccountId32, timepoint: PezpalletMultisigTimepoint, multisig: AccountId32, callHash: U8aFixed, result: Result<Null, PezspRuntimeDispatchError>], { approving: AccountId32, timepoint: PezpalletMultisigTimepoint, multisig: AccountId32, callHash: U8aFixed, result: Result<Null, PezspRuntimeDispatchError> }>;
|
MultisigExecuted: AugmentedEvent<ApiType, [approving: PezspCoreCryptoAccountId32, timepoint: PezpalletMultisigTimepoint, multisig: PezspCoreCryptoAccountId32, callHash: U8aFixed, result: Result<Null, PezspRuntimeDispatchError>], { approving: PezspCoreCryptoAccountId32, timepoint: PezpalletMultisigTimepoint, multisig: PezspCoreCryptoAccountId32, callHash: U8aFixed, result: Result<Null, PezspRuntimeDispatchError> }>;
|
||||||
/**
|
/**
|
||||||
* A new multisig operation has begun.
|
* A new multisig operation has begun.
|
||||||
**/
|
**/
|
||||||
NewMultisig: AugmentedEvent<ApiType, [approving: AccountId32, multisig: AccountId32, callHash: U8aFixed], { approving: AccountId32, multisig: AccountId32, callHash: U8aFixed }>;
|
NewMultisig: AugmentedEvent<ApiType, [approving: PezspCoreCryptoAccountId32, multisig: PezspCoreCryptoAccountId32, callHash: U8aFixed], { approving: PezspCoreCryptoAccountId32, multisig: PezspCoreCryptoAccountId32, callHash: U8aFixed }>;
|
||||||
/**
|
/**
|
||||||
* Generic event
|
* Generic event
|
||||||
**/
|
**/
|
||||||
@@ -564,11 +564,11 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* A member has became bonded in a pool.
|
* A member has became bonded in a pool.
|
||||||
**/
|
**/
|
||||||
Bonded: AugmentedEvent<ApiType, [member: AccountId32, poolId: u32, bonded: u128, joined: bool], { member: AccountId32, poolId: u32, bonded: u128, joined: bool }>;
|
Bonded: AugmentedEvent<ApiType, [member: PezspCoreCryptoAccountId32, poolId: u32, bonded: u128, joined: bool], { member: PezspCoreCryptoAccountId32, poolId: u32, bonded: u128, joined: bool }>;
|
||||||
/**
|
/**
|
||||||
* A pool has been created.
|
* A pool has been created.
|
||||||
**/
|
**/
|
||||||
Created: AugmentedEvent<ApiType, [depositor: AccountId32, poolId: u32], { depositor: AccountId32, poolId: u32 }>;
|
Created: AugmentedEvent<ApiType, [depositor: PezspCoreCryptoAccountId32, poolId: u32], { depositor: PezspCoreCryptoAccountId32, poolId: u32 }>;
|
||||||
/**
|
/**
|
||||||
* A pool has been destroyed.
|
* A pool has been destroyed.
|
||||||
**/
|
**/
|
||||||
@@ -576,11 +576,11 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* Global parameters regulating nomination pools have been updated.
|
* Global parameters regulating nomination pools have been updated.
|
||||||
**/
|
**/
|
||||||
GlobalParamsUpdated: AugmentedEvent<ApiType, [minJoinBond: u128, minCreateBond: u128, maxPools: Option<u32>, maxMembers: Option<u32>, maxMembersPerPool: Option<u32>, globalMaxCommission: Option<Perbill>], { minJoinBond: u128, minCreateBond: u128, maxPools: Option<u32>, maxMembers: Option<u32>, maxMembersPerPool: Option<u32>, globalMaxCommission: Option<Perbill> }>;
|
GlobalParamsUpdated: AugmentedEvent<ApiType, [minJoinBond: u128, minCreateBond: u128, maxPools: Option<u32>, maxMembers: Option<u32>, maxMembersPerPool: Option<u32>, globalMaxCommission: Option<u32>], { minJoinBond: u128, minCreateBond: u128, maxPools: Option<u32>, maxMembers: Option<u32>, maxMembersPerPool: Option<u32>, globalMaxCommission: Option<u32> }>;
|
||||||
/**
|
/**
|
||||||
* A pool member's claim permission has been updated.
|
* A pool member's claim permission has been updated.
|
||||||
**/
|
**/
|
||||||
MemberClaimPermissionUpdated: AugmentedEvent<ApiType, [member: AccountId32, permission: PezpalletNominationPoolsClaimPermission], { member: AccountId32, permission: PezpalletNominationPoolsClaimPermission }>;
|
MemberClaimPermissionUpdated: AugmentedEvent<ApiType, [member: PezspCoreCryptoAccountId32, permission: PezpalletNominationPoolsClaimPermission], { member: PezspCoreCryptoAccountId32, permission: PezpalletNominationPoolsClaimPermission }>;
|
||||||
/**
|
/**
|
||||||
* A member has been removed from a pool.
|
* A member has been removed from a pool.
|
||||||
*
|
*
|
||||||
@@ -588,11 +588,11 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
* Any funds that are still delegated (i.e. dangling delegation) are released and are
|
* Any funds that are still delegated (i.e. dangling delegation) are released and are
|
||||||
* represented by `released_balance`.
|
* represented by `released_balance`.
|
||||||
**/
|
**/
|
||||||
MemberRemoved: AugmentedEvent<ApiType, [poolId: u32, member: AccountId32, releasedBalance: u128], { poolId: u32, member: AccountId32, releasedBalance: u128 }>;
|
MemberRemoved: AugmentedEvent<ApiType, [poolId: u32, member: PezspCoreCryptoAccountId32, releasedBalance: u128], { poolId: u32, member: PezspCoreCryptoAccountId32, releasedBalance: u128 }>;
|
||||||
/**
|
/**
|
||||||
* A pool's metadata was updated.
|
* A pool's metadata was updated.
|
||||||
**/
|
**/
|
||||||
MetadataUpdated: AugmentedEvent<ApiType, [poolId: u32, caller: AccountId32], { poolId: u32, caller: AccountId32 }>;
|
MetadataUpdated: AugmentedEvent<ApiType, [poolId: u32, caller: PezspCoreCryptoAccountId32], { poolId: u32, caller: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* Topped up deficit in frozen ED of the reward pool.
|
* Topped up deficit in frozen ED of the reward pool.
|
||||||
**/
|
**/
|
||||||
@@ -604,7 +604,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* A payout has been made to a member.
|
* A payout has been made to a member.
|
||||||
**/
|
**/
|
||||||
PaidOut: AugmentedEvent<ApiType, [member: AccountId32, poolId: u32, payout: u128], { member: AccountId32, poolId: u32, payout: u128 }>;
|
PaidOut: AugmentedEvent<ApiType, [member: PezspCoreCryptoAccountId32, poolId: u32, payout: u128], { member: PezspCoreCryptoAccountId32, poolId: u32, payout: u128 }>;
|
||||||
/**
|
/**
|
||||||
* A pool's commission `change_rate` has been changed.
|
* A pool's commission `change_rate` has been changed.
|
||||||
**/
|
**/
|
||||||
@@ -620,20 +620,20 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* A pool's commission setting has been changed.
|
* A pool's commission setting has been changed.
|
||||||
**/
|
**/
|
||||||
PoolCommissionUpdated: AugmentedEvent<ApiType, [poolId: u32, current: Option<ITuple<[Perbill, AccountId32]>>], { poolId: u32, current: Option<ITuple<[Perbill, AccountId32]>> }>;
|
PoolCommissionUpdated: AugmentedEvent<ApiType, [poolId: u32, current: Option<ITuple<[u32, PezspCoreCryptoAccountId32]>>], { poolId: u32, current: Option<ITuple<[u32, PezspCoreCryptoAccountId32]>> }>;
|
||||||
/**
|
/**
|
||||||
* A pool's maximum commission setting has been changed.
|
* A pool's maximum commission setting has been changed.
|
||||||
**/
|
**/
|
||||||
PoolMaxCommissionUpdated: AugmentedEvent<ApiType, [poolId: u32, maxCommission: Perbill], { poolId: u32, maxCommission: Perbill }>;
|
PoolMaxCommissionUpdated: AugmentedEvent<ApiType, [poolId: u32, maxCommission: u32], { poolId: u32, maxCommission: u32 }>;
|
||||||
/**
|
/**
|
||||||
* A pool's nominating account (or the pool's root account) has nominated a validator set
|
* A pool's nominating account (or the pool's root account) has nominated a validator set
|
||||||
* on behalf of the pool.
|
* on behalf of the pool.
|
||||||
**/
|
**/
|
||||||
PoolNominationMade: AugmentedEvent<ApiType, [poolId: u32, caller: AccountId32], { poolId: u32, caller: AccountId32 }>;
|
PoolNominationMade: AugmentedEvent<ApiType, [poolId: u32, caller: PezspCoreCryptoAccountId32], { poolId: u32, caller: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* The pool is chilled i.e. no longer nominating.
|
* The pool is chilled i.e. no longer nominating.
|
||||||
**/
|
**/
|
||||||
PoolNominatorChilled: AugmentedEvent<ApiType, [poolId: u32, caller: AccountId32], { poolId: u32, caller: AccountId32 }>;
|
PoolNominatorChilled: AugmentedEvent<ApiType, [poolId: u32, caller: PezspCoreCryptoAccountId32], { poolId: u32, caller: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* The active balance of pool `pool_id` has been slashed to `balance`.
|
* The active balance of pool `pool_id` has been slashed to `balance`.
|
||||||
**/
|
**/
|
||||||
@@ -642,7 +642,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
* The roles of a pool have been updated to the given new roles. Note that the depositor
|
* The roles of a pool have been updated to the given new roles. Note that the depositor
|
||||||
* can never change.
|
* can never change.
|
||||||
**/
|
**/
|
||||||
RolesUpdated: AugmentedEvent<ApiType, [root: Option<AccountId32>, bouncer: Option<AccountId32>, nominator: Option<AccountId32>], { root: Option<AccountId32>, bouncer: Option<AccountId32>, nominator: Option<AccountId32> }>;
|
RolesUpdated: AugmentedEvent<ApiType, [root: Option<PezspCoreCryptoAccountId32>, bouncer: Option<PezspCoreCryptoAccountId32>, nominator: Option<PezspCoreCryptoAccountId32>], { root: Option<PezspCoreCryptoAccountId32>, bouncer: Option<PezspCoreCryptoAccountId32>, nominator: Option<PezspCoreCryptoAccountId32> }>;
|
||||||
/**
|
/**
|
||||||
* The state of a pool has changed
|
* The state of a pool has changed
|
||||||
**/
|
**/
|
||||||
@@ -660,7 +660,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
* number of points that are issued in the unbonding pool will be less than the amount
|
* number of points that are issued in the unbonding pool will be less than the amount
|
||||||
* requested to be unbonded.
|
* requested to be unbonded.
|
||||||
**/
|
**/
|
||||||
Unbonded: AugmentedEvent<ApiType, [member: AccountId32, poolId: u32, balance: u128, points: u128, era: u32], { member: AccountId32, poolId: u32, balance: u128, points: u128, era: u32 }>;
|
Unbonded: AugmentedEvent<ApiType, [member: PezspCoreCryptoAccountId32, poolId: u32, balance: u128, points: u128, era: u32], { member: PezspCoreCryptoAccountId32, poolId: u32, balance: u128, points: u128, era: u32 }>;
|
||||||
/**
|
/**
|
||||||
* The unbond pool at `era` of pool `pool_id` has been slashed to `balance`.
|
* The unbond pool at `era` of pool `pool_id` has been slashed to `balance`.
|
||||||
**/
|
**/
|
||||||
@@ -673,7 +673,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
* Similar to `Unbonded` event, in the absence of slashing, the ratio of point to balance
|
* Similar to `Unbonded` event, in the absence of slashing, the ratio of point to balance
|
||||||
* will be 1.
|
* will be 1.
|
||||||
**/
|
**/
|
||||||
Withdrawn: AugmentedEvent<ApiType, [member: AccountId32, poolId: u32, balance: u128, points: u128], { member: AccountId32, poolId: u32, balance: u128, points: u128 }>;
|
Withdrawn: AugmentedEvent<ApiType, [member: PezspCoreCryptoAccountId32, poolId: u32, balance: u128, points: u128], { member: PezspCoreCryptoAccountId32, poolId: u32, balance: u128, points: u128 }>;
|
||||||
/**
|
/**
|
||||||
* Generic event
|
* Generic event
|
||||||
**/
|
**/
|
||||||
@@ -695,11 +695,11 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* An account was given credits.
|
* An account was given credits.
|
||||||
**/
|
**/
|
||||||
AccountCredited: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
AccountCredited: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, amount: u128], { who: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* An order was placed at some spot price amount by orderer ordered_by
|
* An order was placed at some spot price amount by orderer ordered_by
|
||||||
**/
|
**/
|
||||||
OnDemandOrderPlaced: AugmentedEvent<ApiType, [paraId: u32, spotPrice: u128, orderedBy: AccountId32], { paraId: u32, spotPrice: u128, orderedBy: AccountId32 }>;
|
OnDemandOrderPlaced: AugmentedEvent<ApiType, [paraId: u32, spotPrice: u128, orderedBy: PezspCoreCryptoAccountId32], { paraId: u32, spotPrice: u128, orderedBy: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* The value of the spot price has likely changed
|
* The value of the spot price has likely changed
|
||||||
**/
|
**/
|
||||||
@@ -824,15 +824,15 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* An announcement was placed to make a call in the future.
|
* An announcement was placed to make a call in the future.
|
||||||
**/
|
**/
|
||||||
Announced: AugmentedEvent<ApiType, [real: AccountId32, proxy: AccountId32, callHash: H256], { real: AccountId32, proxy: AccountId32, callHash: H256 }>;
|
Announced: AugmentedEvent<ApiType, [real: PezspCoreCryptoAccountId32, proxy: PezspCoreCryptoAccountId32, callHash: H256], { real: PezspCoreCryptoAccountId32, proxy: PezspCoreCryptoAccountId32, callHash: H256 }>;
|
||||||
/**
|
/**
|
||||||
* A deposit stored for proxies or announcements was poked / updated.
|
* A deposit stored for proxies or announcements was poked / updated.
|
||||||
**/
|
**/
|
||||||
DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, kind: PezpalletProxyDepositKind, oldDeposit: u128, newDeposit: u128], { who: AccountId32, kind: PezpalletProxyDepositKind, oldDeposit: u128, newDeposit: u128 }>;
|
DepositPoked: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, kind: PezpalletProxyDepositKind, oldDeposit: u128, newDeposit: u128], { who: PezspCoreCryptoAccountId32, kind: PezpalletProxyDepositKind, oldDeposit: u128, newDeposit: u128 }>;
|
||||||
/**
|
/**
|
||||||
* A proxy was added.
|
* A proxy was added.
|
||||||
**/
|
**/
|
||||||
ProxyAdded: AugmentedEvent<ApiType, [delegator: AccountId32, delegatee: AccountId32, proxyType: PezkuwiRuntimeConstantsProxyProxyType, delay: u32], { delegator: AccountId32, delegatee: AccountId32, proxyType: PezkuwiRuntimeConstantsProxyProxyType, delay: u32 }>;
|
ProxyAdded: AugmentedEvent<ApiType, [delegator: PezspCoreCryptoAccountId32, delegatee: PezspCoreCryptoAccountId32, proxyType: PezkuwiRuntimeConstantsProxyProxyType, delay: u32], { delegator: PezspCoreCryptoAccountId32, delegatee: PezspCoreCryptoAccountId32, proxyType: PezkuwiRuntimeConstantsProxyProxyType, delay: u32 }>;
|
||||||
/**
|
/**
|
||||||
* A proxy was executed correctly, with the given.
|
* A proxy was executed correctly, with the given.
|
||||||
**/
|
**/
|
||||||
@@ -840,16 +840,16 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* A proxy was removed.
|
* A proxy was removed.
|
||||||
**/
|
**/
|
||||||
ProxyRemoved: AugmentedEvent<ApiType, [delegator: AccountId32, delegatee: AccountId32, proxyType: PezkuwiRuntimeConstantsProxyProxyType, delay: u32], { delegator: AccountId32, delegatee: AccountId32, proxyType: PezkuwiRuntimeConstantsProxyProxyType, delay: u32 }>;
|
ProxyRemoved: AugmentedEvent<ApiType, [delegator: PezspCoreCryptoAccountId32, delegatee: PezspCoreCryptoAccountId32, proxyType: PezkuwiRuntimeConstantsProxyProxyType, delay: u32], { delegator: PezspCoreCryptoAccountId32, delegatee: PezspCoreCryptoAccountId32, proxyType: PezkuwiRuntimeConstantsProxyProxyType, delay: u32 }>;
|
||||||
/**
|
/**
|
||||||
* A pure account has been created by new proxy with given
|
* A pure account has been created by new proxy with given
|
||||||
* disambiguation index and proxy type.
|
* disambiguation index and proxy type.
|
||||||
**/
|
**/
|
||||||
PureCreated: AugmentedEvent<ApiType, [pure: AccountId32, who: AccountId32, proxyType: PezkuwiRuntimeConstantsProxyProxyType, disambiguationIndex: u16], { pure: AccountId32, who: AccountId32, proxyType: PezkuwiRuntimeConstantsProxyProxyType, disambiguationIndex: u16 }>;
|
PureCreated: AugmentedEvent<ApiType, [pure: PezspCoreCryptoAccountId32, who: PezspCoreCryptoAccountId32, proxyType: PezkuwiRuntimeConstantsProxyProxyType, disambiguationIndex: u16], { pure: PezspCoreCryptoAccountId32, who: PezspCoreCryptoAccountId32, proxyType: PezkuwiRuntimeConstantsProxyProxyType, disambiguationIndex: u16 }>;
|
||||||
/**
|
/**
|
||||||
* A pure proxy was killed by its spawner.
|
* A pure proxy was killed by its spawner.
|
||||||
**/
|
**/
|
||||||
PureKilled: AugmentedEvent<ApiType, [pure: AccountId32, spawner: AccountId32, proxyType: PezkuwiRuntimeConstantsProxyProxyType, disambiguationIndex: u16], { pure: AccountId32, spawner: AccountId32, proxyType: PezkuwiRuntimeConstantsProxyProxyType, disambiguationIndex: u16 }>;
|
PureKilled: AugmentedEvent<ApiType, [pure: PezspCoreCryptoAccountId32, spawner: PezspCoreCryptoAccountId32, proxyType: PezkuwiRuntimeConstantsProxyProxyType, disambiguationIndex: u16], { pure: PezspCoreCryptoAccountId32, spawner: PezspCoreCryptoAccountId32, proxyType: PezkuwiRuntimeConstantsProxyProxyType, disambiguationIndex: u16 }>;
|
||||||
/**
|
/**
|
||||||
* Generic event
|
* Generic event
|
||||||
**/
|
**/
|
||||||
@@ -859,7 +859,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* The accounts to be preserved on Relay Chain were set.
|
* The accounts to be preserved on Relay Chain were set.
|
||||||
**/
|
**/
|
||||||
AccountsPreserved: AugmentedEvent<ApiType, [accounts: Vec<AccountId32>], { accounts: Vec<AccountId32> }>;
|
AccountsPreserved: AugmentedEvent<ApiType, [accounts: Vec<PezspCoreCryptoAccountId32>], { accounts: Vec<PezspCoreCryptoAccountId32> }>;
|
||||||
/**
|
/**
|
||||||
* The AH UMP queue priority config was set.
|
* The AH UMP queue priority config was set.
|
||||||
**/
|
**/
|
||||||
@@ -888,7 +888,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* The canceller account id was set.
|
* The canceller account id was set.
|
||||||
**/
|
**/
|
||||||
CancellerSet: AugmentedEvent<ApiType, [old: Option<AccountId32>, new_: Option<AccountId32>], { old: Option<AccountId32>, new_: Option<AccountId32> }>;
|
CancellerSet: AugmentedEvent<ApiType, [old: Option<PezspCoreCryptoAccountId32>, new_: Option<PezspCoreCryptoAccountId32>], { old: Option<PezspCoreCryptoAccountId32>, new_: Option<PezspCoreCryptoAccountId32> }>;
|
||||||
/**
|
/**
|
||||||
* The manager multisig dispatched something.
|
* The manager multisig dispatched something.
|
||||||
**/
|
**/
|
||||||
@@ -900,7 +900,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* The manager account id was set.
|
* The manager account id was set.
|
||||||
**/
|
**/
|
||||||
ManagerSet: AugmentedEvent<ApiType, [old: Option<AccountId32>, new_: Option<AccountId32>], { old: Option<AccountId32>, new_: Option<AccountId32> }>;
|
ManagerSet: AugmentedEvent<ApiType, [old: Option<PezspCoreCryptoAccountId32>, new_: Option<PezspCoreCryptoAccountId32>], { old: Option<PezspCoreCryptoAccountId32>, new_: Option<PezspCoreCryptoAccountId32> }>;
|
||||||
/**
|
/**
|
||||||
* The RC kept balance was consumed.
|
* The RC kept balance was consumed.
|
||||||
**/
|
**/
|
||||||
@@ -972,11 +972,11 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* The decision deposit has been placed.
|
* The decision deposit has been placed.
|
||||||
**/
|
**/
|
||||||
DecisionDepositPlaced: AugmentedEvent<ApiType, [index: u32, who: AccountId32, amount: u128], { index: u32, who: AccountId32, amount: u128 }>;
|
DecisionDepositPlaced: AugmentedEvent<ApiType, [index: u32, who: PezspCoreCryptoAccountId32, amount: u128], { index: u32, who: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* The decision deposit has been refunded.
|
* The decision deposit has been refunded.
|
||||||
**/
|
**/
|
||||||
DecisionDepositRefunded: AugmentedEvent<ApiType, [index: u32, who: AccountId32, amount: u128], { index: u32, who: AccountId32, amount: u128 }>;
|
DecisionDepositRefunded: AugmentedEvent<ApiType, [index: u32, who: PezspCoreCryptoAccountId32, amount: u128], { index: u32, who: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* A referendum has moved into the deciding phase.
|
* A referendum has moved into the deciding phase.
|
||||||
**/
|
**/
|
||||||
@@ -984,7 +984,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* A deposit has been slashed.
|
* A deposit has been slashed.
|
||||||
**/
|
**/
|
||||||
DepositSlashed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
DepositSlashed: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, amount: u128], { who: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* A referendum has been killed.
|
* A referendum has been killed.
|
||||||
**/
|
**/
|
||||||
@@ -1004,7 +1004,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* The submission deposit has been refunded.
|
* The submission deposit has been refunded.
|
||||||
**/
|
**/
|
||||||
SubmissionDepositRefunded: AugmentedEvent<ApiType, [index: u32, who: AccountId32, amount: u128], { index: u32, who: AccountId32, amount: u128 }>;
|
SubmissionDepositRefunded: AugmentedEvent<ApiType, [index: u32, who: PezspCoreCryptoAccountId32, amount: u128], { index: u32, who: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* A referendum has been submitted.
|
* A referendum has been submitted.
|
||||||
**/
|
**/
|
||||||
@@ -1020,8 +1020,8 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
};
|
};
|
||||||
registrar: {
|
registrar: {
|
||||||
Deregistered: AugmentedEvent<ApiType, [paraId: u32], { paraId: u32 }>;
|
Deregistered: AugmentedEvent<ApiType, [paraId: u32], { paraId: u32 }>;
|
||||||
Registered: AugmentedEvent<ApiType, [paraId: u32, manager: AccountId32], { paraId: u32, manager: AccountId32 }>;
|
Registered: AugmentedEvent<ApiType, [paraId: u32, manager: PezspCoreCryptoAccountId32], { paraId: u32, manager: PezspCoreCryptoAccountId32 }>;
|
||||||
Reserved: AugmentedEvent<ApiType, [paraId: u32, who: AccountId32], { paraId: u32, who: AccountId32 }>;
|
Reserved: AugmentedEvent<ApiType, [paraId: u32, who: PezspCoreCryptoAccountId32], { paraId: u32, who: PezspCoreCryptoAccountId32 }>;
|
||||||
Swapped: AugmentedEvent<ApiType, [paraId: u32, otherId: u32], { paraId: u32, otherId: u32 }>;
|
Swapped: AugmentedEvent<ApiType, [paraId: u32, otherId: u32], { paraId: u32, otherId: u32 }>;
|
||||||
/**
|
/**
|
||||||
* Generic event
|
* Generic event
|
||||||
@@ -1089,11 +1089,11 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* Validator has been disabled.
|
* Validator has been disabled.
|
||||||
**/
|
**/
|
||||||
ValidatorDisabled: AugmentedEvent<ApiType, [validator: AccountId32], { validator: AccountId32 }>;
|
ValidatorDisabled: AugmentedEvent<ApiType, [validator: PezspCoreCryptoAccountId32], { validator: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* Validator has been re-enabled.
|
* Validator has been re-enabled.
|
||||||
**/
|
**/
|
||||||
ValidatorReenabled: AugmentedEvent<ApiType, [validator: AccountId32], { validator: AccountId32 }>;
|
ValidatorReenabled: AugmentedEvent<ApiType, [validator: PezspCoreCryptoAccountId32], { validator: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* Generic event
|
* Generic event
|
||||||
**/
|
**/
|
||||||
@@ -1105,7 +1105,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
* First balance is any extra amount reserved on top of the para's existing deposit.
|
* First balance is any extra amount reserved on top of the para's existing deposit.
|
||||||
* Second balance is the total amount reserved.
|
* Second balance is the total amount reserved.
|
||||||
**/
|
**/
|
||||||
Leased: AugmentedEvent<ApiType, [paraId: u32, leaser: AccountId32, periodBegin: u32, periodCount: u32, extraReserved: u128, totalAmount: u128], { paraId: u32, leaser: AccountId32, periodBegin: u32, periodCount: u32, extraReserved: u128, totalAmount: u128 }>;
|
Leased: AugmentedEvent<ApiType, [paraId: u32, leaser: PezspCoreCryptoAccountId32, periodBegin: u32, periodCount: u32, extraReserved: u128, totalAmount: u128], { paraId: u32, leaser: PezspCoreCryptoAccountId32, periodBegin: u32, periodCount: u32, extraReserved: u128, totalAmount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* A new `[lease_period]` is beginning.
|
* A new `[lease_period]` is beginning.
|
||||||
**/
|
**/
|
||||||
@@ -1122,11 +1122,11 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
* NOTE: This event is only emitted when funds are bonded via a dispatchable. Notably,
|
* NOTE: This event is only emitted when funds are bonded via a dispatchable. Notably,
|
||||||
* it will not be emitted for staking rewards when they are added to stake.
|
* it will not be emitted for staking rewards when they are added to stake.
|
||||||
**/
|
**/
|
||||||
Bonded: AugmentedEvent<ApiType, [stash: AccountId32, amount: u128], { stash: AccountId32, amount: u128 }>;
|
Bonded: AugmentedEvent<ApiType, [stash: PezspCoreCryptoAccountId32, amount: u128], { stash: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* An account has stopped participating as either a validator or nominator.
|
* An account has stopped participating as either a validator or nominator.
|
||||||
**/
|
**/
|
||||||
Chilled: AugmentedEvent<ApiType, [stash: AccountId32], { stash: AccountId32 }>;
|
Chilled: AugmentedEvent<ApiType, [stash: PezspCoreCryptoAccountId32], { stash: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* Report of a controller batch deprecation.
|
* Report of a controller batch deprecation.
|
||||||
**/
|
**/
|
||||||
@@ -1135,7 +1135,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
* Staking balance migrated from locks to holds, with any balance that could not be held
|
* Staking balance migrated from locks to holds, with any balance that could not be held
|
||||||
* is force withdrawn.
|
* is force withdrawn.
|
||||||
**/
|
**/
|
||||||
CurrencyMigrated: AugmentedEvent<ApiType, [stash: AccountId32, forceWithdraw: u128], { stash: AccountId32, forceWithdraw: u128 }>;
|
CurrencyMigrated: AugmentedEvent<ApiType, [stash: PezspCoreCryptoAccountId32, forceWithdraw: u128], { stash: PezspCoreCryptoAccountId32, forceWithdraw: u128 }>;
|
||||||
/**
|
/**
|
||||||
* The era payout has been set; the first balance is the validator-payout; the second is
|
* The era payout has been set; the first balance is the validator-payout; the second is
|
||||||
* the remainder from the maximum amount of reward.
|
* the remainder from the maximum amount of reward.
|
||||||
@@ -1148,7 +1148,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* A nominator has been kicked from a validator.
|
* A nominator has been kicked from a validator.
|
||||||
**/
|
**/
|
||||||
Kicked: AugmentedEvent<ApiType, [nominator: AccountId32, stash: AccountId32], { nominator: AccountId32, stash: AccountId32 }>;
|
Kicked: AugmentedEvent<ApiType, [nominator: PezspCoreCryptoAccountId32, stash: PezspCoreCryptoAccountId32], { nominator: PezspCoreCryptoAccountId32, stash: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* An old slashing report from a prior era was discarded because it could
|
* An old slashing report from a prior era was discarded because it could
|
||||||
* not be processed.
|
* not be processed.
|
||||||
@@ -1157,20 +1157,20 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* A Page of stakers rewards are getting paid. `next` is `None` if all pages are claimed.
|
* A Page of stakers rewards are getting paid. `next` is `None` if all pages are claimed.
|
||||||
**/
|
**/
|
||||||
PayoutStarted: AugmentedEvent<ApiType, [eraIndex: u32, validatorStash: AccountId32, page: u32, next: Option<u32>], { eraIndex: u32, validatorStash: AccountId32, page: u32, next: Option<u32> }>;
|
PayoutStarted: AugmentedEvent<ApiType, [eraIndex: u32, validatorStash: PezspCoreCryptoAccountId32, page: u32, next: Option<u32>], { eraIndex: u32, validatorStash: PezspCoreCryptoAccountId32, page: u32, next: Option<u32> }>;
|
||||||
/**
|
/**
|
||||||
* The nominator has been rewarded by this amount to this destination.
|
* The nominator has been rewarded by this amount to this destination.
|
||||||
**/
|
**/
|
||||||
Rewarded: AugmentedEvent<ApiType, [stash: AccountId32, dest: PezpalletStakingRewardDestination, amount: u128], { stash: AccountId32, dest: PezpalletStakingRewardDestination, amount: u128 }>;
|
Rewarded: AugmentedEvent<ApiType, [stash: PezspCoreCryptoAccountId32, dest: PezpalletStakingRewardDestination, amount: u128], { stash: PezspCoreCryptoAccountId32, dest: PezpalletStakingRewardDestination, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* A staker (validator or nominator) has been slashed by the given amount.
|
* A staker (validator or nominator) has been slashed by the given amount.
|
||||||
**/
|
**/
|
||||||
Slashed: AugmentedEvent<ApiType, [staker: AccountId32, amount: u128], { staker: AccountId32, amount: u128 }>;
|
Slashed: AugmentedEvent<ApiType, [staker: PezspCoreCryptoAccountId32, amount: u128], { staker: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* A slash for the given validator, for the given percentage of their stake, at the given
|
* A slash for the given validator, for the given percentage of their stake, at the given
|
||||||
* era as been reported.
|
* era as been reported.
|
||||||
**/
|
**/
|
||||||
SlashReported: AugmentedEvent<ApiType, [validator: AccountId32, fraction: Perbill, slashEra: u32], { validator: AccountId32, fraction: Perbill, slashEra: u32 }>;
|
SlashReported: AugmentedEvent<ApiType, [validator: PezspCoreCryptoAccountId32, fraction: u32, slashEra: u32], { validator: PezspCoreCryptoAccountId32, fraction: u32, slashEra: u32 }>;
|
||||||
/**
|
/**
|
||||||
* Targets size limit reached.
|
* Targets size limit reached.
|
||||||
**/
|
**/
|
||||||
@@ -1190,16 +1190,16 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* An account has unbonded this amount.
|
* An account has unbonded this amount.
|
||||||
**/
|
**/
|
||||||
Unbonded: AugmentedEvent<ApiType, [stash: AccountId32, amount: u128], { stash: AccountId32, amount: u128 }>;
|
Unbonded: AugmentedEvent<ApiType, [stash: PezspCoreCryptoAccountId32, amount: u128], { stash: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* A validator has set their preferences.
|
* A validator has set their preferences.
|
||||||
**/
|
**/
|
||||||
ValidatorPrefsSet: AugmentedEvent<ApiType, [stash: AccountId32, prefs: PezpalletStakingValidatorPrefs], { stash: AccountId32, prefs: PezpalletStakingValidatorPrefs }>;
|
ValidatorPrefsSet: AugmentedEvent<ApiType, [stash: PezspCoreCryptoAccountId32, prefs: PezpalletStakingValidatorPrefs], { stash: PezspCoreCryptoAccountId32, prefs: PezpalletStakingValidatorPrefs }>;
|
||||||
/**
|
/**
|
||||||
* An account has called `withdraw_unbonded` and removed unbonding chunks worth `Balance`
|
* An account has called `withdraw_unbonded` and removed unbonding chunks worth `Balance`
|
||||||
* from the unlocking queue.
|
* from the unlocking queue.
|
||||||
**/
|
**/
|
||||||
Withdrawn: AugmentedEvent<ApiType, [stash: AccountId32, amount: u128], { stash: AccountId32, amount: u128 }>;
|
Withdrawn: AugmentedEvent<ApiType, [stash: PezspCoreCryptoAccountId32, amount: u128], { stash: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* Generic event
|
* Generic event
|
||||||
**/
|
**/
|
||||||
@@ -1249,7 +1249,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* Some account got slashed by the given amount.
|
* Some account got slashed by the given amount.
|
||||||
**/
|
**/
|
||||||
Slashed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], { who: AccountId32, amount: u128 }>;
|
Slashed: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, amount: u128], { who: PezspCoreCryptoAccountId32, amount: u128 }>;
|
||||||
/**
|
/**
|
||||||
* Generic event
|
* Generic event
|
||||||
**/
|
**/
|
||||||
@@ -1271,11 +1271,11 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* An account was reaped.
|
* An account was reaped.
|
||||||
**/
|
**/
|
||||||
KilledAccount: AugmentedEvent<ApiType, [account: AccountId32], { account: AccountId32 }>;
|
KilledAccount: AugmentedEvent<ApiType, [account: PezspCoreCryptoAccountId32], { account: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* A new account was created.
|
* A new account was created.
|
||||||
**/
|
**/
|
||||||
NewAccount: AugmentedEvent<ApiType, [account: AccountId32], { account: AccountId32 }>;
|
NewAccount: AugmentedEvent<ApiType, [account: PezspCoreCryptoAccountId32], { account: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* An invalid authorized upgrade was rejected while trying to apply it.
|
* An invalid authorized upgrade was rejected while trying to apply it.
|
||||||
**/
|
**/
|
||||||
@@ -1283,7 +1283,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* On on-chain remark happened.
|
* On on-chain remark happened.
|
||||||
**/
|
**/
|
||||||
Remarked: AugmentedEvent<ApiType, [sender: AccountId32, hash_: H256], { sender: AccountId32, hash_: H256 }>;
|
Remarked: AugmentedEvent<ApiType, [sender: PezspCoreCryptoAccountId32, hash_: H256], { sender: PezspCoreCryptoAccountId32, hash_: H256 }>;
|
||||||
/**
|
/**
|
||||||
* An upgrade was authorized.
|
* An upgrade was authorized.
|
||||||
**/
|
**/
|
||||||
@@ -1298,7 +1298,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
* A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
|
* A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
|
||||||
* has been paid by `who`.
|
* has been paid by `who`.
|
||||||
**/
|
**/
|
||||||
TransactionFeePaid: AugmentedEvent<ApiType, [who: AccountId32, actualFee: u128, tip: u128], { who: AccountId32, actualFee: u128, tip: u128 }>;
|
TransactionFeePaid: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, actualFee: u128, tip: u128], { who: PezspCoreCryptoAccountId32, actualFee: u128, tip: u128 }>;
|
||||||
/**
|
/**
|
||||||
* Generic event
|
* Generic event
|
||||||
**/
|
**/
|
||||||
@@ -1316,7 +1316,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* Some funds have been allocated.
|
* Some funds have been allocated.
|
||||||
**/
|
**/
|
||||||
Awarded: AugmentedEvent<ApiType, [proposalIndex: u32, award: u128, account: AccountId32], { proposalIndex: u32, award: u128, account: AccountId32 }>;
|
Awarded: AugmentedEvent<ApiType, [proposalIndex: u32, award: u128, account: PezspCoreCryptoAccountId32], { proposalIndex: u32, award: u128, account: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* Some of our funds have been burnt.
|
* Some of our funds have been burnt.
|
||||||
**/
|
**/
|
||||||
@@ -1340,7 +1340,7 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* A new spend proposal has been approved.
|
* A new spend proposal has been approved.
|
||||||
**/
|
**/
|
||||||
SpendApproved: AugmentedEvent<ApiType, [proposalIndex: u32, amount: u128, beneficiary: AccountId32], { proposalIndex: u32, amount: u128, beneficiary: AccountId32 }>;
|
SpendApproved: AugmentedEvent<ApiType, [proposalIndex: u32, amount: u128, beneficiary: PezspCoreCryptoAccountId32], { proposalIndex: u32, amount: u128, beneficiary: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* We have ended a spend period and will now allocate funds.
|
* We have ended a spend period and will now allocate funds.
|
||||||
**/
|
**/
|
||||||
@@ -1402,16 +1402,16 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* An \[account\] has become fully vested.
|
* An \[account\] has become fully vested.
|
||||||
**/
|
**/
|
||||||
VestingCompleted: AugmentedEvent<ApiType, [account: AccountId32], { account: AccountId32 }>;
|
VestingCompleted: AugmentedEvent<ApiType, [account: PezspCoreCryptoAccountId32], { account: PezspCoreCryptoAccountId32 }>;
|
||||||
/**
|
/**
|
||||||
* A vesting schedule has been created.
|
* A vesting schedule has been created.
|
||||||
**/
|
**/
|
||||||
VestingCreated: AugmentedEvent<ApiType, [account: AccountId32, scheduleIndex: u32], { account: AccountId32, scheduleIndex: u32 }>;
|
VestingCreated: AugmentedEvent<ApiType, [account: PezspCoreCryptoAccountId32, scheduleIndex: u32], { account: PezspCoreCryptoAccountId32, scheduleIndex: u32 }>;
|
||||||
/**
|
/**
|
||||||
* The amount vested has been updated. This could indicate a change in funds available.
|
* The amount vested has been updated. This could indicate a change in funds available.
|
||||||
* The balance given is the amount which is left unvested (and thus locked).
|
* The balance given is the amount which is left unvested (and thus locked).
|
||||||
**/
|
**/
|
||||||
VestingUpdated: AugmentedEvent<ApiType, [account: AccountId32, unvested: u128], { account: AccountId32, unvested: u128 }>;
|
VestingUpdated: AugmentedEvent<ApiType, [account: PezspCoreCryptoAccountId32, unvested: u128], { account: PezspCoreCryptoAccountId32, unvested: u128 }>;
|
||||||
/**
|
/**
|
||||||
* Generic event
|
* Generic event
|
||||||
**/
|
**/
|
||||||
@@ -1421,11 +1421,11 @@ declare module '@pezkuwi/api-base/types/events' {
|
|||||||
/**
|
/**
|
||||||
* Moved an account from one bag to another.
|
* Moved an account from one bag to another.
|
||||||
**/
|
**/
|
||||||
Rebagged: AugmentedEvent<ApiType, [who: AccountId32, from: u64, to: u64], { who: AccountId32, from: u64, to: u64 }>;
|
Rebagged: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, from: u64, to: u64], { who: PezspCoreCryptoAccountId32, from: u64, to: u64 }>;
|
||||||
/**
|
/**
|
||||||
* Updated the score of some account to the given amount.
|
* Updated the score of some account to the given amount.
|
||||||
**/
|
**/
|
||||||
ScoreUpdated: AugmentedEvent<ApiType, [who: AccountId32, newScore: u64], { who: AccountId32, newScore: u64 }>;
|
ScoreUpdated: AugmentedEvent<ApiType, [who: PezspCoreCryptoAccountId32, newScore: u64], { who: PezspCoreCryptoAccountId32, newScore: u64 }>;
|
||||||
/**
|
/**
|
||||||
* Generic event
|
* Generic event
|
||||||
**/
|
**/
|
||||||
|
|||||||
@@ -6,10 +6,10 @@
|
|||||||
import '@pezkuwi/api-base/types/storage';
|
import '@pezkuwi/api-base/types/storage';
|
||||||
|
|
||||||
import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@pezkuwi/api-base/types';
|
import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@pezkuwi/api-base/types';
|
||||||
import type { BTreeMap, BTreeSet, Bytes, Null, Option, U8aFixed, Vec, bool, u128, u16, u32, u64 } from '@pezkuwi/types-codec';
|
import type { BTreeMap, BTreeSet, Bytes, Null, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@pezkuwi/types-codec';
|
||||||
import type { AnyNumber, IMethod, ITuple } from '@pezkuwi/types-codec/types';
|
import type { AnyNumber, IMethod, ITuple } from '@pezkuwi/types-codec/types';
|
||||||
import type { AccountId32, H256, Perbill, Percent, RuntimeCall } from '@pezkuwi/types/interfaces/runtime';
|
import type { H256, RuntimeCall } from '@pezkuwi/types/interfaces/runtime';
|
||||||
import type { BinaryHeapEnqueuedOrder, PezframeSupportDispatchPerDispatchClassWeight, PezframeSupportScheduleDispatchTime, PezframeSupportTokensMiscIdAmountRuntimeFreezeReason, PezframeSupportTokensMiscIdAmountRuntimeHoldReason, PezframeSystemAccountInfo, PezframeSystemCodeUpgradeAuthorization, PezframeSystemEventRecord, PezframeSystemLastRuntimeUpgradeInfo, PezframeSystemPhase, PezkuwiCorePrimitivesInboundDownwardMessage, PezkuwiCorePrimitivesInboundHrmpMessage, PezkuwiPrimitivesV8AssignmentAppPublic, PezkuwiPrimitivesV8DisputeState, PezkuwiPrimitivesV8ExecutorParams, PezkuwiPrimitivesV8SessionInfo, PezkuwiPrimitivesV8UpgradeGoAhead, PezkuwiPrimitivesV8UpgradeRestriction, PezkuwiPrimitivesV8ValidatorAppPublic, PezkuwiPrimitivesVstagingPendingSlashes, PezkuwiPrimitivesVstagingScrapedOnChainVotes, PezkuwiRuntimeCommonClaimsEthereumAddress, PezkuwiRuntimeCommonClaimsStatementKind, PezkuwiRuntimeCommonCrowdloanFundInfo, PezkuwiRuntimeCommonImplsVersionedLocatableAsset, PezkuwiRuntimeCommonParasRegistrarParaInfo, PezkuwiRuntimeSessionKeys, PezkuwiRuntimeTeyrchainsAssignerCoretimeCoreDescriptor, PezkuwiRuntimeTeyrchainsAssignerCoretimeSchedule, PezkuwiRuntimeTeyrchainsConfigurationHostConfiguration, PezkuwiRuntimeTeyrchainsHrmpHrmpChannel, PezkuwiRuntimeTeyrchainsHrmpHrmpOpenChannelRequest, PezkuwiRuntimeTeyrchainsInclusionAggregateMessageOrigin, PezkuwiRuntimeTeyrchainsInclusionCandidatePendingAvailability, PezkuwiRuntimeTeyrchainsInitializerBufferedSessionChange, PezkuwiRuntimeTeyrchainsOnDemandTypesCoreAffinityCount, PezkuwiRuntimeTeyrchainsOnDemandTypesEnqueuedOrder, PezkuwiRuntimeTeyrchainsOnDemandTypesQueueStatusType, PezkuwiRuntimeTeyrchainsParasAuthorizedCodeHashAndExpiry, PezkuwiRuntimeTeyrchainsParasParaGenesisArgs, PezkuwiRuntimeTeyrchainsParasParaLifecycle, PezkuwiRuntimeTeyrchainsParasParaPastCodeMeta, PezkuwiRuntimeTeyrchainsParasPvfCheckActiveVoteState, PezkuwiRuntimeTeyrchainsSchedulerCommonAssignment, PezkuwiRuntimeTeyrchainsSharedAllowedRelayParentsTracker, PezkuwiTeyrchainPrimitivesPrimitivesHrmpChannelId, PezpalletBagsListListBag, PezpalletBagsListListNode, PezpalletBalancesAccountData, PezpalletBalancesBalanceLock, PezpalletBalancesReserveData, PezpalletBountiesBounty, PezpalletChildBountiesChildBounty, PezpalletConvictionVotingVoteVoting, PezpalletDelegatedStakingAgentLedger, PezpalletDelegatedStakingDelegation, PezpalletElectionProviderMultiPhasePhase, PezpalletElectionProviderMultiPhaseReadySolution, PezpalletElectionProviderMultiPhaseRoundSnapshot, PezpalletElectionProviderMultiPhaseSignedSignedSubmission, PezpalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PezpalletFastUnstakeUnstakeRequest, PezpalletGrandpaStoredPendingChange, PezpalletGrandpaStoredState, PezpalletMessageQueueBookState, PezpalletMessageQueuePage, PezpalletMultisigMultisig, PezpalletNominationPoolsBondedPoolInner, PezpalletNominationPoolsClaimPermission, PezpalletNominationPoolsPoolMember, PezpalletNominationPoolsRewardPool, PezpalletNominationPoolsSubPools, PezpalletPreimageOldRequestStatus, PezpalletPreimageRequestStatus, PezpalletProxyAnnouncement, PezpalletProxyProxyDefinition, PezpalletRcMigratorAccountsAccountState, PezpalletRcMigratorAccountsMigratedBalances, PezpalletRcMigratorMigrationSettings, PezpalletRcMigratorMigrationStage, PezpalletRcMigratorQueuePriority, PezpalletReferendaReferendumInfo, PezpalletSchedulerRetryConfig, PezpalletSchedulerScheduled, PezpalletStakingActiveEraInfo, PezpalletStakingAsyncAhClientOperatingMode, PezpalletStakingAsyncRcClientOffence, PezpalletStakingAsyncRcClientSessionReport, PezpalletStakingAsyncRcClientValidatorSetReport, PezpalletStakingEraRewardPoints, PezpalletStakingForcing, PezpalletStakingNominations, PezpalletStakingRewardDestination, PezpalletStakingSlashingSlashingSpans, PezpalletStakingSlashingSpanRecord, PezpalletStakingStakingLedger, PezpalletStakingUnappliedSlash, PezpalletStakingValidatorPrefs, PezpalletStateTrieMigrationMigrationLimits, PezpalletStateTrieMigrationMigrationTask, PezpalletTransactionPaymentReleases, PezpalletTreasuryProposal, PezpalletTreasurySpendStatus, PezpalletVestingReleases, PezpalletVestingVestingInfo, PezpalletXcmAuthorizedAliasesEntry, PezpalletXcmQueryStatus, PezpalletXcmRemoteLockedFungibleRecord, PezpalletXcmVersionMigrationStage, PezspAuthorityDiscoveryAppPublic, PezspConsensusBabeAppPublic, PezspConsensusBabeBabeEpochConfiguration, PezspConsensusBabeDigestsNextConfigDescriptor, PezspConsensusBabeDigestsPreDigest, PezspConsensusBeefyEcdsaCryptoPublic, PezspConsensusBeefyMmrBeefyAuthoritySet, PezspConsensusGrandpaAppPublic, PezspCoreCryptoKeyTypeId, PezspNposElectionsElectionScore, PezspRuntimeDigest, PezspStakingExposure, PezspStakingExposurePage, PezspStakingOffenceOffenceDetails, PezspStakingPagedExposureMetadata, PezspWeightsWeightV2Weight, StagingXcmV5Instruction, StagingXcmV5Xcm, XcmVersionedAssetId, XcmVersionedLocation } from '@pezkuwi/types/lookup';
|
import type { BinaryHeapEnqueuedOrder, PezframeSupportDispatchPerDispatchClassWeight, PezframeSupportScheduleDispatchTime, PezframeSupportTokensMiscIdAmountRuntimeFreezeReason, PezframeSupportTokensMiscIdAmountRuntimeHoldReason, PezframeSystemAccountInfo, PezframeSystemCodeUpgradeAuthorization, PezframeSystemEventRecord, PezframeSystemLastRuntimeUpgradeInfo, PezframeSystemPhase, PezkuwiCorePrimitivesInboundDownwardMessage, PezkuwiCorePrimitivesInboundHrmpMessage, PezkuwiPrimitivesV8AssignmentAppPublic, PezkuwiPrimitivesV8DisputeState, PezkuwiPrimitivesV8ExecutorParams, PezkuwiPrimitivesV8SessionInfo, PezkuwiPrimitivesV8UpgradeGoAhead, PezkuwiPrimitivesV8UpgradeRestriction, PezkuwiPrimitivesV8ValidatorAppPublic, PezkuwiPrimitivesVstagingPendingSlashes, PezkuwiPrimitivesVstagingScrapedOnChainVotes, PezkuwiRuntimeCommonClaimsEthereumAddress, PezkuwiRuntimeCommonClaimsStatementKind, PezkuwiRuntimeCommonCrowdloanFundInfo, PezkuwiRuntimeCommonImplsVersionedLocatableAsset, PezkuwiRuntimeCommonParasRegistrarParaInfo, PezkuwiRuntimeSessionKeys, PezkuwiRuntimeTeyrchainsAssignerCoretimeCoreDescriptor, PezkuwiRuntimeTeyrchainsAssignerCoretimeSchedule, PezkuwiRuntimeTeyrchainsConfigurationHostConfiguration, PezkuwiRuntimeTeyrchainsHrmpHrmpChannel, PezkuwiRuntimeTeyrchainsHrmpHrmpOpenChannelRequest, PezkuwiRuntimeTeyrchainsInclusionAggregateMessageOrigin, PezkuwiRuntimeTeyrchainsInclusionCandidatePendingAvailability, PezkuwiRuntimeTeyrchainsInitializerBufferedSessionChange, PezkuwiRuntimeTeyrchainsOnDemandTypesCoreAffinityCount, PezkuwiRuntimeTeyrchainsOnDemandTypesEnqueuedOrder, PezkuwiRuntimeTeyrchainsOnDemandTypesQueueStatusType, PezkuwiRuntimeTeyrchainsParasAuthorizedCodeHashAndExpiry, PezkuwiRuntimeTeyrchainsParasParaGenesisArgs, PezkuwiRuntimeTeyrchainsParasParaLifecycle, PezkuwiRuntimeTeyrchainsParasParaPastCodeMeta, PezkuwiRuntimeTeyrchainsParasPvfCheckActiveVoteState, PezkuwiRuntimeTeyrchainsSchedulerCommonAssignment, PezkuwiRuntimeTeyrchainsSharedAllowedRelayParentsTracker, PezkuwiTeyrchainPrimitivesPrimitivesHrmpChannelId, PezpalletBagsListListBag, PezpalletBagsListListNode, PezpalletBalancesAccountData, PezpalletBalancesBalanceLock, PezpalletBalancesReserveData, PezpalletBountiesBounty, PezpalletChildBountiesChildBounty, PezpalletConvictionVotingVoteVoting, PezpalletDelegatedStakingAgentLedger, PezpalletDelegatedStakingDelegation, PezpalletElectionProviderMultiPhasePhase, PezpalletElectionProviderMultiPhaseReadySolution, PezpalletElectionProviderMultiPhaseRoundSnapshot, PezpalletElectionProviderMultiPhaseSignedSignedSubmission, PezpalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PezpalletFastUnstakeUnstakeRequest, PezpalletGrandpaStoredPendingChange, PezpalletGrandpaStoredState, PezpalletMessageQueueBookState, PezpalletMessageQueuePage, PezpalletMultisigMultisig, PezpalletNominationPoolsBondedPoolInner, PezpalletNominationPoolsClaimPermission, PezpalletNominationPoolsPoolMember, PezpalletNominationPoolsRewardPool, PezpalletNominationPoolsSubPools, PezpalletPreimageOldRequestStatus, PezpalletPreimageRequestStatus, PezpalletProxyAnnouncement, PezpalletProxyProxyDefinition, PezpalletRcMigratorAccountsAccountState, PezpalletRcMigratorAccountsMigratedBalances, PezpalletRcMigratorMigrationSettings, PezpalletRcMigratorMigrationStage, PezpalletRcMigratorQueuePriority, PezpalletReferendaReferendumInfo, PezpalletSchedulerRetryConfig, PezpalletSchedulerScheduled, PezpalletStakingActiveEraInfo, PezpalletStakingAsyncAhClientOperatingMode, PezpalletStakingAsyncRcClientOffence, PezpalletStakingAsyncRcClientSessionReport, PezpalletStakingAsyncRcClientValidatorSetReport, PezpalletStakingEraRewardPoints, PezpalletStakingForcing, PezpalletStakingNominations, PezpalletStakingRewardDestination, PezpalletStakingSlashingSlashingSpans, PezpalletStakingSlashingSpanRecord, PezpalletStakingStakingLedger, PezpalletStakingUnappliedSlash, PezpalletStakingValidatorPrefs, PezpalletStateTrieMigrationMigrationLimits, PezpalletStateTrieMigrationMigrationTask, PezpalletTransactionPaymentReleases, PezpalletTreasuryProposal, PezpalletTreasurySpendStatus, PezpalletVestingReleases, PezpalletVestingVestingInfo, PezpalletXcmAuthorizedAliasesEntry, PezpalletXcmQueryStatus, PezpalletXcmRemoteLockedFungibleRecord, PezpalletXcmVersionMigrationStage, PezspAuthorityDiscoveryAppPublic, PezspConsensusBabeAppPublic, PezspConsensusBabeBabeEpochConfiguration, PezspConsensusBabeDigestsNextConfigDescriptor, PezspConsensusBabeDigestsPreDigest, PezspConsensusBeefyEcdsaCryptoPublic, PezspConsensusBeefyMmrBeefyAuthoritySet, PezspConsensusGrandpaAppPublic, PezspCoreCryptoAccountId32, PezspCoreCryptoKeyTypeId, PezspNposElectionsElectionScore, PezspRuntimeDigest, PezspStakingExposure, PezspStakingExposurePage, PezspStakingOffenceOffenceDetails, PezspStakingPagedExposureMetadata, PezspWeightsWeightV2Weight, StagingXcmV5Instruction, StagingXcmV5Xcm, XcmVersionedAssetId, XcmVersionedLocation } from '@pezkuwi/types/lookup';
|
||||||
import type { Observable } from '@pezkuwi/types/types';
|
import type { Observable } from '@pezkuwi/types/types';
|
||||||
|
|
||||||
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
|
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
|
||||||
@@ -46,13 +46,13 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* Amounts currently reserved in the accounts of the bidders currently winning
|
* Amounts currently reserved in the accounts of the bidders currently winning
|
||||||
* (sub-)ranges.
|
* (sub-)ranges.
|
||||||
**/
|
**/
|
||||||
reservedAmounts: AugmentedQuery<ApiType, (arg: ITuple<[AccountId32, u32]> | [AccountId32 | string | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<Option<u128>>, [ITuple<[AccountId32, u32]>]> & QueryableStorageEntry<ApiType, [ITuple<[AccountId32, u32]>]>;
|
reservedAmounts: AugmentedQuery<ApiType, (arg: ITuple<[PezspCoreCryptoAccountId32, u32]> | string | Uint8Array) => Observable<Option<u128>>, [ITuple<[PezspCoreCryptoAccountId32, u32]>]> & QueryableStorageEntry<ApiType, [ITuple<[PezspCoreCryptoAccountId32, u32]>]>;
|
||||||
/**
|
/**
|
||||||
* The winning bids for each of the 10 ranges at each sample in the final Ending Period of
|
* The winning bids for each of the 10 ranges at each sample in the final Ending Period of
|
||||||
* the current auction. The map's key is the 0-based index into the Sample Size. The
|
* the current auction. The map's key is the 0-based index into the Sample Size. The
|
||||||
* first sample of the ending period is 0; the last is `Sample Size - 1`.
|
* first sample of the ending period is 0; the last is `Sample Size - 1`.
|
||||||
**/
|
**/
|
||||||
winning: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Vec<Option<ITuple<[AccountId32, u32, u128]>>>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
winning: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Vec<Option<ITuple<[PezspCoreCryptoAccountId32, u32, u128]>>>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||||
/**
|
/**
|
||||||
* Generic query
|
* Generic query
|
||||||
**/
|
**/
|
||||||
@@ -76,7 +76,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* Author of current block.
|
* Author of current block.
|
||||||
**/
|
**/
|
||||||
author: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
author: AugmentedQuery<ApiType, () => Observable<Option<PezspCoreCryptoAccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* Generic query
|
* Generic query
|
||||||
**/
|
**/
|
||||||
@@ -222,15 +222,15 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* `Balances` pallet, which uses a `StorageMap` to store balances data only.
|
* `Balances` pallet, which uses a `StorageMap` to store balances data only.
|
||||||
* NOTE: This is only used in the case that this pallet is used to store balances.
|
* NOTE: This is only used in the case that this pallet is used to store balances.
|
||||||
**/
|
**/
|
||||||
account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PezpalletBalancesAccountData>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
account: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<PezpalletBalancesAccountData>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Freeze locks on account balances.
|
* Freeze locks on account balances.
|
||||||
**/
|
**/
|
||||||
freezes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PezframeSupportTokensMiscIdAmountRuntimeFreezeReason>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
freezes: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Vec<PezframeSupportTokensMiscIdAmountRuntimeFreezeReason>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Holds on account balances.
|
* Holds on account balances.
|
||||||
**/
|
**/
|
||||||
holds: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PezframeSupportTokensMiscIdAmountRuntimeHoldReason>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
holds: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Vec<PezframeSupportTokensMiscIdAmountRuntimeHoldReason>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* The total units of outstanding deactivated balance in the system.
|
* The total units of outstanding deactivated balance in the system.
|
||||||
**/
|
**/
|
||||||
@@ -241,13 +241,13 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
*
|
*
|
||||||
* Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
|
* Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
|
||||||
**/
|
**/
|
||||||
locks: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PezpalletBalancesBalanceLock>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
locks: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Vec<PezpalletBalancesBalanceLock>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Named reserves on some account balances.
|
* Named reserves on some account balances.
|
||||||
*
|
*
|
||||||
* Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
|
* Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
|
||||||
**/
|
**/
|
||||||
reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PezpalletBalancesReserveData>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
reserves: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Vec<PezpalletBalancesReserveData>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* The total units issued in the system.
|
* The total units issued in the system.
|
||||||
**/
|
**/
|
||||||
@@ -379,7 +379,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* Pre-claimed Ethereum accounts, by the Account ID that they are claimed to.
|
* Pre-claimed Ethereum accounts, by the Account ID that they are claimed to.
|
||||||
**/
|
**/
|
||||||
preclaims: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PezkuwiRuntimeCommonClaimsEthereumAddress>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
preclaims: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezkuwiRuntimeCommonClaimsEthereumAddress>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* The statement kind that must be signed, if any.
|
* The statement kind that must be signed, if any.
|
||||||
**/
|
**/
|
||||||
@@ -428,12 +428,12 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* require. The actual amount locked on behalf of this pallet should always be the maximum of
|
* require. The actual amount locked on behalf of this pallet should always be the maximum of
|
||||||
* this list.
|
* this list.
|
||||||
**/
|
**/
|
||||||
classLocksFor: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<ITuple<[u16, u128]>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
classLocksFor: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Vec<ITuple<[u16, u128]>>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* All voting for a particular voter in a particular voting class. We store the balance for the
|
* All voting for a particular voter in a particular voting class. We store the balance for the
|
||||||
* number of votes that we have recorded.
|
* number of votes that we have recorded.
|
||||||
**/
|
**/
|
||||||
votingFor: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u16 | AnyNumber | Uint8Array) => Observable<PezpalletConvictionVotingVoteVoting>, [AccountId32, u16]> & QueryableStorageEntry<ApiType, [AccountId32, u16]>;
|
votingFor: AugmentedQuery<ApiType, (arg1: PezspCoreCryptoAccountId32 | string | Uint8Array, arg2: u16 | AnyNumber | Uint8Array) => Observable<PezpalletConvictionVotingVoteVoting>, [PezspCoreCryptoAccountId32, u16]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32, u16]>;
|
||||||
/**
|
/**
|
||||||
* Generic query
|
* Generic query
|
||||||
**/
|
**/
|
||||||
@@ -486,7 +486,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* Map of `Agent` to their `Ledger`.
|
* Map of `Agent` to their `Ledger`.
|
||||||
**/
|
**/
|
||||||
agents: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PezpalletDelegatedStakingAgentLedger>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
agents: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezpalletDelegatedStakingAgentLedger>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Counter for the related counted storage map
|
* Counter for the related counted storage map
|
||||||
**/
|
**/
|
||||||
@@ -501,7 +501,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* Implementation note: We are not using a double map with `delegator` and `agent` account
|
* Implementation note: We are not using a double map with `delegator` and `agent` account
|
||||||
* as keys since we want to restrict delegators to delegate only to one account at a time.
|
* as keys since we want to restrict delegators to delegate only to one account at a time.
|
||||||
**/
|
**/
|
||||||
delegators: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PezpalletDelegatedStakingDelegation>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
delegators: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezpalletDelegatedStakingDelegation>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Generic query
|
* Generic query
|
||||||
**/
|
**/
|
||||||
@@ -642,7 +642,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
*
|
*
|
||||||
* Keeps track of `AccountId` wishing to unstake and it's corresponding deposit.
|
* Keeps track of `AccountId` wishing to unstake and it's corresponding deposit.
|
||||||
**/
|
**/
|
||||||
queue: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u128>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
queue: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<u128>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Generic query
|
* Generic query
|
||||||
**/
|
**/
|
||||||
@@ -793,7 +793,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* The lookup from index to account.
|
* The lookup from index to account.
|
||||||
**/
|
**/
|
||||||
accounts: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[AccountId32, u128, bool]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
accounts: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[PezspCoreCryptoAccountId32, u128, bool]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||||
/**
|
/**
|
||||||
* Generic query
|
* Generic query
|
||||||
**/
|
**/
|
||||||
@@ -869,7 +869,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* The set of open multisig operations.
|
* The set of open multisig operations.
|
||||||
**/
|
**/
|
||||||
multisigs: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: U8aFixed | string | Uint8Array) => Observable<Option<PezpalletMultisigMultisig>>, [AccountId32, U8aFixed]> & QueryableStorageEntry<ApiType, [AccountId32, U8aFixed]>;
|
multisigs: AugmentedQuery<ApiType, (arg1: PezspCoreCryptoAccountId32 | string | Uint8Array, arg2: U8aFixed | string | Uint8Array) => Observable<Option<PezpalletMultisigMultisig>>, [PezspCoreCryptoAccountId32, U8aFixed]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32, U8aFixed]>;
|
||||||
/**
|
/**
|
||||||
* Generic query
|
* Generic query
|
||||||
**/
|
**/
|
||||||
@@ -883,7 +883,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* Map from a pool member account to their opted claim permission.
|
* Map from a pool member account to their opted claim permission.
|
||||||
**/
|
**/
|
||||||
claimPermissions: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PezpalletNominationPoolsClaimPermission>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
claimPermissions: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<PezpalletNominationPoolsClaimPermission>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Counter for the related counted storage map
|
* Counter for the related counted storage map
|
||||||
**/
|
**/
|
||||||
@@ -913,7 +913,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* pool commissions that are > `GlobalMaxCommission`, necessary if a future
|
* pool commissions that are > `GlobalMaxCommission`, necessary if a future
|
||||||
* `GlobalMaxCommission` is lower than some current pool commissions.
|
* `GlobalMaxCommission` is lower than some current pool commissions.
|
||||||
**/
|
**/
|
||||||
globalMaxCommission: AugmentedQuery<ApiType, () => Observable<Option<Perbill>>, []> & QueryableStorageEntry<ApiType, []>;
|
globalMaxCommission: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* Ever increasing number of all pools created so far.
|
* Ever increasing number of all pools created so far.
|
||||||
**/
|
**/
|
||||||
@@ -956,14 +956,14 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
*
|
*
|
||||||
* TWOX-NOTE: SAFE since `AccountId` is a secure hash.
|
* TWOX-NOTE: SAFE since `AccountId` is a secure hash.
|
||||||
**/
|
**/
|
||||||
poolMembers: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PezpalletNominationPoolsPoolMember>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
poolMembers: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezpalletNominationPoolsPoolMember>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* A reverse lookup from the pool's account id to its id.
|
* A reverse lookup from the pool's account id to its id.
|
||||||
*
|
*
|
||||||
* This is only used for slashing and on automatic withdraw update. In all other instances, the
|
* This is only used for slashing and on automatic withdraw update. In all other instances, the
|
||||||
* pool id is used, and the accounts are deterministically derived from it.
|
* pool id is used, and the accounts are deterministically derived from it.
|
||||||
**/
|
**/
|
||||||
reversePoolIdLookup: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
reversePoolIdLookup: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<u32>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Reward pools. This is where there rewards for each pool accumulate. When a members payout is
|
* Reward pools. This is where there rewards for each pool accumulate. When a members payout is
|
||||||
* claimed, the balance comes out of the reward pool. Keyed by the bonded pools account.
|
* claimed, the balance comes out of the reward pool. Keyed by the bonded pools account.
|
||||||
@@ -1009,7 +1009,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* Keeps track of credits owned by each account.
|
* Keeps track of credits owned by each account.
|
||||||
**/
|
**/
|
||||||
credits: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u128>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
credits: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<u128>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Priority queue for all orders which don't yet (or not any more) have any core affinity.
|
* Priority queue for all orders which don't yet (or not any more) have any core affinity.
|
||||||
**/
|
**/
|
||||||
@@ -1287,7 +1287,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* The validator account keys of the validators actively participating in parachain consensus.
|
* The validator account keys of the validators actively participating in parachain consensus.
|
||||||
**/
|
**/
|
||||||
accountKeys: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Vec<AccountId32>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
accountKeys: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Vec<PezspCoreCryptoAccountId32>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||||
/**
|
/**
|
||||||
* Assignment keys for the current session.
|
* Assignment keys for the current session.
|
||||||
* Note that this API is private due to it being prone to 'off-by-one' at session boundaries.
|
* Note that this API is private due to it being prone to 'off-by-one' at session boundaries.
|
||||||
@@ -1370,12 +1370,12 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* The announcements made by the proxy (key).
|
* The announcements made by the proxy (key).
|
||||||
**/
|
**/
|
||||||
announcements: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PezpalletProxyAnnouncement>, u128]>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
announcements: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PezpalletProxyAnnouncement>, u128]>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* The set of account proxies. Maps the account which has delegated to the accounts
|
* The set of account proxies. Maps the account which has delegated to the accounts
|
||||||
* which are being delegated to, together with the amount held on deposit.
|
* which are being delegated to, together with the amount held on deposit.
|
||||||
**/
|
**/
|
||||||
proxies: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PezpalletProxyProxyDefinition>, u128]>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
proxies: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PezpalletProxyProxyDefinition>, u128]>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Generic query
|
* Generic query
|
||||||
**/
|
**/
|
||||||
@@ -1396,7 +1396,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
*
|
*
|
||||||
* This account id can only stop scheduled migration.
|
* This account id can only stop scheduled migration.
|
||||||
**/
|
**/
|
||||||
canceller: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
canceller: AugmentedQuery<ApiType, () => Observable<Option<PezspCoreCryptoAccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* The duration of the post migration cool-off period.
|
* The duration of the post migration cool-off period.
|
||||||
*
|
*
|
||||||
@@ -1419,7 +1419,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* This account id has similar privileges to [`Config::AdminOrigin`] except that it
|
* This account id has similar privileges to [`Config::AdminOrigin`] except that it
|
||||||
* can not set the manager account id via `set_manager` call.
|
* can not set the manager account id via `set_manager` call.
|
||||||
**/
|
**/
|
||||||
manager: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
manager: AugmentedQuery<ApiType, () => Observable<Option<PezspCoreCryptoAccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* The current round of the multisig voting.
|
* The current round of the multisig voting.
|
||||||
*
|
*
|
||||||
@@ -1429,13 +1429,13 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* The multisig AccountIDs that votes to execute a specific call.
|
* The multisig AccountIDs that votes to execute a specific call.
|
||||||
**/
|
**/
|
||||||
managerMultisigs: AugmentedQuery<ApiType, (arg: RuntimeCall | IMethod | string | Uint8Array) => Observable<Vec<AccountId32>>, [RuntimeCall]> & QueryableStorageEntry<ApiType, [RuntimeCall]>;
|
managerMultisigs: AugmentedQuery<ApiType, (arg: RuntimeCall | IMethod | string | Uint8Array) => Observable<Vec<PezspCoreCryptoAccountId32>>, [RuntimeCall]> & QueryableStorageEntry<ApiType, [RuntimeCall]>;
|
||||||
/**
|
/**
|
||||||
* How often each participant voted in the current round.
|
* How often each participant voted in the current round.
|
||||||
*
|
*
|
||||||
* Will be cleared at the end of each round.
|
* Will be cleared at the end of each round.
|
||||||
**/
|
**/
|
||||||
managerVotesInCurrentRound: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u32>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
managerVotesInCurrentRound: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<u32>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Block number when migration finished and extrinsics were unlocked.
|
* Block number when migration finished and extrinsics were unlocked.
|
||||||
*
|
*
|
||||||
@@ -1473,12 +1473,12 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
*
|
*
|
||||||
* Boolean value is whether they have been migrated to the Asset Hub. Needed for idempotency.
|
* Boolean value is whether they have been migrated to the Asset Hub. Needed for idempotency.
|
||||||
**/
|
**/
|
||||||
pureProxyCandidatesMigrated: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<bool>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
pureProxyCandidatesMigrated: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<bool>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Helper storage item to obtain and store the known accounts that should be kept partially or
|
* Helper storage item to obtain and store the known accounts that should be kept partially or
|
||||||
* fully on Relay Chain.
|
* fully on Relay Chain.
|
||||||
**/
|
**/
|
||||||
rcAccounts: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PezpalletRcMigratorAccountsAccountState>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
rcAccounts: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezpalletRcMigratorAccountsAccountState>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Helper storage item to store the total balance that should be kept on Relay Chain.
|
* Helper storage item to store the total balance that should be kept on Relay Chain.
|
||||||
**/
|
**/
|
||||||
@@ -1608,15 +1608,15 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* disabled using binary search. It gets cleared when `on_session_ending` returns
|
* disabled using binary search. It gets cleared when `on_session_ending` returns
|
||||||
* a new set of identities.
|
* a new set of identities.
|
||||||
**/
|
**/
|
||||||
disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, Perbill]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* The owner of a key. The key is the `KeyTypeId` + the encoded key.
|
* The owner of a key. The key is the `KeyTypeId` + the encoded key.
|
||||||
**/
|
**/
|
||||||
keyOwner: AugmentedQuery<ApiType, (arg: ITuple<[PezspCoreCryptoKeyTypeId, Bytes]> | [PezspCoreCryptoKeyTypeId | string | Uint8Array, Bytes | string | Uint8Array]) => Observable<Option<AccountId32>>, [ITuple<[PezspCoreCryptoKeyTypeId, Bytes]>]> & QueryableStorageEntry<ApiType, [ITuple<[PezspCoreCryptoKeyTypeId, Bytes]>]>;
|
keyOwner: AugmentedQuery<ApiType, (arg: ITuple<[PezspCoreCryptoKeyTypeId, Bytes]> | [PezspCoreCryptoKeyTypeId | string | Uint8Array, Bytes | string | Uint8Array]) => Observable<Option<PezspCoreCryptoAccountId32>>, [ITuple<[PezspCoreCryptoKeyTypeId, Bytes]>]> & QueryableStorageEntry<ApiType, [ITuple<[PezspCoreCryptoKeyTypeId, Bytes]>]>;
|
||||||
/**
|
/**
|
||||||
* The next session keys for a validator.
|
* The next session keys for a validator.
|
||||||
**/
|
**/
|
||||||
nextKeys: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PezkuwiRuntimeSessionKeys>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
nextKeys: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezkuwiRuntimeSessionKeys>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* True if the underlying economic identities or weighting behind the validators
|
* True if the underlying economic identities or weighting behind the validators
|
||||||
* has changed in the queued validator set.
|
* has changed in the queued validator set.
|
||||||
@@ -1626,11 +1626,11 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* The queued keys for the next session. When the next session begins, these keys
|
* The queued keys for the next session. When the next session begins, these keys
|
||||||
* will be used to determine the validator's session keys.
|
* will be used to determine the validator's session keys.
|
||||||
**/
|
**/
|
||||||
queuedKeys: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[AccountId32, PezkuwiRuntimeSessionKeys]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
queuedKeys: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[PezspCoreCryptoAccountId32, PezkuwiRuntimeSessionKeys]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* The current set of validators.
|
* The current set of validators.
|
||||||
**/
|
**/
|
||||||
validators: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
validators: AugmentedQuery<ApiType, () => Observable<Vec<PezspCoreCryptoAccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* Generic query
|
* Generic query
|
||||||
**/
|
**/
|
||||||
@@ -1655,7 +1655,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
*
|
*
|
||||||
* It is illegal for a `None` value to trail in the list.
|
* It is illegal for a `None` value to trail in the list.
|
||||||
**/
|
**/
|
||||||
leases: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<Option<ITuple<[AccountId32, u128]>>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
leases: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<Option<ITuple<[PezspCoreCryptoAccountId32, u128]>>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||||
/**
|
/**
|
||||||
* Generic query
|
* Generic query
|
||||||
**/
|
**/
|
||||||
@@ -1674,7 +1674,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
*
|
*
|
||||||
* TWOX-NOTE: SAFE since `AccountId` is a secure hash.
|
* TWOX-NOTE: SAFE since `AccountId` is a secure hash.
|
||||||
**/
|
**/
|
||||||
bonded: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<AccountId32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
bonded: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezspCoreCryptoAccountId32>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* A mapping from still-bonded eras to the first session index of that era.
|
* A mapping from still-bonded eras to the first session index of that era.
|
||||||
*
|
*
|
||||||
@@ -1692,7 +1692,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* nominators. The threshold is compared to the actual number of validators / nominators
|
* nominators. The threshold is compared to the actual number of validators / nominators
|
||||||
* (`CountFor*`) in the system compared to the configured max (`Max*Count`).
|
* (`CountFor*`) in the system compared to the configured max (`Max*Count`).
|
||||||
**/
|
**/
|
||||||
chillThreshold: AugmentedQuery<ApiType, () => Observable<Option<Percent>>, []> & QueryableStorageEntry<ApiType, []>;
|
chillThreshold: AugmentedQuery<ApiType, () => Observable<Option<u8>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* History of claimed paged rewards by era and validator.
|
* History of claimed paged rewards by era and validator.
|
||||||
*
|
*
|
||||||
@@ -1701,7 +1701,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
*
|
*
|
||||||
* It is removed after [`Config::HistoryDepth`] eras.
|
* It is removed after [`Config::HistoryDepth`] eras.
|
||||||
**/
|
**/
|
||||||
claimedRewards: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Vec<u32>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
claimedRewards: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Vec<u32>>, [u32, PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [u32, PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Counter for the related counted storage map
|
* Counter for the related counted storage map
|
||||||
**/
|
**/
|
||||||
@@ -1742,7 +1742,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
*
|
*
|
||||||
* Note: Deprecated since v14. Use `EraInfo` instead to work with exposures.
|
* Note: Deprecated since v14. Use `EraInfo` instead to work with exposures.
|
||||||
**/
|
**/
|
||||||
erasStakers: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<PezspStakingExposure>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
erasStakers: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<PezspStakingExposure>, [u32, PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [u32, PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Clipped Exposure of validator at era.
|
* Clipped Exposure of validator at era.
|
||||||
*
|
*
|
||||||
@@ -1761,7 +1761,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
*
|
*
|
||||||
* Note: Deprecated since v14. Use `EraInfo` instead to work with exposures.
|
* Note: Deprecated since v14. Use `EraInfo` instead to work with exposures.
|
||||||
**/
|
**/
|
||||||
erasStakersClipped: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<PezspStakingExposure>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
erasStakersClipped: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<PezspStakingExposure>, [u32, PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [u32, PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Summary of validator exposure at a given era.
|
* Summary of validator exposure at a given era.
|
||||||
*
|
*
|
||||||
@@ -1776,7 +1776,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* Is it removed after [`Config::HistoryDepth`] eras.
|
* Is it removed after [`Config::HistoryDepth`] eras.
|
||||||
* If stakers hasn't been set or has been removed then empty overview is returned.
|
* If stakers hasn't been set or has been removed then empty overview is returned.
|
||||||
**/
|
**/
|
||||||
erasStakersOverview: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PezspStakingPagedExposureMetadata>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
erasStakersOverview: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezspStakingPagedExposureMetadata>>, [u32, PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [u32, PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Paginated exposure of a validator at given era.
|
* Paginated exposure of a validator at given era.
|
||||||
*
|
*
|
||||||
@@ -1785,7 +1785,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
*
|
*
|
||||||
* This is cleared after [`Config::HistoryDepth`] eras.
|
* This is cleared after [`Config::HistoryDepth`] eras.
|
||||||
**/
|
**/
|
||||||
erasStakersPaged: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<Option<PezspStakingExposurePage>>, [u32, AccountId32, u32]> & QueryableStorageEntry<ApiType, [u32, AccountId32, u32]>;
|
erasStakersPaged: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PezspCoreCryptoAccountId32 | string | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<Option<PezspStakingExposurePage>>, [u32, PezspCoreCryptoAccountId32, u32]> & QueryableStorageEntry<ApiType, [u32, PezspCoreCryptoAccountId32, u32]>;
|
||||||
/**
|
/**
|
||||||
* The session index at which the era start for the last [`Config::HistoryDepth`] eras.
|
* The session index at which the era start for the last [`Config::HistoryDepth`] eras.
|
||||||
*
|
*
|
||||||
@@ -1805,7 +1805,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
*
|
*
|
||||||
* Is it removed after [`Config::HistoryDepth`] eras.
|
* Is it removed after [`Config::HistoryDepth`] eras.
|
||||||
**/
|
**/
|
||||||
erasValidatorPrefs: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<PezpalletStakingValidatorPrefs>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
erasValidatorPrefs: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<PezpalletStakingValidatorPrefs>, [u32, PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [u32, PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* The total validator era payout for the last [`Config::HistoryDepth`] eras.
|
* The total validator era payout for the last [`Config::HistoryDepth`] eras.
|
||||||
*
|
*
|
||||||
@@ -1821,14 +1821,14 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* easy to initialize and the performance hit is minimal (we expect no more than four
|
* easy to initialize and the performance hit is minimal (we expect no more than four
|
||||||
* invulnerables) and restricted to testnets.
|
* invulnerables) and restricted to testnets.
|
||||||
**/
|
**/
|
||||||
invulnerables: AugmentedQuery<ApiType, () => Observable<Vec<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
invulnerables: AugmentedQuery<ApiType, () => Observable<Vec<PezspCoreCryptoAccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* Map from all (unlocked) "controller" accounts to the info regarding the staking.
|
* Map from all (unlocked) "controller" accounts to the info regarding the staking.
|
||||||
*
|
*
|
||||||
* Note: All the reads and mutations to this storage *MUST* be done through the methods exposed
|
* Note: All the reads and mutations to this storage *MUST* be done through the methods exposed
|
||||||
* by [`StakingLedger`] to ensure data and lock consistency.
|
* by [`StakingLedger`] to ensure data and lock consistency.
|
||||||
**/
|
**/
|
||||||
ledger: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PezpalletStakingStakingLedger>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
ledger: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezpalletStakingStakingLedger>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* The maximum nominator count before we stop allowing new validators to join.
|
* The maximum nominator count before we stop allowing new validators to join.
|
||||||
*
|
*
|
||||||
@@ -1840,7 +1840,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* is used for stake rewards.
|
* is used for stake rewards.
|
||||||
* See [Era payout](./index.html#era-payout).
|
* See [Era payout](./index.html#era-payout).
|
||||||
**/
|
**/
|
||||||
maxStakedRewards: AugmentedQuery<ApiType, () => Observable<Option<Percent>>, []> & QueryableStorageEntry<ApiType, []>;
|
maxStakedRewards: AugmentedQuery<ApiType, () => Observable<Option<u8>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* The maximum validator count before we stop allowing new validators to join.
|
* The maximum validator count before we stop allowing new validators to join.
|
||||||
*
|
*
|
||||||
@@ -1852,7 +1852,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
*
|
*
|
||||||
* If set to `0`, no limit exists.
|
* If set to `0`, no limit exists.
|
||||||
**/
|
**/
|
||||||
minCommission: AugmentedQuery<ApiType, () => Observable<Perbill>, []> & QueryableStorageEntry<ApiType, []>;
|
minCommission: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* The minimum active nominator stake of the last successful election.
|
* The minimum active nominator stake of the last successful election.
|
||||||
**/
|
**/
|
||||||
@@ -1890,32 +1890,32 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
*
|
*
|
||||||
* TWOX-NOTE: SAFE since `AccountId` is a secure hash.
|
* TWOX-NOTE: SAFE since `AccountId` is a secure hash.
|
||||||
**/
|
**/
|
||||||
nominators: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PezpalletStakingNominations>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
nominators: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezpalletStakingNominations>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* All slashing events on nominators, mapped by era to the highest slash value of the era.
|
* All slashing events on nominators, mapped by era to the highest slash value of the era.
|
||||||
**/
|
**/
|
||||||
nominatorSlashInEra: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u128>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
nominatorSlashInEra: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<u128>>, [u32, PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [u32, PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Where the reward payment should be made. Keyed by stash.
|
* Where the reward payment should be made. Keyed by stash.
|
||||||
*
|
*
|
||||||
* TWOX-NOTE: SAFE since `AccountId` is a secure hash.
|
* TWOX-NOTE: SAFE since `AccountId` is a secure hash.
|
||||||
**/
|
**/
|
||||||
payee: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PezpalletStakingRewardDestination>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
payee: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezpalletStakingRewardDestination>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Slashing spans for stash accounts.
|
* Slashing spans for stash accounts.
|
||||||
**/
|
**/
|
||||||
slashingSpans: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PezpalletStakingSlashingSlashingSpans>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
slashingSpans: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezpalletStakingSlashingSlashingSpans>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* The percentage of the slash that is distributed to reporters.
|
* The percentage of the slash that is distributed to reporters.
|
||||||
*
|
*
|
||||||
* The rest of the slashed value is handled by the `Slash`.
|
* The rest of the slashed value is handled by the `Slash`.
|
||||||
**/
|
**/
|
||||||
slashRewardFraction: AugmentedQuery<ApiType, () => Observable<Perbill>, []> & QueryableStorageEntry<ApiType, []>;
|
slashRewardFraction: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* Records information about the maximum slash of a stash within a slashing span,
|
* Records information about the maximum slash of a stash within a slashing span,
|
||||||
* as well as how much reward has been paid out.
|
* as well as how much reward has been paid out.
|
||||||
**/
|
**/
|
||||||
spanSlash: AugmentedQuery<ApiType, (arg: ITuple<[AccountId32, u32]> | [AccountId32 | string | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<PezpalletStakingSlashingSpanRecord>, [ITuple<[AccountId32, u32]>]> & QueryableStorageEntry<ApiType, [ITuple<[AccountId32, u32]>]>;
|
spanSlash: AugmentedQuery<ApiType, (arg: ITuple<[PezspCoreCryptoAccountId32, u32]> | string | Uint8Array) => Observable<PezpalletStakingSlashingSpanRecord>, [ITuple<[PezspCoreCryptoAccountId32, u32]>]> & QueryableStorageEntry<ApiType, [ITuple<[PezspCoreCryptoAccountId32, u32]>]>;
|
||||||
/**
|
/**
|
||||||
* All unapplied slashes that are queued for later.
|
* All unapplied slashes that are queued for later.
|
||||||
**/
|
**/
|
||||||
@@ -1929,12 +1929,12 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
*
|
*
|
||||||
* TWOX-NOTE: SAFE since `AccountId` is a secure hash.
|
* TWOX-NOTE: SAFE since `AccountId` is a secure hash.
|
||||||
**/
|
**/
|
||||||
validators: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PezpalletStakingValidatorPrefs>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
validators: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<PezpalletStakingValidatorPrefs>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* All slashing events on validators, mapped by era to the highest slash proportion
|
* All slashing events on validators, mapped by era to the highest slash proportion
|
||||||
* and slash value of the era.
|
* and slash value of the era.
|
||||||
**/
|
**/
|
||||||
validatorSlashInEra: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[Perbill, u128]>>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
validatorSlashInEra: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<ITuple<[u32, u128]>>>, [u32, PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [u32, PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Stakers whose funds are managed by other pallets.
|
* Stakers whose funds are managed by other pallets.
|
||||||
*
|
*
|
||||||
@@ -1943,7 +1943,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* directly via this pallet. Instead, these accounts are managed by other pallets and accessed
|
* directly via this pallet. Instead, these accounts are managed by other pallets and accessed
|
||||||
* via low level apis. We keep track of them to do minimal integrity checks.
|
* via low level apis. We keep track of them to do minimal integrity checks.
|
||||||
**/
|
**/
|
||||||
virtualStakers: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Null>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
virtualStakers: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<Null>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Generic query
|
* Generic query
|
||||||
**/
|
**/
|
||||||
@@ -1993,13 +1993,13 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* This is populated during a session, and is flushed and sent over via [`SendToAssetHub`]
|
* This is populated during a session, and is flushed and sent over via [`SendToAssetHub`]
|
||||||
* at each session end.
|
* at each session end.
|
||||||
**/
|
**/
|
||||||
validatorPoints: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u32>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
validatorPoints: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<u32>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* The queued validator sets for a given planning session index.
|
* The queued validator sets for a given planning session index.
|
||||||
*
|
*
|
||||||
* This is received via a call from AssetHub.
|
* This is received via a call from AssetHub.
|
||||||
**/
|
**/
|
||||||
validatorSet: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[u32, Vec<AccountId32>]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
validatorSet: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[u32, Vec<PezspCoreCryptoAccountId32>]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* The session index at which the latest elected validator set was applied.
|
* The session index at which the latest elected validator set was applied.
|
||||||
*
|
*
|
||||||
@@ -2041,7 +2041,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* The full account information for a particular account ID.
|
* The full account information for a particular account ID.
|
||||||
**/
|
**/
|
||||||
account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PezframeSystemAccountInfo>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
account: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<PezframeSystemAccountInfo>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Total length (in bytes) for all extrinsics put together, for the current block.
|
* Total length (in bytes) for all extrinsics put together, for the current block.
|
||||||
**/
|
**/
|
||||||
@@ -2219,7 +2219,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* Information regarding the vesting of a given account.
|
* Information regarding the vesting of a given account.
|
||||||
**/
|
**/
|
||||||
vesting: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Vec<PezpalletVestingVestingInfo>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
vesting: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<Vec<PezpalletVestingVestingInfo>>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Generic query
|
* Generic query
|
||||||
**/
|
**/
|
||||||
@@ -2241,7 +2241,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
*
|
*
|
||||||
* Nodes store links forward and back within their respective bags.
|
* Nodes store links forward and back within their respective bags.
|
||||||
**/
|
**/
|
||||||
listNodes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PezpalletBagsListListNode>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
listNodes: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<PezpalletBagsListListNode>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Lock all updates to this pallet.
|
* Lock all updates to this pallet.
|
||||||
*
|
*
|
||||||
@@ -2253,7 +2253,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
* Pointer that remembers the next node that will be auto-rebagged.
|
* Pointer that remembers the next node that will be auto-rebagged.
|
||||||
* When `None`, the next scan will start from the list head again.
|
* When `None`, the next scan will start from the list head again.
|
||||||
**/
|
**/
|
||||||
nextNodeAutoRebagged: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
nextNodeAutoRebagged: AugmentedQuery<ApiType, () => Observable<Option<PezspCoreCryptoAccountId32>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||||
/**
|
/**
|
||||||
* Generic query
|
* Generic query
|
||||||
**/
|
**/
|
||||||
@@ -2287,7 +2287,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* Fungible assets which we know are locked on this chain.
|
* Fungible assets which we know are locked on this chain.
|
||||||
**/
|
**/
|
||||||
lockedFungibles: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Vec<ITuple<[u128, XcmVersionedLocation]>>>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
lockedFungibles: AugmentedQuery<ApiType, (arg: PezspCoreCryptoAccountId32 | string | Uint8Array) => Observable<Option<Vec<ITuple<[u128, XcmVersionedLocation]>>>>, [PezspCoreCryptoAccountId32]> & QueryableStorageEntry<ApiType, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* The ongoing queries.
|
* The ongoing queries.
|
||||||
**/
|
**/
|
||||||
@@ -2308,7 +2308,7 @@ declare module '@pezkuwi/api-base/types/storage' {
|
|||||||
/**
|
/**
|
||||||
* Fungible assets which we know are locked on a remote chain.
|
* Fungible assets which we know are locked on a remote chain.
|
||||||
**/
|
**/
|
||||||
remoteLockedFungibles: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array, arg3: XcmVersionedAssetId | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Option<PezpalletXcmRemoteLockedFungibleRecord>>, [u32, AccountId32, XcmVersionedAssetId]> & QueryableStorageEntry<ApiType, [u32, AccountId32, XcmVersionedAssetId]>;
|
remoteLockedFungibles: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PezspCoreCryptoAccountId32 | string | Uint8Array, arg3: XcmVersionedAssetId | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Option<PezpalletXcmRemoteLockedFungibleRecord>>, [u32, PezspCoreCryptoAccountId32, XcmVersionedAssetId]> & QueryableStorageEntry<ApiType, [u32, PezspCoreCryptoAccountId32, XcmVersionedAssetId]>;
|
||||||
/**
|
/**
|
||||||
* Default version to encode XCM when latest version of destination is unknown. If `None`,
|
* Default version to encode XCM when latest version of destination is unknown. If `None`,
|
||||||
* then the destinations whose XCM version is unknown are considered unreachable.
|
* then the destinations whose XCM version is unknown are considered unreachable.
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ import type { Extrinsic } from '@pezkuwi/types/interfaces/extrinsics';
|
|||||||
import type { OpaqueMetadata } from '@pezkuwi/types/interfaces/metadata';
|
import type { OpaqueMetadata } from '@pezkuwi/types/interfaces/metadata';
|
||||||
import type { AccountId32, H256, RuntimeCall, Slot } from '@pezkuwi/types/interfaces/runtime';
|
import type { AccountId32, H256, RuntimeCall, Slot } from '@pezkuwi/types/interfaces/runtime';
|
||||||
import type { ParaId, ValidationCodeHash } from '@pezkuwi/types/interfaces/teyrchains';
|
import type { ParaId, ValidationCodeHash } from '@pezkuwi/types/interfaces/teyrchains';
|
||||||
import type { PezframeSupportViewFunctionsViewFunctionDispatchError, PezframeSupportViewFunctionsViewFunctionId, PezkuwiCorePrimitivesInboundDownwardMessage, PezkuwiCorePrimitivesInboundHrmpMessage, PezkuwiPrimitivesV8ApprovalVotingParams, PezkuwiPrimitivesV8AsyncBackingAsyncBackingParams, PezkuwiPrimitivesV8CandidateCommitments, PezkuwiPrimitivesV8DisputeState, PezkuwiPrimitivesV8ExecutorParams, PezkuwiPrimitivesV8GroupRotationInfo, PezkuwiPrimitivesV8OccupiedCoreAssumption, PezkuwiPrimitivesV8PersistedValidationData, PezkuwiPrimitivesV8PvfCheckStatement, PezkuwiPrimitivesV8SessionInfo, PezkuwiPrimitivesV8SlashingDisputeProof, PezkuwiPrimitivesV8SlashingPendingSlashes, PezkuwiPrimitivesV8ValidatorAppPublic, PezkuwiPrimitivesV8ValidatorAppSignature, PezkuwiPrimitivesVstagingAsyncBackingBackingState, PezkuwiPrimitivesVstagingAsyncBackingConstraints, PezkuwiPrimitivesVstagingCandidateEvent, PezkuwiPrimitivesVstagingCommittedCandidateReceiptV2, PezkuwiPrimitivesVstagingCoreState, PezkuwiPrimitivesVstagingScrapedOnChainVotes, PezkuwiRuntimeOriginCaller, PezpalletTransactionPaymentFeeDetails, PezpalletTransactionPaymentRuntimeDispatchInfo, PezspAuthorityDiscoveryAppPublic, PezspConsensusBabeAppPublic, PezspConsensusBabeBabeConfiguration, PezspConsensusBabeEpoch, PezspConsensusBeefyDoubleVotingProof, PezspConsensusBeefyEcdsaCryptoPublic, PezspConsensusBeefyForkVotingProofOpaqueValue, PezspConsensusBeefyFutureBlockVotingProof, PezspConsensusBeefyMmrBeefyAuthoritySet, PezspConsensusBeefyValidatorSet, PezspConsensusGrandpaAppPublic, PezspConsensusGrandpaEquivocationProof, PezspConsensusSlotsEquivocationProof, PezspCoreCryptoKeyTypeId, PezspInherentsCheckInherentsResult, PezspInherentsInherentData, PezspMmrPrimitivesError, PezspMmrPrimitivesLeafProof, PezspRuntimeBlock, PezspRuntimeDispatchError, PezspRuntimeExtrinsicInclusionMode, PezspRuntimeHeader, PezspRuntimeTransactionValidityTransactionSource, PezspRuntimeTransactionValidityTransactionValidityError, PezspRuntimeTransactionValidityValidTransaction, PezspVersionRuntimeVersion, PezspWeightsWeightV2Weight, RelayCommonApisInflationInfo, XcmRuntimeApisConversionsError, XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError, XcmRuntimeApisDryRunXcmDryRunEffects, XcmRuntimeApisFeesError, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@pezkuwi/types/lookup';
|
import type { PezframeSupportViewFunctionsViewFunctionDispatchError, PezframeSupportViewFunctionsViewFunctionId, PezkuwiCorePrimitivesInboundDownwardMessage, PezkuwiCorePrimitivesInboundHrmpMessage, PezkuwiPrimitivesV8ApprovalVotingParams, PezkuwiPrimitivesV8AsyncBackingAsyncBackingParams, PezkuwiPrimitivesV8CandidateCommitments, PezkuwiPrimitivesV8DisputeState, PezkuwiPrimitivesV8ExecutorParams, PezkuwiPrimitivesV8GroupRotationInfo, PezkuwiPrimitivesV8OccupiedCoreAssumption, PezkuwiPrimitivesV8PersistedValidationData, PezkuwiPrimitivesV8PvfCheckStatement, PezkuwiPrimitivesV8SessionInfo, PezkuwiPrimitivesV8SlashingDisputeProof, PezkuwiPrimitivesV8SlashingPendingSlashes, PezkuwiPrimitivesV8ValidatorAppPublic, PezkuwiPrimitivesV8ValidatorAppSignature, PezkuwiPrimitivesVstagingAsyncBackingBackingState, PezkuwiPrimitivesVstagingAsyncBackingConstraints, PezkuwiPrimitivesVstagingCandidateEvent, PezkuwiPrimitivesVstagingCommittedCandidateReceiptV2, PezkuwiPrimitivesVstagingCoreState, PezkuwiPrimitivesVstagingScrapedOnChainVotes, PezkuwiRuntimeOriginCaller, PezpalletTransactionPaymentFeeDetails, PezpalletTransactionPaymentRuntimeDispatchInfo, PezspAuthorityDiscoveryAppPublic, PezspConsensusBabeAppPublic, PezspConsensusBabeBabeConfiguration, PezspConsensusBabeEpoch, PezspConsensusBeefyDoubleVotingProof, PezspConsensusBeefyEcdsaCryptoPublic, PezspConsensusBeefyForkVotingProofOpaqueValue, PezspConsensusBeefyFutureBlockVotingProof, PezspConsensusBeefyMmrBeefyAuthoritySet, PezspConsensusBeefyValidatorSet, PezspConsensusGrandpaAppPublic, PezspConsensusGrandpaEquivocationProof, PezspConsensusSlotsEquivocationProof, PezspCoreCryptoAccountId32, PezspCoreCryptoKeyTypeId, PezspInherentsCheckInherentsResult, PezspInherentsInherentData, PezspMmrPrimitivesError, PezspMmrPrimitivesLeafProof, PezspRuntimeBlock, PezspRuntimeDispatchError, PezspRuntimeExtrinsicInclusionMode, PezspRuntimeHeader, PezspRuntimeTransactionValidityTransactionSource, PezspRuntimeTransactionValidityTransactionValidityError, PezspRuntimeTransactionValidityValidTransaction, PezspVersionRuntimeVersion, PezspWeightsWeightV2Weight, RelayCommonApisInflationInfo, XcmRuntimeApisConversionsError, XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError, XcmRuntimeApisDryRunXcmDryRunEffects, XcmRuntimeApisFeesError, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@pezkuwi/types/lookup';
|
||||||
import type { IExtrinsic, Observable } from '@pezkuwi/types/types';
|
import type { IExtrinsic, Observable } from '@pezkuwi/types/types';
|
||||||
|
|
||||||
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
|
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
|
||||||
@@ -239,7 +239,7 @@ declare module '@pezkuwi/api-base/types/calls' {
|
|||||||
/**
|
/**
|
||||||
* Converts `Location` to `AccountId`.
|
* Converts `Location` to `AccountId`.
|
||||||
**/
|
**/
|
||||||
convertLocation: AugmentedCall<ApiType, (location: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<AccountId32, XcmRuntimeApisConversionsError>>>;
|
convertLocation: AugmentedCall<ApiType, (location: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => Observable<Result<PezspCoreCryptoAccountId32, XcmRuntimeApisConversionsError>>>;
|
||||||
/**
|
/**
|
||||||
* Generic call
|
* Generic call
|
||||||
**/
|
**/
|
||||||
@@ -254,7 +254,7 @@ declare module '@pezkuwi/api-base/types/calls' {
|
|||||||
/**
|
/**
|
||||||
* Returns the metadata at a given version.,, If the given `version` isn't supported, this will return `None`., Use [`Self::metadata_versions`] to find out about supported metadata version of the runtime.
|
* Returns the metadata at a given version.,, If the given `version` isn't supported, this will return `None`., Use [`Self::metadata_versions`] to find out about supported metadata version of the runtime.
|
||||||
**/
|
**/
|
||||||
metadataAtVersion: AugmentedCall<ApiType, (version: u32 | AnyNumber | Uint8Array) => Observable<Option<OpaqueMetadata>>>;
|
metadataAtVersion: AugmentedCall<ApiType, (version: u32 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>>;
|
||||||
/**
|
/**
|
||||||
* Returns the supported metadata versions.,, This can be used to call `metadata_at_version`.
|
* Returns the supported metadata versions.,, This can be used to call `metadata_at_version`.
|
||||||
**/
|
**/
|
||||||
@@ -320,7 +320,7 @@ declare module '@pezkuwi/api-base/types/calls' {
|
|||||||
/**
|
/**
|
||||||
* Returns the bonded account and reward account associated with the pool_id.
|
* Returns the bonded account and reward account associated with the pool_id.
|
||||||
**/
|
**/
|
||||||
poolAccounts: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array) => Observable<ITuple<[AccountId32, AccountId32]>>>;
|
poolAccounts: AugmentedCall<ApiType, (pool_id: u32 | AnyNumber | Uint8Array) => Observable<ITuple<[PezspCoreCryptoAccountId32, PezspCoreCryptoAccountId32]>>>;
|
||||||
/**
|
/**
|
||||||
* Total balance contributed to the pool.
|
* Total balance contributed to the pool.
|
||||||
**/
|
**/
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ import '@pezkuwi/api-base/types/submittable';
|
|||||||
import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableExtrinsicFunction } from '@pezkuwi/api-base/types';
|
import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableExtrinsicFunction } from '@pezkuwi/api-base/types';
|
||||||
import type { Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@pezkuwi/types-codec';
|
import type { Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@pezkuwi/types-codec';
|
||||||
import type { AnyNumber, IMethod, ITuple } from '@pezkuwi/types-codec/types';
|
import type { AnyNumber, IMethod, ITuple } from '@pezkuwi/types-codec/types';
|
||||||
import type { AccountId32, H256, MultiAddress, Perbill, Percent, RuntimeCall } from '@pezkuwi/types/interfaces/runtime';
|
import type { AccountId, AccountIndex, Address, H256, LookupSource, RuntimeCall } from '@pezkuwi/types/interfaces/runtime';
|
||||||
import type { PezframeSupportPreimagesBounded, PezframeSupportScheduleDispatchTime, PezkuwiPrimitivesV8ApprovalVotingParams, PezkuwiPrimitivesV8AsyncBackingAsyncBackingParams, PezkuwiPrimitivesV8ExecutorParams, PezkuwiPrimitivesV8PvfCheckStatement, PezkuwiPrimitivesV8SchedulerParams, PezkuwiPrimitivesV8ValidatorAppSignature, PezkuwiPrimitivesVstagingDisputeProof, PezkuwiPrimitivesVstagingInherentData, PezkuwiRuntimeCommonClaimsEcdsaSignature, PezkuwiRuntimeCommonClaimsEthereumAddress, PezkuwiRuntimeCommonClaimsStatementKind, PezkuwiRuntimeCommonImplsVersionedLocatableAsset, PezkuwiRuntimeConstantsProxyProxyType, PezkuwiRuntimeOriginCaller, PezkuwiRuntimeSessionKeys, PezkuwiRuntimeTeyrchainsInclusionAggregateMessageOrigin, PezkuwiTeyrchainPrimitivesPrimitivesHrmpChannelId, PezpalletBalancesAdjustmentDirection, PezpalletBrokerCoretimeInterfaceCoreAssignment, PezpalletConvictionVotingConviction, PezpalletConvictionVotingVoteAccountVote, PezpalletElectionProviderMultiPhaseRawSolution, PezpalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PezpalletMultisigTimepoint, PezpalletNominationPoolsBondExtra, PezpalletNominationPoolsClaimPermission, PezpalletNominationPoolsCommissionChangeRate, PezpalletNominationPoolsCommissionClaimPermission, PezpalletNominationPoolsConfigOpAccountId32, PezpalletNominationPoolsConfigOpPerbill, PezpalletNominationPoolsConfigOpU128, PezpalletNominationPoolsConfigOpU32, PezpalletNominationPoolsPoolState, PezpalletRcMigratorManagerMultisigVote, PezpalletRcMigratorMigrationSettings, PezpalletRcMigratorMigrationStage, PezpalletRcMigratorQueuePriority, PezpalletStakingAsyncAhClientOperatingMode, PezpalletStakingAsyncRcClientValidatorSetReport, PezpalletStakingPezpalletConfigOpPerbill, PezpalletStakingPezpalletConfigOpPercent, PezpalletStakingPezpalletConfigOpU128, PezpalletStakingPezpalletConfigOpU32, PezpalletStakingRewardDestination, PezpalletStakingUnlockChunk, PezpalletStakingValidatorPrefs, PezpalletStateTrieMigrationMigrationLimits, PezpalletStateTrieMigrationMigrationTask, PezpalletStateTrieMigrationProgress, PezpalletVestingVestingInfo, PezspConsensusBabeDigestsNextConfigDescriptor, PezspConsensusBeefyDoubleVotingProof, PezspConsensusBeefyForkVotingProofAncestryProof, PezspConsensusBeefyFutureBlockVotingProof, PezspConsensusGrandpaEquivocationProof, PezspConsensusSlotsEquivocationProof, PezspNposElectionsElectionScore, PezspNposElectionsSupport, PezspRuntimeMultiSignature, PezspRuntimeMultiSigner, PezspSessionMembershipProof, PezspWeightsWeightV2Weight, StagingXcmExecutorAssetTransferTransferType, StagingXcmV5Location, StagingXcmV5Response, XcmV3WeightLimit, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@pezkuwi/types/lookup';
|
import type { PezframeSupportPreimagesBounded, PezframeSupportScheduleDispatchTime, PezkuwiPrimitivesV8ApprovalVotingParams, PezkuwiPrimitivesV8AsyncBackingAsyncBackingParams, PezkuwiPrimitivesV8ExecutorParams, PezkuwiPrimitivesV8PvfCheckStatement, PezkuwiPrimitivesV8SchedulerParams, PezkuwiPrimitivesV8ValidatorAppSignature, PezkuwiPrimitivesVstagingDisputeProof, PezkuwiPrimitivesVstagingInherentData, PezkuwiRuntimeCommonClaimsEcdsaSignature, PezkuwiRuntimeCommonClaimsEthereumAddress, PezkuwiRuntimeCommonClaimsStatementKind, PezkuwiRuntimeCommonImplsVersionedLocatableAsset, PezkuwiRuntimeConstantsProxyProxyType, PezkuwiRuntimeOriginCaller, PezkuwiRuntimeSessionKeys, PezkuwiRuntimeTeyrchainsInclusionAggregateMessageOrigin, PezkuwiTeyrchainPrimitivesPrimitivesHrmpChannelId, PezpalletBalancesAdjustmentDirection, PezpalletBrokerCoretimeInterfaceCoreAssignment, PezpalletConvictionVotingConviction, PezpalletConvictionVotingVoteAccountVote, PezpalletElectionProviderMultiPhaseRawSolution, PezpalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PezpalletMultisigTimepoint, PezpalletNominationPoolsBondExtra, PezpalletNominationPoolsClaimPermission, PezpalletNominationPoolsCommissionChangeRate, PezpalletNominationPoolsCommissionClaimPermission, PezpalletNominationPoolsConfigOpAccountId32, PezpalletNominationPoolsConfigOpPerbill, PezpalletNominationPoolsConfigOpU128, PezpalletNominationPoolsConfigOpU32, PezpalletNominationPoolsPoolState, PezpalletRcMigratorManagerMultisigVote, PezpalletRcMigratorMigrationSettings, PezpalletRcMigratorMigrationStage, PezpalletRcMigratorQueuePriority, PezpalletStakingAsyncAhClientOperatingMode, PezpalletStakingAsyncRcClientValidatorSetReport, PezpalletStakingPezpalletConfigOpPerbill, PezpalletStakingPezpalletConfigOpPercent, PezpalletStakingPezpalletConfigOpU128, PezpalletStakingPezpalletConfigOpU32, PezpalletStakingRewardDestination, PezpalletStakingUnlockChunk, PezpalletStakingValidatorPrefs, PezpalletStateTrieMigrationMigrationLimits, PezpalletStateTrieMigrationMigrationTask, PezpalletStateTrieMigrationProgress, PezpalletVestingVestingInfo, PezspConsensusBabeDigestsNextConfigDescriptor, PezspConsensusBeefyDoubleVotingProof, PezspConsensusBeefyForkVotingProofAncestryProof, PezspConsensusBeefyFutureBlockVotingProof, PezspConsensusGrandpaEquivocationProof, PezspConsensusSlotsEquivocationProof, PezspCoreCryptoAccountId32, PezspNposElectionsElectionScore, PezspNposElectionsSupport, PezspRuntimeMultiAddress, PezspRuntimeMultiSignature, PezspRuntimeMultiSigner, PezspSessionMembershipProof, PezspWeightsWeightV2Weight, StagingXcmExecutorAssetTransferTransferType, StagingXcmV5Location, StagingXcmV5Response, XcmV3WeightLimit, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@pezkuwi/types/lookup';
|
||||||
|
|
||||||
export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
|
export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
|
||||||
export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
|
export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
|
||||||
@@ -138,18 +138,18 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* The dispatch origin for this call is `root`.
|
* The dispatch origin for this call is `root`.
|
||||||
**/
|
**/
|
||||||
forceSetBalance: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, newFree: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
|
forceSetBalance: AugmentedSubmittable<(who: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, newFree: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, Compact<u128>]>;
|
||||||
/**
|
/**
|
||||||
* Exactly as `transfer_allow_death`, except the origin must be root and the source account
|
* Exactly as `transfer_allow_death`, except the origin must be root and the source account
|
||||||
* may be specified.
|
* may be specified.
|
||||||
**/
|
**/
|
||||||
forceTransfer: AugmentedSubmittable<(source: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Compact<u128>]>;
|
forceTransfer: AugmentedSubmittable<(source: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, dest: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, PezspRuntimeMultiAddress, Compact<u128>]>;
|
||||||
/**
|
/**
|
||||||
* Unreserve some balance from a user by force.
|
* Unreserve some balance from a user by force.
|
||||||
*
|
*
|
||||||
* Can only be called by ROOT.
|
* Can only be called by ROOT.
|
||||||
**/
|
**/
|
||||||
forceUnreserve: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u128]>;
|
forceUnreserve: AugmentedSubmittable<(who: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, u128]>;
|
||||||
/**
|
/**
|
||||||
* Transfer the entire transferable balance from the caller account.
|
* Transfer the entire transferable balance from the caller account.
|
||||||
*
|
*
|
||||||
@@ -167,7 +167,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* transfer everything except at least the existential deposit, which will guarantee to
|
* transfer everything except at least the existential deposit, which will guarantee to
|
||||||
* keep the sender account alive (true).
|
* keep the sender account alive (true).
|
||||||
**/
|
**/
|
||||||
transferAll: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, bool]>;
|
transferAll: AugmentedSubmittable<(dest: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, bool]>;
|
||||||
/**
|
/**
|
||||||
* Transfer some liquid free balance to another account.
|
* Transfer some liquid free balance to another account.
|
||||||
*
|
*
|
||||||
@@ -177,7 +177,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* The dispatch origin for this call must be `Signed` by the transactor.
|
* The dispatch origin for this call must be `Signed` by the transactor.
|
||||||
**/
|
**/
|
||||||
transferAllowDeath: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
|
transferAllowDeath: AugmentedSubmittable<(dest: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, Compact<u128>]>;
|
||||||
/**
|
/**
|
||||||
* Same as the [`transfer_allow_death`] call, but with a check that the transfer will not
|
* Same as the [`transfer_allow_death`] call, but with a check that the transfer will not
|
||||||
* kill the origin account.
|
* kill the origin account.
|
||||||
@@ -186,7 +186,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* [`transfer_allow_death`]: struct.Pallet.html#method.transfer
|
* [`transfer_allow_death`]: struct.Pallet.html#method.transfer
|
||||||
**/
|
**/
|
||||||
transferKeepAlive: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
|
transferKeepAlive: AugmentedSubmittable<(dest: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, Compact<u128>]>;
|
||||||
/**
|
/**
|
||||||
* Upgrade a specified account.
|
* Upgrade a specified account.
|
||||||
*
|
*
|
||||||
@@ -197,7 +197,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* be upgraded. (We let some not have to be upgraded just in order to allow for the
|
* be upgraded. (We let some not have to be upgraded just in order to allow for the
|
||||||
* possibility of churn).
|
* possibility of churn).
|
||||||
**/
|
**/
|
||||||
upgradeAccounts: AugmentedSubmittable<(who: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
|
upgradeAccounts: AugmentedSubmittable<(who: Vec<PezspCoreCryptoAccountId32> | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<PezspCoreCryptoAccountId32>]>;
|
||||||
/**
|
/**
|
||||||
* Generic tx
|
* Generic tx
|
||||||
**/
|
**/
|
||||||
@@ -303,7 +303,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* ## Complexity
|
* ## Complexity
|
||||||
* - O(1).
|
* - O(1).
|
||||||
**/
|
**/
|
||||||
approveBountyWithCurator: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array, curator: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, fee: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, Compact<u128>]>;
|
approveBountyWithCurator: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array, curator: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, fee: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, PezspRuntimeMultiAddress, Compact<u128>]>;
|
||||||
/**
|
/**
|
||||||
* Award bounty to a beneficiary account. The beneficiary will be able to claim the funds
|
* Award bounty to a beneficiary account. The beneficiary will be able to claim the funds
|
||||||
* after a delay.
|
* after a delay.
|
||||||
@@ -316,7 +316,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* ## Complexity
|
* ## Complexity
|
||||||
* - O(1).
|
* - O(1).
|
||||||
**/
|
**/
|
||||||
awardBounty: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array, beneficiary: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress]>;
|
awardBounty: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array, beneficiary: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, PezspRuntimeMultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Claim the payout from an awarded bounty after payout delay.
|
* Claim the payout from an awarded bounty after payout delay.
|
||||||
*
|
*
|
||||||
@@ -393,7 +393,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* ## Complexity
|
* ## Complexity
|
||||||
* - O(1).
|
* - O(1).
|
||||||
**/
|
**/
|
||||||
proposeCurator: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array, curator: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, fee: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, Compact<u128>]>;
|
proposeCurator: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array, curator: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, fee: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, PezspRuntimeMultiAddress, Compact<u128>]>;
|
||||||
/**
|
/**
|
||||||
* Unassign curator from a bounty.
|
* Unassign curator from a bounty.
|
||||||
*
|
*
|
||||||
@@ -483,7 +483,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* - `child_bounty_id`: Index of child bounty.
|
* - `child_bounty_id`: Index of child bounty.
|
||||||
* - `beneficiary`: Beneficiary account.
|
* - `beneficiary`: Beneficiary account.
|
||||||
**/
|
**/
|
||||||
awardChildBounty: AugmentedSubmittable<(parentBountyId: Compact<u32> | AnyNumber | Uint8Array, childBountyId: Compact<u32> | AnyNumber | Uint8Array, beneficiary: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u32>, MultiAddress]>;
|
awardChildBounty: AugmentedSubmittable<(parentBountyId: Compact<u32> | AnyNumber | Uint8Array, childBountyId: Compact<u32> | AnyNumber | Uint8Array, beneficiary: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u32>, PezspRuntimeMultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Claim the payout from an awarded child-bounty after payout delay.
|
* Claim the payout from an awarded child-bounty after payout delay.
|
||||||
*
|
*
|
||||||
@@ -545,7 +545,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* - `curator`: Address of child-bounty curator.
|
* - `curator`: Address of child-bounty curator.
|
||||||
* - `fee`: payment fee to child-bounty curator for execution.
|
* - `fee`: payment fee to child-bounty curator for execution.
|
||||||
**/
|
**/
|
||||||
proposeCurator: AugmentedSubmittable<(parentBountyId: Compact<u32> | AnyNumber | Uint8Array, childBountyId: Compact<u32> | AnyNumber | Uint8Array, curator: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, fee: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u32>, MultiAddress, Compact<u128>]>;
|
proposeCurator: AugmentedSubmittable<(parentBountyId: Compact<u32> | AnyNumber | Uint8Array, childBountyId: Compact<u32> | AnyNumber | Uint8Array, curator: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, fee: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u32>, PezspRuntimeMultiAddress, Compact<u128>]>;
|
||||||
/**
|
/**
|
||||||
* Unassign curator from a child-bounty.
|
* Unassign curator from a child-bounty.
|
||||||
*
|
*
|
||||||
@@ -637,7 +637,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* Total Complexity: O(1)
|
* Total Complexity: O(1)
|
||||||
* </weight>
|
* </weight>
|
||||||
**/
|
**/
|
||||||
claim: AugmentedSubmittable<(dest: AccountId32 | string | Uint8Array, ethereumSignature: PezkuwiRuntimeCommonClaimsEcdsaSignature) => SubmittableExtrinsic<ApiType>, [AccountId32, PezkuwiRuntimeCommonClaimsEcdsaSignature]>;
|
claim: AugmentedSubmittable<(dest: PezspCoreCryptoAccountId32 | string | Uint8Array, ethereumSignature: PezkuwiRuntimeCommonClaimsEcdsaSignature) => SubmittableExtrinsic<ApiType>, [PezspCoreCryptoAccountId32, PezkuwiRuntimeCommonClaimsEcdsaSignature]>;
|
||||||
/**
|
/**
|
||||||
* Make a claim to collect your DOTs by signing a statement.
|
* Make a claim to collect your DOTs by signing a statement.
|
||||||
*
|
*
|
||||||
@@ -667,7 +667,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* Total Complexity: O(1)
|
* Total Complexity: O(1)
|
||||||
* </weight>
|
* </weight>
|
||||||
**/
|
**/
|
||||||
claimAttest: AugmentedSubmittable<(dest: AccountId32 | string | Uint8Array, ethereumSignature: PezkuwiRuntimeCommonClaimsEcdsaSignature, statement: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, PezkuwiRuntimeCommonClaimsEcdsaSignature, Bytes]>;
|
claimAttest: AugmentedSubmittable<(dest: PezspCoreCryptoAccountId32 | string | Uint8Array, ethereumSignature: PezkuwiRuntimeCommonClaimsEcdsaSignature, statement: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspCoreCryptoAccountId32, PezkuwiRuntimeCommonClaimsEcdsaSignature, Bytes]>;
|
||||||
/**
|
/**
|
||||||
* Mint a new claim to collect DOTs.
|
* Mint a new claim to collect DOTs.
|
||||||
*
|
*
|
||||||
@@ -686,7 +686,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* </weight>
|
* </weight>
|
||||||
**/
|
**/
|
||||||
mintClaim: AugmentedSubmittable<(who: PezkuwiRuntimeCommonClaimsEthereumAddress, value: u128 | AnyNumber | Uint8Array, vestingSchedule: Option<ITuple<[u128, u128, u32]>> | null | Uint8Array | ITuple<[u128, u128, u32]> | [u128 | AnyNumber | Uint8Array, u128 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], statement: Option<PezkuwiRuntimeCommonClaimsStatementKind> | null | Uint8Array | PezkuwiRuntimeCommonClaimsStatementKind) => SubmittableExtrinsic<ApiType>, [PezkuwiRuntimeCommonClaimsEthereumAddress, u128, Option<ITuple<[u128, u128, u32]>>, Option<PezkuwiRuntimeCommonClaimsStatementKind>]>;
|
mintClaim: AugmentedSubmittable<(who: PezkuwiRuntimeCommonClaimsEthereumAddress, value: u128 | AnyNumber | Uint8Array, vestingSchedule: Option<ITuple<[u128, u128, u32]>> | null | Uint8Array | ITuple<[u128, u128, u32]> | [u128 | AnyNumber | Uint8Array, u128 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], statement: Option<PezkuwiRuntimeCommonClaimsStatementKind> | null | Uint8Array | PezkuwiRuntimeCommonClaimsStatementKind) => SubmittableExtrinsic<ApiType>, [PezkuwiRuntimeCommonClaimsEthereumAddress, u128, Option<ITuple<[u128, u128, u32]>>, Option<PezkuwiRuntimeCommonClaimsStatementKind>]>;
|
||||||
moveClaim: AugmentedSubmittable<(old: PezkuwiRuntimeCommonClaimsEthereumAddress, updated: PezkuwiRuntimeCommonClaimsEthereumAddress, maybePreclaim: Option<AccountId32> | null | Uint8Array | AccountId32 | string) => SubmittableExtrinsic<ApiType>, [PezkuwiRuntimeCommonClaimsEthereumAddress, PezkuwiRuntimeCommonClaimsEthereumAddress, Option<AccountId32>]>;
|
moveClaim: AugmentedSubmittable<(old: PezkuwiRuntimeCommonClaimsEthereumAddress, updated: PezkuwiRuntimeCommonClaimsEthereumAddress, maybePreclaim: Option<PezspCoreCryptoAccountId32> | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezkuwiRuntimeCommonClaimsEthereumAddress, PezkuwiRuntimeCommonClaimsEthereumAddress, Option<PezspCoreCryptoAccountId32>]>;
|
||||||
/**
|
/**
|
||||||
* Generic tx
|
* Generic tx
|
||||||
**/
|
**/
|
||||||
@@ -846,7 +846,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
/**
|
/**
|
||||||
* Set the on demand (parathreads) fee variability.
|
* Set the on demand (parathreads) fee variability.
|
||||||
**/
|
**/
|
||||||
setOnDemandFeeVariability: AugmentedSubmittable<(updated: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Perbill]>;
|
setOnDemandFeeVariability: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
||||||
/**
|
/**
|
||||||
* Set the on demand (parathreads) queue max size.
|
* Set the on demand (parathreads) queue max size.
|
||||||
**/
|
**/
|
||||||
@@ -854,7 +854,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
/**
|
/**
|
||||||
* Set the on demand (parathreads) fee variability.
|
* Set the on demand (parathreads) fee variability.
|
||||||
**/
|
**/
|
||||||
setOnDemandTargetQueueUtilization: AugmentedSubmittable<(updated: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Perbill]>;
|
setOnDemandTargetQueueUtilization: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
||||||
/**
|
/**
|
||||||
* Set the availability period for paras.
|
* Set the availability period for paras.
|
||||||
**/
|
**/
|
||||||
@@ -918,7 +918,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* Weight: `O(R)` where R is the number of polls the voter delegating to has
|
* Weight: `O(R)` where R is the number of polls the voter delegating to has
|
||||||
* voted on. Weight is initially charged as if maximum votes, but is refunded later.
|
* voted on. Weight is initially charged as if maximum votes, but is refunded later.
|
||||||
**/
|
**/
|
||||||
delegate: AugmentedSubmittable<(clazz: u16 | AnyNumber | Uint8Array, to: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, conviction: PezpalletConvictionVotingConviction, balance: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, MultiAddress, PezpalletConvictionVotingConviction, u128]>;
|
delegate: AugmentedSubmittable<(clazz: u16 | AnyNumber | Uint8Array, to: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, conviction: PezpalletConvictionVotingConviction, balance: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, PezspRuntimeMultiAddress, PezpalletConvictionVotingConviction, u128]>;
|
||||||
/**
|
/**
|
||||||
* Remove a vote for a poll.
|
* Remove a vote for a poll.
|
||||||
*
|
*
|
||||||
@@ -937,7 +937,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* Weight: `O(R + log R)` where R is the number of polls that `target` has voted on.
|
* Weight: `O(R + log R)` where R is the number of polls that `target` has voted on.
|
||||||
* Weight is calculated for the maximum number of vote.
|
* Weight is calculated for the maximum number of vote.
|
||||||
**/
|
**/
|
||||||
removeOtherVote: AugmentedSubmittable<(target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, clazz: u16 | AnyNumber | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u16, u32]>;
|
removeOtherVote: AugmentedSubmittable<(target: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, clazz: u16 | AnyNumber | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, u16, u32]>;
|
||||||
/**
|
/**
|
||||||
* Remove a vote for a poll.
|
* Remove a vote for a poll.
|
||||||
*
|
*
|
||||||
@@ -998,7 +998,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* Weight: `O(R)` with R number of vote of target.
|
* Weight: `O(R)` with R number of vote of target.
|
||||||
**/
|
**/
|
||||||
unlock: AugmentedSubmittable<(clazz: u16 | AnyNumber | Uint8Array, target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, MultiAddress]>;
|
unlock: AugmentedSubmittable<(clazz: u16 | AnyNumber | Uint8Array, target: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, PezspRuntimeMultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Vote in a poll. If `vote.is_aye()`, the vote is to enact the proposal;
|
* Vote in a poll. If `vote.is_aye()`, the vote is to enact the proposal;
|
||||||
* otherwise it is a vote to keep the status quo.
|
* otherwise it is a vote to keep the status quo.
|
||||||
@@ -1029,7 +1029,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* -`end_hint`: An optional hint as to when this particular set of instructions will end.
|
* -`end_hint`: An optional hint as to when this particular set of instructions will end.
|
||||||
**/
|
**/
|
||||||
assignCore: AugmentedSubmittable<(core: u16 | AnyNumber | Uint8Array, begin: u32 | AnyNumber | Uint8Array, assignment: Vec<ITuple<[PezpalletBrokerCoretimeInterfaceCoreAssignment, u16]>> | ([PezpalletBrokerCoretimeInterfaceCoreAssignment, u16 | AnyNumber | Uint8Array])[], endHint: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [u16, u32, Vec<ITuple<[PezpalletBrokerCoretimeInterfaceCoreAssignment, u16]>>, Option<u32>]>;
|
assignCore: AugmentedSubmittable<(core: u16 | AnyNumber | Uint8Array, begin: u32 | AnyNumber | Uint8Array, assignment: Vec<ITuple<[PezpalletBrokerCoretimeInterfaceCoreAssignment, u16]>> | ([PezpalletBrokerCoretimeInterfaceCoreAssignment, u16 | AnyNumber | Uint8Array])[], endHint: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [u16, u32, Vec<ITuple<[PezpalletBrokerCoretimeInterfaceCoreAssignment, u16]>>, Option<u32>]>;
|
||||||
creditAccount: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u128]>;
|
creditAccount: AugmentedSubmittable<(who: PezspCoreCryptoAccountId32 | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspCoreCryptoAccountId32, u128]>;
|
||||||
/**
|
/**
|
||||||
* Request the configuration to be updated with the specified number of cores. Warning:
|
* Request the configuration to be updated with the specified number of cores. Warning:
|
||||||
* Since this only schedules a configuration update, it takes two sessions to come into
|
* Since this only schedules a configuration update, it takes two sessions to come into
|
||||||
@@ -1120,7 +1120,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* - `who`: The account whose contribution should be withdrawn.
|
* - `who`: The account whose contribution should be withdrawn.
|
||||||
* - `index`: The parachain to whose crowdloan the contribution was made.
|
* - `index`: The parachain to whose crowdloan the contribution was made.
|
||||||
**/
|
**/
|
||||||
withdraw: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, Compact<u32>]>;
|
withdraw: AugmentedSubmittable<(who: PezspCoreCryptoAccountId32 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspCoreCryptoAccountId32, Compact<u32>]>;
|
||||||
/**
|
/**
|
||||||
* Generic tx
|
* Generic tx
|
||||||
**/
|
**/
|
||||||
@@ -1144,7 +1144,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* feasibility check itself can in principle cause the election process to fail (due to
|
* feasibility check itself can in principle cause the election process to fail (due to
|
||||||
* memory/weight constrains).
|
* memory/weight constrains).
|
||||||
**/
|
**/
|
||||||
setEmergencyElectionResult: AugmentedSubmittable<(supports: Vec<ITuple<[AccountId32, PezspNposElectionsSupport]>> | ([AccountId32 | string | Uint8Array, PezspNposElectionsSupport])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[AccountId32, PezspNposElectionsSupport]>>]>;
|
setEmergencyElectionResult: AugmentedSubmittable<(supports: Vec<ITuple<[PezspCoreCryptoAccountId32, PezspNposElectionsSupport]>> | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[PezspCoreCryptoAccountId32, PezspNposElectionsSupport]>>]>;
|
||||||
/**
|
/**
|
||||||
* Set a new value for `MinimumUntrustedScore`.
|
* Set a new value for `MinimumUntrustedScore`.
|
||||||
*
|
*
|
||||||
@@ -1453,7 +1453,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* ## Complexity
|
* ## Complexity
|
||||||
* - `O(1)`.
|
* - `O(1)`.
|
||||||
**/
|
**/
|
||||||
forceTransfer: AugmentedSubmittable<(updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, index: u32 | AnyNumber | Uint8Array, freeze: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u32, bool]>;
|
forceTransfer: AugmentedSubmittable<(updated: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, index: u32 | AnyNumber | Uint8Array, freeze: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, u32, bool]>;
|
||||||
/**
|
/**
|
||||||
* Free up an index owned by the sender.
|
* Free up an index owned by the sender.
|
||||||
*
|
*
|
||||||
@@ -1511,7 +1511,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* ## Complexity
|
* ## Complexity
|
||||||
* - `O(1)`.
|
* - `O(1)`.
|
||||||
**/
|
**/
|
||||||
transfer: AugmentedSubmittable<(updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u32]>;
|
transfer: AugmentedSubmittable<(updated: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, u32]>;
|
||||||
/**
|
/**
|
||||||
* Generic tx
|
* Generic tx
|
||||||
**/
|
**/
|
||||||
@@ -1588,7 +1588,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit
|
* - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit
|
||||||
* taken for its lifetime of `DepositBase + threshold * DepositFactor`.
|
* taken for its lifetime of `DepositBase + threshold * DepositFactor`.
|
||||||
**/
|
**/
|
||||||
approveAsMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], maybeTimepoint: Option<PezpalletMultisigTimepoint> | null | Uint8Array | PezpalletMultisigTimepoint, callHash: U8aFixed | string | Uint8Array, maxWeight: PezspWeightsWeightV2Weight) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, Option<PezpalletMultisigTimepoint>, U8aFixed, PezspWeightsWeightV2Weight]>;
|
approveAsMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<PezspCoreCryptoAccountId32> | string | Uint8Array, maybeTimepoint: Option<PezpalletMultisigTimepoint> | null | Uint8Array | PezpalletMultisigTimepoint, callHash: U8aFixed | string | Uint8Array, maxWeight: PezspWeightsWeightV2Weight) => SubmittableExtrinsic<ApiType>, [u16, Vec<PezspCoreCryptoAccountId32>, Option<PezpalletMultisigTimepoint>, U8aFixed, PezspWeightsWeightV2Weight]>;
|
||||||
/**
|
/**
|
||||||
* Register approval for a dispatch to be made from a deterministic composite account if
|
* Register approval for a dispatch to be made from a deterministic composite account if
|
||||||
* approved by a total of `threshold - 1` of `other_signatories`.
|
* approved by a total of `threshold - 1` of `other_signatories`.
|
||||||
@@ -1630,7 +1630,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit
|
* - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit
|
||||||
* taken for its lifetime of `DepositBase + threshold * DepositFactor`.
|
* taken for its lifetime of `DepositBase + threshold * DepositFactor`.
|
||||||
**/
|
**/
|
||||||
asMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], maybeTimepoint: Option<PezpalletMultisigTimepoint> | null | Uint8Array | PezpalletMultisigTimepoint, call: RuntimeCall | IMethod | string | Uint8Array, maxWeight: PezspWeightsWeightV2Weight) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, Option<PezpalletMultisigTimepoint>, RuntimeCall, PezspWeightsWeightV2Weight]>;
|
asMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<PezspCoreCryptoAccountId32> | string | Uint8Array, maybeTimepoint: Option<PezpalletMultisigTimepoint> | null | Uint8Array | PezpalletMultisigTimepoint, call: RuntimeCall | IMethod | string | Uint8Array, maxWeight: PezspWeightsWeightV2Weight) => SubmittableExtrinsic<ApiType>, [u16, Vec<PezspCoreCryptoAccountId32>, Option<PezpalletMultisigTimepoint>, RuntimeCall, PezspWeightsWeightV2Weight]>;
|
||||||
/**
|
/**
|
||||||
* Immediately dispatch a multi-signature call using a single approval from the caller.
|
* Immediately dispatch a multi-signature call using a single approval from the caller.
|
||||||
*
|
*
|
||||||
@@ -1645,7 +1645,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* ## Complexity
|
* ## Complexity
|
||||||
* O(Z + C) where Z is the length of the call and C its execution weight.
|
* O(Z + C) where Z is the length of the call and C its execution weight.
|
||||||
**/
|
**/
|
||||||
asMultiThreshold1: AugmentedSubmittable<(otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], call: RuntimeCall | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>, RuntimeCall]>;
|
asMultiThreshold1: AugmentedSubmittable<(otherSignatories: Vec<PezspCoreCryptoAccountId32> | string | Uint8Array, call: RuntimeCall | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<PezspCoreCryptoAccountId32>, RuntimeCall]>;
|
||||||
/**
|
/**
|
||||||
* Cancel a pre-existing, on-going multisig transaction. Any deposit reserved previously
|
* Cancel a pre-existing, on-going multisig transaction. Any deposit reserved previously
|
||||||
* for this operation will be unreserved on success.
|
* for this operation will be unreserved on success.
|
||||||
@@ -1669,7 +1669,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* - I/O: 1 read `O(S)`, one remove.
|
* - I/O: 1 read `O(S)`, one remove.
|
||||||
* - Storage: removes one item.
|
* - Storage: removes one item.
|
||||||
**/
|
**/
|
||||||
cancelAsMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], timepoint: PezpalletMultisigTimepoint, callHash: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, PezpalletMultisigTimepoint, U8aFixed]>;
|
cancelAsMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<PezspCoreCryptoAccountId32> | string | Uint8Array, timepoint: PezpalletMultisigTimepoint, callHash: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<PezspCoreCryptoAccountId32>, PezpalletMultisigTimepoint, U8aFixed]>;
|
||||||
/**
|
/**
|
||||||
* Poke the deposit reserved for an existing multisig operation.
|
* Poke the deposit reserved for an existing multisig operation.
|
||||||
*
|
*
|
||||||
@@ -1685,7 +1685,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* Emits `DepositPoked` if successful.
|
* Emits `DepositPoked` if successful.
|
||||||
**/
|
**/
|
||||||
pokeDeposit: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], callHash: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, U8aFixed]>;
|
pokeDeposit: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<PezspCoreCryptoAccountId32> | string | Uint8Array, callHash: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<PezspCoreCryptoAccountId32>, U8aFixed]>;
|
||||||
/**
|
/**
|
||||||
* Generic tx
|
* Generic tx
|
||||||
**/
|
**/
|
||||||
@@ -1713,7 +1713,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* is successful, fee is refunded and caller may be rewarded with a part of the slash
|
* is successful, fee is refunded and caller may be rewarded with a part of the slash
|
||||||
* based on the [`crate::pallet::Config::StakeAdapter`] configuration.
|
* based on the [`crate::pallet::Config::StakeAdapter`] configuration.
|
||||||
**/
|
**/
|
||||||
applySlash: AugmentedSubmittable<(memberAccount: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
applySlash: AugmentedSubmittable<(memberAccount: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Bond `extra` more funds from `origin` into the pool to which they already belong.
|
* Bond `extra` more funds from `origin` into the pool to which they already belong.
|
||||||
*
|
*
|
||||||
@@ -1735,7 +1735,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* `other` members assuming set_claim_permission for the given member is
|
* `other` members assuming set_claim_permission for the given member is
|
||||||
* `PermissionlessCompound` or `PermissionlessAll`.
|
* `PermissionlessCompound` or `PermissionlessAll`.
|
||||||
**/
|
**/
|
||||||
bondExtraOther: AugmentedSubmittable<(member: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, extra: PezpalletNominationPoolsBondExtra) => SubmittableExtrinsic<ApiType>, [MultiAddress, PezpalletNominationPoolsBondExtra]>;
|
bondExtraOther: AugmentedSubmittable<(member: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, extra: PezpalletNominationPoolsBondExtra) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, PezpalletNominationPoolsBondExtra]>;
|
||||||
/**
|
/**
|
||||||
* Chill on behalf of the pool.
|
* Chill on behalf of the pool.
|
||||||
*
|
*
|
||||||
@@ -1792,7 +1792,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* Pool member `other` must have a `PermissionlessWithdraw` or `PermissionlessAll` claim
|
* Pool member `other` must have a `PermissionlessWithdraw` or `PermissionlessAll` claim
|
||||||
* permission for this call to be successful.
|
* permission for this call to be successful.
|
||||||
**/
|
**/
|
||||||
claimPayoutOther: AugmentedSubmittable<(other: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
claimPayoutOther: AugmentedSubmittable<(other: PezspCoreCryptoAccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Create a new delegation pool.
|
* Create a new delegation pool.
|
||||||
*
|
*
|
||||||
@@ -1812,7 +1812,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* In addition to `amount`, the caller will transfer the existential deposit; so the caller
|
* In addition to `amount`, the caller will transfer the existential deposit; so the caller
|
||||||
* needs at have at least `amount + existential_deposit` transferable.
|
* needs at have at least `amount + existential_deposit` transferable.
|
||||||
**/
|
**/
|
||||||
create: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, root: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, nominator: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, bouncer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress, MultiAddress, MultiAddress]>;
|
create: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, root: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, nominator: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, bouncer: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, PezspRuntimeMultiAddress, PezspRuntimeMultiAddress, PezspRuntimeMultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Create a new delegation pool with a previously used pool id
|
* Create a new delegation pool with a previously used pool id
|
||||||
*
|
*
|
||||||
@@ -1821,7 +1821,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* same as `create` with the inclusion of
|
* same as `create` with the inclusion of
|
||||||
* * `pool_id` - `A valid PoolId.
|
* * `pool_id` - `A valid PoolId.
|
||||||
**/
|
**/
|
||||||
createWithPoolId: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, root: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, nominator: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, bouncer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress, MultiAddress, MultiAddress, u32]>;
|
createWithPoolId: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, root: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, nominator: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, bouncer: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, PezspRuntimeMultiAddress, PezspRuntimeMultiAddress, PezspRuntimeMultiAddress, u32]>;
|
||||||
/**
|
/**
|
||||||
* Stake funds with a pool. The amount to bond is delegated (or transferred based on
|
* Stake funds with a pool. The amount to bond is delegated (or transferred based on
|
||||||
* [`adapter::StakeStrategyType`]) from the member to the pool account and immediately
|
* [`adapter::StakeStrategyType`]) from the member to the pool account and immediately
|
||||||
@@ -1852,7 +1852,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* If the pool has migrated to delegation based staking, the staked tokens of pool members
|
* If the pool has migrated to delegation based staking, the staked tokens of pool members
|
||||||
* can be moved and held in their own account. See [`adapter::DelegateStake`]
|
* can be moved and held in their own account. See [`adapter::DelegateStake`]
|
||||||
**/
|
**/
|
||||||
migrateDelegation: AugmentedSubmittable<(memberAccount: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
migrateDelegation: AugmentedSubmittable<(memberAccount: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Migrate pool from [`adapter::StakeStrategyType::Transfer`] to
|
* Migrate pool from [`adapter::StakeStrategyType::Transfer`] to
|
||||||
* [`adapter::StakeStrategyType::Delegate`].
|
* [`adapter::StakeStrategyType::Delegate`].
|
||||||
@@ -1879,7 +1879,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* In addition to a `root` or `nominator` role of `origin`, the pool's depositor needs to
|
* In addition to a `root` or `nominator` role of `origin`, the pool's depositor needs to
|
||||||
* have at least `depositor_min_bond` in the pool to start nominating.
|
* have at least `depositor_min_bond` in the pool to start nominating.
|
||||||
**/
|
**/
|
||||||
nominate: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, validators: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<AccountId32>]>;
|
nominate: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, validators: Vec<PezspCoreCryptoAccountId32> | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Vec<PezspCoreCryptoAccountId32>]>;
|
||||||
/**
|
/**
|
||||||
* Call `withdraw_unbonded` for the pools account. This call can be made by any account.
|
* Call `withdraw_unbonded` for the pools account. This call can be made by any account.
|
||||||
*
|
*
|
||||||
@@ -1906,7 +1906,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* - If a `None` is supplied to `new_commission`, existing commission will be removed.
|
* - If a `None` is supplied to `new_commission`, existing commission will be removed.
|
||||||
**/
|
**/
|
||||||
setCommission: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, newCommission: Option<ITuple<[Perbill, AccountId32]>> | null | Uint8Array | ITuple<[Perbill, AccountId32]> | [Perbill | AnyNumber | Uint8Array, AccountId32 | string | Uint8Array]) => SubmittableExtrinsic<ApiType>, [u32, Option<ITuple<[Perbill, AccountId32]>>]>;
|
setCommission: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, newCommission: Option<ITuple<[u32, PezspCoreCryptoAccountId32]>> | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Option<ITuple<[u32, PezspCoreCryptoAccountId32]>>]>;
|
||||||
/**
|
/**
|
||||||
* Set the commission change rate for a pool.
|
* Set the commission change rate for a pool.
|
||||||
*
|
*
|
||||||
@@ -1928,7 +1928,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* - Current commission will be lowered in the event it is higher than a new max
|
* - Current commission will be lowered in the event it is higher than a new max
|
||||||
* commission.
|
* commission.
|
||||||
**/
|
**/
|
||||||
setCommissionMax: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, maxCommission: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Perbill]>;
|
setCommissionMax: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, maxCommission: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
|
||||||
/**
|
/**
|
||||||
* Update configurations for the nomination pools. The origin for this call must be
|
* Update configurations for the nomination pools. The origin for this call must be
|
||||||
* [`Config::AdminOrigin`].
|
* [`Config::AdminOrigin`].
|
||||||
@@ -1996,7 +1996,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* in which case, the result of this call will likely be the `NoMoreChunks` error from the
|
* in which case, the result of this call will likely be the `NoMoreChunks` error from the
|
||||||
* staking system.
|
* staking system.
|
||||||
**/
|
**/
|
||||||
unbond: AugmentedSubmittable<(memberAccount: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, unbondingPoints: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
|
unbond: AugmentedSubmittable<(memberAccount: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, unbondingPoints: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, Compact<u128>]>;
|
||||||
/**
|
/**
|
||||||
* Update the roles of the pool.
|
* Update the roles of the pool.
|
||||||
*
|
*
|
||||||
@@ -2006,7 +2006,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* It emits an event, notifying UIs of the role change. This event is quite relevant to
|
* It emits an event, notifying UIs of the role change. This event is quite relevant to
|
||||||
* most pool members and they should be informed of changes to pool roles.
|
* most pool members and they should be informed of changes to pool roles.
|
||||||
**/
|
**/
|
||||||
updateRoles: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, newRoot: PezpalletNominationPoolsConfigOpAccountId32, newNominator: PezpalletNominationPoolsConfigOpAccountId32, newBouncer: PezpalletNominationPoolsConfigOpAccountId32) => SubmittableExtrinsic<ApiType>, [u32, PezpalletNominationPoolsConfigOpAccountId32, PezpalletNominationPoolsConfigOpAccountId32, PezpalletNominationPoolsConfigOpAccountId32]>;
|
updateRoles: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, newRoot: PezpalletNominationPoolsConfigOpAccountId32 | string | Uint8Array, newNominator: PezpalletNominationPoolsConfigOpAccountId32 | string | Uint8Array, newBouncer: PezpalletNominationPoolsConfigOpAccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PezpalletNominationPoolsConfigOpAccountId32, PezpalletNominationPoolsConfigOpAccountId32, PezpalletNominationPoolsConfigOpAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Withdraw unbonded funds from `member_account`. If no bonded funds can be unbonded, an
|
* Withdraw unbonded funds from `member_account`. If no bonded funds can be unbonded, an
|
||||||
* error is returned.
|
* error is returned.
|
||||||
@@ -2031,7 +2031,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* withdraw. This calculation adds some weight overhead and is only defensive. In reality,
|
* withdraw. This calculation adds some weight overhead and is only defensive. In reality,
|
||||||
* pool slashes must have been already applied via permissionless [`Call::apply_slash`].
|
* pool slashes must have been already applied via permissionless [`Call::apply_slash`].
|
||||||
**/
|
**/
|
||||||
withdrawUnbonded: AugmentedSubmittable<(memberAccount: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u32]>;
|
withdrawUnbonded: AugmentedSubmittable<(memberAccount: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, u32]>;
|
||||||
/**
|
/**
|
||||||
* Generic tx
|
* Generic tx
|
||||||
**/
|
**/
|
||||||
@@ -2276,7 +2276,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* - `delay`: The announcement period required of the initial proxy. Will generally be
|
* - `delay`: The announcement period required of the initial proxy. Will generally be
|
||||||
* zero.
|
* zero.
|
||||||
**/
|
**/
|
||||||
addProxy: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: PezkuwiRuntimeConstantsProxyProxyType, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PezkuwiRuntimeConstantsProxyProxyType, u32]>;
|
addProxy: AugmentedSubmittable<(delegate: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, proxyType: PezkuwiRuntimeConstantsProxyProxyType, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, PezkuwiRuntimeConstantsProxyProxyType, u32]>;
|
||||||
/**
|
/**
|
||||||
* Publish the hash of a proxy-call that will be made in the future.
|
* Publish the hash of a proxy-call that will be made in the future.
|
||||||
*
|
*
|
||||||
@@ -2294,7 +2294,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* - `real`: The account that the proxy will make a call on behalf of.
|
* - `real`: The account that the proxy will make a call on behalf of.
|
||||||
* - `call_hash`: The hash of the call to be made by the `real` account.
|
* - `call_hash`: The hash of the call to be made by the `real` account.
|
||||||
**/
|
**/
|
||||||
announce: AugmentedSubmittable<(real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256]>;
|
announce: AugmentedSubmittable<(real: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, H256]>;
|
||||||
/**
|
/**
|
||||||
* Spawn a fresh new account that is guaranteed to be otherwise inaccessible, and
|
* Spawn a fresh new account that is guaranteed to be otherwise inaccessible, and
|
||||||
* initialize it with a proxy of `proxy_type` for `origin` sender.
|
* initialize it with a proxy of `proxy_type` for `origin` sender.
|
||||||
@@ -2334,7 +2334,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* Fails with `NoPermission` in case the caller is not a previously created pure
|
* Fails with `NoPermission` in case the caller is not a previously created pure
|
||||||
* account whose `create_pure` call has corresponding parameters.
|
* account whose `create_pure` call has corresponding parameters.
|
||||||
**/
|
**/
|
||||||
killPure: AugmentedSubmittable<(spawner: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: PezkuwiRuntimeConstantsProxyProxyType, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PezkuwiRuntimeConstantsProxyProxyType, u16, Compact<u32>, Compact<u32>]>;
|
killPure: AugmentedSubmittable<(spawner: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, proxyType: PezkuwiRuntimeConstantsProxyProxyType, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, PezkuwiRuntimeConstantsProxyProxyType, u16, Compact<u32>, Compact<u32>]>;
|
||||||
/**
|
/**
|
||||||
* Poke / Adjust deposits made for proxies and announcements based on current values.
|
* Poke / Adjust deposits made for proxies and announcements based on current values.
|
||||||
* This can be used by accounts to possibly lower their locked amount.
|
* This can be used by accounts to possibly lower their locked amount.
|
||||||
@@ -2357,7 +2357,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call.
|
* - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call.
|
||||||
* - `call`: The call to be made by the `real` account.
|
* - `call`: The call to be made by the `real` account.
|
||||||
**/
|
**/
|
||||||
proxy: AugmentedSubmittable<(real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, forceProxyType: Option<PezkuwiRuntimeConstantsProxyProxyType> | null | Uint8Array | PezkuwiRuntimeConstantsProxyProxyType, call: RuntimeCall | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Option<PezkuwiRuntimeConstantsProxyProxyType>, RuntimeCall]>;
|
proxy: AugmentedSubmittable<(real: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, forceProxyType: Option<PezkuwiRuntimeConstantsProxyProxyType> | null | Uint8Array | PezkuwiRuntimeConstantsProxyProxyType, call: RuntimeCall | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, Option<PezkuwiRuntimeConstantsProxyProxyType>, RuntimeCall]>;
|
||||||
/**
|
/**
|
||||||
* Dispatch the given `call` from an account that the sender is authorized for through
|
* Dispatch the given `call` from an account that the sender is authorized for through
|
||||||
* `add_proxy`.
|
* `add_proxy`.
|
||||||
@@ -2371,7 +2371,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call.
|
* - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call.
|
||||||
* - `call`: The call to be made by the `real` account.
|
* - `call`: The call to be made by the `real` account.
|
||||||
**/
|
**/
|
||||||
proxyAnnounced: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, forceProxyType: Option<PezkuwiRuntimeConstantsProxyProxyType> | null | Uint8Array | PezkuwiRuntimeConstantsProxyProxyType, call: RuntimeCall | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Option<PezkuwiRuntimeConstantsProxyProxyType>, RuntimeCall]>;
|
proxyAnnounced: AugmentedSubmittable<(delegate: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, real: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, forceProxyType: Option<PezkuwiRuntimeConstantsProxyProxyType> | null | Uint8Array | PezkuwiRuntimeConstantsProxyProxyType, call: RuntimeCall | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, PezspRuntimeMultiAddress, Option<PezkuwiRuntimeConstantsProxyProxyType>, RuntimeCall]>;
|
||||||
/**
|
/**
|
||||||
* Remove the given announcement of a delegate.
|
* Remove the given announcement of a delegate.
|
||||||
*
|
*
|
||||||
@@ -2384,7 +2384,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* - `delegate`: The account that previously announced the call.
|
* - `delegate`: The account that previously announced the call.
|
||||||
* - `call_hash`: The hash of the call to be made.
|
* - `call_hash`: The hash of the call to be made.
|
||||||
**/
|
**/
|
||||||
rejectAnnouncement: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256]>;
|
rejectAnnouncement: AugmentedSubmittable<(delegate: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, H256]>;
|
||||||
/**
|
/**
|
||||||
* Remove a given announcement.
|
* Remove a given announcement.
|
||||||
*
|
*
|
||||||
@@ -2397,7 +2397,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* - `real`: The account that the proxy will make a call on behalf of.
|
* - `real`: The account that the proxy will make a call on behalf of.
|
||||||
* - `call_hash`: The hash of the call to be made by the `real` account.
|
* - `call_hash`: The hash of the call to be made by the `real` account.
|
||||||
**/
|
**/
|
||||||
removeAnnouncement: AugmentedSubmittable<(real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256]>;
|
removeAnnouncement: AugmentedSubmittable<(real: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, H256]>;
|
||||||
/**
|
/**
|
||||||
* Unregister all proxy accounts for the sender.
|
* Unregister all proxy accounts for the sender.
|
||||||
*
|
*
|
||||||
@@ -2416,7 +2416,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* - `proxy`: The account that the `caller` would like to remove as a proxy.
|
* - `proxy`: The account that the `caller` would like to remove as a proxy.
|
||||||
* - `proxy_type`: The permissions currently enabled for the removed proxy account.
|
* - `proxy_type`: The permissions currently enabled for the removed proxy account.
|
||||||
**/
|
**/
|
||||||
removeProxy: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: PezkuwiRuntimeConstantsProxyProxyType, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PezkuwiRuntimeConstantsProxyProxyType, u32]>;
|
removeProxy: AugmentedSubmittable<(delegate: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, proxyType: PezkuwiRuntimeConstantsProxyProxyType, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, PezkuwiRuntimeConstantsProxyProxyType, u32]>;
|
||||||
/**
|
/**
|
||||||
* Generic tx
|
* Generic tx
|
||||||
**/
|
**/
|
||||||
@@ -2445,7 +2445,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* The accounts must have no consumers references.
|
* The accounts must have no consumers references.
|
||||||
**/
|
**/
|
||||||
preserveAccounts: AugmentedSubmittable<(accounts: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
|
preserveAccounts: AugmentedSubmittable<(accounts: Vec<PezspCoreCryptoAccountId32> | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<PezspCoreCryptoAccountId32>]>;
|
||||||
/**
|
/**
|
||||||
* Receive a query response from the Asset Hub for a previously sent xcm message.
|
* Receive a query response from the Asset Hub for a previously sent xcm message.
|
||||||
**/
|
**/
|
||||||
@@ -2495,14 +2495,14 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* The canceller can only stop scheduled migration.
|
* The canceller can only stop scheduled migration.
|
||||||
**/
|
**/
|
||||||
setCanceller: AugmentedSubmittable<(updated: Option<AccountId32> | null | Uint8Array | AccountId32 | string) => SubmittableExtrinsic<ApiType>, [Option<AccountId32>]>;
|
setCanceller: AugmentedSubmittable<(updated: Option<PezspCoreCryptoAccountId32> | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Option<PezspCoreCryptoAccountId32>]>;
|
||||||
/**
|
/**
|
||||||
* Set the manager account id.
|
* Set the manager account id.
|
||||||
*
|
*
|
||||||
* The manager has the similar to [`Config::AdminOrigin`] privileges except that it
|
* The manager has the similar to [`Config::AdminOrigin`] privileges except that it
|
||||||
* can not set the manager account id via `set_manager` call.
|
* can not set the manager account id via `set_manager` call.
|
||||||
**/
|
**/
|
||||||
setManager: AugmentedSubmittable<(updated: Option<AccountId32> | null | Uint8Array | AccountId32 | string) => SubmittableExtrinsic<ApiType>, [Option<AccountId32>]>;
|
setManager: AugmentedSubmittable<(updated: Option<PezspCoreCryptoAccountId32> | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Option<PezspCoreCryptoAccountId32>]>;
|
||||||
/**
|
/**
|
||||||
* Set the migration settings. Can only be done by admin or manager.
|
* Set the migration settings. Can only be done by admin or manager.
|
||||||
**/
|
**/
|
||||||
@@ -2657,7 +2657,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* The deposit taken can be specified for this registration. Any `ParaId`
|
* The deposit taken can be specified for this registration. Any `ParaId`
|
||||||
* can be registered, including sub-1000 IDs which are System Parachains.
|
* can be registered, including sub-1000 IDs which are System Parachains.
|
||||||
**/
|
**/
|
||||||
forceRegister: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array, deposit: u128 | AnyNumber | Uint8Array, id: u32 | AnyNumber | Uint8Array, genesisHead: Bytes | string | Uint8Array, validationCode: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u128, u32, Bytes, Bytes]>;
|
forceRegister: AugmentedSubmittable<(who: PezspCoreCryptoAccountId32 | string | Uint8Array, deposit: u128 | AnyNumber | Uint8Array, id: u32 | AnyNumber | Uint8Array, genesisHead: Bytes | string | Uint8Array, validationCode: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspCoreCryptoAccountId32, u128, u32, Bytes, Bytes]>;
|
||||||
/**
|
/**
|
||||||
* Register head data and validation code for a reserved Para Id.
|
* Register head data and validation code for a reserved Para Id.
|
||||||
*
|
*
|
||||||
@@ -2863,7 +2863,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* The dispatch origin for this call must match `T::ForceOrigin`.
|
* The dispatch origin for this call must match `T::ForceOrigin`.
|
||||||
**/
|
**/
|
||||||
forceLease: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, leaser: AccountId32 | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, periodBegin: u32 | AnyNumber | Uint8Array, periodCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, AccountId32, u128, u32, u32]>;
|
forceLease: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, leaser: PezspCoreCryptoAccountId32 | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, periodBegin: u32 | AnyNumber | Uint8Array, periodCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PezspCoreCryptoAccountId32, u128, u32, u32]>;
|
||||||
/**
|
/**
|
||||||
* Try to onboard a parachain that has a lease for the current lease period.
|
* Try to onboard a parachain that has a lease for the current lease period.
|
||||||
*
|
*
|
||||||
@@ -2966,7 +2966,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* This can be helpful if bond requirements are updated, and we need to remove old users
|
* This can be helpful if bond requirements are updated, and we need to remove old users
|
||||||
* who do not satisfy these requirements.
|
* who do not satisfy these requirements.
|
||||||
**/
|
**/
|
||||||
chillOther: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
chillOther: AugmentedSubmittable<(stash: PezspCoreCryptoAccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Updates a batch of controller accounts to their corresponding stash account if they are
|
* Updates a batch of controller accounts to their corresponding stash account if they are
|
||||||
* not the same. Ignores any controller accounts that do not exist, and does not operate if
|
* not the same. Ignores any controller accounts that do not exist, and does not operate if
|
||||||
@@ -2976,13 +2976,13 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* The dispatch origin must be `T::AdminOrigin`.
|
* The dispatch origin must be `T::AdminOrigin`.
|
||||||
**/
|
**/
|
||||||
deprecateControllerBatch: AugmentedSubmittable<(controllers: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
|
deprecateControllerBatch: AugmentedSubmittable<(controllers: Vec<PezspCoreCryptoAccountId32> | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<PezspCoreCryptoAccountId32>]>;
|
||||||
/**
|
/**
|
||||||
* Force a validator to have at least the minimum commission. This will not affect a
|
* Force a validator to have at least the minimum commission. This will not affect a
|
||||||
* validator who already has a commission greater than or equal to the minimum. Any account
|
* validator who already has a commission greater than or equal to the minimum. Any account
|
||||||
* can call this.
|
* can call this.
|
||||||
**/
|
**/
|
||||||
forceApplyMinCommission: AugmentedSubmittable<(validatorStash: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
forceApplyMinCommission: AugmentedSubmittable<(validatorStash: PezspCoreCryptoAccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Force there to be a new era at the end of the next session. After this, it will be
|
* Force there to be a new era at the end of the next session. After this, it will be
|
||||||
* reset to normal (non-forced) behaviour.
|
* reset to normal (non-forced) behaviour.
|
||||||
@@ -3038,7 +3038,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* - `num_slashing_spans`: Refer to comments on [`Call::withdraw_unbonded`] for more
|
* - `num_slashing_spans`: Refer to comments on [`Call::withdraw_unbonded`] for more
|
||||||
* details.
|
* details.
|
||||||
**/
|
**/
|
||||||
forceUnstake: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array, numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32]>;
|
forceUnstake: AugmentedSubmittable<(stash: PezspCoreCryptoAccountId32 | string | Uint8Array, numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspCoreCryptoAccountId32, u32]>;
|
||||||
/**
|
/**
|
||||||
* Increments the ideal number of validators up to maximum of
|
* Increments the ideal number of validators up to maximum of
|
||||||
* `ElectionProviderBase::MaxWinners`.
|
* `ElectionProviderBase::MaxWinners`.
|
||||||
@@ -3062,7 +3062,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* Note: Making this call only makes sense if you first set the validator preferences to
|
* Note: Making this call only makes sense if you first set the validator preferences to
|
||||||
* block any further nominations.
|
* block any further nominations.
|
||||||
**/
|
**/
|
||||||
kick: AugmentedSubmittable<(who: Vec<MultiAddress> | (MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<MultiAddress>]>;
|
kick: AugmentedSubmittable<(who: Vec<PezspRuntimeMultiAddress> | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<PezspRuntimeMultiAddress>]>;
|
||||||
/**
|
/**
|
||||||
* This function allows governance to manually slash a validator and is a
|
* This function allows governance to manually slash a validator and is a
|
||||||
* **fallback mechanism**.
|
* **fallback mechanism**.
|
||||||
@@ -3086,7 +3086,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* will be applied.
|
* will be applied.
|
||||||
* - The slash will be deferred by `SlashDeferDuration` eras before being enacted.
|
* - The slash will be deferred by `SlashDeferDuration` eras before being enacted.
|
||||||
**/
|
**/
|
||||||
manualSlash: AugmentedSubmittable<(validatorStash: AccountId32 | string | Uint8Array, era: u32 | AnyNumber | Uint8Array, slashFraction: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32, Perbill]>;
|
manualSlash: AugmentedSubmittable<(validatorStash: PezspCoreCryptoAccountId32 | string | Uint8Array, era: u32 | AnyNumber | Uint8Array, slashFraction: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspCoreCryptoAccountId32, u32, u32]>;
|
||||||
/**
|
/**
|
||||||
* Removes the legacy Staking locks if they exist.
|
* Removes the legacy Staking locks if they exist.
|
||||||
*
|
*
|
||||||
@@ -3096,7 +3096,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* The fee is waived if the migration is successful.
|
* The fee is waived if the migration is successful.
|
||||||
**/
|
**/
|
||||||
migrateCurrency: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
migrateCurrency: AugmentedSubmittable<(stash: PezspCoreCryptoAccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Declare the desire to nominate `targets` for the origin controller.
|
* Declare the desire to nominate `targets` for the origin controller.
|
||||||
*
|
*
|
||||||
@@ -3109,7 +3109,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* which is capped at CompactAssignments::LIMIT (T::MaxNominations).
|
* which is capped at CompactAssignments::LIMIT (T::MaxNominations).
|
||||||
* - Both the reads and writes follow a similar pattern.
|
* - Both the reads and writes follow a similar pattern.
|
||||||
**/
|
**/
|
||||||
nominate: AugmentedSubmittable<(targets: Vec<MultiAddress> | (MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<MultiAddress>]>;
|
nominate: AugmentedSubmittable<(targets: Vec<PezspRuntimeMultiAddress> | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<PezspRuntimeMultiAddress>]>;
|
||||||
/**
|
/**
|
||||||
* Pay out next page of the stakers behind a validator for the given era.
|
* Pay out next page of the stakers behind a validator for the given era.
|
||||||
*
|
*
|
||||||
@@ -3125,7 +3125,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* If all pages are claimed, it returns an error `InvalidPage`.
|
* If all pages are claimed, it returns an error `InvalidPage`.
|
||||||
**/
|
**/
|
||||||
payoutStakers: AugmentedSubmittable<(validatorStash: AccountId32 | string | Uint8Array, era: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32]>;
|
payoutStakers: AugmentedSubmittable<(validatorStash: PezspCoreCryptoAccountId32 | string | Uint8Array, era: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspCoreCryptoAccountId32, u32]>;
|
||||||
/**
|
/**
|
||||||
* Pay out a page of the stakers behind a validator for the given era and page.
|
* Pay out a page of the stakers behind a validator for the given era and page.
|
||||||
*
|
*
|
||||||
@@ -3145,7 +3145,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* and so it should not be assumed the highest staker would be on the topmost page and vice
|
* and so it should not be assumed the highest staker would be on the topmost page and vice
|
||||||
* versa. If rewards are not claimed in [`Config::HistoryDepth`] eras, they are lost.
|
* versa. If rewards are not claimed in [`Config::HistoryDepth`] eras, they are lost.
|
||||||
**/
|
**/
|
||||||
payoutStakersByPage: AugmentedSubmittable<(validatorStash: AccountId32 | string | Uint8Array, era: u32 | AnyNumber | Uint8Array, page: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32, u32]>;
|
payoutStakersByPage: AugmentedSubmittable<(validatorStash: PezspCoreCryptoAccountId32 | string | Uint8Array, era: u32 | AnyNumber | Uint8Array, page: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspCoreCryptoAccountId32, u32, u32]>;
|
||||||
/**
|
/**
|
||||||
* Remove all data structures concerning a staker/stash once it is at a state where it can
|
* Remove all data structures concerning a staker/stash once it is at a state where it can
|
||||||
* be considered `dust` in the staking system. The requirements are:
|
* be considered `dust` in the staking system. The requirements are:
|
||||||
@@ -3166,7 +3166,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* - `num_slashing_spans`: Refer to comments on [`Call::withdraw_unbonded`] for more
|
* - `num_slashing_spans`: Refer to comments on [`Call::withdraw_unbonded`] for more
|
||||||
* details.
|
* details.
|
||||||
**/
|
**/
|
||||||
reapStash: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array, numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32]>;
|
reapStash: AugmentedSubmittable<(stash: PezspCoreCryptoAccountId32 | string | Uint8Array, numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspCoreCryptoAccountId32, u32]>;
|
||||||
/**
|
/**
|
||||||
* Rebond a portion of the stash scheduled to be unlocked.
|
* Rebond a portion of the stash scheduled to be unlocked.
|
||||||
*
|
*
|
||||||
@@ -3190,7 +3190,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* ledger associated with the stash. If the input parameters are not set, the ledger will
|
* ledger associated with the stash. If the input parameters are not set, the ledger will
|
||||||
* be reset values from on-chain state.
|
* be reset values from on-chain state.
|
||||||
**/
|
**/
|
||||||
restoreLedger: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array, maybeController: Option<AccountId32> | null | Uint8Array | AccountId32 | string, maybeTotal: Option<u128> | null | Uint8Array | u128 | AnyNumber, maybeUnlocking: Option<Vec<PezpalletStakingUnlockChunk>> | null | Uint8Array | Vec<PezpalletStakingUnlockChunk> | (PezpalletStakingUnlockChunk)[]) => SubmittableExtrinsic<ApiType>, [AccountId32, Option<AccountId32>, Option<u128>, Option<Vec<PezpalletStakingUnlockChunk>>]>;
|
restoreLedger: AugmentedSubmittable<(stash: PezspCoreCryptoAccountId32 | string | Uint8Array, maybeController: Option<PezspCoreCryptoAccountId32> | string | Uint8Array, maybeTotal: Option<u128> | null | Uint8Array | u128 | AnyNumber, maybeUnlocking: Option<Vec<PezpalletStakingUnlockChunk>> | null | Uint8Array | Vec<PezpalletStakingUnlockChunk> | (PezpalletStakingUnlockChunk)[]) => SubmittableExtrinsic<ApiType>, [PezspCoreCryptoAccountId32, Option<PezspCoreCryptoAccountId32>, Option<u128>, Option<Vec<PezpalletStakingUnlockChunk>>]>;
|
||||||
/**
|
/**
|
||||||
* Scale up the ideal number of validators by a factor up to maximum of
|
* Scale up the ideal number of validators by a factor up to maximum of
|
||||||
* `ElectionProviderBase::MaxWinners`.
|
* `ElectionProviderBase::MaxWinners`.
|
||||||
@@ -3200,7 +3200,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* ## Complexity
|
* ## Complexity
|
||||||
* Same as [`Self::set_validator_count`].
|
* Same as [`Self::set_validator_count`].
|
||||||
**/
|
**/
|
||||||
scaleValidatorCount: AugmentedSubmittable<(factor: Percent | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Percent]>;
|
scaleValidatorCount: AugmentedSubmittable<(factor: u8 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u8]>;
|
||||||
/**
|
/**
|
||||||
* (Re-)sets the controller of a stash to the stash itself. This function previously
|
* (Re-)sets the controller of a stash to the stash itself. This function previously
|
||||||
* accepted a `controller` argument to set the controller to an account other than the
|
* accepted a `controller` argument to set the controller to an account other than the
|
||||||
@@ -3223,14 +3223,14 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* The dispatch origin must be Root.
|
* The dispatch origin must be Root.
|
||||||
**/
|
**/
|
||||||
setInvulnerables: AugmentedSubmittable<(invulnerables: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
|
setInvulnerables: AugmentedSubmittable<(invulnerables: Vec<PezspCoreCryptoAccountId32> | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<PezspCoreCryptoAccountId32>]>;
|
||||||
/**
|
/**
|
||||||
* Sets the minimum amount of commission that each validators must maintain.
|
* Sets the minimum amount of commission that each validators must maintain.
|
||||||
*
|
*
|
||||||
* This call has lower privilege requirements than `set_staking_config` and can be called
|
* This call has lower privilege requirements than `set_staking_config` and can be called
|
||||||
* by the `T::AdminOrigin`. Root can always call this.
|
* by the `T::AdminOrigin`. Root can always call this.
|
||||||
**/
|
**/
|
||||||
setMinCommission: AugmentedSubmittable<(updated: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Perbill]>;
|
setMinCommission: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
||||||
/**
|
/**
|
||||||
* (Re-)set the payment target for a controller.
|
* (Re-)set the payment target for a controller.
|
||||||
*
|
*
|
||||||
@@ -3307,7 +3307,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* This will waive the transaction fee if the `payee` is successfully migrated.
|
* This will waive the transaction fee if the `payee` is successfully migrated.
|
||||||
**/
|
**/
|
||||||
updatePayee: AugmentedSubmittable<(controller: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
updatePayee: AugmentedSubmittable<(controller: PezspCoreCryptoAccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspCoreCryptoAccountId32]>;
|
||||||
/**
|
/**
|
||||||
* Declare the desire to validate for the origin controller.
|
* Declare the desire to validate for the origin controller.
|
||||||
*
|
*
|
||||||
@@ -3651,7 +3651,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* Emits [`Event::SpendApproved`] if successful.
|
* Emits [`Event::SpendApproved`] if successful.
|
||||||
**/
|
**/
|
||||||
spendLocal: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, beneficiary: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress]>;
|
spendLocal: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, beneficiary: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, PezspRuntimeMultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Void previously approved spend.
|
* Void previously approved spend.
|
||||||
*
|
*
|
||||||
@@ -3812,7 +3812,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* - `target`: An account that has a vesting schedule
|
* - `target`: An account that has a vesting schedule
|
||||||
* - `schedule_index`: The vesting schedule index that should be removed
|
* - `schedule_index`: The vesting schedule index that should be removed
|
||||||
**/
|
**/
|
||||||
forceRemoveVestingSchedule: AugmentedSubmittable<(target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, scheduleIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u32]>;
|
forceRemoveVestingSchedule: AugmentedSubmittable<(target: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, scheduleIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, u32]>;
|
||||||
/**
|
/**
|
||||||
* Force a vested transfer.
|
* Force a vested transfer.
|
||||||
*
|
*
|
||||||
@@ -3829,7 +3829,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* ## Complexity
|
* ## Complexity
|
||||||
* - `O(1)`.
|
* - `O(1)`.
|
||||||
**/
|
**/
|
||||||
forceVestedTransfer: AugmentedSubmittable<(source: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, schedule: PezpalletVestingVestingInfo) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, PezpalletVestingVestingInfo]>;
|
forceVestedTransfer: AugmentedSubmittable<(source: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, target: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, schedule: PezpalletVestingVestingInfo) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, PezspRuntimeMultiAddress, PezpalletVestingVestingInfo]>;
|
||||||
/**
|
/**
|
||||||
* Merge two vesting schedules together, creating a new vesting schedule that unlocks over
|
* Merge two vesting schedules together, creating a new vesting schedule that unlocks over
|
||||||
* the highest possible start and end blocks. If both schedules have already started the
|
* the highest possible start and end blocks. If both schedules have already started the
|
||||||
@@ -3881,7 +3881,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* ## Complexity
|
* ## Complexity
|
||||||
* - `O(1)`.
|
* - `O(1)`.
|
||||||
**/
|
**/
|
||||||
vestedTransfer: AugmentedSubmittable<(target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, schedule: PezpalletVestingVestingInfo) => SubmittableExtrinsic<ApiType>, [MultiAddress, PezpalletVestingVestingInfo]>;
|
vestedTransfer: AugmentedSubmittable<(target: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, schedule: PezpalletVestingVestingInfo) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, PezpalletVestingVestingInfo]>;
|
||||||
/**
|
/**
|
||||||
* Unlock any vested funds of a `target` account.
|
* Unlock any vested funds of a `target` account.
|
||||||
*
|
*
|
||||||
@@ -3895,7 +3895,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* ## Complexity
|
* ## Complexity
|
||||||
* - `O(1)`.
|
* - `O(1)`.
|
||||||
**/
|
**/
|
||||||
vestOther: AugmentedSubmittable<(target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
vestOther: AugmentedSubmittable<(target: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Generic tx
|
* Generic tx
|
||||||
**/
|
**/
|
||||||
@@ -3914,13 +3914,13 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
* - both nodes are within the same bag,
|
* - both nodes are within the same bag,
|
||||||
* - and `origin` has a greater `Score` than `lighter`.
|
* - and `origin` has a greater `Score` than `lighter`.
|
||||||
**/
|
**/
|
||||||
putInFrontOf: AugmentedSubmittable<(lighter: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
putInFrontOf: AugmentedSubmittable<(lighter: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Same as [`Pallet::put_in_front_of`], but it can be called by anyone.
|
* Same as [`Pallet::put_in_front_of`], but it can be called by anyone.
|
||||||
*
|
*
|
||||||
* Fee is paid by the origin under all circumstances.
|
* Fee is paid by the origin under all circumstances.
|
||||||
**/
|
**/
|
||||||
putInFrontOfOther: AugmentedSubmittable<(heavier: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, lighter: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress]>;
|
putInFrontOfOther: AugmentedSubmittable<(heavier: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, lighter: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, PezspRuntimeMultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Declare that some `dislocated` account has, through rewards or penalties, sufficiently
|
* Declare that some `dislocated` account has, through rewards or penalties, sufficiently
|
||||||
* changed its score that it should properly fall into a different bag than its current
|
* changed its score that it should properly fall into a different bag than its current
|
||||||
@@ -3933,7 +3933,7 @@ declare module '@pezkuwi/api-base/types/submittable' {
|
|||||||
*
|
*
|
||||||
* If `dislocated` does not exists, it returns an error.
|
* If `dislocated` does not exists, it returns an error.
|
||||||
**/
|
**/
|
||||||
rebag: AugmentedSubmittable<(dislocated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
rebag: AugmentedSubmittable<(dislocated: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress]>;
|
||||||
/**
|
/**
|
||||||
* Generic tx
|
* Generic tx
|
||||||
**/
|
**/
|
||||||
|
|||||||
@@ -0,0 +1,201 @@
|
|||||||
|
Apache License
|
||||||
|
Version 2.0, January 2004
|
||||||
|
http://www.apache.org/licenses/
|
||||||
|
|
||||||
|
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||||
|
|
||||||
|
1. Definitions.
|
||||||
|
|
||||||
|
"License" shall mean the terms and conditions for use, reproduction,
|
||||||
|
and distribution as defined by Sections 1 through 9 of this document.
|
||||||
|
|
||||||
|
"Licensor" shall mean the copyright owner or entity authorized by
|
||||||
|
the copyright owner that is granting the License.
|
||||||
|
|
||||||
|
"Legal Entity" shall mean the union of the acting entity and all
|
||||||
|
other entities that control, are controlled by, or are under common
|
||||||
|
control with that entity. For the purposes of this definition,
|
||||||
|
"control" means (i) the power, direct or indirect, to cause the
|
||||||
|
direction or management of such entity, whether by contract or
|
||||||
|
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||||
|
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||||
|
|
||||||
|
"You" (or "Your") shall mean an individual or Legal Entity
|
||||||
|
exercising permissions granted by this License.
|
||||||
|
|
||||||
|
"Source" form shall mean the preferred form for making modifications,
|
||||||
|
including but not limited to software source code, documentation
|
||||||
|
source, and configuration files.
|
||||||
|
|
||||||
|
"Object" form shall mean any form resulting from mechanical
|
||||||
|
transformation or translation of a Source form, including but
|
||||||
|
not limited to compiled object code, generated documentation,
|
||||||
|
and conversions to other media types.
|
||||||
|
|
||||||
|
"Work" shall mean the work of authorship, whether in Source or
|
||||||
|
Object form, made available under the License, as indicated by a
|
||||||
|
copyright notice that is included in or attached to the work
|
||||||
|
(an example is provided in the Appendix below).
|
||||||
|
|
||||||
|
"Derivative Works" shall mean any work, whether in Source or Object
|
||||||
|
form, that is based on (or derived from) the Work and for which the
|
||||||
|
editorial revisions, annotations, elaborations, or other modifications
|
||||||
|
represent, as a whole, an original work of authorship. For the purposes
|
||||||
|
of this License, Derivative Works shall not include works that remain
|
||||||
|
separable from, or merely link (or bind by name) to the interfaces of,
|
||||||
|
the Work and Derivative Works thereof.
|
||||||
|
|
||||||
|
"Contribution" shall mean any work of authorship, including
|
||||||
|
the original version of the Work and any modifications or additions
|
||||||
|
to that Work or Derivative Works thereof, that is intentionally
|
||||||
|
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||||
|
or by an individual or Legal Entity authorized to submit on behalf of
|
||||||
|
the copyright owner. For the purposes of this definition, "submitted"
|
||||||
|
means any form of electronic, verbal, or written communication sent
|
||||||
|
to the Licensor or its representatives, including but not limited to
|
||||||
|
communication on electronic mailing lists, source code control systems,
|
||||||
|
and issue tracking systems that are managed by, or on behalf of, the
|
||||||
|
Licensor for the purpose of discussing and improving the Work, but
|
||||||
|
excluding communication that is conspicuously marked or otherwise
|
||||||
|
designated in writing by the copyright owner as "Not a Contribution."
|
||||||
|
|
||||||
|
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||||
|
on behalf of whom a Contribution has been received by Licensor and
|
||||||
|
subsequently incorporated within the Work.
|
||||||
|
|
||||||
|
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
copyright license to reproduce, prepare Derivative Works of,
|
||||||
|
publicly display, publicly perform, sublicense, and distribute the
|
||||||
|
Work and such Derivative Works in Source or Object form.
|
||||||
|
|
||||||
|
3. Grant of Patent License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
(except as stated in this section) patent license to make, have made,
|
||||||
|
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||||
|
where such license applies only to those patent claims licensable
|
||||||
|
by such Contributor that are necessarily infringed by their
|
||||||
|
Contribution(s) alone or by combination of their Contribution(s)
|
||||||
|
with the Work to which such Contribution(s) was submitted. If You
|
||||||
|
institute patent litigation against any entity (including a
|
||||||
|
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||||
|
or a Contribution incorporated within the Work constitutes direct
|
||||||
|
or contributory patent infringement, then any patent licenses
|
||||||
|
granted to You under this License for that Work shall terminate
|
||||||
|
as of the date such litigation is filed.
|
||||||
|
|
||||||
|
4. Redistribution. You may reproduce and distribute copies of the
|
||||||
|
Work or Derivative Works thereof in any medium, with or without
|
||||||
|
modifications, and in Source or Object form, provided that You
|
||||||
|
meet the following conditions:
|
||||||
|
|
||||||
|
(a) You must give any other recipients of the Work or
|
||||||
|
Derivative Works a copy of this License; and
|
||||||
|
|
||||||
|
(b) You must cause any modified files to carry prominent notices
|
||||||
|
stating that You changed the files; and
|
||||||
|
|
||||||
|
(c) You must retain, in the Source form of any Derivative Works
|
||||||
|
that You distribute, all copyright, patent, trademark, and
|
||||||
|
attribution notices from the Source form of the Work,
|
||||||
|
excluding those notices that do not pertain to any part of
|
||||||
|
the Derivative Works; and
|
||||||
|
|
||||||
|
(d) If the Work includes a "NOTICE" text file as part of its
|
||||||
|
distribution, then any Derivative Works that You distribute must
|
||||||
|
include a readable copy of the attribution notices contained
|
||||||
|
within such NOTICE file, excluding those notices that do not
|
||||||
|
pertain to any part of the Derivative Works, in at least one
|
||||||
|
of the following places: within a NOTICE text file distributed
|
||||||
|
as part of the Derivative Works; within the Source form or
|
||||||
|
documentation, if provided along with the Derivative Works; or,
|
||||||
|
within a display generated by the Derivative Works, if and
|
||||||
|
wherever such third-party notices normally appear. The contents
|
||||||
|
of the NOTICE file are for informational purposes only and
|
||||||
|
do not modify the License. You may add Your own attribution
|
||||||
|
notices within Derivative Works that You distribute, alongside
|
||||||
|
or as an addendum to the NOTICE text from the Work, provided
|
||||||
|
that such additional attribution notices cannot be construed
|
||||||
|
as modifying the License.
|
||||||
|
|
||||||
|
You may add Your own copyright statement to Your modifications and
|
||||||
|
may provide additional or different license terms and conditions
|
||||||
|
for use, reproduction, or distribution of Your modifications, or
|
||||||
|
for any such Derivative Works as a whole, provided Your use,
|
||||||
|
reproduction, and distribution of the Work otherwise complies with
|
||||||
|
the conditions stated in this License.
|
||||||
|
|
||||||
|
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||||
|
any Contribution intentionally submitted for inclusion in the Work
|
||||||
|
by You to the Licensor shall be under the terms and conditions of
|
||||||
|
this License, without any additional terms or conditions.
|
||||||
|
Notwithstanding the above, nothing herein shall supersede or modify
|
||||||
|
the terms of any separate license agreement you may have executed
|
||||||
|
with Licensor regarding such Contributions.
|
||||||
|
|
||||||
|
6. Trademarks. This License does not grant permission to use the trade
|
||||||
|
names, trademarks, service marks, or product names of the Licensor,
|
||||||
|
except as required for reasonable and customary use in describing the
|
||||||
|
origin of the Work and reproducing the content of the NOTICE file.
|
||||||
|
|
||||||
|
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||||
|
agreed to in writing, Licensor provides the Work (and each
|
||||||
|
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||||
|
implied, including, without limitation, any warranties or conditions
|
||||||
|
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||||
|
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||||
|
appropriateness of using or redistributing the Work and assume any
|
||||||
|
risks associated with Your exercise of permissions under this License.
|
||||||
|
|
||||||
|
8. Limitation of Liability. In no event and under no legal theory,
|
||||||
|
whether in tort (including negligence), contract, or otherwise,
|
||||||
|
unless required by applicable law (such as deliberate and grossly
|
||||||
|
negligent acts) or agreed to in writing, shall any Contributor be
|
||||||
|
liable to You for damages, including any direct, indirect, special,
|
||||||
|
incidental, or consequential damages of any character arising as a
|
||||||
|
result of this License or out of the use or inability to use the
|
||||||
|
Work (including but not limited to damages for loss of goodwill,
|
||||||
|
work stoppage, computer failure or malfunction, or any and all
|
||||||
|
other commercial damages or losses), even if such Contributor
|
||||||
|
has been advised of the possibility of such damages.
|
||||||
|
|
||||||
|
9. Accepting Warranty or Additional Liability. While redistributing
|
||||||
|
the Work or Derivative Works thereof, You may choose to offer,
|
||||||
|
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||||
|
or other liability obligations and/or rights consistent with this
|
||||||
|
License. However, in accepting such obligations, You may act only
|
||||||
|
on Your own behalf and on Your sole responsibility, not on behalf
|
||||||
|
of any other Contributor, and only if You agree to indemnify,
|
||||||
|
defend, and hold each Contributor harmless for any liability
|
||||||
|
incurred by, or claims asserted against, such Contributor by reason
|
||||||
|
of your accepting any such warranty or additional liability.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
APPENDIX: How to apply the Apache License to your work.
|
||||||
|
|
||||||
|
To apply the Apache License to your work, attach the following
|
||||||
|
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||||
|
replaced with your own identifying information. (Don't include
|
||||||
|
the brackets!) The text should be enclosed in the appropriate
|
||||||
|
comment syntax for the file format. We also recommend that a
|
||||||
|
file or class name and description of purpose be included on the
|
||||||
|
same "printed page" as the copyright notice for easier
|
||||||
|
identification within third-party archives.
|
||||||
|
|
||||||
|
Copyright [yyyy] [name of copyright owner]
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"author": "Jaco Greeff <jacogr@gmail.com>",
|
"author": "PezkuwiChain <dev@pezkuwichain.io>",
|
||||||
"bugs": "https://github.com/pezkuwichain/pezkuwi-api/issues",
|
"bugs": "https://github.com/pezkuwichain/pezkuwi-api/issues",
|
||||||
"description": "Interfaces for interacting with contracts and contract ABIs",
|
"description": "Interfaces for interacting with contracts and contract ABIs",
|
||||||
"engines": {
|
"engines": {
|
||||||
@@ -15,15 +15,249 @@
|
|||||||
},
|
},
|
||||||
"sideEffects": [
|
"sideEffects": [
|
||||||
"./packageDetect.js",
|
"./packageDetect.js",
|
||||||
"./packageDetect.cjs"
|
"./cjs/packageDetect.js"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "16.5.6",
|
"types": "./index.d.ts",
|
||||||
"main": "index.js",
|
"version": "16.5.34",
|
||||||
|
"main": "./cjs/index.js",
|
||||||
|
"module": "./index.js",
|
||||||
|
"exports": {
|
||||||
|
".": {
|
||||||
|
"module": {
|
||||||
|
"types": "./index.d.ts",
|
||||||
|
"default": "./index.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/index.d.ts",
|
||||||
|
"default": "./cjs/index.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./index.d.ts",
|
||||||
|
"default": "./index.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./bundle": {
|
||||||
|
"module": {
|
||||||
|
"types": "./bundle.d.ts",
|
||||||
|
"default": "./bundle.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/bundle.d.ts",
|
||||||
|
"default": "./cjs/bundle.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./bundle.d.ts",
|
||||||
|
"default": "./bundle.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./cjs/*": "./cjs/*.js",
|
||||||
|
"./cjs/package.json": "./cjs/package.json",
|
||||||
|
"./package.json": {
|
||||||
|
"require": "./cjs/package.json",
|
||||||
|
"default": "./package.json"
|
||||||
|
},
|
||||||
|
"./packageDetect": {
|
||||||
|
"module": {
|
||||||
|
"types": "./packageDetect.d.ts",
|
||||||
|
"default": "./packageDetect.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/packageDetect.d.ts",
|
||||||
|
"default": "./cjs/packageDetect.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./packageDetect.d.ts",
|
||||||
|
"default": "./packageDetect.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./packageInfo": {
|
||||||
|
"module": {
|
||||||
|
"types": "./packageInfo.d.ts",
|
||||||
|
"default": "./packageInfo.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/packageInfo.d.ts",
|
||||||
|
"default": "./cjs/packageInfo.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./packageInfo.d.ts",
|
||||||
|
"default": "./packageInfo.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./packageInfo.js": {
|
||||||
|
"module": {
|
||||||
|
"types": "./packageInfo.d.ts",
|
||||||
|
"default": "./packageInfo.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/packageInfo.d.ts",
|
||||||
|
"default": "./cjs/packageInfo.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./packageInfo.d.ts",
|
||||||
|
"default": "./packageInfo.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./types": {
|
||||||
|
"module": {
|
||||||
|
"types": "./types/index.d.ts",
|
||||||
|
"default": "./types/index.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/types/index.d.ts",
|
||||||
|
"default": "./cjs/types/index.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./types/index.d.ts",
|
||||||
|
"default": "./types/index.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./types/api": {
|
||||||
|
"module": {
|
||||||
|
"types": "./types/api.d.ts",
|
||||||
|
"default": "./types/api.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/types/api.d.ts",
|
||||||
|
"default": "./cjs/types/api.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./types/api.d.ts",
|
||||||
|
"default": "./types/api.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./types/base": {
|
||||||
|
"module": {
|
||||||
|
"types": "./types/base.d.ts",
|
||||||
|
"default": "./types/base.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/types/base.d.ts",
|
||||||
|
"default": "./cjs/types/base.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./types/base.d.ts",
|
||||||
|
"default": "./types/base.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./types/calls": {
|
||||||
|
"module": {
|
||||||
|
"types": "./types/calls.d.ts",
|
||||||
|
"default": "./types/calls.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/types/calls.d.ts",
|
||||||
|
"default": "./cjs/types/calls.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./types/calls.d.ts",
|
||||||
|
"default": "./types/calls.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./types/consts": {
|
||||||
|
"module": {
|
||||||
|
"types": "./types/consts.d.ts",
|
||||||
|
"default": "./types/consts.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/types/consts.d.ts",
|
||||||
|
"default": "./cjs/types/consts.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./types/consts.d.ts",
|
||||||
|
"default": "./types/consts.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./types/derive": {
|
||||||
|
"module": {
|
||||||
|
"types": "./types/derive.d.ts",
|
||||||
|
"default": "./types/derive.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/types/derive.d.ts",
|
||||||
|
"default": "./cjs/types/derive.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./types/derive.d.ts",
|
||||||
|
"default": "./types/derive.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./types/errors": {
|
||||||
|
"module": {
|
||||||
|
"types": "./types/errors.d.ts",
|
||||||
|
"default": "./types/errors.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/types/errors.d.ts",
|
||||||
|
"default": "./cjs/types/errors.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./types/errors.d.ts",
|
||||||
|
"default": "./types/errors.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./types/events": {
|
||||||
|
"module": {
|
||||||
|
"types": "./types/events.d.ts",
|
||||||
|
"default": "./types/events.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/types/events.d.ts",
|
||||||
|
"default": "./cjs/types/events.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./types/events.d.ts",
|
||||||
|
"default": "./types/events.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./types/rpc": {
|
||||||
|
"module": {
|
||||||
|
"types": "./types/rpc.d.ts",
|
||||||
|
"default": "./types/rpc.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/types/rpc.d.ts",
|
||||||
|
"default": "./cjs/types/rpc.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./types/rpc.d.ts",
|
||||||
|
"default": "./types/rpc.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./types/storage": {
|
||||||
|
"module": {
|
||||||
|
"types": "./types/storage.d.ts",
|
||||||
|
"default": "./types/storage.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/types/storage.d.ts",
|
||||||
|
"default": "./cjs/types/storage.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./types/storage.d.ts",
|
||||||
|
"default": "./types/storage.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./types/submittable": {
|
||||||
|
"module": {
|
||||||
|
"types": "./types/submittable.d.ts",
|
||||||
|
"default": "./types/submittable.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/types/submittable.d.ts",
|
||||||
|
"default": "./cjs/types/submittable.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./types/submittable.d.ts",
|
||||||
|
"default": "./types/submittable.js"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@pezkuwi/rpc-core": "16.5.4",
|
"@pezkuwi/rpc-core": "16.5.34",
|
||||||
"@pezkuwi/types": "16.5.4",
|
"@pezkuwi/types": "16.5.34",
|
||||||
"@pezkuwi/util": "^14.0.1",
|
"@pezkuwi/util": "14.0.23",
|
||||||
"rxjs": "^7.8.1",
|
"rxjs": "^7.8.1",
|
||||||
"tslib": "^2.8.1"
|
"tslib": "^2.8.1"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @pezkuwi/dev
|
// Do not edit, auto-generated by @pezkuwi/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@pezkuwi/api-base', path: 'auto', type: 'auto', version: '16.5.4' };
|
export const packageInfo = { name: '@pezkuwi/api-base', path: 'auto', type: 'auto', version: '16.5.34' };
|
||||||
|
|||||||
@@ -0,0 +1,201 @@
|
|||||||
|
Apache License
|
||||||
|
Version 2.0, January 2004
|
||||||
|
http://www.apache.org/licenses/
|
||||||
|
|
||||||
|
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||||
|
|
||||||
|
1. Definitions.
|
||||||
|
|
||||||
|
"License" shall mean the terms and conditions for use, reproduction,
|
||||||
|
and distribution as defined by Sections 1 through 9 of this document.
|
||||||
|
|
||||||
|
"Licensor" shall mean the copyright owner or entity authorized by
|
||||||
|
the copyright owner that is granting the License.
|
||||||
|
|
||||||
|
"Legal Entity" shall mean the union of the acting entity and all
|
||||||
|
other entities that control, are controlled by, or are under common
|
||||||
|
control with that entity. For the purposes of this definition,
|
||||||
|
"control" means (i) the power, direct or indirect, to cause the
|
||||||
|
direction or management of such entity, whether by contract or
|
||||||
|
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||||
|
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||||
|
|
||||||
|
"You" (or "Your") shall mean an individual or Legal Entity
|
||||||
|
exercising permissions granted by this License.
|
||||||
|
|
||||||
|
"Source" form shall mean the preferred form for making modifications,
|
||||||
|
including but not limited to software source code, documentation
|
||||||
|
source, and configuration files.
|
||||||
|
|
||||||
|
"Object" form shall mean any form resulting from mechanical
|
||||||
|
transformation or translation of a Source form, including but
|
||||||
|
not limited to compiled object code, generated documentation,
|
||||||
|
and conversions to other media types.
|
||||||
|
|
||||||
|
"Work" shall mean the work of authorship, whether in Source or
|
||||||
|
Object form, made available under the License, as indicated by a
|
||||||
|
copyright notice that is included in or attached to the work
|
||||||
|
(an example is provided in the Appendix below).
|
||||||
|
|
||||||
|
"Derivative Works" shall mean any work, whether in Source or Object
|
||||||
|
form, that is based on (or derived from) the Work and for which the
|
||||||
|
editorial revisions, annotations, elaborations, or other modifications
|
||||||
|
represent, as a whole, an original work of authorship. For the purposes
|
||||||
|
of this License, Derivative Works shall not include works that remain
|
||||||
|
separable from, or merely link (or bind by name) to the interfaces of,
|
||||||
|
the Work and Derivative Works thereof.
|
||||||
|
|
||||||
|
"Contribution" shall mean any work of authorship, including
|
||||||
|
the original version of the Work and any modifications or additions
|
||||||
|
to that Work or Derivative Works thereof, that is intentionally
|
||||||
|
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||||
|
or by an individual or Legal Entity authorized to submit on behalf of
|
||||||
|
the copyright owner. For the purposes of this definition, "submitted"
|
||||||
|
means any form of electronic, verbal, or written communication sent
|
||||||
|
to the Licensor or its representatives, including but not limited to
|
||||||
|
communication on electronic mailing lists, source code control systems,
|
||||||
|
and issue tracking systems that are managed by, or on behalf of, the
|
||||||
|
Licensor for the purpose of discussing and improving the Work, but
|
||||||
|
excluding communication that is conspicuously marked or otherwise
|
||||||
|
designated in writing by the copyright owner as "Not a Contribution."
|
||||||
|
|
||||||
|
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||||
|
on behalf of whom a Contribution has been received by Licensor and
|
||||||
|
subsequently incorporated within the Work.
|
||||||
|
|
||||||
|
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
copyright license to reproduce, prepare Derivative Works of,
|
||||||
|
publicly display, publicly perform, sublicense, and distribute the
|
||||||
|
Work and such Derivative Works in Source or Object form.
|
||||||
|
|
||||||
|
3. Grant of Patent License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
(except as stated in this section) patent license to make, have made,
|
||||||
|
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||||
|
where such license applies only to those patent claims licensable
|
||||||
|
by such Contributor that are necessarily infringed by their
|
||||||
|
Contribution(s) alone or by combination of their Contribution(s)
|
||||||
|
with the Work to which such Contribution(s) was submitted. If You
|
||||||
|
institute patent litigation against any entity (including a
|
||||||
|
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||||
|
or a Contribution incorporated within the Work constitutes direct
|
||||||
|
or contributory patent infringement, then any patent licenses
|
||||||
|
granted to You under this License for that Work shall terminate
|
||||||
|
as of the date such litigation is filed.
|
||||||
|
|
||||||
|
4. Redistribution. You may reproduce and distribute copies of the
|
||||||
|
Work or Derivative Works thereof in any medium, with or without
|
||||||
|
modifications, and in Source or Object form, provided that You
|
||||||
|
meet the following conditions:
|
||||||
|
|
||||||
|
(a) You must give any other recipients of the Work or
|
||||||
|
Derivative Works a copy of this License; and
|
||||||
|
|
||||||
|
(b) You must cause any modified files to carry prominent notices
|
||||||
|
stating that You changed the files; and
|
||||||
|
|
||||||
|
(c) You must retain, in the Source form of any Derivative Works
|
||||||
|
that You distribute, all copyright, patent, trademark, and
|
||||||
|
attribution notices from the Source form of the Work,
|
||||||
|
excluding those notices that do not pertain to any part of
|
||||||
|
the Derivative Works; and
|
||||||
|
|
||||||
|
(d) If the Work includes a "NOTICE" text file as part of its
|
||||||
|
distribution, then any Derivative Works that You distribute must
|
||||||
|
include a readable copy of the attribution notices contained
|
||||||
|
within such NOTICE file, excluding those notices that do not
|
||||||
|
pertain to any part of the Derivative Works, in at least one
|
||||||
|
of the following places: within a NOTICE text file distributed
|
||||||
|
as part of the Derivative Works; within the Source form or
|
||||||
|
documentation, if provided along with the Derivative Works; or,
|
||||||
|
within a display generated by the Derivative Works, if and
|
||||||
|
wherever such third-party notices normally appear. The contents
|
||||||
|
of the NOTICE file are for informational purposes only and
|
||||||
|
do not modify the License. You may add Your own attribution
|
||||||
|
notices within Derivative Works that You distribute, alongside
|
||||||
|
or as an addendum to the NOTICE text from the Work, provided
|
||||||
|
that such additional attribution notices cannot be construed
|
||||||
|
as modifying the License.
|
||||||
|
|
||||||
|
You may add Your own copyright statement to Your modifications and
|
||||||
|
may provide additional or different license terms and conditions
|
||||||
|
for use, reproduction, or distribution of Your modifications, or
|
||||||
|
for any such Derivative Works as a whole, provided Your use,
|
||||||
|
reproduction, and distribution of the Work otherwise complies with
|
||||||
|
the conditions stated in this License.
|
||||||
|
|
||||||
|
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||||
|
any Contribution intentionally submitted for inclusion in the Work
|
||||||
|
by You to the Licensor shall be under the terms and conditions of
|
||||||
|
this License, without any additional terms or conditions.
|
||||||
|
Notwithstanding the above, nothing herein shall supersede or modify
|
||||||
|
the terms of any separate license agreement you may have executed
|
||||||
|
with Licensor regarding such Contributions.
|
||||||
|
|
||||||
|
6. Trademarks. This License does not grant permission to use the trade
|
||||||
|
names, trademarks, service marks, or product names of the Licensor,
|
||||||
|
except as required for reasonable and customary use in describing the
|
||||||
|
origin of the Work and reproducing the content of the NOTICE file.
|
||||||
|
|
||||||
|
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||||
|
agreed to in writing, Licensor provides the Work (and each
|
||||||
|
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||||
|
implied, including, without limitation, any warranties or conditions
|
||||||
|
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||||
|
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||||
|
appropriateness of using or redistributing the Work and assume any
|
||||||
|
risks associated with Your exercise of permissions under this License.
|
||||||
|
|
||||||
|
8. Limitation of Liability. In no event and under no legal theory,
|
||||||
|
whether in tort (including negligence), contract, or otherwise,
|
||||||
|
unless required by applicable law (such as deliberate and grossly
|
||||||
|
negligent acts) or agreed to in writing, shall any Contributor be
|
||||||
|
liable to You for damages, including any direct, indirect, special,
|
||||||
|
incidental, or consequential damages of any character arising as a
|
||||||
|
result of this License or out of the use or inability to use the
|
||||||
|
Work (including but not limited to damages for loss of goodwill,
|
||||||
|
work stoppage, computer failure or malfunction, or any and all
|
||||||
|
other commercial damages or losses), even if such Contributor
|
||||||
|
has been advised of the possibility of such damages.
|
||||||
|
|
||||||
|
9. Accepting Warranty or Additional Liability. While redistributing
|
||||||
|
the Work or Derivative Works thereof, You may choose to offer,
|
||||||
|
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||||
|
or other liability obligations and/or rights consistent with this
|
||||||
|
License. However, in accepting such obligations, You may act only
|
||||||
|
on Your own behalf and on Your sole responsibility, not on behalf
|
||||||
|
of any other Contributor, and only if You agree to indemnify,
|
||||||
|
defend, and hold each Contributor harmless for any liability
|
||||||
|
incurred by, or claims asserted against, such Contributor by reason
|
||||||
|
of your accepting any such warranty or additional liability.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
APPENDIX: How to apply the Apache License to your work.
|
||||||
|
|
||||||
|
To apply the Apache License to your work, attach the following
|
||||||
|
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||||
|
replaced with your own identifying information. (Don't include
|
||||||
|
the brackets!) The text should be enclosed in the appropriate
|
||||||
|
comment syntax for the file format. We also recommend that a
|
||||||
|
file or class name and description of purpose be included on the
|
||||||
|
same "printed page" as the copyright notice for easier
|
||||||
|
identification within third-party archives.
|
||||||
|
|
||||||
|
Copyright [yyyy] [name of copyright owner]
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"author": "Jaco Greeff <jacogr@gmail.com>",
|
"author": "PezkuwiChain <dev@pezkuwichain.io>",
|
||||||
"bugs": "https://github.com/pezkuwichain/pezkuwi-api/issues",
|
"bugs": "https://github.com/pezkuwichain/pezkuwi-api/issues",
|
||||||
"description": "Interfaces for interacting with contracts and contract ABIs",
|
"description": "Interfaces for interacting with contracts and contract ABIs",
|
||||||
"engines": {
|
"engines": {
|
||||||
@@ -15,25 +15,396 @@
|
|||||||
},
|
},
|
||||||
"sideEffects": [
|
"sideEffects": [
|
||||||
"./packageDetect.js",
|
"./packageDetect.js",
|
||||||
"./packageDetect.cjs"
|
"./cjs/packageDetect.js"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "16.5.6",
|
"types": "./index.d.ts",
|
||||||
"main": "index.js",
|
"version": "16.5.34",
|
||||||
|
"main": "./cjs/index.js",
|
||||||
|
"module": "./index.js",
|
||||||
|
"exports": {
|
||||||
|
".": {
|
||||||
|
"module": {
|
||||||
|
"types": "./index.d.ts",
|
||||||
|
"default": "./index.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/index.d.ts",
|
||||||
|
"default": "./cjs/index.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./index.d.ts",
|
||||||
|
"default": "./index.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./Abi": {
|
||||||
|
"module": {
|
||||||
|
"types": "./Abi/index.d.ts",
|
||||||
|
"default": "./Abi/index.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/Abi/index.d.ts",
|
||||||
|
"default": "./cjs/Abi/index.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./Abi/index.d.ts",
|
||||||
|
"default": "./Abi/index.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./Abi/toLatestCompatible": {
|
||||||
|
"module": {
|
||||||
|
"types": "./Abi/toLatestCompatible.d.ts",
|
||||||
|
"default": "./Abi/toLatestCompatible.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/Abi/toLatestCompatible.d.ts",
|
||||||
|
"default": "./cjs/Abi/toLatestCompatible.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./Abi/toLatestCompatible.d.ts",
|
||||||
|
"default": "./Abi/toLatestCompatible.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./Abi/toV1": {
|
||||||
|
"module": {
|
||||||
|
"types": "./Abi/toV1.d.ts",
|
||||||
|
"default": "./Abi/toV1.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/Abi/toV1.d.ts",
|
||||||
|
"default": "./cjs/Abi/toV1.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./Abi/toV1.d.ts",
|
||||||
|
"default": "./Abi/toV1.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./Abi/toV2": {
|
||||||
|
"module": {
|
||||||
|
"types": "./Abi/toV2.d.ts",
|
||||||
|
"default": "./Abi/toV2.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/Abi/toV2.d.ts",
|
||||||
|
"default": "./cjs/Abi/toV2.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./Abi/toV2.d.ts",
|
||||||
|
"default": "./Abi/toV2.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./Abi/toV3": {
|
||||||
|
"module": {
|
||||||
|
"types": "./Abi/toV3.d.ts",
|
||||||
|
"default": "./Abi/toV3.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/Abi/toV3.d.ts",
|
||||||
|
"default": "./cjs/Abi/toV3.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./Abi/toV3.d.ts",
|
||||||
|
"default": "./Abi/toV3.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./Abi/toV4": {
|
||||||
|
"module": {
|
||||||
|
"types": "./Abi/toV4.d.ts",
|
||||||
|
"default": "./Abi/toV4.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/Abi/toV4.d.ts",
|
||||||
|
"default": "./cjs/Abi/toV4.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./Abi/toV4.d.ts",
|
||||||
|
"default": "./Abi/toV4.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./augment": {
|
||||||
|
"module": {
|
||||||
|
"types": "./augment.d.ts",
|
||||||
|
"default": "./augment.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/augment.d.ts",
|
||||||
|
"default": "./cjs/augment.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./augment.d.ts",
|
||||||
|
"default": "./augment.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./base": {
|
||||||
|
"module": {
|
||||||
|
"types": "./base/index.d.ts",
|
||||||
|
"default": "./base/index.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/base/index.d.ts",
|
||||||
|
"default": "./cjs/base/index.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./base/index.d.ts",
|
||||||
|
"default": "./base/index.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./base/Base": {
|
||||||
|
"module": {
|
||||||
|
"types": "./base/Base.d.ts",
|
||||||
|
"default": "./base/Base.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/base/Base.d.ts",
|
||||||
|
"default": "./cjs/base/Base.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./base/Base.d.ts",
|
||||||
|
"default": "./base/Base.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./base/Blueprint": {
|
||||||
|
"module": {
|
||||||
|
"types": "./base/Blueprint.d.ts",
|
||||||
|
"default": "./base/Blueprint.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/base/Blueprint.d.ts",
|
||||||
|
"default": "./cjs/base/Blueprint.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./base/Blueprint.d.ts",
|
||||||
|
"default": "./base/Blueprint.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./base/Code": {
|
||||||
|
"module": {
|
||||||
|
"types": "./base/Code.d.ts",
|
||||||
|
"default": "./base/Code.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/base/Code.d.ts",
|
||||||
|
"default": "./cjs/base/Code.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./base/Code.d.ts",
|
||||||
|
"default": "./base/Code.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./base/Contract": {
|
||||||
|
"module": {
|
||||||
|
"types": "./base/Contract.d.ts",
|
||||||
|
"default": "./base/Contract.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/base/Contract.d.ts",
|
||||||
|
"default": "./cjs/base/Contract.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./base/Contract.d.ts",
|
||||||
|
"default": "./base/Contract.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./base/mock": {
|
||||||
|
"module": {
|
||||||
|
"types": "./base/mock.d.ts",
|
||||||
|
"default": "./base/mock.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/base/mock.d.ts",
|
||||||
|
"default": "./cjs/base/mock.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./base/mock.d.ts",
|
||||||
|
"default": "./base/mock.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./base/types": {
|
||||||
|
"module": {
|
||||||
|
"types": "./base/types.d.ts",
|
||||||
|
"default": "./base/types.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/base/types.d.ts",
|
||||||
|
"default": "./cjs/base/types.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./base/types.d.ts",
|
||||||
|
"default": "./base/types.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./base/util": {
|
||||||
|
"module": {
|
||||||
|
"types": "./base/util.d.ts",
|
||||||
|
"default": "./base/util.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/base/util.d.ts",
|
||||||
|
"default": "./cjs/base/util.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./base/util.d.ts",
|
||||||
|
"default": "./base/util.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./bundle": {
|
||||||
|
"module": {
|
||||||
|
"types": "./bundle.d.ts",
|
||||||
|
"default": "./bundle.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/bundle.d.ts",
|
||||||
|
"default": "./cjs/bundle.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./bundle.d.ts",
|
||||||
|
"default": "./bundle.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./cjs/*": "./cjs/*.js",
|
||||||
|
"./cjs/package.json": "./cjs/package.json",
|
||||||
|
"./package.json": {
|
||||||
|
"require": "./cjs/package.json",
|
||||||
|
"default": "./package.json"
|
||||||
|
},
|
||||||
|
"./packageDetect": {
|
||||||
|
"module": {
|
||||||
|
"types": "./packageDetect.d.ts",
|
||||||
|
"default": "./packageDetect.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/packageDetect.d.ts",
|
||||||
|
"default": "./cjs/packageDetect.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./packageDetect.d.ts",
|
||||||
|
"default": "./packageDetect.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./packageInfo": {
|
||||||
|
"module": {
|
||||||
|
"types": "./packageInfo.d.ts",
|
||||||
|
"default": "./packageInfo.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/packageInfo.d.ts",
|
||||||
|
"default": "./cjs/packageInfo.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./packageInfo.d.ts",
|
||||||
|
"default": "./packageInfo.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./packageInfo.js": {
|
||||||
|
"module": {
|
||||||
|
"types": "./packageInfo.d.ts",
|
||||||
|
"default": "./packageInfo.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/packageInfo.d.ts",
|
||||||
|
"default": "./cjs/packageInfo.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./packageInfo.d.ts",
|
||||||
|
"default": "./packageInfo.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./promise": {
|
||||||
|
"module": {
|
||||||
|
"types": "./promise/index.d.ts",
|
||||||
|
"default": "./promise/index.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/promise/index.d.ts",
|
||||||
|
"default": "./cjs/promise/index.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./promise/index.d.ts",
|
||||||
|
"default": "./promise/index.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./promise/types": {
|
||||||
|
"module": {
|
||||||
|
"types": "./promise/types.d.ts",
|
||||||
|
"default": "./promise/types.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/promise/types.d.ts",
|
||||||
|
"default": "./cjs/promise/types.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./promise/types.d.ts",
|
||||||
|
"default": "./promise/types.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./rx": {
|
||||||
|
"module": {
|
||||||
|
"types": "./rx/index.d.ts",
|
||||||
|
"default": "./rx/index.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/rx/index.d.ts",
|
||||||
|
"default": "./cjs/rx/index.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./rx/index.d.ts",
|
||||||
|
"default": "./rx/index.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./rx/types": {
|
||||||
|
"module": {
|
||||||
|
"types": "./rx/types.d.ts",
|
||||||
|
"default": "./rx/types.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/rx/types.d.ts",
|
||||||
|
"default": "./cjs/rx/types.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./rx/types.d.ts",
|
||||||
|
"default": "./rx/types.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./types": {
|
||||||
|
"module": {
|
||||||
|
"types": "./types.d.ts",
|
||||||
|
"default": "./types.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/types.d.ts",
|
||||||
|
"default": "./cjs/types.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./types.d.ts",
|
||||||
|
"default": "./types.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./util": {
|
||||||
|
"module": {
|
||||||
|
"types": "./util.d.ts",
|
||||||
|
"default": "./util.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/util.d.ts",
|
||||||
|
"default": "./cjs/util.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./util.d.ts",
|
||||||
|
"default": "./util.js"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@pezkuwi/api": "16.5.4",
|
"@pezkuwi/api": "16.5.34",
|
||||||
"@pezkuwi/api-augment": "16.5.4",
|
"@pezkuwi/api-augment": "16.5.34",
|
||||||
"@pezkuwi/types": "16.5.4",
|
"@pezkuwi/keyring": "14.0.23",
|
||||||
"@pezkuwi/types-codec": "16.5.4",
|
"@pezkuwi/types": "16.5.34",
|
||||||
"@pezkuwi/types-create": "16.5.4",
|
"@pezkuwi/types-codec": "16.5.34",
|
||||||
"@pezkuwi/util": "^14.0.1",
|
"@pezkuwi/types-create": "16.5.34",
|
||||||
"@pezkuwi/util-crypto": "^14.0.1",
|
"@pezkuwi/types-support": "16.5.34",
|
||||||
|
"@pezkuwi/util": "14.0.23",
|
||||||
|
"@pezkuwi/util-crypto": "14.0.23",
|
||||||
"rxjs": "^7.8.1",
|
"rxjs": "^7.8.1",
|
||||||
"tslib": "^2.8.1"
|
"tslib": "^2.8.1"
|
||||||
},
|
|
||||||
"devDependencies": {
|
|
||||||
"@pezkuwi/api-augment": "16.5.4",
|
|
||||||
"@pezkuwi/keyring": "^14.0.1",
|
|
||||||
"@pezkuwi/types-support": "16.5.4"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,10 +7,10 @@ import fs from 'node:fs';
|
|||||||
|
|
||||||
import { toPromiseMethod } from '@pezkuwi/api';
|
import { toPromiseMethod } from '@pezkuwi/api';
|
||||||
|
|
||||||
import v0contractFlipper from '../test/contracts/ink/v0/flipper.contract.json' assert { type: 'json' };
|
import v0contractFlipper from '../test/contracts/ink/v0/flipper.contract.json' with { type: 'json' };
|
||||||
import v0abiFlipper from '../test/contracts/ink/v0/flipper.json' assert { type: 'json' };
|
import v0abiFlipper from '../test/contracts/ink/v0/flipper.json' with { type: 'json' };
|
||||||
import v1contractFlipper from '../test/contracts/ink/v1/flipper.contract.json' assert { type: 'json' };
|
import v1contractFlipper from '../test/contracts/ink/v1/flipper.contract.json' with { type: 'json' };
|
||||||
import v6contractErc20 from '../test/contracts/ink/v6/erc20.contract.json' assert { type: 'json' };
|
import v6contractErc20 from '../test/contracts/ink/v6/erc20.contract.json' with { type: 'json' };
|
||||||
import { Code } from './Code.js';
|
import { Code } from './Code.js';
|
||||||
import { mockApi, mockReviveApi } from './mock.js';
|
import { mockApi, mockReviveApi } from './mock.js';
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ import { ApiPromise } from '@pezkuwi/api';
|
|||||||
import { BlueprintPromise, ContractPromise } from '@pezkuwi/api-contract';
|
import { BlueprintPromise, ContractPromise } from '@pezkuwi/api-contract';
|
||||||
import { createTestPairs } from '@pezkuwi/keyring/testingPairs';
|
import { createTestPairs } from '@pezkuwi/keyring/testingPairs';
|
||||||
|
|
||||||
import abiIncrementer from './test/contracts/ink/v0/incrementer.json' assert { type: 'json' };
|
import abiIncrementer from './test/contracts/ink/v0/incrementer.json' with { type: 'json' };
|
||||||
|
|
||||||
async function checkBlueprint (api: ApiPromise, pairs: TestKeyringMapBizinikiwi): Promise<void> {
|
async function checkBlueprint (api: ApiPromise, pairs: TestKeyringMapBizinikiwi): Promise<void> {
|
||||||
const blueprint = new BlueprintPromise(api, abiIncrementer as Record<string, unknown>, '0x1234');
|
const blueprint = new BlueprintPromise(api, abiIncrementer as Record<string, unknown>, '0x1234');
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @pezkuwi/dev
|
// Do not edit, auto-generated by @pezkuwi/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@pezkuwi/api-contract', path: 'auto', type: 'auto', version: '16.5.4' };
|
export const packageInfo = { name: '@pezkuwi/api-contract', path: 'auto', type: 'auto', version: '16.5.34' };
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
// Copyright 2017-2025 @pezkuwi/api-contract authors & contributors
|
// Copyright 2017-2025 @pezkuwi/api-contract authors & contributors
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
export { default as delegator } from './delegator.json' assert { type: 'json' };
|
export { default as delegator } from './delegator.json' with { type: 'json' };
|
||||||
export { default as dns } from './dns.json' assert { type: 'json' };
|
export { default as dns } from './dns.json' with { type: 'json' };
|
||||||
export { default as erc20 } from './erc20.json' assert { type: 'json' };
|
export { default as erc20 } from './erc20.json' with { type: 'json' };
|
||||||
export { default as erc721 } from './erc721.json' assert { type: 'json' };
|
export { default as erc721 } from './erc721.json' with { type: 'json' };
|
||||||
export { default as flipperBundle } from './flipper.contract.json' assert { type: 'json' };
|
export { default as flipperBundle } from './flipper.contract.json' with { type: 'json' };
|
||||||
export { default as flipper } from './flipper.json' assert { type: 'json' };
|
export { default as flipper } from './flipper.json' with { type: 'json' };
|
||||||
export { default as incrementer } from './incrementer.json' assert { type: 'json' };
|
export { default as incrementer } from './incrementer.json' with { type: 'json' };
|
||||||
export { default as multisigPlain } from './multisig_plain.json' assert { type: 'json' };
|
export { default as multisigPlain } from './multisig_plain.json' with { type: 'json' };
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
// Copyright 2017-2025 @pezkuwi/api-contract authors & contributors
|
// Copyright 2017-2025 @pezkuwi/api-contract authors & contributors
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
export { default as flipper } from './flipper.contract.json' assert { type: 'json' };
|
export { default as flipper } from './flipper.contract.json' with { type: 'json' };
|
||||||
// A complex contract example with traits.
|
// A complex contract example with traits.
|
||||||
export { default as psp22 } from './psp22_minter_pauser.contract.json' assert { type: 'json' };
|
export { default as psp22 } from './psp22_minter_pauser.contract.json' with { type: 'json' };
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// Copyright 2017-2025 @pezkuwi/api-contract authors & contributors
|
// Copyright 2017-2025 @pezkuwi/api-contract authors & contributors
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
export { default as erc20 } from './erc20.contract.json' assert { type: 'json' };
|
export { default as erc20 } from './erc20.contract.json' with { type: 'json' };
|
||||||
export { default as flipper } from './flipper.contract.json' assert { type: 'json' };
|
export { default as flipper } from './flipper.contract.json' with { type: 'json' };
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
// Copyright 2017-2025 @pezkuwi/api-contract authors & contributors
|
// Copyright 2017-2025 @pezkuwi/api-contract authors & contributors
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
export { default as flipper } from './flipper.contract.json' assert { type: 'json' };
|
export { default as flipper } from './flipper.contract.json' with { type: 'json' };
|
||||||
// A complex contract example with traits.
|
// A complex contract example with traits.
|
||||||
export { default as traitErc20 } from './trait_erc20.contract.json' assert { type: 'json' };
|
export { default as traitErc20 } from './trait_erc20.contract.json' with { type: 'json' };
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
// Copyright 2017-2025 @pezkuwi/api-contract authors & contributors
|
// Copyright 2017-2025 @pezkuwi/api-contract authors & contributors
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
export { default as erc20Contract } from './erc20.contract.json' assert { type: 'json' };
|
export { default as erc20Contract } from './erc20.contract.json' with { type: 'json' };
|
||||||
export { default as erc20Metadata } from './erc20.json' assert { type: 'json' };
|
export { default as erc20Metadata } from './erc20.json' with { type: 'json' };
|
||||||
export { default as flipperContract } from './flipper.contract.json' assert { type: 'json' };
|
export { default as flipperContract } from './flipper.contract.json' with { type: 'json' };
|
||||||
export { default as flipperMetadata } from './flipper.json' assert { type: 'json' };
|
export { default as flipperMetadata } from './flipper.json' with { type: 'json' };
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
// Copyright 2017-2025 @pezkuwi/api-contract authors & contributors
|
// Copyright 2017-2025 @pezkuwi/api-contract authors & contributors
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
export { default as erc20Contract } from './erc20.contract.json' assert { type: 'json' };
|
export { default as erc20Contract } from './erc20.contract.json' with { type: 'json' };
|
||||||
export { default as erc20Metadata } from './erc20.json' assert { type: 'json' };
|
export { default as erc20Metadata } from './erc20.json' with { type: 'json' };
|
||||||
export { default as erc20AnonymousTransferMetadata } from './erc20_anonymous_transfer.json' assert { type: 'json' };
|
export { default as erc20AnonymousTransferMetadata } from './erc20_anonymous_transfer.json' with { type: 'json' };
|
||||||
export { default as flipperContract } from './flipper.contract.json' assert { type: 'json' };
|
export { default as flipperContract } from './flipper.contract.json' with { type: 'json' };
|
||||||
export { default as flipperMetadata } from './flipper.json' assert { type: 'json' };
|
export { default as flipperMetadata } from './flipper.json' with { type: 'json' };
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// Copyright 2017-2025 @pezkuwi/api-contract authors & contributors
|
// Copyright 2017-2025 @pezkuwi/api-contract authors & contributors
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
export { default as erc20Contract } from './erc20.contract.json' assert { type: 'json' };
|
export { default as erc20Contract } from './erc20.contract.json' with { type: 'json' };
|
||||||
export { default as erc20Metadata } from './erc20.json' assert { type: 'json' };
|
export { default as erc20Metadata } from './erc20.json' with { type: 'json' };
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// Copyright 2017-2025 @pezkuwi/api-contract authors & contributors
|
// Copyright 2017-2025 @pezkuwi/api-contract authors & contributors
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
export { default as ints256 } from './ints256.json' assert { type: 'json' };
|
export { default as ints256 } from './ints256.json' with { type: 'json' };
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
// Copyright 2017-2025 @pezkuwi/api-contract authors & contributors
|
// Copyright 2017-2025 @pezkuwi/api-contract authors & contributors
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
export { default as assetTransfer } from './assetTransfer.json' assert { type: 'json' };
|
export { default as assetTransfer } from './assetTransfer.json' with { type: 'json' };
|
||||||
export { default as enumExample } from './enumExample.json' assert { type: 'json' };
|
export { default as enumExample } from './enumExample.json' with { type: 'json' };
|
||||||
export { default as recursive } from './recursive.contract.json' assert { type: 'json' };
|
export { default as recursive } from './recursive.contract.json' with { type: 'json' };
|
||||||
export { default as withString } from './withString.json' assert { type: 'json' };
|
export { default as withString } from './withString.json' with { type: 'json' };
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// Copyright 2017-2025 @pezkuwi/api-contract authors & contributors
|
// Copyright 2017-2025 @pezkuwi/api-contract authors & contributors
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
export { default as ask } from './ask.json' assert { type: 'json' };
|
export { default as ask } from './ask.json' with { type: 'json' };
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// Copyright 2017-2025 @pezkuwi/api-contract authors & contributors
|
// Copyright 2017-2025 @pezkuwi/api-contract authors & contributors
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
export { default as events } from './events.contract.json' assert { type: 'json' };
|
export { default as events } from './events.contract.json' with { type: 'json' };
|
||||||
|
|||||||
@@ -0,0 +1,201 @@
|
|||||||
|
Apache License
|
||||||
|
Version 2.0, January 2004
|
||||||
|
http://www.apache.org/licenses/
|
||||||
|
|
||||||
|
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||||
|
|
||||||
|
1. Definitions.
|
||||||
|
|
||||||
|
"License" shall mean the terms and conditions for use, reproduction,
|
||||||
|
and distribution as defined by Sections 1 through 9 of this document.
|
||||||
|
|
||||||
|
"Licensor" shall mean the copyright owner or entity authorized by
|
||||||
|
the copyright owner that is granting the License.
|
||||||
|
|
||||||
|
"Legal Entity" shall mean the union of the acting entity and all
|
||||||
|
other entities that control, are controlled by, or are under common
|
||||||
|
control with that entity. For the purposes of this definition,
|
||||||
|
"control" means (i) the power, direct or indirect, to cause the
|
||||||
|
direction or management of such entity, whether by contract or
|
||||||
|
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||||
|
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||||
|
|
||||||
|
"You" (or "Your") shall mean an individual or Legal Entity
|
||||||
|
exercising permissions granted by this License.
|
||||||
|
|
||||||
|
"Source" form shall mean the preferred form for making modifications,
|
||||||
|
including but not limited to software source code, documentation
|
||||||
|
source, and configuration files.
|
||||||
|
|
||||||
|
"Object" form shall mean any form resulting from mechanical
|
||||||
|
transformation or translation of a Source form, including but
|
||||||
|
not limited to compiled object code, generated documentation,
|
||||||
|
and conversions to other media types.
|
||||||
|
|
||||||
|
"Work" shall mean the work of authorship, whether in Source or
|
||||||
|
Object form, made available under the License, as indicated by a
|
||||||
|
copyright notice that is included in or attached to the work
|
||||||
|
(an example is provided in the Appendix below).
|
||||||
|
|
||||||
|
"Derivative Works" shall mean any work, whether in Source or Object
|
||||||
|
form, that is based on (or derived from) the Work and for which the
|
||||||
|
editorial revisions, annotations, elaborations, or other modifications
|
||||||
|
represent, as a whole, an original work of authorship. For the purposes
|
||||||
|
of this License, Derivative Works shall not include works that remain
|
||||||
|
separable from, or merely link (or bind by name) to the interfaces of,
|
||||||
|
the Work and Derivative Works thereof.
|
||||||
|
|
||||||
|
"Contribution" shall mean any work of authorship, including
|
||||||
|
the original version of the Work and any modifications or additions
|
||||||
|
to that Work or Derivative Works thereof, that is intentionally
|
||||||
|
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||||
|
or by an individual or Legal Entity authorized to submit on behalf of
|
||||||
|
the copyright owner. For the purposes of this definition, "submitted"
|
||||||
|
means any form of electronic, verbal, or written communication sent
|
||||||
|
to the Licensor or its representatives, including but not limited to
|
||||||
|
communication on electronic mailing lists, source code control systems,
|
||||||
|
and issue tracking systems that are managed by, or on behalf of, the
|
||||||
|
Licensor for the purpose of discussing and improving the Work, but
|
||||||
|
excluding communication that is conspicuously marked or otherwise
|
||||||
|
designated in writing by the copyright owner as "Not a Contribution."
|
||||||
|
|
||||||
|
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||||
|
on behalf of whom a Contribution has been received by Licensor and
|
||||||
|
subsequently incorporated within the Work.
|
||||||
|
|
||||||
|
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
copyright license to reproduce, prepare Derivative Works of,
|
||||||
|
publicly display, publicly perform, sublicense, and distribute the
|
||||||
|
Work and such Derivative Works in Source or Object form.
|
||||||
|
|
||||||
|
3. Grant of Patent License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
(except as stated in this section) patent license to make, have made,
|
||||||
|
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||||
|
where such license applies only to those patent claims licensable
|
||||||
|
by such Contributor that are necessarily infringed by their
|
||||||
|
Contribution(s) alone or by combination of their Contribution(s)
|
||||||
|
with the Work to which such Contribution(s) was submitted. If You
|
||||||
|
institute patent litigation against any entity (including a
|
||||||
|
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||||
|
or a Contribution incorporated within the Work constitutes direct
|
||||||
|
or contributory patent infringement, then any patent licenses
|
||||||
|
granted to You under this License for that Work shall terminate
|
||||||
|
as of the date such litigation is filed.
|
||||||
|
|
||||||
|
4. Redistribution. You may reproduce and distribute copies of the
|
||||||
|
Work or Derivative Works thereof in any medium, with or without
|
||||||
|
modifications, and in Source or Object form, provided that You
|
||||||
|
meet the following conditions:
|
||||||
|
|
||||||
|
(a) You must give any other recipients of the Work or
|
||||||
|
Derivative Works a copy of this License; and
|
||||||
|
|
||||||
|
(b) You must cause any modified files to carry prominent notices
|
||||||
|
stating that You changed the files; and
|
||||||
|
|
||||||
|
(c) You must retain, in the Source form of any Derivative Works
|
||||||
|
that You distribute, all copyright, patent, trademark, and
|
||||||
|
attribution notices from the Source form of the Work,
|
||||||
|
excluding those notices that do not pertain to any part of
|
||||||
|
the Derivative Works; and
|
||||||
|
|
||||||
|
(d) If the Work includes a "NOTICE" text file as part of its
|
||||||
|
distribution, then any Derivative Works that You distribute must
|
||||||
|
include a readable copy of the attribution notices contained
|
||||||
|
within such NOTICE file, excluding those notices that do not
|
||||||
|
pertain to any part of the Derivative Works, in at least one
|
||||||
|
of the following places: within a NOTICE text file distributed
|
||||||
|
as part of the Derivative Works; within the Source form or
|
||||||
|
documentation, if provided along with the Derivative Works; or,
|
||||||
|
within a display generated by the Derivative Works, if and
|
||||||
|
wherever such third-party notices normally appear. The contents
|
||||||
|
of the NOTICE file are for informational purposes only and
|
||||||
|
do not modify the License. You may add Your own attribution
|
||||||
|
notices within Derivative Works that You distribute, alongside
|
||||||
|
or as an addendum to the NOTICE text from the Work, provided
|
||||||
|
that such additional attribution notices cannot be construed
|
||||||
|
as modifying the License.
|
||||||
|
|
||||||
|
You may add Your own copyright statement to Your modifications and
|
||||||
|
may provide additional or different license terms and conditions
|
||||||
|
for use, reproduction, or distribution of Your modifications, or
|
||||||
|
for any such Derivative Works as a whole, provided Your use,
|
||||||
|
reproduction, and distribution of the Work otherwise complies with
|
||||||
|
the conditions stated in this License.
|
||||||
|
|
||||||
|
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||||
|
any Contribution intentionally submitted for inclusion in the Work
|
||||||
|
by You to the Licensor shall be under the terms and conditions of
|
||||||
|
this License, without any additional terms or conditions.
|
||||||
|
Notwithstanding the above, nothing herein shall supersede or modify
|
||||||
|
the terms of any separate license agreement you may have executed
|
||||||
|
with Licensor regarding such Contributions.
|
||||||
|
|
||||||
|
6. Trademarks. This License does not grant permission to use the trade
|
||||||
|
names, trademarks, service marks, or product names of the Licensor,
|
||||||
|
except as required for reasonable and customary use in describing the
|
||||||
|
origin of the Work and reproducing the content of the NOTICE file.
|
||||||
|
|
||||||
|
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||||
|
agreed to in writing, Licensor provides the Work (and each
|
||||||
|
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||||
|
implied, including, without limitation, any warranties or conditions
|
||||||
|
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||||
|
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||||
|
appropriateness of using or redistributing the Work and assume any
|
||||||
|
risks associated with Your exercise of permissions under this License.
|
||||||
|
|
||||||
|
8. Limitation of Liability. In no event and under no legal theory,
|
||||||
|
whether in tort (including negligence), contract, or otherwise,
|
||||||
|
unless required by applicable law (such as deliberate and grossly
|
||||||
|
negligent acts) or agreed to in writing, shall any Contributor be
|
||||||
|
liable to You for damages, including any direct, indirect, special,
|
||||||
|
incidental, or consequential damages of any character arising as a
|
||||||
|
result of this License or out of the use or inability to use the
|
||||||
|
Work (including but not limited to damages for loss of goodwill,
|
||||||
|
work stoppage, computer failure or malfunction, or any and all
|
||||||
|
other commercial damages or losses), even if such Contributor
|
||||||
|
has been advised of the possibility of such damages.
|
||||||
|
|
||||||
|
9. Accepting Warranty or Additional Liability. While redistributing
|
||||||
|
the Work or Derivative Works thereof, You may choose to offer,
|
||||||
|
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||||
|
or other liability obligations and/or rights consistent with this
|
||||||
|
License. However, in accepting such obligations, You may act only
|
||||||
|
on Your own behalf and on Your sole responsibility, not on behalf
|
||||||
|
of any other Contributor, and only if You agree to indemnify,
|
||||||
|
defend, and hold each Contributor harmless for any liability
|
||||||
|
incurred by, or claims asserted against, such Contributor by reason
|
||||||
|
of your accepting any such warranty or additional liability.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
APPENDIX: How to apply the Apache License to your work.
|
||||||
|
|
||||||
|
To apply the Apache License to your work, attach the following
|
||||||
|
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||||
|
replaced with your own identifying information. (Don't include
|
||||||
|
the brackets!) The text should be enclosed in the appropriate
|
||||||
|
comment syntax for the file format. We also recommend that a
|
||||||
|
file or class name and description of purpose be included on the
|
||||||
|
same "printed page" as the copyright notice for easier
|
||||||
|
identification within third-party archives.
|
||||||
|
|
||||||
|
Copyright [yyyy] [name of copyright owner]
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"author": "Jaco Greeff <jacogr@gmail.com>",
|
"author": "PezkuwiChain <dev@pezkuwichain.io>",
|
||||||
"bugs": "https://github.com/pezkuwichain/pezkuwi-api/issues",
|
"bugs": "https://github.com/pezkuwichain/pezkuwi-api/issues",
|
||||||
"description": "Common functions used across Pezkuwi, derived from RPC calls and storage queries.",
|
"description": "Common functions used across Pezkuwi, derived from RPC calls and storage queries.",
|
||||||
"engines": {
|
"engines": {
|
||||||
@@ -15,28 +15,25 @@
|
|||||||
},
|
},
|
||||||
"sideEffects": [
|
"sideEffects": [
|
||||||
"./packageDetect.js",
|
"./packageDetect.js",
|
||||||
"./packageDetect.cjs"
|
"./cjs/packageDetect.js"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "16.5.6",
|
"types": "./index.d.ts",
|
||||||
"main": "index.js",
|
"version": "16.5.34",
|
||||||
|
"main": "./cjs/index.js",
|
||||||
|
"module": "./index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@pezkuwi/api": "16.5.4",
|
"@pezkuwi/api": "16.5.34",
|
||||||
"@pezkuwi/api-augment": "16.5.4",
|
"@pezkuwi/api-augment": "16.5.34",
|
||||||
"@pezkuwi/api-base": "16.5.4",
|
"@pezkuwi/api-base": "16.5.34",
|
||||||
"@pezkuwi/rpc-core": "16.5.4",
|
"@pezkuwi/rpc-core": "16.5.34",
|
||||||
"@pezkuwi/types": "16.5.4",
|
"@pezkuwi/rpc-provider": "16.5.34",
|
||||||
"@pezkuwi/types-codec": "16.5.4",
|
"@pezkuwi/types": "16.5.34",
|
||||||
"@pezkuwi/util": "^14.0.1",
|
"@pezkuwi/types-codec": "16.5.34",
|
||||||
"@pezkuwi/util-crypto": "^14.0.1",
|
"@pezkuwi/types-support": "16.5.34",
|
||||||
|
"@pezkuwi/util": "14.0.23",
|
||||||
|
"@pezkuwi/util-crypto": "14.0.23",
|
||||||
"rxjs": "^7.8.1",
|
"rxjs": "^7.8.1",
|
||||||
"tslib": "^2.8.1"
|
"tslib": "^2.8.1"
|
||||||
},
|
|
||||||
"devDependencies": {
|
|
||||||
"@pezkuwi/api": "16.5.4",
|
|
||||||
"@pezkuwi/api-augment": "16.5.4",
|
|
||||||
"@pezkuwi/rpc-augment": "16.5.4",
|
|
||||||
"@pezkuwi/rpc-provider": "16.5.4",
|
|
||||||
"@pezkuwi/types-support": "16.5.4"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -47,7 +47,8 @@ export function subscribeFinalizedHeads (instanceId: string, api: DeriveApi): ()
|
|||||||
const endHash = prevHash;
|
const endHash = prevHash;
|
||||||
const startHash = header.parentHash;
|
const startHash = header.parentHash;
|
||||||
|
|
||||||
prevHash = header.createdAtHash = header.hash;
|
header.createdAtHash = header.hash as unknown as typeof header.createdAtHash;
|
||||||
|
prevHash = header.hash as unknown as Hash;
|
||||||
|
|
||||||
return endHash === null || startHash.eq(endHash)
|
return endHash === null || startHash.eq(endHash)
|
||||||
? of(header)
|
? of(header)
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ function createChildKey (info: AllInfo): string {
|
|||||||
*/
|
*/
|
||||||
export function childKey (instanceId: string, api: DeriveApi): (paraId: string | number | BN) => Observable<string | null> {
|
export function childKey (instanceId: string, api: DeriveApi): (paraId: string | number | BN) => Observable<string | null> {
|
||||||
return memo(instanceId, (paraId: string | number | BN): Observable<string | null> =>
|
return memo(instanceId, (paraId: string | number | BN): Observable<string | null> =>
|
||||||
api.query.crowdloan.funds<Option<PezkuwiRuntimeCommonCrowdloanFundInfo>>(paraId).pipe(
|
api.query['crowdloan']['funds']<Option<PezkuwiRuntimeCommonCrowdloanFundInfo>>(paraId).pipe(
|
||||||
map((optInfo) =>
|
map((optInfo) =>
|
||||||
optInfo.isSome
|
optInfo.isSome
|
||||||
? createChildKey(optInfo.unwrap())
|
? createChildKey(optInfo.unwrap())
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @pezkuwi/dev
|
// Do not edit, auto-generated by @pezkuwi/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@pezkuwi/api-derive', path: 'auto', type: 'auto', version: '16.5.4' };
|
export const packageInfo = { name: '@pezkuwi/api-derive', path: 'auto', type: 'auto', version: '16.5.34' };
|
||||||
|
|||||||
@@ -90,14 +90,14 @@ function parse (id: ParaId, [active, retryQueue, selectedThreads, didUpdate, inf
|
|||||||
*/
|
*/
|
||||||
export function info (instanceId: string, api: DeriveApi): (id: ParaId | number) => Observable<DeriveTeyrchainFull | null> {
|
export function info (instanceId: string, api: DeriveApi): (id: ParaId | number) => Observable<DeriveTeyrchainFull | null> {
|
||||||
return memo(instanceId, (id: ParaId | number): Observable<DeriveTeyrchainFull | null> =>
|
return memo(instanceId, (id: ParaId | number): Observable<DeriveTeyrchainFull | null> =>
|
||||||
api.query.registrar && api.query['teyrchains']
|
api.query['registrar'] && api.query['teyrchains']
|
||||||
? api.queryMulti<Result>([
|
? api.queryMulti<Result>([
|
||||||
api.query.registrar['active'],
|
api.query['registrar']['active'],
|
||||||
api.query.registrar['retryQueue'],
|
api.query['registrar']['retryQueue'],
|
||||||
api.query.registrar['selectedThreads'],
|
api.query['registrar']['selectedThreads'],
|
||||||
api.query['teyrchains']['didUpdate'],
|
api.query['teyrchains']['didUpdate'],
|
||||||
[api.query.registrar.paras, id],
|
[api.query['registrar']['paras'], id],
|
||||||
[api.query.registrar.pendingSwap, id],
|
[api.query['registrar']['pendingSwap'], id],
|
||||||
[api.query['teyrchains']['heads'], id],
|
[api.query['teyrchains']['heads'], id],
|
||||||
[api.query['teyrchains']['relayDispatchQueue'], id]
|
[api.query['teyrchains']['relayDispatchQueue'], id]
|
||||||
])
|
])
|
||||||
|
|||||||
@@ -45,15 +45,15 @@ function parse ([ids, didUpdate, relayDispatchQueueSizes, infos, pendingSwaps]:
|
|||||||
*/
|
*/
|
||||||
export function overview (instanceId: string, api: DeriveApi): () => Observable<DeriveTeyrchain[]> {
|
export function overview (instanceId: string, api: DeriveApi): () => Observable<DeriveTeyrchain[]> {
|
||||||
return memo(instanceId, (): Observable<DeriveTeyrchain[]> =>
|
return memo(instanceId, (): Observable<DeriveTeyrchain[]> =>
|
||||||
api.query.registrar?.['teyrchains'] && api.query['teyrchains']
|
api.query['registrar']?.['teyrchains'] && api.query['teyrchains']
|
||||||
? api.query.registrar['teyrchains']<ParaId[]>().pipe(
|
? api.query['registrar']['teyrchains']<ParaId[]>().pipe(
|
||||||
switchMap((paraIds) =>
|
switchMap((paraIds) =>
|
||||||
combineLatest([
|
combineLatest([
|
||||||
of(paraIds),
|
of(paraIds),
|
||||||
api.query['teyrchains']['didUpdate']<DidUpdate>(),
|
api.query['teyrchains']['didUpdate']<DidUpdate>(),
|
||||||
api.query['teyrchains']['relayDispatchQueueSize'].multi<RelayDispatchQueueSize>(paraIds),
|
api.query['teyrchains']['relayDispatchQueueSize'].multi<RelayDispatchQueueSize>(paraIds),
|
||||||
api.query.registrar.paras.multi<ParaInfoResult>(paraIds),
|
api.query['registrar']['paras'].multi<ParaInfoResult>(paraIds),
|
||||||
api.query.registrar.pendingSwap.multi<PendingSwap>(paraIds)
|
api.query['registrar']['pendingSwap'].multi<PendingSwap>(paraIds)
|
||||||
])
|
])
|
||||||
),
|
),
|
||||||
map(parse)
|
map(parse)
|
||||||
|
|||||||
@@ -0,0 +1,201 @@
|
|||||||
|
Apache License
|
||||||
|
Version 2.0, January 2004
|
||||||
|
http://www.apache.org/licenses/
|
||||||
|
|
||||||
|
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||||
|
|
||||||
|
1. Definitions.
|
||||||
|
|
||||||
|
"License" shall mean the terms and conditions for use, reproduction,
|
||||||
|
and distribution as defined by Sections 1 through 9 of this document.
|
||||||
|
|
||||||
|
"Licensor" shall mean the copyright owner or entity authorized by
|
||||||
|
the copyright owner that is granting the License.
|
||||||
|
|
||||||
|
"Legal Entity" shall mean the union of the acting entity and all
|
||||||
|
other entities that control, are controlled by, or are under common
|
||||||
|
control with that entity. For the purposes of this definition,
|
||||||
|
"control" means (i) the power, direct or indirect, to cause the
|
||||||
|
direction or management of such entity, whether by contract or
|
||||||
|
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||||
|
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||||
|
|
||||||
|
"You" (or "Your") shall mean an individual or Legal Entity
|
||||||
|
exercising permissions granted by this License.
|
||||||
|
|
||||||
|
"Source" form shall mean the preferred form for making modifications,
|
||||||
|
including but not limited to software source code, documentation
|
||||||
|
source, and configuration files.
|
||||||
|
|
||||||
|
"Object" form shall mean any form resulting from mechanical
|
||||||
|
transformation or translation of a Source form, including but
|
||||||
|
not limited to compiled object code, generated documentation,
|
||||||
|
and conversions to other media types.
|
||||||
|
|
||||||
|
"Work" shall mean the work of authorship, whether in Source or
|
||||||
|
Object form, made available under the License, as indicated by a
|
||||||
|
copyright notice that is included in or attached to the work
|
||||||
|
(an example is provided in the Appendix below).
|
||||||
|
|
||||||
|
"Derivative Works" shall mean any work, whether in Source or Object
|
||||||
|
form, that is based on (or derived from) the Work and for which the
|
||||||
|
editorial revisions, annotations, elaborations, or other modifications
|
||||||
|
represent, as a whole, an original work of authorship. For the purposes
|
||||||
|
of this License, Derivative Works shall not include works that remain
|
||||||
|
separable from, or merely link (or bind by name) to the interfaces of,
|
||||||
|
the Work and Derivative Works thereof.
|
||||||
|
|
||||||
|
"Contribution" shall mean any work of authorship, including
|
||||||
|
the original version of the Work and any modifications or additions
|
||||||
|
to that Work or Derivative Works thereof, that is intentionally
|
||||||
|
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||||
|
or by an individual or Legal Entity authorized to submit on behalf of
|
||||||
|
the copyright owner. For the purposes of this definition, "submitted"
|
||||||
|
means any form of electronic, verbal, or written communication sent
|
||||||
|
to the Licensor or its representatives, including but not limited to
|
||||||
|
communication on electronic mailing lists, source code control systems,
|
||||||
|
and issue tracking systems that are managed by, or on behalf of, the
|
||||||
|
Licensor for the purpose of discussing and improving the Work, but
|
||||||
|
excluding communication that is conspicuously marked or otherwise
|
||||||
|
designated in writing by the copyright owner as "Not a Contribution."
|
||||||
|
|
||||||
|
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||||
|
on behalf of whom a Contribution has been received by Licensor and
|
||||||
|
subsequently incorporated within the Work.
|
||||||
|
|
||||||
|
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
copyright license to reproduce, prepare Derivative Works of,
|
||||||
|
publicly display, publicly perform, sublicense, and distribute the
|
||||||
|
Work and such Derivative Works in Source or Object form.
|
||||||
|
|
||||||
|
3. Grant of Patent License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
(except as stated in this section) patent license to make, have made,
|
||||||
|
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||||
|
where such license applies only to those patent claims licensable
|
||||||
|
by such Contributor that are necessarily infringed by their
|
||||||
|
Contribution(s) alone or by combination of their Contribution(s)
|
||||||
|
with the Work to which such Contribution(s) was submitted. If You
|
||||||
|
institute patent litigation against any entity (including a
|
||||||
|
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||||
|
or a Contribution incorporated within the Work constitutes direct
|
||||||
|
or contributory patent infringement, then any patent licenses
|
||||||
|
granted to You under this License for that Work shall terminate
|
||||||
|
as of the date such litigation is filed.
|
||||||
|
|
||||||
|
4. Redistribution. You may reproduce and distribute copies of the
|
||||||
|
Work or Derivative Works thereof in any medium, with or without
|
||||||
|
modifications, and in Source or Object form, provided that You
|
||||||
|
meet the following conditions:
|
||||||
|
|
||||||
|
(a) You must give any other recipients of the Work or
|
||||||
|
Derivative Works a copy of this License; and
|
||||||
|
|
||||||
|
(b) You must cause any modified files to carry prominent notices
|
||||||
|
stating that You changed the files; and
|
||||||
|
|
||||||
|
(c) You must retain, in the Source form of any Derivative Works
|
||||||
|
that You distribute, all copyright, patent, trademark, and
|
||||||
|
attribution notices from the Source form of the Work,
|
||||||
|
excluding those notices that do not pertain to any part of
|
||||||
|
the Derivative Works; and
|
||||||
|
|
||||||
|
(d) If the Work includes a "NOTICE" text file as part of its
|
||||||
|
distribution, then any Derivative Works that You distribute must
|
||||||
|
include a readable copy of the attribution notices contained
|
||||||
|
within such NOTICE file, excluding those notices that do not
|
||||||
|
pertain to any part of the Derivative Works, in at least one
|
||||||
|
of the following places: within a NOTICE text file distributed
|
||||||
|
as part of the Derivative Works; within the Source form or
|
||||||
|
documentation, if provided along with the Derivative Works; or,
|
||||||
|
within a display generated by the Derivative Works, if and
|
||||||
|
wherever such third-party notices normally appear. The contents
|
||||||
|
of the NOTICE file are for informational purposes only and
|
||||||
|
do not modify the License. You may add Your own attribution
|
||||||
|
notices within Derivative Works that You distribute, alongside
|
||||||
|
or as an addendum to the NOTICE text from the Work, provided
|
||||||
|
that such additional attribution notices cannot be construed
|
||||||
|
as modifying the License.
|
||||||
|
|
||||||
|
You may add Your own copyright statement to Your modifications and
|
||||||
|
may provide additional or different license terms and conditions
|
||||||
|
for use, reproduction, or distribution of Your modifications, or
|
||||||
|
for any such Derivative Works as a whole, provided Your use,
|
||||||
|
reproduction, and distribution of the Work otherwise complies with
|
||||||
|
the conditions stated in this License.
|
||||||
|
|
||||||
|
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||||
|
any Contribution intentionally submitted for inclusion in the Work
|
||||||
|
by You to the Licensor shall be under the terms and conditions of
|
||||||
|
this License, without any additional terms or conditions.
|
||||||
|
Notwithstanding the above, nothing herein shall supersede or modify
|
||||||
|
the terms of any separate license agreement you may have executed
|
||||||
|
with Licensor regarding such Contributions.
|
||||||
|
|
||||||
|
6. Trademarks. This License does not grant permission to use the trade
|
||||||
|
names, trademarks, service marks, or product names of the Licensor,
|
||||||
|
except as required for reasonable and customary use in describing the
|
||||||
|
origin of the Work and reproducing the content of the NOTICE file.
|
||||||
|
|
||||||
|
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||||
|
agreed to in writing, Licensor provides the Work (and each
|
||||||
|
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||||
|
implied, including, without limitation, any warranties or conditions
|
||||||
|
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||||
|
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||||
|
appropriateness of using or redistributing the Work and assume any
|
||||||
|
risks associated with Your exercise of permissions under this License.
|
||||||
|
|
||||||
|
8. Limitation of Liability. In no event and under no legal theory,
|
||||||
|
whether in tort (including negligence), contract, or otherwise,
|
||||||
|
unless required by applicable law (such as deliberate and grossly
|
||||||
|
negligent acts) or agreed to in writing, shall any Contributor be
|
||||||
|
liable to You for damages, including any direct, indirect, special,
|
||||||
|
incidental, or consequential damages of any character arising as a
|
||||||
|
result of this License or out of the use or inability to use the
|
||||||
|
Work (including but not limited to damages for loss of goodwill,
|
||||||
|
work stoppage, computer failure or malfunction, or any and all
|
||||||
|
other commercial damages or losses), even if such Contributor
|
||||||
|
has been advised of the possibility of such damages.
|
||||||
|
|
||||||
|
9. Accepting Warranty or Additional Liability. While redistributing
|
||||||
|
the Work or Derivative Works thereof, You may choose to offer,
|
||||||
|
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||||
|
or other liability obligations and/or rights consistent with this
|
||||||
|
License. However, in accepting such obligations, You may act only
|
||||||
|
on Your own behalf and on Your sole responsibility, not on behalf
|
||||||
|
of any other Contributor, and only if You agree to indemnify,
|
||||||
|
defend, and hold each Contributor harmless for any liability
|
||||||
|
incurred by, or claims asserted against, such Contributor by reason
|
||||||
|
of your accepting any such warranty or additional liability.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
APPENDIX: How to apply the Apache License to your work.
|
||||||
|
|
||||||
|
To apply the Apache License to your work, attach the following
|
||||||
|
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||||
|
replaced with your own identifying information. (Don't include
|
||||||
|
the brackets!) The text should be enclosed in the appropriate
|
||||||
|
comment syntax for the file format. We also recommend that a
|
||||||
|
file or class name and description of purpose be included on the
|
||||||
|
same "printed page" as the copyright notice for easier
|
||||||
|
identification within third-party archives.
|
||||||
|
|
||||||
|
Copyright [yyyy] [name of copyright owner]
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
+589
-22
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"author": "Jaco Greeff <jacogr@gmail.com>",
|
"author": "PezkuwiChain <dev@pezkuwichain.io>",
|
||||||
"bugs": "https://github.com/pezkuwichain/pezkuwi-api/issues",
|
"bugs": "https://github.com/pezkuwichain/pezkuwi-api/issues",
|
||||||
"description": "Promise and RxJS wrappers around the Pezkuwi JS RPC",
|
"description": "Promise and RxJS wrappers around the Pezkuwi JS RPC",
|
||||||
"engines": {
|
"engines": {
|
||||||
@@ -15,32 +15,599 @@
|
|||||||
},
|
},
|
||||||
"sideEffects": [
|
"sideEffects": [
|
||||||
"./packageDetect.js",
|
"./packageDetect.js",
|
||||||
"./packageDetect.cjs"
|
"./cjs/packageDetect.js"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "16.5.6",
|
"types": "./index.d.ts",
|
||||||
"main": "index.js",
|
"version": "16.5.34",
|
||||||
|
"main": "./cjs/index.js",
|
||||||
|
"module": "./index.js",
|
||||||
|
"exports": {
|
||||||
|
".": {
|
||||||
|
"module": {
|
||||||
|
"types": "./index.d.ts",
|
||||||
|
"default": "./index.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/index.d.ts",
|
||||||
|
"default": "./cjs/index.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./index.d.ts",
|
||||||
|
"default": "./index.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./augment": {
|
||||||
|
"module": {
|
||||||
|
"types": "./augment.d.ts",
|
||||||
|
"default": "./augment.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/augment.d.ts",
|
||||||
|
"default": "./cjs/augment.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./augment.d.ts",
|
||||||
|
"default": "./augment.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./base": {
|
||||||
|
"module": {
|
||||||
|
"types": "./base/index.d.ts",
|
||||||
|
"default": "./base/index.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/base/index.d.ts",
|
||||||
|
"default": "./cjs/base/index.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./base/index.d.ts",
|
||||||
|
"default": "./base/index.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./base/Decorate": {
|
||||||
|
"module": {
|
||||||
|
"types": "./base/Decorate.d.ts",
|
||||||
|
"default": "./base/Decorate.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/base/Decorate.d.ts",
|
||||||
|
"default": "./cjs/base/Decorate.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./base/Decorate.d.ts",
|
||||||
|
"default": "./base/Decorate.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./base/Events": {
|
||||||
|
"module": {
|
||||||
|
"types": "./base/Events.d.ts",
|
||||||
|
"default": "./base/Events.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/base/Events.d.ts",
|
||||||
|
"default": "./cjs/base/Events.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./base/Events.d.ts",
|
||||||
|
"default": "./base/Events.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./base/find": {
|
||||||
|
"module": {
|
||||||
|
"types": "./base/find.d.ts",
|
||||||
|
"default": "./base/find.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/base/find.d.ts",
|
||||||
|
"default": "./cjs/base/find.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./base/find.d.ts",
|
||||||
|
"default": "./base/find.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./base/Getters": {
|
||||||
|
"module": {
|
||||||
|
"types": "./base/Getters.d.ts",
|
||||||
|
"default": "./base/Getters.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/base/Getters.d.ts",
|
||||||
|
"default": "./cjs/base/Getters.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./base/Getters.d.ts",
|
||||||
|
"default": "./base/Getters.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./base/Init": {
|
||||||
|
"module": {
|
||||||
|
"types": "./base/Init.d.ts",
|
||||||
|
"default": "./base/Init.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/base/Init.d.ts",
|
||||||
|
"default": "./cjs/base/Init.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./base/Init.d.ts",
|
||||||
|
"default": "./base/Init.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./base/types": {
|
||||||
|
"module": {
|
||||||
|
"types": "./base/types.d.ts",
|
||||||
|
"default": "./base/types.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/base/types.d.ts",
|
||||||
|
"default": "./cjs/base/types.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./base/types.d.ts",
|
||||||
|
"default": "./base/types.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./bundle": {
|
||||||
|
"module": {
|
||||||
|
"types": "./bundle.d.ts",
|
||||||
|
"default": "./bundle.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/bundle.d.ts",
|
||||||
|
"default": "./cjs/bundle.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./bundle.d.ts",
|
||||||
|
"default": "./bundle.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./cjs/*": "./cjs/*.js",
|
||||||
|
"./cjs/package.json": "./cjs/package.json",
|
||||||
|
"./package.json": {
|
||||||
|
"require": "./cjs/package.json",
|
||||||
|
"default": "./package.json"
|
||||||
|
},
|
||||||
|
"./packageDetect": {
|
||||||
|
"module": {
|
||||||
|
"types": "./packageDetect.d.ts",
|
||||||
|
"default": "./packageDetect.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/packageDetect.d.ts",
|
||||||
|
"default": "./cjs/packageDetect.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./packageDetect.d.ts",
|
||||||
|
"default": "./packageDetect.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./packageInfo": {
|
||||||
|
"module": {
|
||||||
|
"types": "./packageInfo.d.ts",
|
||||||
|
"default": "./packageInfo.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/packageInfo.d.ts",
|
||||||
|
"default": "./cjs/packageInfo.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./packageInfo.d.ts",
|
||||||
|
"default": "./packageInfo.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./packageInfo.js": {
|
||||||
|
"module": {
|
||||||
|
"types": "./packageInfo.d.ts",
|
||||||
|
"default": "./packageInfo.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/packageInfo.d.ts",
|
||||||
|
"default": "./cjs/packageInfo.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./packageInfo.d.ts",
|
||||||
|
"default": "./packageInfo.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./promise": {
|
||||||
|
"module": {
|
||||||
|
"types": "./promise/index.d.ts",
|
||||||
|
"default": "./promise/index.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/promise/index.d.ts",
|
||||||
|
"default": "./cjs/promise/index.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./promise/index.d.ts",
|
||||||
|
"default": "./promise/index.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./promise/Api": {
|
||||||
|
"module": {
|
||||||
|
"types": "./promise/Api.d.ts",
|
||||||
|
"default": "./promise/Api.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/promise/Api.d.ts",
|
||||||
|
"default": "./cjs/promise/Api.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./promise/Api.d.ts",
|
||||||
|
"default": "./promise/Api.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./promise/Combinator": {
|
||||||
|
"module": {
|
||||||
|
"types": "./promise/Combinator.d.ts",
|
||||||
|
"default": "./promise/Combinator.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/promise/Combinator.d.ts",
|
||||||
|
"default": "./cjs/promise/Combinator.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./promise/Combinator.d.ts",
|
||||||
|
"default": "./promise/Combinator.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./promise/decorateMethod": {
|
||||||
|
"module": {
|
||||||
|
"types": "./promise/decorateMethod.d.ts",
|
||||||
|
"default": "./promise/decorateMethod.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/promise/decorateMethod.d.ts",
|
||||||
|
"default": "./cjs/promise/decorateMethod.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./promise/decorateMethod.d.ts",
|
||||||
|
"default": "./promise/decorateMethod.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./promise/types": {
|
||||||
|
"module": {
|
||||||
|
"types": "./promise/types.d.ts",
|
||||||
|
"default": "./promise/types.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/promise/types.d.ts",
|
||||||
|
"default": "./cjs/promise/types.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./promise/types.d.ts",
|
||||||
|
"default": "./promise/types.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./rx": {
|
||||||
|
"module": {
|
||||||
|
"types": "./rx/index.d.ts",
|
||||||
|
"default": "./rx/index.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/rx/index.d.ts",
|
||||||
|
"default": "./cjs/rx/index.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./rx/index.d.ts",
|
||||||
|
"default": "./rx/index.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./rx/Api": {
|
||||||
|
"module": {
|
||||||
|
"types": "./rx/Api.d.ts",
|
||||||
|
"default": "./rx/Api.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/rx/Api.d.ts",
|
||||||
|
"default": "./cjs/rx/Api.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./rx/Api.d.ts",
|
||||||
|
"default": "./rx/Api.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./rx/decorateMethod": {
|
||||||
|
"module": {
|
||||||
|
"types": "./rx/decorateMethod.d.ts",
|
||||||
|
"default": "./rx/decorateMethod.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/rx/decorateMethod.d.ts",
|
||||||
|
"default": "./cjs/rx/decorateMethod.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./rx/decorateMethod.d.ts",
|
||||||
|
"default": "./rx/decorateMethod.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./submittable": {
|
||||||
|
"module": {
|
||||||
|
"types": "./submittable/index.d.ts",
|
||||||
|
"default": "./submittable/index.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/submittable/index.d.ts",
|
||||||
|
"default": "./cjs/submittable/index.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./submittable/index.d.ts",
|
||||||
|
"default": "./submittable/index.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./submittable/createClass": {
|
||||||
|
"module": {
|
||||||
|
"types": "./submittable/createClass.d.ts",
|
||||||
|
"default": "./submittable/createClass.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/submittable/createClass.d.ts",
|
||||||
|
"default": "./cjs/submittable/createClass.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./submittable/createClass.d.ts",
|
||||||
|
"default": "./submittable/createClass.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./submittable/createSubmittable": {
|
||||||
|
"module": {
|
||||||
|
"types": "./submittable/createSubmittable.d.ts",
|
||||||
|
"default": "./submittable/createSubmittable.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/submittable/createSubmittable.d.ts",
|
||||||
|
"default": "./cjs/submittable/createSubmittable.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./submittable/createSubmittable.d.ts",
|
||||||
|
"default": "./submittable/createSubmittable.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./submittable/Result": {
|
||||||
|
"module": {
|
||||||
|
"types": "./submittable/Result.d.ts",
|
||||||
|
"default": "./submittable/Result.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/submittable/Result.d.ts",
|
||||||
|
"default": "./cjs/submittable/Result.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./submittable/Result.d.ts",
|
||||||
|
"default": "./submittable/Result.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./submittable/types": {
|
||||||
|
"module": {
|
||||||
|
"types": "./submittable/types.d.ts",
|
||||||
|
"default": "./submittable/types.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/submittable/types.d.ts",
|
||||||
|
"default": "./cjs/submittable/types.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./submittable/types.d.ts",
|
||||||
|
"default": "./submittable/types.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./types": {
|
||||||
|
"module": {
|
||||||
|
"types": "./types/index.d.ts",
|
||||||
|
"default": "./types/index.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/types/index.d.ts",
|
||||||
|
"default": "./cjs/types/index.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./types/index.d.ts",
|
||||||
|
"default": "./types/index.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./types/calls": {
|
||||||
|
"module": {
|
||||||
|
"types": "./types/calls.d.ts",
|
||||||
|
"default": "./types/calls.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/types/calls.d.ts",
|
||||||
|
"default": "./cjs/types/calls.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./types/calls.d.ts",
|
||||||
|
"default": "./types/calls.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./types/consts": {
|
||||||
|
"module": {
|
||||||
|
"types": "./types/consts.d.ts",
|
||||||
|
"default": "./types/consts.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/types/consts.d.ts",
|
||||||
|
"default": "./cjs/types/consts.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./types/consts.d.ts",
|
||||||
|
"default": "./types/consts.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./types/errors": {
|
||||||
|
"module": {
|
||||||
|
"types": "./types/errors.d.ts",
|
||||||
|
"default": "./types/errors.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/types/errors.d.ts",
|
||||||
|
"default": "./cjs/types/errors.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./types/errors.d.ts",
|
||||||
|
"default": "./types/errors.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./types/events": {
|
||||||
|
"module": {
|
||||||
|
"types": "./types/events.d.ts",
|
||||||
|
"default": "./types/events.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/types/events.d.ts",
|
||||||
|
"default": "./cjs/types/events.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./types/events.d.ts",
|
||||||
|
"default": "./types/events.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./types/storage": {
|
||||||
|
"module": {
|
||||||
|
"types": "./types/storage.d.ts",
|
||||||
|
"default": "./types/storage.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/types/storage.d.ts",
|
||||||
|
"default": "./cjs/types/storage.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./types/storage.d.ts",
|
||||||
|
"default": "./types/storage.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./types/submittable": {
|
||||||
|
"module": {
|
||||||
|
"types": "./types/submittable.d.ts",
|
||||||
|
"default": "./types/submittable.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/types/submittable.d.ts",
|
||||||
|
"default": "./cjs/types/submittable.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./types/submittable.d.ts",
|
||||||
|
"default": "./types/submittable.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./util": {
|
||||||
|
"module": {
|
||||||
|
"types": "./util/index.d.ts",
|
||||||
|
"default": "./util/index.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/util/index.d.ts",
|
||||||
|
"default": "./cjs/util/index.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./util/index.d.ts",
|
||||||
|
"default": "./util/index.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./util/augmentObject": {
|
||||||
|
"module": {
|
||||||
|
"types": "./util/augmentObject.d.ts",
|
||||||
|
"default": "./util/augmentObject.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/util/augmentObject.d.ts",
|
||||||
|
"default": "./cjs/util/augmentObject.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./util/augmentObject.d.ts",
|
||||||
|
"default": "./util/augmentObject.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./util/decorate": {
|
||||||
|
"module": {
|
||||||
|
"types": "./util/decorate.d.ts",
|
||||||
|
"default": "./util/decorate.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/util/decorate.d.ts",
|
||||||
|
"default": "./cjs/util/decorate.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./util/decorate.d.ts",
|
||||||
|
"default": "./util/decorate.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./util/filterEvents": {
|
||||||
|
"module": {
|
||||||
|
"types": "./util/filterEvents.d.ts",
|
||||||
|
"default": "./util/filterEvents.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/util/filterEvents.d.ts",
|
||||||
|
"default": "./cjs/util/filterEvents.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./util/filterEvents.d.ts",
|
||||||
|
"default": "./util/filterEvents.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./util/isKeyringPair": {
|
||||||
|
"module": {
|
||||||
|
"types": "./util/isKeyringPair.d.ts",
|
||||||
|
"default": "./util/isKeyringPair.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/util/isKeyringPair.d.ts",
|
||||||
|
"default": "./cjs/util/isKeyringPair.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./util/isKeyringPair.d.ts",
|
||||||
|
"default": "./util/isKeyringPair.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./util/logging": {
|
||||||
|
"module": {
|
||||||
|
"types": "./util/logging.d.ts",
|
||||||
|
"default": "./util/logging.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/util/logging.d.ts",
|
||||||
|
"default": "./cjs/util/logging.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./util/logging.d.ts",
|
||||||
|
"default": "./util/logging.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"./util/validate": {
|
||||||
|
"module": {
|
||||||
|
"types": "./util/validate.d.ts",
|
||||||
|
"default": "./util/validate.js"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./cjs/util/validate.d.ts",
|
||||||
|
"default": "./cjs/util/validate.js"
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"types": "./util/validate.d.ts",
|
||||||
|
"default": "./util/validate.js"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@pezkuwi/api-augment": "16.5.4",
|
"@pezkuwi/api-augment": "16.5.34",
|
||||||
"@pezkuwi/api-base": "16.5.4",
|
"@pezkuwi/api-base": "16.5.34",
|
||||||
"@pezkuwi/api-derive": "16.5.4",
|
"@pezkuwi/api-derive": "16.5.34",
|
||||||
"@pezkuwi/keyring": "^14.0.1",
|
"@pezkuwi/keyring": "14.0.23",
|
||||||
"@pezkuwi/rpc-augment": "16.5.4",
|
"@pezkuwi/rpc-augment": "16.5.34",
|
||||||
"@pezkuwi/rpc-core": "16.5.4",
|
"@pezkuwi/rpc-core": "16.5.34",
|
||||||
"@pezkuwi/rpc-provider": "16.5.4",
|
"@pezkuwi/rpc-provider": "16.5.34",
|
||||||
"@pezkuwi/types": "16.5.4",
|
"@pezkuwi/types": "16.5.34",
|
||||||
"@pezkuwi/types-augment": "16.5.4",
|
"@pezkuwi/types-augment": "16.5.34",
|
||||||
"@pezkuwi/types-codec": "16.5.4",
|
"@pezkuwi/types-codec": "16.5.34",
|
||||||
"@pezkuwi/types-create": "16.5.4",
|
"@pezkuwi/types-create": "16.5.34",
|
||||||
"@pezkuwi/types-known": "16.5.4",
|
"@pezkuwi/types-known": "16.5.34",
|
||||||
"@pezkuwi/util": "^14.0.1",
|
"@pezkuwi/types-support": "16.5.34",
|
||||||
"@pezkuwi/util-crypto": "^14.0.1",
|
"@pezkuwi/util": "14.0.23",
|
||||||
|
"@pezkuwi/util-crypto": "14.0.23",
|
||||||
"eventemitter3": "^5.0.1",
|
"eventemitter3": "^5.0.1",
|
||||||
"rxjs": "^7.8.1",
|
"rxjs": "^7.8.1",
|
||||||
"tslib": "^2.8.1"
|
"tslib": "^2.8.1"
|
||||||
},
|
|
||||||
"devDependencies": {
|
|
||||||
"@pezkuwi/api-augment": "16.5.4",
|
|
||||||
"@pezkuwi/types-support": "16.5.4"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @pezkuwi/dev
|
// Do not edit, auto-generated by @pezkuwi/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@pezkuwi/api', path: 'auto', type: 'auto', version: '16.5.4' };
|
export const packageInfo = { name: '@pezkuwi/api', path: 'auto', type: 'auto', version: '16.5.34' };
|
||||||
|
|||||||
@@ -54,7 +54,8 @@ function makeEraOptions (api: ApiInterfaceRx, registry: Registry, partialOptions
|
|||||||
}
|
}
|
||||||
|
|
||||||
return makeSignOptions(api, partialOptions, {
|
return makeSignOptions(api, partialOptions, {
|
||||||
blockHash: header.hash,
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||||
|
blockHash: header.hash as any,
|
||||||
era: registry.createTypeUnsafe<ExtrinsicEra>('ExtrinsicEra', [{
|
era: registry.createTypeUnsafe<ExtrinsicEra>('ExtrinsicEra', [{
|
||||||
current: header.number,
|
current: header.number,
|
||||||
period: partialOptions.era || mortalLength
|
period: partialOptions.era || mortalLength
|
||||||
|
|||||||
@@ -0,0 +1,21 @@
|
|||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2023 Josep M Sobrepere
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
# @polkadot-api/substrate-bindings
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
import { enhanceCodec, Bytes, _void } from 'scale-ts';
|
||||||
|
import '../utils/ss58-util.mjs';
|
||||||
|
import './scale/Binary.mjs';
|
||||||
|
import './scale/bitSequence.mjs';
|
||||||
|
import './scale/char.mjs';
|
||||||
|
import { compactNumber } from './scale/compact.mjs';
|
||||||
|
import { Hex } from './scale/Hex.mjs';
|
||||||
|
import './scale/fixed-str.mjs';
|
||||||
|
import { Variant } from './scale/Variant.mjs';
|
||||||
|
import './scale/ethAccount.mjs';
|
||||||
|
import { Struct, Vector } from './scale/shaped.mjs';
|
||||||
|
import './scale/BitSeq.mjs';
|
||||||
|
|
||||||
|
const textEncoder$1 = new TextEncoder();
|
||||||
|
const textDecoder = new TextDecoder();
|
||||||
|
const fourChars = enhanceCodec(
|
||||||
|
Bytes(4),
|
||||||
|
textEncoder$1.encode.bind(textEncoder$1),
|
||||||
|
textDecoder.decode.bind(textDecoder)
|
||||||
|
);
|
||||||
|
const diggestVal = Struct({
|
||||||
|
engine: fourChars,
|
||||||
|
payload: Hex()
|
||||||
|
});
|
||||||
|
const diggest = Variant(
|
||||||
|
{
|
||||||
|
other: Bytes(),
|
||||||
|
consensus: diggestVal,
|
||||||
|
seal: diggestVal,
|
||||||
|
preRuntime: diggestVal,
|
||||||
|
runtimeUpdated: _void
|
||||||
|
},
|
||||||
|
[0, 4, 5, 6, 8]
|
||||||
|
);
|
||||||
|
const hex32$1 = Hex(32);
|
||||||
|
const blockHeader = Struct({
|
||||||
|
parentHash: hex32$1,
|
||||||
|
number: compactNumber,
|
||||||
|
stateRoot: hex32$1,
|
||||||
|
extrinsicRoot: hex32$1,
|
||||||
|
digests: Vector(diggest)
|
||||||
|
});
|
||||||
|
|
||||||
|
export { blockHeader };
|
||||||
|
//# sourceMappingURL=blockHeader.mjs.map
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"version":3,"file":"blockHeader.mjs","sources":["../../../src/codecs/blockHeader.ts"],"sourcesContent":["import {\n Bytes,\n CodecType,\n Struct,\n Vector,\n _void,\n enhanceCodec,\n Hex,\n Variant,\n compactNumber,\n} from \"./scale\"\n\nconst textEncoder = new TextEncoder()\nconst textDecoder = new TextDecoder()\n\nconst fourChars = enhanceCodec(\n Bytes(4),\n textEncoder.encode.bind(textEncoder),\n textDecoder.decode.bind(textDecoder),\n)\n\nconst diggestVal = Struct({\n engine: fourChars,\n payload: Hex(),\n})\n\nconst diggest = Variant(\n {\n other: Bytes(),\n consensus: diggestVal,\n seal: diggestVal,\n preRuntime: diggestVal,\n runtimeUpdated: _void,\n },\n [0, 4, 5, 6, 8],\n)\n\nconst hex32 = Hex(32)\nexport const blockHeader = Struct({\n parentHash: hex32,\n number: compactNumber,\n stateRoot: hex32,\n extrinsicRoot: hex32,\n digests: Vector(diggest),\n})\n\nexport type BlockHeader = CodecType<typeof blockHeader>\n"],"names":["textEncoder","hex32"],"mappings":";;;;;;;;;;;;;AAYA,MAAMA,aAAA,GAAc,IAAI,WAAA,EAAY;AACpC,MAAM,WAAA,GAAc,IAAI,WAAA,EAAY;AAEpC,MAAM,SAAA,GAAY,YAAA;AAAA,EAChB,MAAM,CAAC,CAAA;AAAA,EACPA,aAAA,CAAY,MAAA,CAAO,IAAA,CAAKA,aAAW,CAAA;AAAA,EACnC,WAAA,CAAY,MAAA,CAAO,IAAA,CAAK,WAAW;AACrC,CAAA;AAEA,MAAM,aAAa,MAAA,CAAO;AAAA,EACxB,MAAA,EAAQ,SAAA;AAAA,EACR,SAAS,GAAA;AACX,CAAC,CAAA;AAED,MAAM,OAAA,GAAU,OAAA;AAAA,EACd;AAAA,IACE,OAAO,KAAA,EAAM;AAAA,IACb,SAAA,EAAW,UAAA;AAAA,IACX,IAAA,EAAM,UAAA;AAAA,IACN,UAAA,EAAY,UAAA;AAAA,IACZ,cAAA,EAAgB;AAAA,GAClB;AAAA,EACA,CAAC,CAAA,EAAG,CAAA,EAAG,CAAA,EAAG,GAAG,CAAC;AAChB,CAAA;AAEA,MAAMC,OAAA,GAAQ,IAAI,EAAE,CAAA;AACb,MAAM,cAAc,MAAA,CAAO;AAAA,EAChC,UAAA,EAAYA,OAAA;AAAA,EACZ,MAAA,EAAQ,aAAA;AAAA,EACR,SAAA,EAAWA,OAAA;AAAA,EACX,aAAA,EAAeA,OAAA;AAAA,EACf,OAAA,EAAS,OAAO,OAAO;AACzB,CAAC;;;;"}
|
||||||
@@ -0,0 +1,28 @@
|
|||||||
|
import { Enum, Struct, _void, Option, str, Vector, u8 } from 'scale-ts';
|
||||||
|
|
||||||
|
const itemDeprecation = Enum({
|
||||||
|
NotDeprecated: _void,
|
||||||
|
DeprecatedWithoutNote: _void,
|
||||||
|
Deprecated: Struct({
|
||||||
|
note: str,
|
||||||
|
since: Option(str)
|
||||||
|
})
|
||||||
|
});
|
||||||
|
const variantDeprecation = Vector(
|
||||||
|
Struct({
|
||||||
|
index: u8,
|
||||||
|
deprecation: Enum(
|
||||||
|
{
|
||||||
|
DeprecatedWithoutNote: _void,
|
||||||
|
Deprecated: Struct({
|
||||||
|
note: str,
|
||||||
|
since: Option(str)
|
||||||
|
})
|
||||||
|
},
|
||||||
|
[1, 2]
|
||||||
|
)
|
||||||
|
})
|
||||||
|
);
|
||||||
|
|
||||||
|
export { itemDeprecation, variantDeprecation };
|
||||||
|
//# sourceMappingURL=deprecation.mjs.map
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"version":3,"file":"deprecation.mjs","sources":["../../../../src/codecs/metadata/deprecation.ts"],"sourcesContent":["import { _void, Enum, Option, str, Struct, u8, Vector } from \"scale-ts\"\n\nexport const itemDeprecation = Enum({\n NotDeprecated: _void,\n DeprecatedWithoutNote: _void,\n Deprecated: Struct({\n note: str,\n since: Option(str),\n }),\n})\n\nexport const variantDeprecation = Vector(\n Struct({\n index: u8,\n deprecation: Enum(\n {\n DeprecatedWithoutNote: _void,\n Deprecated: Struct({\n note: str,\n since: Option(str),\n }),\n },\n [1, 2],\n ),\n }),\n)\n"],"names":[],"mappings":";;AAEO,MAAM,kBAAkB,IAAA,CAAK;AAAA,EAClC,aAAA,EAAe,KAAA;AAAA,EACf,qBAAA,EAAuB,KAAA;AAAA,EACvB,YAAY,MAAA,CAAO;AAAA,IACjB,IAAA,EAAM,GAAA;AAAA,IACN,KAAA,EAAO,OAAO,GAAG;AAAA,GAClB;AACH,CAAC;AAEM,MAAM,kBAAA,GAAqB,MAAA;AAAA,EAChC,MAAA,CAAO;AAAA,IACL,KAAA,EAAO,EAAA;AAAA,IACP,WAAA,EAAa,IAAA;AAAA,MACX;AAAA,QACE,qBAAA,EAAuB,KAAA;AAAA,QACvB,YAAY,MAAA,CAAO;AAAA,UACjB,IAAA,EAAM,GAAA;AAAA,UACN,KAAA,EAAO,OAAO,GAAG;AAAA,SAClB;AAAA,OACH;AAAA,MACA,CAAC,GAAG,CAAC;AAAA;AACP,GACD;AACH;;;;"}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
import { Vector, str } from 'scale-ts';
|
||||||
|
|
||||||
|
const docs = Vector(str);
|
||||||
|
|
||||||
|
export { docs };
|
||||||
|
//# sourceMappingURL=docs.mjs.map
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"version":3,"file":"docs.mjs","sources":["../../../../src/codecs/metadata/docs.ts"],"sourcesContent":["import { Vector, str } from \"scale-ts\"\n\nexport const docs = Vector(str)\n"],"names":[],"mappings":";;AAEO,MAAM,IAAA,GAAO,OAAO,GAAG;;;;"}
|
||||||
@@ -0,0 +1,72 @@
|
|||||||
|
import { compactNumber } from '../scale/compact.mjs';
|
||||||
|
import { Option, str, Enum, _void, Vector, Struct, u32, u8 } from 'scale-ts';
|
||||||
|
import { docs } from './docs.mjs';
|
||||||
|
|
||||||
|
const oStr = Option(str);
|
||||||
|
const primitive = Enum({
|
||||||
|
bool: _void,
|
||||||
|
char: _void,
|
||||||
|
str: _void,
|
||||||
|
u8: _void,
|
||||||
|
u16: _void,
|
||||||
|
u32: _void,
|
||||||
|
u64: _void,
|
||||||
|
u128: _void,
|
||||||
|
u256: _void,
|
||||||
|
i8: _void,
|
||||||
|
i16: _void,
|
||||||
|
i32: _void,
|
||||||
|
i64: _void,
|
||||||
|
i128: _void,
|
||||||
|
i256: _void
|
||||||
|
});
|
||||||
|
const fields = Vector(
|
||||||
|
Struct({
|
||||||
|
name: oStr,
|
||||||
|
type: compactNumber,
|
||||||
|
typeName: oStr,
|
||||||
|
docs
|
||||||
|
})
|
||||||
|
);
|
||||||
|
const arr = Struct({
|
||||||
|
len: u32,
|
||||||
|
type: compactNumber
|
||||||
|
});
|
||||||
|
const bitSequence = Struct({
|
||||||
|
bitStoreType: compactNumber,
|
||||||
|
bitOrderType: compactNumber
|
||||||
|
});
|
||||||
|
const variant = Vector(
|
||||||
|
Struct({
|
||||||
|
name: str,
|
||||||
|
fields,
|
||||||
|
index: u8,
|
||||||
|
docs
|
||||||
|
})
|
||||||
|
);
|
||||||
|
const def = Enum({
|
||||||
|
composite: fields,
|
||||||
|
variant,
|
||||||
|
sequence: compactNumber,
|
||||||
|
array: arr,
|
||||||
|
tuple: Vector(compactNumber),
|
||||||
|
primitive,
|
||||||
|
compact: compactNumber,
|
||||||
|
bitSequence
|
||||||
|
});
|
||||||
|
const param = Struct({
|
||||||
|
name: str,
|
||||||
|
type: Option(compactNumber)
|
||||||
|
});
|
||||||
|
const params = Vector(param);
|
||||||
|
const entry = Struct({
|
||||||
|
id: compactNumber,
|
||||||
|
path: docs,
|
||||||
|
params,
|
||||||
|
def,
|
||||||
|
docs
|
||||||
|
});
|
||||||
|
const lookup = Vector(entry);
|
||||||
|
|
||||||
|
export { lookup };
|
||||||
|
//# sourceMappingURL=lookup.mjs.map
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"version":3,"file":"lookup.mjs","sources":["../../../../src/codecs/metadata/lookup.ts"],"sourcesContent":["import { compactNumber } from \"../scale/compact\"\nimport {\n CodecType,\n Enum,\n Option,\n Struct,\n Vector,\n _void,\n str,\n u32,\n u8,\n} from \"scale-ts\"\nimport { docs } from \"./docs\"\n\nconst oStr = Option(str)\n\nconst primitive = Enum({\n bool: _void,\n char: _void,\n str: _void,\n u8: _void,\n u16: _void,\n u32: _void,\n u64: _void,\n u128: _void,\n u256: _void,\n i8: _void,\n i16: _void,\n i32: _void,\n i64: _void,\n i128: _void,\n i256: _void,\n})\n\nconst fields = Vector(\n Struct({\n name: oStr,\n type: compactNumber,\n typeName: oStr,\n docs,\n }),\n)\n\nconst arr = Struct({\n len: u32,\n type: compactNumber,\n})\n\nconst bitSequence = Struct({\n bitStoreType: compactNumber,\n bitOrderType: compactNumber,\n})\n\nconst variant = Vector(\n Struct({\n name: str,\n fields,\n index: u8,\n docs,\n }),\n)\n\nconst def = Enum({\n composite: fields,\n variant,\n sequence: compactNumber,\n array: arr,\n tuple: Vector(compactNumber),\n primitive,\n compact: compactNumber,\n bitSequence,\n})\n\nconst param = Struct({\n name: str,\n type: Option(compactNumber),\n})\nconst params = Vector(param)\n\nconst entry = Struct({\n id: compactNumber,\n path: docs,\n params,\n def,\n docs,\n})\n\nexport const lookup = Vector(entry)\nexport type V14Lookup = CodecType<typeof lookup>\n"],"names":[],"mappings":";;;;AAcA,MAAM,IAAA,GAAO,OAAO,GAAG,CAAA;AAEvB,MAAM,YAAY,IAAA,CAAK;AAAA,EACrB,IAAA,EAAM,KAAA;AAAA,EACN,IAAA,EAAM,KAAA;AAAA,EACN,GAAA,EAAK,KAAA;AAAA,EACL,EAAA,EAAI,KAAA;AAAA,EACJ,GAAA,EAAK,KAAA;AAAA,EACL,GAAA,EAAK,KAAA;AAAA,EACL,GAAA,EAAK,KAAA;AAAA,EACL,IAAA,EAAM,KAAA;AAAA,EACN,IAAA,EAAM,KAAA;AAAA,EACN,EAAA,EAAI,KAAA;AAAA,EACJ,GAAA,EAAK,KAAA;AAAA,EACL,GAAA,EAAK,KAAA;AAAA,EACL,GAAA,EAAK,KAAA;AAAA,EACL,IAAA,EAAM,KAAA;AAAA,EACN,IAAA,EAAM;AACR,CAAC,CAAA;AAED,MAAM,MAAA,GAAS,MAAA;AAAA,EACb,MAAA,CAAO;AAAA,IACL,IAAA,EAAM,IAAA;AAAA,IACN,IAAA,EAAM,aAAA;AAAA,IACN,QAAA,EAAU,IAAA;AAAA,IACV;AAAA,GACD;AACH,CAAA;AAEA,MAAM,MAAM,MAAA,CAAO;AAAA,EACjB,GAAA,EAAK,GAAA;AAAA,EACL,IAAA,EAAM;AACR,CAAC,CAAA;AAED,MAAM,cAAc,MAAA,CAAO;AAAA,EACzB,YAAA,EAAc,aAAA;AAAA,EACd,YAAA,EAAc;AAChB,CAAC,CAAA;AAED,MAAM,OAAA,GAAU,MAAA;AAAA,EACd,MAAA,CAAO;AAAA,IACL,IAAA,EAAM,GAAA;AAAA,IACN,MAAA;AAAA,IACA,KAAA,EAAO,EAAA;AAAA,IACP;AAAA,GACD;AACH,CAAA;AAEA,MAAM,MAAM,IAAA,CAAK;AAAA,EACf,SAAA,EAAW,MAAA;AAAA,EACX,OAAA;AAAA,EACA,QAAA,EAAU,aAAA;AAAA,EACV,KAAA,EAAO,GAAA;AAAA,EACP,KAAA,EAAO,OAAO,aAAa,CAAA;AAAA,EAC3B,SAAA;AAAA,EACA,OAAA,EAAS,aAAA;AAAA,EACT;AACF,CAAC,CAAA;AAED,MAAM,QAAQ,MAAA,CAAO;AAAA,EACnB,IAAA,EAAM,GAAA;AAAA,EACN,IAAA,EAAM,OAAO,aAAa;AAC5B,CAAC,CAAA;AACD,MAAM,MAAA,GAAS,OAAO,KAAK,CAAA;AAE3B,MAAM,QAAQ,MAAA,CAAO;AAAA,EACnB,EAAA,EAAI,aAAA;AAAA,EACJ,IAAA,EAAM,IAAA;AAAA,EACN,MAAA;AAAA,EACA,GAAA;AAAA,EACA;AACF,CAAC,CAAA;AAEM,MAAM,MAAA,GAAS,OAAO,KAAK;;;;"}
|
||||||
@@ -0,0 +1,59 @@
|
|||||||
|
import { createCodec, Struct, Enum, u32, Bytes, Option, Tuple, compact } from 'scale-ts';
|
||||||
|
import { v14 } from './v14.mjs';
|
||||||
|
import { v15 } from './v15.mjs';
|
||||||
|
import { v16 } from './v16.mjs';
|
||||||
|
|
||||||
|
const unsupportedFn = () => {
|
||||||
|
throw new Error("Unsupported metadata version!");
|
||||||
|
};
|
||||||
|
const unsupported = createCodec(
|
||||||
|
unsupportedFn,
|
||||||
|
unsupportedFn
|
||||||
|
);
|
||||||
|
const metadata = Struct({
|
||||||
|
magicNumber: u32,
|
||||||
|
metadata: Enum({
|
||||||
|
v0: unsupported,
|
||||||
|
v1: unsupported,
|
||||||
|
v2: unsupported,
|
||||||
|
v3: unsupported,
|
||||||
|
v4: unsupported,
|
||||||
|
v5: unsupported,
|
||||||
|
v6: unsupported,
|
||||||
|
v7: unsupported,
|
||||||
|
v8: unsupported,
|
||||||
|
v9: unsupported,
|
||||||
|
v10: unsupported,
|
||||||
|
v11: unsupported,
|
||||||
|
v12: unsupported,
|
||||||
|
v13: unsupported,
|
||||||
|
v14,
|
||||||
|
v15,
|
||||||
|
v16
|
||||||
|
})
|
||||||
|
});
|
||||||
|
const opaqueBytes = Bytes();
|
||||||
|
const optionOpaque = Option(opaqueBytes);
|
||||||
|
const opaqueOpaqueBytes = Tuple(compact, opaqueBytes);
|
||||||
|
const decAnyMetadata = (input) => {
|
||||||
|
try {
|
||||||
|
return metadata.dec(input);
|
||||||
|
} catch (_) {
|
||||||
|
}
|
||||||
|
try {
|
||||||
|
return metadata.dec(optionOpaque.dec(input));
|
||||||
|
} catch (_) {
|
||||||
|
}
|
||||||
|
try {
|
||||||
|
return metadata.dec(opaqueBytes.dec(input));
|
||||||
|
} catch (_) {
|
||||||
|
}
|
||||||
|
try {
|
||||||
|
return metadata.dec(opaqueOpaqueBytes.dec(input)[1]);
|
||||||
|
} catch (_) {
|
||||||
|
}
|
||||||
|
throw null;
|
||||||
|
};
|
||||||
|
|
||||||
|
export { decAnyMetadata, metadata };
|
||||||
|
//# sourceMappingURL=metadata.mjs.map
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"version":3,"file":"metadata.mjs","sources":["../../../../src/codecs/metadata/metadata.ts"],"sourcesContent":["import {\n Bytes,\n type Codec,\n type CodecType,\n Enum,\n Option,\n Struct,\n Tuple,\n compact,\n createCodec,\n u32,\n} from \"scale-ts\"\nimport type { HexString } from \"../scale\"\nimport { v14 } from \"./v14\"\nimport { v15 } from \"./v15\"\nimport { v16 } from \"./v16\"\n\nconst unsupportedFn = () => {\n throw new Error(\"Unsupported metadata version!\")\n}\n\nconst unsupported = createCodec(\n unsupportedFn,\n unsupportedFn,\n) as unknown as Codec<unknown>\n\nexport const metadata = Struct({\n magicNumber: u32,\n metadata: Enum({\n v0: unsupported,\n v1: unsupported,\n v2: unsupported,\n v3: unsupported,\n v4: unsupported,\n v5: unsupported,\n v6: unsupported,\n v7: unsupported,\n v8: unsupported,\n v9: unsupported,\n v10: unsupported,\n v11: unsupported,\n v12: unsupported,\n v13: unsupported,\n v14,\n v15,\n v16,\n }),\n})\nexport type Metadata = CodecType<typeof metadata>\n\nconst opaqueBytes = Bytes()\nconst optionOpaque = Option(opaqueBytes)\nconst opaqueOpaqueBytes = Tuple(compact, opaqueBytes)\n\nexport const decAnyMetadata = (\n input: Uint8Array | HexString,\n): CodecType<typeof metadata> => {\n try {\n return metadata.dec(input)\n } catch (_) {}\n\n // comes from metadata.metadata_at_version\n try {\n return metadata.dec(optionOpaque.dec(input)!)\n } catch (_) {}\n\n // comes from state.getMetadata\n try {\n return metadata.dec(opaqueBytes.dec(input))\n } catch (_) {}\n\n // comes from metadata.metadata\n try {\n return metadata.dec(opaqueOpaqueBytes.dec(input)[1])\n } catch (_) {}\n\n throw null\n}\n"],"names":[],"mappings":";;;;;AAiBA,MAAM,gBAAgB,MAAM;AAC1B,EAAA,MAAM,IAAI,MAAM,+BAA+B,CAAA;AACjD,CAAA;AAEA,MAAM,WAAA,GAAc,WAAA;AAAA,EAClB,aAAA;AAAA,EACA;AACF,CAAA;AAEO,MAAM,WAAW,MAAA,CAAO;AAAA,EAC7B,WAAA,EAAa,GAAA;AAAA,EACb,UAAU,IAAA,CAAK;AAAA,IACb,EAAA,EAAI,WAAA;AAAA,IACJ,EAAA,EAAI,WAAA;AAAA,IACJ,EAAA,EAAI,WAAA;AAAA,IACJ,EAAA,EAAI,WAAA;AAAA,IACJ,EAAA,EAAI,WAAA;AAAA,IACJ,EAAA,EAAI,WAAA;AAAA,IACJ,EAAA,EAAI,WAAA;AAAA,IACJ,EAAA,EAAI,WAAA;AAAA,IACJ,EAAA,EAAI,WAAA;AAAA,IACJ,EAAA,EAAI,WAAA;AAAA,IACJ,GAAA,EAAK,WAAA;AAAA,IACL,GAAA,EAAK,WAAA;AAAA,IACL,GAAA,EAAK,WAAA;AAAA,IACL,GAAA,EAAK,WAAA;AAAA,IACL,GAAA;AAAA,IACA,GAAA;AAAA,IACA;AAAA,GACD;AACH,CAAC;AAGD,MAAM,cAAc,KAAA,EAAM;AAC1B,MAAM,YAAA,GAAe,OAAO,WAAW,CAAA;AACvC,MAAM,iBAAA,GAAoB,KAAA,CAAM,OAAA,EAAS,WAAW,CAAA;AAE7C,MAAM,cAAA,GAAiB,CAC5B,KAAA,KAC+B;AAC/B,EAAA,IAAI;AACF,IAAA,OAAO,QAAA,CAAS,IAAI,KAAK,CAAA;AAAA,EAC3B,SAAS,CAAA,EAAG;AAAA,EAAC;AAGb,EAAA,IAAI;AACF,IAAA,OAAO,QAAA,CAAS,GAAA,CAAI,YAAA,CAAa,GAAA,CAAI,KAAK,CAAE,CAAA;AAAA,EAC9C,SAAS,CAAA,EAAG;AAAA,EAAC;AAGb,EAAA,IAAI;AACF,IAAA,OAAO,QAAA,CAAS,GAAA,CAAI,WAAA,CAAY,GAAA,CAAI,KAAK,CAAC,CAAA;AAAA,EAC5C,SAAS,CAAA,EAAG;AAAA,EAAC;AAGb,EAAA,IAAI;AACF,IAAA,OAAO,SAAS,GAAA,CAAI,iBAAA,CAAkB,IAAI,KAAK,CAAA,CAAE,CAAC,CAAC,CAAA;AAAA,EACrD,SAAS,CAAA,EAAG;AAAA,EAAC;AAEb,EAAA,MAAM,IAAA;AACR;;;;"}
|
||||||
@@ -0,0 +1,110 @@
|
|||||||
|
import { Enum, _void, Vector, Struct, Option, str, u8 } from 'scale-ts';
|
||||||
|
import '../../utils/ss58-util.mjs';
|
||||||
|
import '../scale/Binary.mjs';
|
||||||
|
import '../scale/bitSequence.mjs';
|
||||||
|
import '../scale/char.mjs';
|
||||||
|
import { compactNumber } from '../scale/compact.mjs';
|
||||||
|
import { Hex } from '../scale/Hex.mjs';
|
||||||
|
import '../scale/fixed-str.mjs';
|
||||||
|
import '../scale/Variant.mjs';
|
||||||
|
import '../scale/ethAccount.mjs';
|
||||||
|
import '../scale/shaped.mjs';
|
||||||
|
import '../scale/BitSeq.mjs';
|
||||||
|
import { docs } from './docs.mjs';
|
||||||
|
import { variantDeprecation, itemDeprecation } from './deprecation.mjs';
|
||||||
|
import { viewFunction } from './runtime-api.mjs';
|
||||||
|
|
||||||
|
const hashType = Enum({
|
||||||
|
Blake2128: _void,
|
||||||
|
Blake2256: _void,
|
||||||
|
Blake2128Concat: _void,
|
||||||
|
Twox128: _void,
|
||||||
|
Twox256: _void,
|
||||||
|
Twox64Concat: _void,
|
||||||
|
Identity: _void
|
||||||
|
});
|
||||||
|
const hashers$1 = Vector(hashType);
|
||||||
|
const storageMap = Struct({
|
||||||
|
hashers: hashers$1,
|
||||||
|
key: compactNumber,
|
||||||
|
value: compactNumber
|
||||||
|
});
|
||||||
|
const storageItem = {
|
||||||
|
name: str,
|
||||||
|
modifier: u8,
|
||||||
|
type: Enum({
|
||||||
|
plain: compactNumber,
|
||||||
|
map: storageMap
|
||||||
|
}),
|
||||||
|
fallback: Hex(),
|
||||||
|
docs
|
||||||
|
};
|
||||||
|
const enumRefV14 = Option(compactNumber);
|
||||||
|
const v14Pallet = {
|
||||||
|
name: str,
|
||||||
|
storage: Option(
|
||||||
|
Struct({
|
||||||
|
prefix: str,
|
||||||
|
items: Vector(Struct(storageItem))
|
||||||
|
})
|
||||||
|
),
|
||||||
|
calls: enumRefV14,
|
||||||
|
events: enumRefV14,
|
||||||
|
constants: Vector(
|
||||||
|
Struct({
|
||||||
|
name: str,
|
||||||
|
type: compactNumber,
|
||||||
|
value: Hex(),
|
||||||
|
docs
|
||||||
|
})
|
||||||
|
),
|
||||||
|
errors: enumRefV14,
|
||||||
|
index: u8
|
||||||
|
};
|
||||||
|
const v15Pallet = {
|
||||||
|
...v14Pallet,
|
||||||
|
docs
|
||||||
|
};
|
||||||
|
const enumRef = Option(
|
||||||
|
Struct({ type: compactNumber, deprecationInfo: variantDeprecation })
|
||||||
|
);
|
||||||
|
const v16Pallet = {
|
||||||
|
name: str,
|
||||||
|
storage: Option(
|
||||||
|
Struct({
|
||||||
|
prefix: str,
|
||||||
|
items: Vector(
|
||||||
|
Struct({
|
||||||
|
...storageItem,
|
||||||
|
deprecationInfo: itemDeprecation
|
||||||
|
})
|
||||||
|
)
|
||||||
|
})
|
||||||
|
),
|
||||||
|
calls: enumRef,
|
||||||
|
events: enumRef,
|
||||||
|
constants: Vector(
|
||||||
|
Struct({
|
||||||
|
name: str,
|
||||||
|
type: compactNumber,
|
||||||
|
value: Hex(),
|
||||||
|
docs,
|
||||||
|
deprecationInfo: itemDeprecation
|
||||||
|
})
|
||||||
|
),
|
||||||
|
errors: enumRef,
|
||||||
|
associatedTypes: Vector(
|
||||||
|
Struct({
|
||||||
|
name: str,
|
||||||
|
type: compactNumber,
|
||||||
|
docs
|
||||||
|
})
|
||||||
|
),
|
||||||
|
viewFns: Vector(viewFunction),
|
||||||
|
index: u8,
|
||||||
|
docs,
|
||||||
|
deprecationInfo: itemDeprecation
|
||||||
|
};
|
||||||
|
|
||||||
|
export { storageMap, v14Pallet, v15Pallet, v16Pallet };
|
||||||
|
//# sourceMappingURL=pallets.mjs.map
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"version":3,"file":"pallets.mjs","sources":["../../../../src/codecs/metadata/pallets.ts"],"sourcesContent":["import { Hex, compactNumber } from \"@/codecs/scale\"\nimport { Struct, Option, Vector, u8, str, Enum, _void } from \"scale-ts\"\nimport { docs } from \"./docs\"\nimport { itemDeprecation, variantDeprecation } from \"./deprecation\"\nimport { viewFunction } from \"./runtime-api\"\n\nconst hashType = Enum({\n Blake2128: _void,\n Blake2256: _void,\n Blake2128Concat: _void,\n Twox128: _void,\n Twox256: _void,\n Twox64Concat: _void,\n Identity: _void,\n})\n\nconst hashers = Vector(hashType)\n\nexport const storageMap = Struct({\n hashers,\n key: compactNumber,\n value: compactNumber,\n})\n\nconst storageItem = {\n name: str,\n modifier: u8,\n type: Enum({\n plain: compactNumber,\n map: storageMap,\n }),\n fallback: Hex(),\n docs,\n}\n\nconst enumRefV14 = Option(compactNumber)\n\nexport const v14Pallet = {\n name: str,\n storage: Option(\n Struct({\n prefix: str,\n items: Vector(Struct(storageItem)),\n }),\n ),\n calls: enumRefV14,\n events: enumRefV14,\n constants: Vector(\n Struct({\n name: str,\n type: compactNumber,\n value: Hex(),\n docs,\n }),\n ),\n errors: enumRefV14,\n index: u8,\n}\n\nexport const v15Pallet = {\n ...v14Pallet,\n docs,\n}\n\nconst enumRef = Option(\n Struct({ type: compactNumber, deprecationInfo: variantDeprecation }),\n)\n\nexport const v16Pallet = {\n name: str,\n storage: Option(\n Struct({\n prefix: str,\n items: Vector(\n Struct({\n ...storageItem,\n deprecationInfo: itemDeprecation,\n }),\n ),\n }),\n ),\n calls: enumRef,\n events: enumRef,\n constants: Vector(\n Struct({\n name: str,\n type: compactNumber,\n value: Hex(),\n docs,\n deprecationInfo: itemDeprecation,\n }),\n ),\n errors: enumRef,\n associatedTypes: Vector(\n Struct({\n name: str,\n type: compactNumber,\n docs,\n }),\n ),\n viewFns: Vector(viewFunction),\n index: u8,\n docs,\n deprecationInfo: itemDeprecation,\n}\n"],"names":["hashers"],"mappings":";;;;;;;;;;;;;;;;AAMA,MAAM,WAAW,IAAA,CAAK;AAAA,EACpB,SAAA,EAAW,KAAA;AAAA,EACX,SAAA,EAAW,KAAA;AAAA,EACX,eAAA,EAAiB,KAAA;AAAA,EACjB,OAAA,EAAS,KAAA;AAAA,EACT,OAAA,EAAS,KAAA;AAAA,EACT,YAAA,EAAc,KAAA;AAAA,EACd,QAAA,EAAU;AACZ,CAAC,CAAA;AAED,MAAMA,SAAA,GAAU,OAAO,QAAQ,CAAA;AAExB,MAAM,aAAa,MAAA,CAAO;AAAA,WAC/BA,SAAA;AAAA,EACA,GAAA,EAAK,aAAA;AAAA,EACL,KAAA,EAAO;AACT,CAAC;AAED,MAAM,WAAA,GAAc;AAAA,EAClB,IAAA,EAAM,GAAA;AAAA,EACN,QAAA,EAAU,EAAA;AAAA,EACV,MAAM,IAAA,CAAK;AAAA,IACT,KAAA,EAAO,aAAA;AAAA,IACP,GAAA,EAAK;AAAA,GACN,CAAA;AAAA,EACD,UAAU,GAAA,EAAI;AAAA,EACd;AACF,CAAA;AAEA,MAAM,UAAA,GAAa,OAAO,aAAa,CAAA;AAEhC,MAAM,SAAA,GAAY;AAAA,EACvB,IAAA,EAAM,GAAA;AAAA,EACN,OAAA,EAAS,MAAA;AAAA,IACP,MAAA,CAAO;AAAA,MACL,MAAA,EAAQ,GAAA;AAAA,MACR,KAAA,EAAO,MAAA,CAAO,MAAA,CAAO,WAAW,CAAC;AAAA,KAClC;AAAA,GACH;AAAA,EACA,KAAA,EAAO,UAAA;AAAA,EACP,MAAA,EAAQ,UAAA;AAAA,EACR,SAAA,EAAW,MAAA;AAAA,IACT,MAAA,CAAO;AAAA,MACL,IAAA,EAAM,GAAA;AAAA,MACN,IAAA,EAAM,aAAA;AAAA,MACN,OAAO,GAAA,EAAI;AAAA,MACX;AAAA,KACD;AAAA,GACH;AAAA,EACA,MAAA,EAAQ,UAAA;AAAA,EACR,KAAA,EAAO;AACT;AAEO,MAAM,SAAA,GAAY;AAAA,EACvB,GAAG,SAAA;AAAA,EACH;AACF;AAEA,MAAM,OAAA,GAAU,MAAA;AAAA,EACd,OAAO,EAAE,IAAA,EAAM,aAAA,EAAe,eAAA,EAAiB,oBAAoB;AACrE,CAAA;AAEO,MAAM,SAAA,GAAY;AAAA,EACvB,IAAA,EAAM,GAAA;AAAA,EACN,OAAA,EAAS,MAAA;AAAA,IACP,MAAA,CAAO;AAAA,MACL,MAAA,EAAQ,GAAA;AAAA,MACR,KAAA,EAAO,MAAA;AAAA,QACL,MAAA,CAAO;AAAA,UACL,GAAG,WAAA;AAAA,UACH,eAAA,EAAiB;AAAA,SAClB;AAAA;AACH,KACD;AAAA,GACH;AAAA,EACA,KAAA,EAAO,OAAA;AAAA,EACP,MAAA,EAAQ,OAAA;AAAA,EACR,SAAA,EAAW,MAAA;AAAA,IACT,MAAA,CAAO;AAAA,MACL,IAAA,EAAM,GAAA;AAAA,MACN,IAAA,EAAM,aAAA;AAAA,MACN,OAAO,GAAA,EAAI;AAAA,MACX,IAAA;AAAA,MACA,eAAA,EAAiB;AAAA,KAClB;AAAA,GACH;AAAA,EACA,MAAA,EAAQ,OAAA;AAAA,EACR,eAAA,EAAiB,MAAA;AAAA,IACf,MAAA,CAAO;AAAA,MACL,IAAA,EAAM,GAAA;AAAA,MACN,IAAA,EAAM,aAAA;AAAA,MACN;AAAA,KACD;AAAA,GACH;AAAA,EACA,OAAA,EAAS,OAAO,YAAY,CAAA;AAAA,EAC5B,KAAA,EAAO,EAAA;AAAA,EACP,IAAA;AAAA,EACA,eAAA,EAAiB;AACnB;;;;"}
|
||||||
@@ -0,0 +1,48 @@
|
|||||||
|
import { Vector, Struct, str } from 'scale-ts';
|
||||||
|
import { docs } from './docs.mjs';
|
||||||
|
import '../../utils/ss58-util.mjs';
|
||||||
|
import '../scale/Binary.mjs';
|
||||||
|
import '../scale/bitSequence.mjs';
|
||||||
|
import '../scale/char.mjs';
|
||||||
|
import { compactNumber } from '../scale/compact.mjs';
|
||||||
|
import { Hex } from '../scale/Hex.mjs';
|
||||||
|
import '../scale/fixed-str.mjs';
|
||||||
|
import '../scale/Variant.mjs';
|
||||||
|
import '../scale/ethAccount.mjs';
|
||||||
|
import '../scale/shaped.mjs';
|
||||||
|
import '../scale/BitSeq.mjs';
|
||||||
|
import { itemDeprecation } from './deprecation.mjs';
|
||||||
|
|
||||||
|
const runtimeApiMethod = {
|
||||||
|
name: str,
|
||||||
|
inputs: Vector(
|
||||||
|
Struct({
|
||||||
|
name: str,
|
||||||
|
type: compactNumber
|
||||||
|
})
|
||||||
|
),
|
||||||
|
output: compactNumber,
|
||||||
|
docs
|
||||||
|
};
|
||||||
|
const runtimeApiV15 = Struct({
|
||||||
|
name: str,
|
||||||
|
methods: Vector(Struct(runtimeApiMethod)),
|
||||||
|
docs
|
||||||
|
});
|
||||||
|
const runtimeApi = Struct({
|
||||||
|
name: str,
|
||||||
|
methods: Vector(
|
||||||
|
Struct({ ...runtimeApiMethod, deprecationInfo: itemDeprecation })
|
||||||
|
),
|
||||||
|
docs,
|
||||||
|
version: compactNumber,
|
||||||
|
deprecationInfo: itemDeprecation
|
||||||
|
});
|
||||||
|
const viewFunction = Struct({
|
||||||
|
id: Hex(32),
|
||||||
|
...runtimeApiMethod,
|
||||||
|
deprecationInfo: itemDeprecation
|
||||||
|
});
|
||||||
|
|
||||||
|
export { runtimeApi, runtimeApiMethod, runtimeApiV15, viewFunction };
|
||||||
|
//# sourceMappingURL=runtime-api.mjs.map
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"version":3,"file":"runtime-api.mjs","sources":["../../../../src/codecs/metadata/runtime-api.ts"],"sourcesContent":["import { Struct, Vector, str } from \"scale-ts\"\nimport { docs } from \"./docs\"\nimport { compactNumber, Hex, compactNumber as ty } from \"../scale\"\nimport { itemDeprecation } from \"./deprecation\"\n\nexport const runtimeApiMethod = {\n name: str,\n inputs: Vector(\n Struct({\n name: str,\n type: ty,\n }),\n ),\n output: ty,\n docs,\n}\n\nexport const runtimeApiV15 = Struct({\n name: str,\n methods: Vector(Struct(runtimeApiMethod)),\n docs,\n})\n\nexport const runtimeApi = Struct({\n name: str,\n methods: Vector(\n Struct({ ...runtimeApiMethod, deprecationInfo: itemDeprecation }),\n ),\n docs,\n version: compactNumber,\n deprecationInfo: itemDeprecation,\n})\n\nexport const viewFunction = Struct({\n id: Hex(32),\n ...runtimeApiMethod,\n deprecationInfo: itemDeprecation,\n})\n"],"names":["ty"],"mappings":";;;;;;;;;;;;;;;AAKO,MAAM,gBAAA,GAAmB;AAAA,EAC9B,IAAA,EAAM,GAAA;AAAA,EACN,MAAA,EAAQ,MAAA;AAAA,IACN,MAAA,CAAO;AAAA,MACL,IAAA,EAAM,GAAA;AAAA,MACN,IAAA,EAAMA;AAAA,KACP;AAAA,GACH;AAAA,EACA,MAAA,EAAQA,aAAA;AAAA,EACR;AACF;AAEO,MAAM,gBAAgB,MAAA,CAAO;AAAA,EAClC,IAAA,EAAM,GAAA;AAAA,EACN,OAAA,EAAS,MAAA,CAAO,MAAA,CAAO,gBAAgB,CAAC,CAAA;AAAA,EACxC;AACF,CAAC;AAEM,MAAM,aAAa,MAAA,CAAO;AAAA,EAC/B,IAAA,EAAM,GAAA;AAAA,EACN,OAAA,EAAS,MAAA;AAAA,IACP,OAAO,EAAE,GAAG,gBAAA,EAAkB,eAAA,EAAiB,iBAAiB;AAAA,GAClE;AAAA,EACA,IAAA;AAAA,EACA,OAAA,EAAS,aAAA;AAAA,EACT,eAAA,EAAiB;AACnB,CAAC;AAEM,MAAM,eAAe,MAAA,CAAO;AAAA,EACjC,EAAA,EAAI,IAAI,EAAE,CAAA;AAAA,EACV,GAAG,gBAAA;AAAA,EACH,eAAA,EAAiB;AACnB,CAAC;;;;"}
|
||||||
@@ -0,0 +1,48 @@
|
|||||||
|
const unifyMetadata = (metadata) => {
|
||||||
|
if ("magicNumber" in metadata) metadata = metadata.metadata;
|
||||||
|
if ("tag" in metadata) {
|
||||||
|
if (metadata.tag !== "v14" && metadata.tag !== "v15" && metadata.tag !== "v16")
|
||||||
|
throw new Error("Only metadata 14, 15, and 16 are supported");
|
||||||
|
metadata = metadata.value;
|
||||||
|
}
|
||||||
|
if ("signedExtensionsByVersion" in metadata.extrinsic) {
|
||||||
|
return { version: 16, ...metadata };
|
||||||
|
}
|
||||||
|
if ("custom" in metadata) {
|
||||||
|
const { lookup: lookup2, extrinsic: extrinsic2, custom, apis, pallets: pallets2, outerEnums } = metadata;
|
||||||
|
return {
|
||||||
|
version: 15,
|
||||||
|
lookup: lookup2,
|
||||||
|
pallets: pallets2.map((p) => ({
|
||||||
|
...p,
|
||||||
|
calls: p.calls != null ? { type: p.calls } : void 0,
|
||||||
|
events: p.events != null ? { type: p.events } : void 0,
|
||||||
|
errors: p.errors != null ? { type: p.errors } : void 0,
|
||||||
|
viewFns: [],
|
||||||
|
associatedTypes: []
|
||||||
|
})),
|
||||||
|
extrinsic: { ...extrinsic2, version: [extrinsic2.version] },
|
||||||
|
apis,
|
||||||
|
outerEnums,
|
||||||
|
custom
|
||||||
|
};
|
||||||
|
}
|
||||||
|
const { lookup, extrinsic, pallets } = metadata;
|
||||||
|
return {
|
||||||
|
version: 14,
|
||||||
|
lookup,
|
||||||
|
pallets: pallets.map((p) => ({
|
||||||
|
...p,
|
||||||
|
calls: p.calls != null ? { type: p.calls } : void 0,
|
||||||
|
events: p.events != null ? { type: p.events } : void 0,
|
||||||
|
errors: p.errors != null ? { type: p.errors } : void 0,
|
||||||
|
viewFns: [],
|
||||||
|
associatedTypes: []
|
||||||
|
})),
|
||||||
|
extrinsic: { ...extrinsic, version: [extrinsic.version] },
|
||||||
|
apis: []
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
export { unifyMetadata };
|
||||||
|
//# sourceMappingURL=unified.mjs.map
|
||||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,41 @@
|
|||||||
|
import { Struct, Vector, u8, str, createCodec } from 'scale-ts';
|
||||||
|
import { lookup } from './lookup.mjs';
|
||||||
|
import '../../utils/ss58-util.mjs';
|
||||||
|
import '../scale/Binary.mjs';
|
||||||
|
import '../scale/bitSequence.mjs';
|
||||||
|
import '../scale/char.mjs';
|
||||||
|
import { compactNumber } from '../scale/compact.mjs';
|
||||||
|
import '../scale/Hex.mjs';
|
||||||
|
import '../scale/fixed-str.mjs';
|
||||||
|
import '../scale/Variant.mjs';
|
||||||
|
import '../scale/ethAccount.mjs';
|
||||||
|
import '../scale/shaped.mjs';
|
||||||
|
import '../scale/BitSeq.mjs';
|
||||||
|
import { v14Pallet } from './pallets.mjs';
|
||||||
|
|
||||||
|
const empty = new Uint8Array();
|
||||||
|
const Always = (value) => createCodec(
|
||||||
|
() => empty,
|
||||||
|
() => value
|
||||||
|
);
|
||||||
|
const extrinsic$2 = Struct({
|
||||||
|
type: compactNumber,
|
||||||
|
version: u8,
|
||||||
|
signedExtensions: Vector(
|
||||||
|
Struct({
|
||||||
|
identifier: str,
|
||||||
|
type: compactNumber,
|
||||||
|
additionalSigned: compactNumber
|
||||||
|
})
|
||||||
|
)
|
||||||
|
});
|
||||||
|
const v14 = Struct({
|
||||||
|
lookup,
|
||||||
|
pallets: Vector(Struct({ ...v14Pallet, docs: Always([]) })),
|
||||||
|
extrinsic: extrinsic$2,
|
||||||
|
type: compactNumber,
|
||||||
|
apis: Always([])
|
||||||
|
});
|
||||||
|
|
||||||
|
export { v14 };
|
||||||
|
//# sourceMappingURL=v14.mjs.map
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"version":3,"file":"v14.mjs","sources":["../../../../src/codecs/metadata/v14.ts"],"sourcesContent":["import { CodecType, Struct, Vector, createCodec, str, u8 } from \"scale-ts\"\nimport { lookup } from \"./lookup\"\nimport { compactNumber } from \"../scale\"\nimport { v14Pallet } from \"./pallets\"\nimport { runtimeApi } from \"./runtime-api\"\n\nconst empty = new Uint8Array()\nconst Always = <T>(value: T) =>\n createCodec<T>(\n () => empty,\n () => value,\n )\n\nconst extrinsic = Struct({\n type: compactNumber,\n version: u8,\n signedExtensions: Vector(\n Struct({\n identifier: str,\n type: compactNumber,\n additionalSigned: compactNumber,\n }),\n ),\n})\n\nexport const v14 = Struct({\n lookup,\n pallets: Vector(Struct({ ...v14Pallet, docs: Always([] as string[]) })),\n extrinsic,\n type: compactNumber,\n apis: Always([] as Array<CodecType<typeof runtimeApi>>),\n})\nexport type V14 = CodecType<typeof v14>\n"],"names":["extrinsic"],"mappings":";;;;;;;;;;;;;;;AAMA,MAAM,KAAA,GAAQ,IAAI,UAAA,EAAW;AAC7B,MAAM,MAAA,GAAS,CAAI,KAAA,KACjB,WAAA;AAAA,EACE,MAAM,KAAA;AAAA,EACN,MAAM;AACR,CAAA;AAEF,MAAMA,cAAY,MAAA,CAAO;AAAA,EACvB,IAAA,EAAM,aAAA;AAAA,EACN,OAAA,EAAS,EAAA;AAAA,EACT,gBAAA,EAAkB,MAAA;AAAA,IAChB,MAAA,CAAO;AAAA,MACL,UAAA,EAAY,GAAA;AAAA,MACZ,IAAA,EAAM,aAAA;AAAA,MACN,gBAAA,EAAkB;AAAA,KACnB;AAAA;AAEL,CAAC,CAAA;AAEM,MAAM,MAAM,MAAA,CAAO;AAAA,EACxB,MAAA;AAAA,EACA,OAAA,EAAS,MAAA,CAAO,MAAA,CAAO,EAAE,GAAG,SAAA,EAAW,IAAA,EAAM,MAAA,CAAO,EAAc,CAAA,EAAG,CAAC,CAAA;AAAA,aACtEA,WAAA;AAAA,EACA,IAAA,EAAM,aAAA;AAAA,EACN,IAAA,EAAM,MAAA,CAAO,EAAyC;AACxD,CAAC;;;;"}
|
||||||
@@ -0,0 +1,46 @@
|
|||||||
|
import { Struct, Vector, u8, str, Tuple } from 'scale-ts';
|
||||||
|
import { lookup } from './lookup.mjs';
|
||||||
|
import { v15Pallet } from './pallets.mjs';
|
||||||
|
import '../../utils/ss58-util.mjs';
|
||||||
|
import '../scale/Binary.mjs';
|
||||||
|
import '../scale/bitSequence.mjs';
|
||||||
|
import '../scale/char.mjs';
|
||||||
|
import { compactNumber } from '../scale/compact.mjs';
|
||||||
|
import { Hex } from '../scale/Hex.mjs';
|
||||||
|
import '../scale/fixed-str.mjs';
|
||||||
|
import '../scale/Variant.mjs';
|
||||||
|
import '../scale/ethAccount.mjs';
|
||||||
|
import '../scale/shaped.mjs';
|
||||||
|
import '../scale/BitSeq.mjs';
|
||||||
|
import { runtimeApiV15 } from './runtime-api.mjs';
|
||||||
|
|
||||||
|
const extrinsic$1 = Struct({
|
||||||
|
version: u8,
|
||||||
|
address: compactNumber,
|
||||||
|
call: compactNumber,
|
||||||
|
signature: compactNumber,
|
||||||
|
extra: compactNumber,
|
||||||
|
signedExtensions: Vector(
|
||||||
|
Struct({
|
||||||
|
identifier: str,
|
||||||
|
type: compactNumber,
|
||||||
|
additionalSigned: compactNumber
|
||||||
|
})
|
||||||
|
)
|
||||||
|
});
|
||||||
|
const v15 = Struct({
|
||||||
|
lookup,
|
||||||
|
pallets: Vector(Struct(v15Pallet)),
|
||||||
|
extrinsic: extrinsic$1,
|
||||||
|
type: compactNumber,
|
||||||
|
apis: Vector(runtimeApiV15),
|
||||||
|
outerEnums: Struct({
|
||||||
|
call: compactNumber,
|
||||||
|
event: compactNumber,
|
||||||
|
error: compactNumber
|
||||||
|
}),
|
||||||
|
custom: Vector(Tuple(str, Struct({ type: compactNumber, value: Hex() })))
|
||||||
|
});
|
||||||
|
|
||||||
|
export { v15 };
|
||||||
|
//# sourceMappingURL=v15.mjs.map
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"version":3,"file":"v15.mjs","sources":["../../../../src/codecs/metadata/v15.ts"],"sourcesContent":["import { CodecType, Struct, Tuple, Vector, str, u8 } from \"scale-ts\"\nimport { lookup } from \"./lookup\"\nimport { v15Pallet } from \"./pallets\"\nimport { Hex, compactNumber as ty } from \"../scale\"\nimport { runtimeApiV15 } from \"./runtime-api\"\n\nconst extrinsic = Struct({\n version: u8,\n address: ty,\n call: ty,\n signature: ty,\n extra: ty,\n signedExtensions: Vector(\n Struct({\n identifier: str,\n type: ty,\n additionalSigned: ty,\n }),\n ),\n})\n\nexport const v15 = Struct({\n lookup,\n pallets: Vector(Struct(v15Pallet)),\n extrinsic,\n type: ty,\n apis: Vector(runtimeApiV15),\n outerEnums: Struct({\n call: ty,\n event: ty,\n error: ty,\n }),\n custom: Vector(Tuple(str, Struct({ type: ty, value: Hex() }))),\n})\nexport type V15 = CodecType<typeof v15>\n"],"names":["extrinsic","ty"],"mappings":";;;;;;;;;;;;;;;;AAMA,MAAMA,cAAY,MAAA,CAAO;AAAA,EACvB,OAAA,EAAS,EAAA;AAAA,EACT,OAAA,EAASC,aAAA;AAAA,EACT,IAAA,EAAMA,aAAA;AAAA,EACN,SAAA,EAAWA,aAAA;AAAA,EACX,KAAA,EAAOA,aAAA;AAAA,EACP,gBAAA,EAAkB,MAAA;AAAA,IAChB,MAAA,CAAO;AAAA,MACL,UAAA,EAAY,GAAA;AAAA,MACZ,IAAA,EAAMA,aAAA;AAAA,MACN,gBAAA,EAAkBA;AAAA,KACnB;AAAA;AAEL,CAAC,CAAA;AAEM,MAAM,MAAM,MAAA,CAAO;AAAA,EACxB,MAAA;AAAA,EACA,OAAA,EAAS,MAAA,CAAO,MAAA,CAAO,SAAS,CAAC,CAAA;AAAA,aACjCD,WAAA;AAAA,EACA,IAAA,EAAMC,aAAA;AAAA,EACN,IAAA,EAAM,OAAO,aAAa,CAAA;AAAA,EAC1B,YAAY,MAAA,CAAO;AAAA,IACjB,IAAA,EAAMA,aAAA;AAAA,IACN,KAAA,EAAOA,aAAA;AAAA,IACP,KAAA,EAAOA;AAAA,GACR,CAAA;AAAA,EACD,MAAA,EAAQ,MAAA,CAAO,KAAA,CAAM,GAAA,EAAK,MAAA,CAAO,EAAE,IAAA,EAAMA,aAAA,EAAI,KAAA,EAAO,GAAA,EAAI,EAAG,CAAC,CAAC;AAC/D,CAAC;;;;"}
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
import { Struct, Vector, str, Tuple, u8 } from 'scale-ts';
|
||||||
|
import { lookup } from './lookup.mjs';
|
||||||
|
import { v16Pallet } from './pallets.mjs';
|
||||||
|
import '../../utils/ss58-util.mjs';
|
||||||
|
import '../scale/Binary.mjs';
|
||||||
|
import '../scale/bitSequence.mjs';
|
||||||
|
import '../scale/char.mjs';
|
||||||
|
import { compactNumber } from '../scale/compact.mjs';
|
||||||
|
import { Hex } from '../scale/Hex.mjs';
|
||||||
|
import '../scale/fixed-str.mjs';
|
||||||
|
import '../scale/Variant.mjs';
|
||||||
|
import '../scale/ethAccount.mjs';
|
||||||
|
import '../scale/shaped.mjs';
|
||||||
|
import '../scale/BitSeq.mjs';
|
||||||
|
import { runtimeApi } from './runtime-api.mjs';
|
||||||
|
|
||||||
|
const extrinsic = Struct({
|
||||||
|
version: Vector(u8),
|
||||||
|
address: compactNumber,
|
||||||
|
call: compactNumber,
|
||||||
|
signature: compactNumber,
|
||||||
|
signedExtensionsByVersion: Vector(Tuple(u8, Vector(compactNumber))),
|
||||||
|
signedExtensions: Vector(
|
||||||
|
Struct({
|
||||||
|
identifier: str,
|
||||||
|
type: compactNumber,
|
||||||
|
additionalSigned: compactNumber
|
||||||
|
})
|
||||||
|
)
|
||||||
|
});
|
||||||
|
const v16 = Struct({
|
||||||
|
lookup,
|
||||||
|
pallets: Vector(Struct(v16Pallet)),
|
||||||
|
extrinsic,
|
||||||
|
apis: Vector(runtimeApi),
|
||||||
|
outerEnums: Struct({
|
||||||
|
call: compactNumber,
|
||||||
|
event: compactNumber,
|
||||||
|
error: compactNumber
|
||||||
|
}),
|
||||||
|
custom: Vector(Tuple(str, Struct({ type: compactNumber, value: Hex() })))
|
||||||
|
});
|
||||||
|
|
||||||
|
export { v16 };
|
||||||
|
//# sourceMappingURL=v16.mjs.map
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"version":3,"file":"v16.mjs","sources":["../../../../src/codecs/metadata/v16.ts"],"sourcesContent":["import { CodecType, Struct, Tuple, Vector, str, u8 } from \"scale-ts\"\nimport { lookup } from \"./lookup\"\nimport { v16Pallet } from \"./pallets\"\nimport { compactNumber, Hex, compactNumber as ty } from \"../scale\"\nimport { runtimeApi } from \"./runtime-api\"\n\nconst extrinsic = Struct({\n version: Vector(u8),\n address: ty,\n call: ty,\n signature: ty,\n signedExtensionsByVersion: Vector(Tuple(u8, Vector(compactNumber))),\n signedExtensions: Vector(\n Struct({\n identifier: str,\n type: ty,\n additionalSigned: ty,\n }),\n ),\n})\n\nexport const v16 = Struct({\n lookup,\n pallets: Vector(Struct(v16Pallet)),\n extrinsic,\n apis: Vector(runtimeApi),\n outerEnums: Struct({\n call: ty,\n event: ty,\n error: ty,\n }),\n custom: Vector(Tuple(str, Struct({ type: ty, value: Hex() }))),\n})\nexport type V16 = CodecType<typeof v16>\n"],"names":["ty"],"mappings":";;;;;;;;;;;;;;;;AAMA,MAAM,YAAY,MAAA,CAAO;AAAA,EACvB,OAAA,EAAS,OAAO,EAAE,CAAA;AAAA,EAClB,OAAA,EAASA,aAAA;AAAA,EACT,IAAA,EAAMA,aAAA;AAAA,EACN,SAAA,EAAWA,aAAA;AAAA,EACX,2BAA2B,MAAA,CAAO,KAAA,CAAM,IAAI,MAAA,CAAO,aAAa,CAAC,CAAC,CAAA;AAAA,EAClE,gBAAA,EAAkB,MAAA;AAAA,IAChB,MAAA,CAAO;AAAA,MACL,UAAA,EAAY,GAAA;AAAA,MACZ,IAAA,EAAMA,aAAA;AAAA,MACN,gBAAA,EAAkBA;AAAA,KACnB;AAAA;AAEL,CAAC,CAAA;AAEM,MAAM,MAAM,MAAA,CAAO;AAAA,EACxB,MAAA;AAAA,EACA,OAAA,EAAS,MAAA,CAAO,MAAA,CAAO,SAAS,CAAC,CAAA;AAAA,EACjC,SAAA;AAAA,EACA,IAAA,EAAM,OAAO,UAAU,CAAA;AAAA,EACvB,YAAY,MAAA,CAAO;AAAA,IACjB,IAAA,EAAMA,aAAA;AAAA,IACN,KAAA,EAAOA,aAAA;AAAA,IACP,KAAA,EAAOA;AAAA,GACR,CAAA;AAAA,EACD,MAAA,EAAQ,MAAA,CAAO,KAAA,CAAM,GAAA,EAAK,MAAA,CAAO,EAAE,IAAA,EAAMA,aAAA,EAAI,KAAA,EAAO,GAAA,EAAI,EAAG,CAAC,CAAC;AAC/D,CAAC;;;;"}
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
import { enhanceCodec, Bytes } from 'scale-ts';
|
||||||
|
import { fromBufferToBase58, getSs58AddressInfo } from '../../utils/ss58-util.mjs';
|
||||||
|
|
||||||
|
function fromBase58ToBuffer(nBytes, _ss58Format) {
|
||||||
|
return (address) => {
|
||||||
|
const info = getSs58AddressInfo(address);
|
||||||
|
if (!info.isValid) throw new Error("Invalid checksum");
|
||||||
|
const { publicKey } = info;
|
||||||
|
if (publicKey.length !== nBytes)
|
||||||
|
throw new Error("Invalid public key length");
|
||||||
|
return publicKey;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
const AccountId = (ss58Format = 42, nBytes = 32) => enhanceCodec(
|
||||||
|
Bytes(nBytes),
|
||||||
|
fromBase58ToBuffer(nBytes),
|
||||||
|
fromBufferToBase58(ss58Format)
|
||||||
|
);
|
||||||
|
|
||||||
|
export { AccountId };
|
||||||
|
//# sourceMappingURL=AccountId.mjs.map
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"version":3,"file":"AccountId.mjs","sources":["../../../../src/codecs/scale/AccountId.ts"],"sourcesContent":["import { Bytes, enhanceCodec } from \"scale-ts\"\nimport {\n getSs58AddressInfo,\n SS58String,\n fromBufferToBase58,\n} from \"@/utils/ss58-util\"\n\nfunction fromBase58ToBuffer(nBytes: number, _ss58Format: number) {\n return (address: SS58String) => {\n const info = getSs58AddressInfo(address)\n if (!info.isValid) throw new Error(\"Invalid checksum\")\n const { publicKey } = info\n if (publicKey.length !== nBytes)\n throw new Error(\"Invalid public key length\")\n\n return publicKey\n }\n}\n\nexport const AccountId = (ss58Format: number = 42, nBytes: 32 | 33 = 32) =>\n enhanceCodec(\n Bytes(nBytes),\n fromBase58ToBuffer(nBytes, ss58Format),\n fromBufferToBase58(ss58Format),\n )\n"],"names":[],"mappings":";;;AAOA,SAAS,kBAAA,CAAmB,QAAgB,WAAA,EAAqB;AAC/D,EAAA,OAAO,CAAC,OAAA,KAAwB;AAC9B,IAAA,MAAM,IAAA,GAAO,mBAAmB,OAAO,CAAA;AACvC,IAAA,IAAI,CAAC,IAAA,CAAK,OAAA,EAAS,MAAM,IAAI,MAAM,kBAAkB,CAAA;AACrD,IAAA,MAAM,EAAE,WAAU,GAAI,IAAA;AACtB,IAAA,IAAI,UAAU,MAAA,KAAW,MAAA;AACvB,MAAA,MAAM,IAAI,MAAM,2BAA2B,CAAA;AAE7C,IAAA,OAAO,SAAA;AAAA,EACT,CAAA;AACF;AAEO,MAAM,SAAA,GAAY,CAAC,UAAA,GAAqB,EAAA,EAAI,SAAkB,EAAA,KACnE,YAAA;AAAA,EACE,MAAM,MAAM,CAAA;AAAA,EACZ,kBAAA,CAAmB,MAAkB,CAAA;AAAA,EACrC,mBAAmB,UAAU;AAC/B;;;;"}
|
||||||
@@ -0,0 +1,94 @@
|
|||||||
|
import { Tuple, compact, Bytes, createCodec } from 'scale-ts';
|
||||||
|
import { fromHex, toHex, mergeUint8 } from '@pezkuwi/papi-utils';
|
||||||
|
import { AccountId } from './AccountId.mjs';
|
||||||
|
|
||||||
|
var __defProp = Object.defineProperty;
|
||||||
|
var __typeError = (msg) => {
|
||||||
|
throw TypeError(msg);
|
||||||
|
};
|
||||||
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
||||||
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
||||||
|
var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
|
||||||
|
var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
|
||||||
|
var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
|
||||||
|
var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), member.set(obj, value), value);
|
||||||
|
var _bytes, _opaqueBytes, _hex, _opaqueHex, _str;
|
||||||
|
const textEncoder$3 = new TextEncoder();
|
||||||
|
const textDecoder$2 = new TextDecoder();
|
||||||
|
const opaqueBytesDec = Tuple(compact, Bytes(Infinity))[1];
|
||||||
|
class Binary {
|
||||||
|
constructor(data, opaque = false) {
|
||||||
|
__privateAdd(this, _bytes);
|
||||||
|
__privateAdd(this, _opaqueBytes, null);
|
||||||
|
__privateAdd(this, _hex, null);
|
||||||
|
__privateAdd(this, _opaqueHex, null);
|
||||||
|
__privateAdd(this, _str, null);
|
||||||
|
__publicField(this, "asText", () => __privateGet(this, _str) ?? __privateSet(this, _str, textDecoder$2.decode(__privateGet(this, _bytes))));
|
||||||
|
__publicField(this, "asHex", () => __privateGet(this, _hex) ?? __privateSet(this, _hex, toHex(__privateGet(this, _bytes))));
|
||||||
|
__publicField(this, "asOpaqueHex", () => __privateGet(this, _opaqueHex) ?? __privateSet(this, _opaqueHex, toHex(this.asOpaqueBytes())));
|
||||||
|
__publicField(this, "asBytes", () => __privateGet(this, _bytes));
|
||||||
|
__publicField(this, "asOpaqueBytes", () => __privateGet(this, _opaqueBytes) ?? __privateSet(this, _opaqueBytes, mergeUint8([
|
||||||
|
compact[0](__privateGet(this, _bytes).length),
|
||||||
|
__privateGet(this, _bytes)
|
||||||
|
])));
|
||||||
|
if (opaque) {
|
||||||
|
try {
|
||||||
|
const [len, bytes] = opaqueBytesDec(data);
|
||||||
|
if (len === bytes.length) {
|
||||||
|
__privateSet(this, _bytes, bytes);
|
||||||
|
__privateSet(this, _opaqueBytes, data);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
} catch (_) {
|
||||||
|
}
|
||||||
|
throw new Error("Invalid opaque bytes");
|
||||||
|
} else __privateSet(this, _bytes, data);
|
||||||
|
}
|
||||||
|
static fromText(input) {
|
||||||
|
return new this(textEncoder$3.encode(input));
|
||||||
|
}
|
||||||
|
static fromHex(input) {
|
||||||
|
return new this(fromHex(input));
|
||||||
|
}
|
||||||
|
static fromOpaqueHex(input) {
|
||||||
|
return new this(fromHex(input), true);
|
||||||
|
}
|
||||||
|
static fromBytes(input) {
|
||||||
|
return new this(input);
|
||||||
|
}
|
||||||
|
static fromOpaqueBytes(input) {
|
||||||
|
return new this(input, true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
_bytes = new WeakMap();
|
||||||
|
_opaqueBytes = new WeakMap();
|
||||||
|
_hex = new WeakMap();
|
||||||
|
_opaqueHex = new WeakMap();
|
||||||
|
_str = new WeakMap();
|
||||||
|
const [accountIdEncoder] = AccountId();
|
||||||
|
class FixedSizeBinary extends Binary {
|
||||||
|
constructor(data) {
|
||||||
|
super(data);
|
||||||
|
}
|
||||||
|
static fromArray(input) {
|
||||||
|
return new this(new Uint8Array(input));
|
||||||
|
}
|
||||||
|
static fromAccountId32(input) {
|
||||||
|
return new this(accountIdEncoder(input));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
const enc$2 = (nBytes) => {
|
||||||
|
const _enc = Bytes.enc(nBytes);
|
||||||
|
return (value) => _enc(value.asBytes());
|
||||||
|
};
|
||||||
|
const dec$2 = (nBytes) => {
|
||||||
|
const _dec = Bytes.dec(nBytes);
|
||||||
|
const Bin2 = nBytes == null ? Binary : FixedSizeBinary;
|
||||||
|
return (value) => Bin2.fromBytes(_dec(value));
|
||||||
|
};
|
||||||
|
const Bin = (nBytes) => createCodec(enc$2(nBytes), dec$2(nBytes));
|
||||||
|
Bin.enc = enc$2;
|
||||||
|
Bin.dec = dec$2;
|
||||||
|
|
||||||
|
export { Bin, Binary, FixedSizeBinary };
|
||||||
|
//# sourceMappingURL=Binary.mjs.map
|
||||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,37 @@
|
|||||||
|
import { createCodec, createDecoder, Bytes } from 'scale-ts';
|
||||||
|
import { compactNumber } from './compact.mjs';
|
||||||
|
import { mergeUint8 } from '@pezkuwi/papi-utils';
|
||||||
|
|
||||||
|
const dec = (isLsb = true) => createDecoder((data) => {
|
||||||
|
const bitsLen = compactNumber.dec(data);
|
||||||
|
const bytesLen = Math.ceil(bitsLen / 8);
|
||||||
|
const bytes = Bytes(bytesLen).dec(data);
|
||||||
|
const result = new Array(bitsLen);
|
||||||
|
let resultIdx = 0;
|
||||||
|
bytes.forEach((val) => {
|
||||||
|
for (let i = 0; i < 8 && resultIdx < bitsLen; i++) {
|
||||||
|
const actualIdx = isLsb ? i : 7 - i;
|
||||||
|
result[resultIdx++] = val >> actualIdx & 1;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
return result;
|
||||||
|
});
|
||||||
|
const enc = (isLsb = true) => (input) => {
|
||||||
|
const lenEncoded = compactNumber.enc(input.length);
|
||||||
|
const nBytes = Math.ceil(input.length / 8);
|
||||||
|
const bytes = new Uint8Array(nBytes);
|
||||||
|
for (let byteIdx = 0; byteIdx < nBytes; byteIdx++) {
|
||||||
|
let inputIdx = byteIdx * 8;
|
||||||
|
let byte = 0;
|
||||||
|
for (let i = 0; i < 8 && inputIdx < input.length; i++, inputIdx++)
|
||||||
|
byte |= input[inputIdx] << (isLsb ? i : 7 - i);
|
||||||
|
bytes[byteIdx] = byte;
|
||||||
|
}
|
||||||
|
return mergeUint8([lenEncoded, bytes]);
|
||||||
|
};
|
||||||
|
const BitSeq = (isLsb) => createCodec(enc(isLsb), dec(isLsb));
|
||||||
|
BitSeq.enc = enc;
|
||||||
|
BitSeq.dec = dec;
|
||||||
|
|
||||||
|
export { BitSeq };
|
||||||
|
//# sourceMappingURL=BitSeq.mjs.map
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"version":3,"file":"BitSeq.mjs","sources":["../../../../src/codecs/scale/BitSeq.ts"],"sourcesContent":["import {\n Bytes,\n Codec,\n Decoder,\n Encoder,\n createCodec,\n createDecoder,\n} from \"scale-ts\"\nimport { compactNumber } from \"./compact\"\nimport { mergeUint8 } from \"@pezkuwi/papi-utils\"\n\nexport type BitSeq = Array<0 | 1>\n\nconst dec: (isLsb?: boolean) => Decoder<BitSeq> = (isLsb = true) =>\n createDecoder((data) => {\n const bitsLen = compactNumber.dec(data)\n const bytesLen = Math.ceil(bitsLen / 8)\n const bytes = Bytes(bytesLen).dec(data)\n\n const result = new Array<0 | 1>(bitsLen)\n let resultIdx = 0\n bytes.forEach((val) => {\n for (let i = 0; i < 8 && resultIdx < bitsLen; i++) {\n const actualIdx = isLsb ? i : 7 - i\n result[resultIdx++] = ((val >> actualIdx) & 1) as 1 | 0\n }\n })\n return result\n })\n\nconst enc: (isLsb?: boolean) => Encoder<BitSeq> =\n (isLsb = true) =>\n (input) => {\n const lenEncoded = compactNumber.enc(input.length)\n const nBytes = Math.ceil(input.length / 8)\n\n const bytes = new Uint8Array(nBytes)\n for (let byteIdx = 0; byteIdx < nBytes; byteIdx++) {\n let inputIdx = byteIdx * 8\n let byte = 0\n for (let i = 0; i < 8 && inputIdx < input.length; i++, inputIdx++)\n byte |= input[inputIdx] << (isLsb ? i : 7 - i)\n bytes[byteIdx] = byte\n }\n\n return mergeUint8([lenEncoded, bytes])\n }\n\nexport const BitSeq = (isLsb?: boolean): Codec<BitSeq> =>\n createCodec(enc(isLsb), dec(isLsb))\n\nBitSeq.enc = enc\nBitSeq.dec = dec\n"],"names":[],"mappings":";;;;AAaA,MAAM,MAA4C,CAAC,KAAA,GAAQ,IAAA,KACzD,aAAA,CAAc,CAAC,IAAA,KAAS;AACtB,EAAA,MAAM,OAAA,GAAU,aAAA,CAAc,GAAA,CAAI,IAAI,CAAA;AACtC,EAAA,MAAM,QAAA,GAAW,IAAA,CAAK,IAAA,CAAK,OAAA,GAAU,CAAC,CAAA;AACtC,EAAA,MAAM,KAAA,GAAQ,KAAA,CAAM,QAAQ,CAAA,CAAE,IAAI,IAAI,CAAA;AAEtC,EAAA,MAAM,MAAA,GAAS,IAAI,KAAA,CAAa,OAAO,CAAA;AACvC,EAAA,IAAI,SAAA,GAAY,CAAA;AAChB,EAAA,KAAA,CAAM,OAAA,CAAQ,CAAC,GAAA,KAAQ;AACrB,IAAA,KAAA,IAAS,IAAI,CAAA,EAAG,CAAA,GAAI,CAAA,IAAK,SAAA,GAAY,SAAS,CAAA,EAAA,EAAK;AACjD,MAAA,MAAM,SAAA,GAAY,KAAA,GAAQ,CAAA,GAAI,CAAA,GAAI,CAAA;AAClC,MAAA,MAAA,CAAO,SAAA,EAAW,CAAA,GAAM,GAAA,IAAO,SAAA,GAAa,CAAA;AAAA,IAC9C;AAAA,EACF,CAAC,CAAA;AACD,EAAA,OAAO,MAAA;AACT,CAAC,CAAA;AAEH,MAAM,GAAA,GACJ,CAAC,KAAA,GAAQ,IAAA,KACT,CAAC,KAAA,KAAU;AACT,EAAA,MAAM,UAAA,GAAa,aAAA,CAAc,GAAA,CAAI,KAAA,CAAM,MAAM,CAAA;AACjD,EAAA,MAAM,MAAA,GAAS,IAAA,CAAK,IAAA,CAAK,KAAA,CAAM,SAAS,CAAC,CAAA;AAEzC,EAAA,MAAM,KAAA,GAAQ,IAAI,UAAA,CAAW,MAAM,CAAA;AACnC,EAAA,KAAA,IAAS,OAAA,GAAU,CAAA,EAAG,OAAA,GAAU,MAAA,EAAQ,OAAA,EAAA,EAAW;AACjD,IAAA,IAAI,WAAW,OAAA,GAAU,CAAA;AACzB,IAAA,IAAI,IAAA,GAAO,CAAA;AACX,IAAA,KAAA,IAAS,IAAI,CAAA,EAAG,CAAA,GAAI,KAAK,QAAA,GAAW,KAAA,CAAM,QAAQ,CAAA,EAAA,EAAK,QAAA,EAAA;AACrD,MAAA,IAAA,IAAQ,KAAA,CAAM,QAAQ,CAAA,KAAM,KAAA,GAAQ,IAAI,CAAA,GAAI,CAAA,CAAA;AAC9C,IAAA,KAAA,CAAM,OAAO,CAAA,GAAI,IAAA;AAAA,EACnB;AAEA,EAAA,OAAO,UAAA,CAAW,CAAC,UAAA,EAAY,KAAK,CAAC,CAAA;AACvC,CAAA;AAEK,MAAM,MAAA,GAAS,CAAC,KAAA,KACrB,WAAA,CAAY,IAAI,KAAK,CAAA,EAAG,GAAA,CAAI,KAAK,CAAC;AAEpC,MAAA,CAAO,GAAA,GAAM,GAAA;AACb,MAAA,CAAO,GAAA,GAAM,GAAA;;;;"}
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
import { fromHex, toHex } from '@pezkuwi/papi-utils';
|
||||||
|
import { createCodec, Bytes } from 'scale-ts';
|
||||||
|
|
||||||
|
const enc$1 = (nBytes) => {
|
||||||
|
const _enc = Bytes.enc(nBytes);
|
||||||
|
return (value) => _enc(fromHex(value));
|
||||||
|
};
|
||||||
|
const dec$1 = (nBytes) => {
|
||||||
|
const _dec = Bytes.dec(nBytes);
|
||||||
|
return (value) => toHex(_dec(value));
|
||||||
|
};
|
||||||
|
const Hex = (nBytes) => createCodec(enc$1(nBytes), dec$1(nBytes));
|
||||||
|
Hex.enc = enc$1;
|
||||||
|
Hex.dec = dec$1;
|
||||||
|
|
||||||
|
export { Hex };
|
||||||
|
//# sourceMappingURL=Hex.mjs.map
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"version":3,"file":"Hex.mjs","sources":["../../../../src/codecs/scale/Hex.ts"],"sourcesContent":["import { fromHex, toHex } from \"@pezkuwi/papi-utils\"\nimport { Bytes, Codec, Decoder, Encoder, createCodec } from \"scale-ts\"\n\nexport type HexString = string & { __hexString?: unknown }\n\nconst enc = (nBytes?: number): Encoder<HexString> => {\n const _enc = Bytes.enc(nBytes)\n return (value: string) => _enc(fromHex(value))\n}\n\nconst dec = (nBytes?: number): Decoder<HexString> => {\n const _dec = Bytes.dec(nBytes)\n return (value) => toHex(_dec(value)) as HexString\n}\n\nexport const Hex = (nBytes?: number): Codec<HexString> =>\n createCodec(enc(nBytes), dec(nBytes))\n\nHex.enc = enc\nHex.dec = dec\n"],"names":["enc","dec"],"mappings":";;;AAKA,MAAMA,KAAA,GAAM,CAAC,MAAA,KAAwC;AACnD,EAAA,MAAM,IAAA,GAAO,KAAA,CAAM,GAAA,CAAI,MAAM,CAAA;AAC7B,EAAA,OAAO,CAAC,KAAA,KAAkB,IAAA,CAAK,OAAA,CAAQ,KAAK,CAAC,CAAA;AAC/C,CAAA;AAEA,MAAMC,KAAA,GAAM,CAAC,MAAA,KAAwC;AACnD,EAAA,MAAM,IAAA,GAAO,KAAA,CAAM,GAAA,CAAI,MAAM,CAAA;AAC7B,EAAA,OAAO,CAAC,KAAA,KAAU,KAAA,CAAM,IAAA,CAAK,KAAK,CAAC,CAAA;AACrC,CAAA;AAEO,MAAM,GAAA,GAAM,CAAC,MAAA,KAClB,WAAA,CAAYD,MAAI,MAAM,CAAA,EAAGC,KAAA,CAAI,MAAM,CAAC;AAEtC,GAAA,CAAI,GAAA,GAAMD,KAAA;AACV,GAAA,CAAI,GAAA,GAAMC,KAAA;;;;"}
|
||||||
@@ -0,0 +1,26 @@
|
|||||||
|
import { createCodec } from 'scale-ts';
|
||||||
|
|
||||||
|
const selfEncoder = (value) => {
|
||||||
|
let cache = (x) => {
|
||||||
|
const encoder = value();
|
||||||
|
cache = encoder;
|
||||||
|
return encoder(x);
|
||||||
|
};
|
||||||
|
return (x) => cache(x);
|
||||||
|
};
|
||||||
|
const selfDecoder = (value) => {
|
||||||
|
let cache = (x) => {
|
||||||
|
const decoder = value();
|
||||||
|
const result = decoder;
|
||||||
|
cache = decoder;
|
||||||
|
return result(x);
|
||||||
|
};
|
||||||
|
return (x) => cache(x);
|
||||||
|
};
|
||||||
|
const Self = (value) => createCodec(
|
||||||
|
selfEncoder(() => value().enc),
|
||||||
|
selfDecoder(() => value().dec)
|
||||||
|
);
|
||||||
|
|
||||||
|
export { Self, selfDecoder, selfEncoder };
|
||||||
|
//# sourceMappingURL=Self.mjs.map
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"version":3,"file":"Self.mjs","sources":["../../../../src/codecs/scale/Self.ts"],"sourcesContent":["import { Codec, Decoder, Encoder, createCodec, _void } from \"scale-ts\"\n\nexport const selfEncoder = <T>(value: () => Encoder<T>): Encoder<T> => {\n let cache: Encoder<T> = (x) => {\n const encoder = value()\n cache = encoder\n return encoder(x)\n }\n\n return (x) => cache(x)\n}\n\nexport const selfDecoder = <T>(value: () => Decoder<T>): Decoder<T> => {\n let cache: Decoder<T> = (x) => {\n const decoder = value()\n const result = decoder\n cache = decoder\n return result(x)\n }\n\n return (x) => cache(x)\n}\n\nexport const Self = <T>(value: () => Codec<T>): Codec<T> =>\n createCodec(\n selfEncoder(() => value().enc),\n selfDecoder(() => value().dec),\n )\n"],"names":[],"mappings":";;AAEO,MAAM,WAAA,GAAc,CAAI,KAAA,KAAwC;AACrE,EAAA,IAAI,KAAA,GAAoB,CAAC,CAAA,KAAM;AAC7B,IAAA,MAAM,UAAU,KAAA,EAAM;AACtB,IAAA,KAAA,GAAQ,OAAA;AACR,IAAA,OAAO,QAAQ,CAAC,CAAA;AAAA,EAClB,CAAA;AAEA,EAAA,OAAO,CAAC,CAAA,KAAM,KAAA,CAAM,CAAC,CAAA;AACvB;AAEO,MAAM,WAAA,GAAc,CAAI,KAAA,KAAwC;AACrE,EAAA,IAAI,KAAA,GAAoB,CAAC,CAAA,KAAM;AAC7B,IAAA,MAAM,UAAU,KAAA,EAAM;AACtB,IAAA,MAAM,MAAA,GAAS,OAAA;AACf,IAAA,KAAA,GAAQ,OAAA;AACR,IAAA,OAAO,OAAO,CAAC,CAAA;AAAA,EACjB,CAAA;AAEA,EAAA,OAAO,CAAC,CAAA,KAAM,KAAA,CAAM,CAAC,CAAA;AACvB;AAEO,MAAM,IAAA,GAAO,CAAI,KAAA,KACtB,WAAA;AAAA,EACE,WAAA,CAAY,MAAM,KAAA,EAAM,CAAE,GAAG,CAAA;AAAA,EAC7B,WAAA,CAAY,MAAM,KAAA,EAAM,CAAE,GAAG;AAC/B;;;;"}
|
||||||
@@ -0,0 +1,37 @@
|
|||||||
|
import { createCodec, Enum } from 'scale-ts';
|
||||||
|
import { mapObject } from '@pezkuwi/papi-utils';
|
||||||
|
import { Enum as Enum$1 } from '../../types/enum.mjs';
|
||||||
|
import { withInner } from './with-inner.mjs';
|
||||||
|
|
||||||
|
const VariantEnc = (...args) => {
|
||||||
|
const enc = Enum.enc(...args);
|
||||||
|
return withInner((v) => enc({ tag: v.type, value: v.value }), args[0]);
|
||||||
|
};
|
||||||
|
const VariantDec = (...args) => {
|
||||||
|
const dec = Enum.dec(...args);
|
||||||
|
return withInner((v) => {
|
||||||
|
const { tag, value } = dec(v);
|
||||||
|
return Enum$1(tag, value);
|
||||||
|
}, args[0]);
|
||||||
|
};
|
||||||
|
const Variant = (inner, ...args) => withInner(
|
||||||
|
createCodec(
|
||||||
|
VariantEnc(
|
||||||
|
mapObject(inner, ([encoder]) => encoder),
|
||||||
|
...args
|
||||||
|
),
|
||||||
|
VariantDec(
|
||||||
|
mapObject(inner, ([, decoder]) => decoder),
|
||||||
|
...args
|
||||||
|
)
|
||||||
|
),
|
||||||
|
inner
|
||||||
|
);
|
||||||
|
Variant.enc = VariantEnc;
|
||||||
|
Variant.dec = VariantDec;
|
||||||
|
const ScaleEnum = (inner, ...args) => withInner(Enum(inner, ...args), inner);
|
||||||
|
ScaleEnum.enc = (inner, ...rest) => withInner(Enum.enc(inner, ...rest), inner);
|
||||||
|
ScaleEnum.dec = (inner, ...rest) => withInner(Enum.dec(inner, ...rest), inner);
|
||||||
|
|
||||||
|
export { ScaleEnum, Variant };
|
||||||
|
//# sourceMappingURL=Variant.mjs.map
|
||||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,24 @@
|
|||||||
|
import { createDecoder, Bytes, createCodec } from 'scale-ts';
|
||||||
|
import { compactNumber } from './compact.mjs';
|
||||||
|
|
||||||
|
const bitSequenceDecoder = createDecoder((data) => {
|
||||||
|
const bitsLen = compactNumber.dec(data);
|
||||||
|
const bytesLen = Math.ceil(bitsLen / 8);
|
||||||
|
const bytes = Bytes(bytesLen).dec(data);
|
||||||
|
return { bytes, bitsLen };
|
||||||
|
});
|
||||||
|
const bitSequenceEncoder = (input) => {
|
||||||
|
if (input.bitsLen > input.bytes.length * 8)
|
||||||
|
throw new Error(
|
||||||
|
`Not enough bytes. (bitsLen:${input.bitsLen}, bytesLen:${input.bytes.length})`
|
||||||
|
);
|
||||||
|
const lenEncoded = compactNumber.enc(input.bitsLen);
|
||||||
|
const result = new Uint8Array(input.bytes.length + lenEncoded.length);
|
||||||
|
result.set(lenEncoded, 0);
|
||||||
|
result.set(input.bytes, lenEncoded.length);
|
||||||
|
return result;
|
||||||
|
};
|
||||||
|
const bitSequence$1 = createCodec(bitSequenceEncoder, bitSequenceDecoder);
|
||||||
|
|
||||||
|
export { bitSequence$1 as bitSequence };
|
||||||
|
//# sourceMappingURL=bitSequence.mjs.map
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"version":3,"file":"bitSequence.mjs","sources":["../../../../src/codecs/scale/bitSequence.ts"],"sourcesContent":["import { Bytes, Decoder, Encoder, createCodec, createDecoder } from \"scale-ts\"\nimport { compactNumber } from \"./compact\"\n\nexport interface BitSequence {\n bitsLen: number\n bytes: Uint8Array\n}\n\nconst bitSequenceDecoder: Decoder<BitSequence> = createDecoder((data) => {\n const bitsLen = compactNumber.dec(data)\n\n const bytesLen = Math.ceil(bitsLen / 8)\n const bytes = Bytes(bytesLen).dec(data)\n return { bytes, bitsLen }\n})\n\nconst bitSequenceEncoder: Encoder<BitSequence> = (input) => {\n if (input.bitsLen > input.bytes.length * 8)\n throw new Error(\n `Not enough bytes. (bitsLen:${input.bitsLen}, bytesLen:${input.bytes.length})`,\n )\n\n const lenEncoded = compactNumber.enc(input.bitsLen)\n const result = new Uint8Array(input.bytes.length + lenEncoded.length)\n result.set(lenEncoded, 0)\n result.set(input.bytes, lenEncoded.length)\n return result\n}\n\nexport const bitSequence = createCodec(bitSequenceEncoder, bitSequenceDecoder)\n"],"names":["bitSequence"],"mappings":";;;AAQA,MAAM,kBAAA,GAA2C,aAAA,CAAc,CAAC,IAAA,KAAS;AACvE,EAAA,MAAM,OAAA,GAAU,aAAA,CAAc,GAAA,CAAI,IAAI,CAAA;AAEtC,EAAA,MAAM,QAAA,GAAW,IAAA,CAAK,IAAA,CAAK,OAAA,GAAU,CAAC,CAAA;AACtC,EAAA,MAAM,KAAA,GAAQ,KAAA,CAAM,QAAQ,CAAA,CAAE,IAAI,IAAI,CAAA;AACtC,EAAA,OAAO,EAAE,OAAO,OAAA,EAAQ;AAC1B,CAAC,CAAA;AAED,MAAM,kBAAA,GAA2C,CAAC,KAAA,KAAU;AAC1D,EAAA,IAAI,KAAA,CAAM,OAAA,GAAU,KAAA,CAAM,KAAA,CAAM,MAAA,GAAS,CAAA;AACvC,IAAA,MAAM,IAAI,KAAA;AAAA,MACR,8BAA8B,KAAA,CAAM,OAAO,CAAA,WAAA,EAAc,KAAA,CAAM,MAAM,MAAM,CAAA,CAAA;AAAA,KAC7E;AAEF,EAAA,MAAM,UAAA,GAAa,aAAA,CAAc,GAAA,CAAI,KAAA,CAAM,OAAO,CAAA;AAClD,EAAA,MAAM,SAAS,IAAI,UAAA,CAAW,MAAM,KAAA,CAAM,MAAA,GAAS,WAAW,MAAM,CAAA;AACpE,EAAA,MAAA,CAAO,GAAA,CAAI,YAAY,CAAC,CAAA;AACxB,EAAA,MAAA,CAAO,GAAA,CAAI,KAAA,CAAM,KAAA,EAAO,UAAA,CAAW,MAAM,CAAA;AACzC,EAAA,OAAO,MAAA;AACT,CAAA;AAEO,MAAMA,aAAA,GAAc,WAAA,CAAY,kBAAA,EAAoB,kBAAkB;;;;"}
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user