diff --git a/.prettierignore b/.prettierignore index 8b7c350c38b2db297e5d80ef2072bd576b56fba5..e50ffefb72972a227ab925b4cb422128faddf183 100644 --- a/.prettierignore +++ b/.prettierignore @@ -6,3 +6,5 @@ resources scripts www src/schema.graphql +src/**/*.generated.ts +src/interfaces diff --git a/README.md b/README.md index e53cf9257a3215a9d81a2fc42962189cdbca4962..86f73fa1fe9425c34f3b12b14363e0ac507c8c27 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,19 @@ Cesium², running on Duniter v2s (Substrate). Cesium² use Angular, Ionic and Capacitor. +## Roadmap + +Priority 1 +- [ ] First membership / certification / deposit / distance +- [ ] Network scan ? + +Priority 2 +- [x] Login process should use a unique modal, and a method selector - issue #26 +- [ ] Directory (aka wot) search using Data Pod (see [duniter-panel](https://duniter--vue-coinduf-eu.ipns.pagu.re/)) +- [ ] Submit profile to Data pod (see ddd-ui) +- [ ] TX comments + + ## Build ### In a post-it diff --git a/android/app/build.gradle b/android/app/build.gradle index eb9bf3346ab0ab9e4118feb8125244fbd6849192..03a99bc41dc61ca0910f23c85d68bb84e8f6bf60 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -13,8 +13,8 @@ android { minSdkVersion rootProject.ext.minSdkVersion compileSdkVersion rootProject.ext.compileSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion - versionCode 2000038 - versionName "2.0.0-alpha38" + versionCode 2000040 + versionName "2.0.0-alpha40" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" aaptOptions { // Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps. diff --git a/angular.json b/angular.json index 1601b8e698b98d6416a9e57cdf1fc89298e354e6..1998c6a328325620f7097d465ee8d482f4ab474b 100644 --- a/angular.json +++ b/angular.json @@ -201,6 +201,8 @@ "options": { "lintFilePatterns": [ "src/**/*.ts", + "!src/**/*.generated.ts", + "!src/interfaces/**/*.ts", "src/**/*.html" ] } diff --git a/codegen.yml b/codegen.yml deleted file mode 100644 index d1b476992cc4d16caac41ee527435365978bc693..0000000000000000000000000000000000000000 --- a/codegen.yml +++ /dev/null @@ -1,23 +0,0 @@ -overwrite: true -schema: "src/app/network/indexer-schema.graphql" -documents: "src/app/**/*!(.generated).{ts,graphql}" -generates: - src/app/network/indexer-types.generated.ts: - plugins: - - "add" - - "typescript" - - "typescript-operations" - - "typescript-apollo-angular" - - "fragment-matcher" - config: - content: "// Auto-generated via `npx graphql-codegen`, do not edit\n/* eslint-disable */" - nameSuffix: "Document" - sdkClass: true - serviceName: "IndexerGraphqlService" - namedClient: 'indexer' - src/app/network/indexer-helpers.generated.ts: - plugins: - - "add" - - "typescript-apollo-client-helpers" - config: - content: "// Auto-generated via `npx graphql-codegen`, do not edit\n/* eslint-disable */" diff --git a/electron/package.json b/electron/package.json index 2369fa7d7cca4f08d5b995140e3f0c4d1b2f3abf..49a5f0acec2b2c4527d4b226689e341e668f14c8 100644 --- a/electron/package.json +++ b/electron/package.json @@ -1,6 +1,6 @@ { "name": "cesium2s", - "version": "2.0.0-alpha38", + "version": "2.0.0-alpha40", "description": "Cesium², running on Duniter v2s (Substrate).", "author": { "name": "Benoit Lavenier", diff --git a/graphql.config.yml b/graphql.config.yml index 90912ebe961b5d7f438f2766e000359808bf3478..5d96ef556aabd8e78d69fb49fda33cf6e7d74799 100644 --- a/graphql.config.yml +++ b/graphql.config.yml @@ -1,8 +1,65 @@ -schema: src/app/network/indexer-schema.graphql -extensions: - endpoints: - Gdev GraphQL Endpoint: - url: https://gdev-squid.axiom-team.fr/v1beta1/relay - headers: - user-agent: JS GraphQL - introspect: false +projects: + indexer: + schema: src/app/network/indexer/indexer-schema.graphql + documents: "src/app/network/indexer/indexer-*!(.generated).{ts,gql}" + extensions: + endpoints: + Gdev Indexer GraphQL Endpoint: + url: https://gdev-squid.axiom-team.fr/v1beta1/relay + headers: + user-agent: JS GraphQL + introspect: false + codegen: + generates: + src/app/network/indexer/indexer-types.generated.ts: + plugins: + - "add" + - "typescript" + - "typescript-operations" + - "typescript-apollo-angular" + - "fragment-matcher" + config: + content: "// Auto-generated via `npx graphql-codegen`, do not edit\n/* eslint-disable */" + nameSuffix: "Document" + sdkClass: true + serviceName: "IndexerGraphqlService" + namedClient: 'indexer' + src/app/network/indexer/indexer-helpers.generated.ts: + plugins: + - "add" + - "typescript-apollo-client-helpers" + config: + content: "// Auto-generated via `npx graphql-codegen`, do not edit\n/* eslint-disable */" + + pod: + schema: src/app/network/pod/pod-schema.graphql + documents: "src/app/network/pod/pod-*!(.generated).{ts,gql}" + extensions: + endpoints: + Gdev Pod GraphQL Endpoint: + url: https://datapod.coinduf.eu/v1/graphql + headers: + user-agent: JS GraphQL + introspect: false + codegen: + generates: + src/app/network/pod/pod-types.generated.ts: + plugins: + - "add" + - "typescript" + - "typescript-operations" + - "typescript-apollo-angular" + - "fragment-matcher" + config: + content: "// Auto-generated via `npx graphql-codegen`, do not edit\n/* eslint-disable */" + nameSuffix: "Document" + sdkClass: true + serviceName: "PodGraphqlService" + namedClient: 'pod' + src/app/network/pod/pod-helpers.generated.ts: + plugins: + - "add" + - "typescript-apollo-client-helpers" + config: + content: "// Auto-generated via `npx graphql-codegen`, do not edit\n/* eslint-disable */" + diff --git a/install.sh b/install.sh index 3364382527838a3e388de5c24ea4b3234102c47f..187b22066c4bc0d5b75a17dc4e36eb61f52cbbd2 100755 --- a/install.sh +++ b/install.sh @@ -14,7 +14,7 @@ INSTALL_DIR=${1:-$(pwd)/${PROJECT_NAME}} INSTALL_ENV=testing latest_version() { - echo "2.0.0-alpha38" #lastest + echo "2.0.0-alpha40" #lastest } api_release_url() { diff --git a/package-lock.json b/package-lock.json index 1fd0dba76dd87cf2def78bfe1f4d16f57e9e761f..7aaa57f97844f92d4001ee2177db12a0d709c24d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "cesium", - "version": "2.0.0-alpha36", + "version": "2.0.0-alpha38", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "cesium", - "version": "2.0.0-alpha36", + "version": "2.0.0-alpha38", "license": "AGPL-3.0", "dependencies": { "@angular/animations": "^17.3.5", diff --git a/package.json b/package.json index 793825b90093d622dedd85cbb1ad84354b7515c4..2d804ba8d3523f9c8a4e09afbe30b006efbf17fd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cesium", - "version": "2.0.0-alpha38", + "version": "2.0.0-alpha40", "description": "Manage G1 wallet", "author": "Benoit Lavenier <benoit.lavenier@e-is.pro>", "homepage": "https://cesium.app", @@ -48,12 +48,14 @@ "typegen": "npm run typegen:prod", "typegen:dev": "npm run get:meta:dev && npm run generate", "typegen:prod": "npm run get:meta:prod && npm run generate", - "get:meta:dev": "curl -H \\\"Content-Type: application/json\\\" -d '{\\\"id\\\":\\\"1\\\", \\\"jsonrpc\\\":\\\"2.0\\\", \\\"method\\\": \\\"state_getMetadata\\\", \\\"params\\\":[]}' http://localhost:9933 > src/interfaces/types.json", - "get:meta:prod": "curl -H \\\"Content-Type: application/json\\\" -d '{\\\"id\\\":\\\"1\\\", \\\"jsonrpc\\\":\\\"2.0\\\", \\\"method\\\": \\\"state_getMetadata\\\", \\\"params\\\":[]}' http://gdev.cgeek.fr:9933 > src/interfaces/types.json", + "get:meta:dev": "curl -H \"Content-Type: application/json\" -d '{\"id\":1, \"jsonrpc\":\"2.0\", \"method\": \"state_getMetadata\", \"params\":[]}' http://localhost:9944 > src/interfaces/types.json", + "get:meta:prod": "curl -H \"Content-Type: application/json\" -d '{\"id\":\"1\", \"jsonrpc\":\"2.0\", \"method\": \"state_getMetadata\", \"params\":[]}' http://gdev.cgeek.fr/http > src/interfaces/types.json", "generate": "npm run generate:defs && npm run generate:meta && npm run generate:graphql", "generate:defs": "ts-node --skip-project node_modules/.bin/polkadot-types-from-defs --package @duniter/interfaces --input src/interfaces --endpoint src/interfaces/types.json", "generate:meta": "ts-node --skip-project node_modules/.bin/polkadot-types-from-chain --package @duniter/interfaces --output src/interfaces --endpoint src/interfaces/types.json", - "generate:graphql": "graphql-codegen", + "generate:graphql": "graphql-codegen --project indexer && graphql-codegen --project pod", + "generate:graphql:indexer": "graphql-codegen --project indexer", + "generate:graphql:pod": "graphql-codegen --project pod", "prepare": "husky install", "version:get": "node scripts/node/version.js", "version:set": "node scripts/node/version.js --set", diff --git a/resources/webext/manifest.json b/resources/webext/manifest.json index dc99660684c9668e71bd698fb691a9ca28782d7d..2fe51a67a78073865c08e0c7524ba8b5b1a9589c 100644 --- a/resources/webext/manifest.json +++ b/resources/webext/manifest.json @@ -1,8 +1,8 @@ { "manifest_version": 2, "name": "cesium2s", - "version": "2.0.0.38", - "version_name": "2.0.0-alpha38", + "version": "2.0.0.40", + "version_name": "2.0.0-alpha40", "short_name": "Cesium²", "description": "Manage G1 wallet", "author": "Benoit Lavenier <benoit.lavenier@e-is.pro>", diff --git a/src/app/account/account.converter.ts b/src/app/account/account.converter.ts index b63c9831db66448241967b5463605c387f0ab728..34586a8224458365ae5d0bed4c04881ddbc8cba6 100644 --- a/src/app/account/account.converter.ts +++ b/src/app/account/account.converter.ts @@ -1,31 +1,52 @@ -import { LightAccountConnectionFragment, LightAccountFragment, LightIdentityFragment } from '@app/network/indexer-types.generated'; +import { LightAccountConnectionFragment, LightAccountFragment, LightIdentityFragment } from '@app/network/indexer/indexer-types.generated'; import { Account, parseAddressSquid } from '@app/account/account.model'; -import { isNotNil } from '@app/shared/functions'; +import { ProfileFragment } from '@app/network/pod/pod-types.generated'; export class AccountConverter { - static connectionToAccounts(accountConnection: LightAccountConnectionFragment, debug?: boolean): Account[] { + static squidConnectionToAccounts(accountConnection: LightAccountConnectionFragment, debug?: boolean): Account[] { const inputs = accountConnection.edges?.map((edge) => edge.node) as LightAccountFragment[]; - const results = (inputs || []).map(this.toAccount); + const results = (inputs || []).map(this.squidToAccount); if (debug) console.debug('Results:', results); return results; } - static toAccounts(inputs: LightAccountFragment[], debug?: boolean): Account[] { - const results = (inputs || []).map(this.toAccount); + static squidToAccounts(inputs: LightAccountFragment[], debug?: boolean): Account[] { + const results = (inputs || []).map(this.squidToAccount); if (debug) console.debug('Results:', results); return results; } - static toAccount(input: LightAccountFragment): Account { + static squidToAccount(input: LightAccountFragment): Account { if (!input) return undefined; const addressSquid = parseAddressSquid(input.id); + const identity = input.identity; return <Account>{ address: addressSquid.address, meta: { - id: input.identity?.id, - index: input.identity?.index, - uid: input.identity?.name, - isMember: input.identity?.membershipHistory?.some((h) => isNotNil(h.id)) || false, + id: identity?.id, + index: identity?.index, + uid: identity?.name, + status: identity?.status, + isMember: identity?.isMember || false, + createdOn: identity?.createdOn, + }, + }; + } + + static profileToAccounts(inputs: ProfileFragment[], opts?: { debug?: boolean; ipfsGateway?: string }): Account[] { + const results = (inputs || []).map((input) => this.profileToAccount(input, opts)); + if (opts?.debug) console.debug('Results:', results); + return results; + } + + static profileToAccount(input: ProfileFragment, opts?: { ipfsGateway?: string }): Account { + if (!input) return undefined; + const avatar = input.avatar_cid && opts.ipfsGateway ? opts.ipfsGateway + input.avatar_cid : undefined; + return <Account>{ + address: input.address, + meta: { + name: input.title, + avatar, }, }; } @@ -46,7 +67,8 @@ export class IdentityConverter { id: input.id, index: input.index, uid: input.name, - isMember: input.membershipHistory?.some((h) => isNotNil(h.id)) || false, + status: input?.status, + isMember: input.isMember || false, }, }; } diff --git a/src/app/account/account.model.ts b/src/app/account/account.model.ts index 36eec9ceb0b44f0f321001cbdd6fa590a34b8f49..b941e7635e631fa2de0d4b4fda5f271880719a0f 100644 --- a/src/app/account/account.model.ts +++ b/src/app/account/account.model.ts @@ -1,6 +1,9 @@ import { HexString } from '@polkadot/util/types'; import { ListItem } from '@app/shared/popover/list.popover'; import { formatAddress } from '@app/shared/currencies'; +import { IdentityStatusEnum } from '@app/network/indexer/indexer-types.generated'; +import { isEmptyArray } from '@app/shared/functions'; +import { combineLoadResults, LoadResult } from '@app/shared/services/service.model'; export interface AddressSquid { index: number; @@ -16,6 +19,8 @@ export interface Account { data?: AccountData; } +//export declare type IdentityStatus = 'CREATION'; + export interface AccountMeta { // Polkadot properties name: string; @@ -26,6 +31,7 @@ export interface AccountMeta { id?: string; index?: number; // member index uid?: string; + createdOn?: number; // Cesium properties self?: boolean; @@ -34,6 +40,7 @@ export interface AccountMeta { avatar?: string; email?: string; isMember?: boolean; + status?: IdentityStatusEnum; [key: string]: unknown; } @@ -49,12 +56,12 @@ export interface AccountData { * Parse the base64 encoded json data from squid to an AddressSquid object */ export function parseAddressSquid(data: string): AddressSquid { - const decodedArray: any[] = JSON.parse(atob(data)); - if (decodedArray.length !== 4) { + const decodedArray = JSON.parse(atob(data)); + if (!Array.isArray(decodedArray) || decodedArray.length !== 4) { throw new Error('Invalid account data'); } return { - index: decodedArray[0] as number, + index: +decodedArray[0], visibility: decodedArray[1] as string, type: decodedArray[2] as string, address: decodedArray[3] as string, @@ -68,12 +75,43 @@ export class AccountUtils { } static getDisplayName(account: Partial<Account>) { - return account?.meta?.name || account?.meta?.uid || formatAddress(account?.address) || ''; + if (!account) return ''; + return account.meta?.name || account.meta?.uid || formatAddress(account.address) || ''; } static isEquals(a1: Account, a2: Account) { return a1 === a2 || (a1 && a1.address && a1.address === a2?.address); } + + static mergeAll(accounts: Account[]): Account[] { + if (isEmptyArray(accounts)) return accounts; // Nothing to merge + + const mapByAddress = {}; + return accounts.reduce((res, item) => { + const existingItem = mapByAddress[item.address]; + if (existingItem) { + AccountUtils.merge(existingItem, item); + return res; + } + mapByAddress[item.address] = item; + return res.concat(item); + }, []); + } + + static merge(target: Account, source: Account): Account { + if (target.address !== source.address) throw new Error('Both account should have same address!'); + if (source.meta) { + target.meta = { ...source.meta, ...target.meta }; + } + if (source.data) { + target.data = { ...source.data, ...target.data }; + } + return target; + } + + static combineAccountLoadResults(results: LoadResult<Account>[]): LoadResult<Account> { + return combineLoadResults(results, { reduce: AccountUtils.mergeAll }); + } } export interface UnlockOptions { @@ -90,13 +128,17 @@ export interface SelectAccountOptions { isMember?: boolean; } -export declare type LoginMethodType = 'v1' | 'v2' | 'keyfile-v1'; -export const LoginMethods: ListItem[] = [ - { value: 'v1', label: 'LOGIN.METHOD.SCRYPT_DEFAULT' }, - { value: 'v2', label: 'LOGIN.METHOD.MNEMONIC' }, - { value: 'pubkey-v1', label: 'LOGIN.METHOD.PUBKEY' }, - { value: 'address', label: 'LOGIN.METHOD.ADDRESS' }, - { value: 'keyfile-v1', label: 'LOGIN.METHOD.FILE', disabled: true }, +export declare type LoginMethodType = 'v1' | 'v2' | 'pubkey-v1' | 'address' | 'keyfile-v1'; +export interface LoginMethodItem extends ListItem { + auth?: boolean; +} + +export const LoginMethods: LoginMethodItem[] = [ + { value: 'v1', label: 'LOGIN.METHOD.SCRYPT_DEFAULT', auth: true, icon: 'shuffle' }, + { value: 'v2', label: 'LOGIN.METHOD.MNEMONIC', auth: true, icon: 'infinite' }, + { value: 'pubkey-v1', label: 'LOGIN.METHOD.PUBKEY', auth: false, icon: 'key' }, + { value: 'address', label: 'LOGIN.METHOD.ADDRESS', auth: false, icon: 'key' }, + { value: 'keyfile-v1', label: 'LOGIN.METHOD.FILE', disabled: true, auth: true, icon: 'document-text' }, ]; export interface LoginOptions { diff --git a/src/app/account/accounts.service.ts b/src/app/account/accounts.service.ts index ed5629172791d690cd16b5c7a7f5b10b2abe327f..cc840a14fae497fd55b6fd080f964b2a82a3db60 100644 --- a/src/app/account/accounts.service.ts +++ b/src/app/account/accounts.service.ts @@ -28,9 +28,10 @@ import { RxStartableService } from '@app/shared/services/rx-startable-service.cl import { RxStateProperty, RxStateSelect } from '@app/shared/decorator/state.decorator'; import { ED25519_SEED_LENGTH, SCRYPT_PARAMS } from '@app/account/crypto.utils'; import { KeyringPair } from '@polkadot/keyring/types'; -import { IndexerService } from '@app/network/indexer.service'; +import { IndexerService } from '@app/network/indexer/indexer.service'; import { AppEvent } from '@app/shared/types'; import { APP_AUTH_CONTROLLER, AuthData, IAuthController } from '@app/account/auth/auth.model'; +import { ExtrinsicError, ExtrinsicUtils } from '@app/shared/substrate/extrinsic.utils'; export interface LoadAccountDataOptions { reload?: boolean; @@ -44,7 +45,7 @@ export interface WatchAccountDataOptions extends LoadAccountDataOptions {} export interface AccountsState { accounts: Account[]; - password: string; + password?: string; } @Injectable({ providedIn: 'root' }) @@ -79,7 +80,7 @@ export class AccountsService extends RxStartableService<AccountsState> { this.start(); } - protected async ngOnStart(): Promise<any> { + protected async ngOnStart(): Promise<AccountsState> { // Wait crypto to be loaded by browser await cryptoWaitReady(); @@ -92,7 +93,7 @@ export class AccountsService extends RxStartableService<AccountsState> { // Restoring accounts const accounts = await this.restoreAccounts(currency); - return { + return <AccountsState>{ accounts, }; } @@ -199,7 +200,7 @@ export class AccountsService extends RxStartableService<AccountsState> { // Set password to AAAAA (or those defined in environment) this._password = data?.password || 'AAAAA'; - if (!data?.v1 && !data.v2) return; // Skip if no dev account defined + if (!data || (!data.v1 && !data.v2)) return; // Skip if no dev account defined data.meta = { isTesting: true, default: true, @@ -583,6 +584,12 @@ export class AccountsService extends RxStartableService<AccountsState> { // Get issuer account const issuerAccount = await this.getByAddress(from.address); + // Check enough credit + const fee = currency.fees.cert; + if (fee > issuerAccount.data.free) { + throw new Error('ERROR.NOT_ENOUGH_CREDIT'); + } + console.info(`${this._logPrefix}Certifying...\nfrom: ${from.address}\nto ${to.address}`); // Get pair, and unlock it @@ -594,24 +601,18 @@ export class AccountsService extends RxStartableService<AccountsState> { issuerPair.unlock(this._password); } - try { - await this.ready(); - const certHash = await this.api.tx.certification.addCert(to.meta?.index).signAndSend(issuerPair, async ({ status, events }) => { - if (status.isInBlock) { - console.info(`${this._logPrefix}Extrinsic status`, status.toHuman()); - console.info(`${this._logPrefix}Certifying completed at block hash #${status.hash.toHuman()}`); - - if (this._debug) console.debug(`${this._logPrefix}Block events:`, JSON.stringify(events)); - } - }); + await this.ready(); - // Show the hash - console.info(`${this._logPrefix}Finalized hash ${certHash}`); + try { + const { status } = await ExtrinsicUtils.submit(this.api.tx.certification.addCert(to.meta?.index), issuerPair); + console.info(`${this._logPrefix}Extrinsic status`, status.toHuman()); + console.info(`${this._logPrefix}Certifying completed at block hash #${status.hash.toHuman()}`); - return certHash.toString(); + return status.hash.toHuman(); } catch (err) { - console.error(err); - throw new Error('ERROR.SEND_CERT_FAILED'); + const error = new ExtrinsicError(this.api, err, 'ERROR.SEND_CERT_FAILED'); + console.error(`${this._logPrefix}Cannot certify: ${error?.message || error}`); + throw error; } } @@ -659,6 +660,8 @@ export class AccountsService extends RxStartableService<AccountsState> { ...account.meta, uid: indexedAccount.meta?.uid, isMember: indexedAccount.meta?.isMember, + status: indexedAccount.meta?.status, + createdOn: indexedAccount.meta?.createdOn, }; changed = true; } diff --git a/src/app/account/auth/auth.controller.ts b/src/app/account/auth/auth.controller.ts index e57e0fb0e700a2c5d3c51847a41fb845cb02a174..d352282e05610fa2613a3cf5fa5a9635c8024aac 100644 --- a/src/app/account/auth/auth.controller.ts +++ b/src/app/account/auth/auth.controller.ts @@ -2,18 +2,18 @@ import { ActionSheetButton, ActionSheetController, ActionSheetOptions, ModalCont import { Injectable } from '@angular/core'; import { PlatformService } from '@app/shared/services/platform.service'; import { PopoverOptions } from '@ionic/core'; -import { ListPopover, ListPopoverOptions } from '@app/shared/popover/list.popover'; import { TranslateService } from '@ngx-translate/core'; import { AuthModal, AuthModalOptions } from '@app/account/auth/auth.modal'; import { Router } from '@angular/router'; import { RegisterModal, RegisterModalOptions } from '@app/account/register/register.modal'; -import { Account, LoginMethods, LoginOptions, SelectAccountOptions, UnlockOptions } from '@app/account/account.model'; +import { Account, LoginMethods, LoginMethodType, LoginOptions, SelectAccountOptions, UnlockOptions } from '@app/account/account.model'; import { AuthV2Modal } from '@app/account/auth/authv2.modal'; import { UnlockModal } from '@app/account/unlock/unlock.modal'; import { AccountListComponent, AccountListComponentInputs } from '@app/account/list/account-list.component'; import { setTimeout } from '@rx-angular/cdk/zone-less/browser'; import { AppEvent } from '@app/shared/types'; import { IAuthController } from '@app/account/auth/auth.model'; +import { ListPopover, ListPopoverOptions } from '@app/shared/popover/list.popover'; @Injectable() export class AuthController implements IAuthController { @@ -38,44 +38,43 @@ export class AuthController implements IAuthController { private router: Router ) {} - async login(event?: AppEvent, opts?: LoginOptions): Promise<Account> { - let loginMethod = opts?.loginMethod; - - // Ask login method - if (!loginMethod) { - // ...using popover - if (!this._mobile) { - const popover = await this.popoverCtrl.create(<PopoverOptions>{ - event, - backdropDismiss: true, - component: ListPopover, - cssClass: 'login-method-popover', - componentProps: <ListPopoverOptions>{ - title: 'LOGIN.METHOD_POPOVER_TITLE', - items: LoginMethods, - }, - }); - await popover.present(event); - const { data } = await popover.onWillDismiss(); - loginMethod = data; - } else { - const actionSheet = await this.actionSheetCtrl.create({ - ...this.actionSheetOptions, - header: this.translate.instant('LOGIN.METHOD_POPOVER_TITLE'), - buttons: LoginMethods.map((method) => { - return <ActionSheetButton>{ - id: method.value, - data: method.value, - text: this.translate.instant(method.label), - }; - }), - }); - await actionSheet.present(); - const { data } = await actionSheet.onWillDismiss(); - loginMethod = data; - } + async selectLoginMethod(event?: AppEvent, opts?: { auth?: boolean }): Promise<LoginMethodType> { + const items = opts?.auth ? LoginMethods.filter((m) => m.auth === true) : LoginMethods; + // If desktop, then use popover + if (!this._mobile) { + const popover = await this.popoverCtrl.create(<PopoverOptions>{ + event, + backdropDismiss: true, + component: ListPopover, + cssClass: 'login-method-popover', + componentProps: <ListPopoverOptions>{ + title: 'LOGIN.METHOD_POPOVER_TITLE', + items, + }, + }); + await popover.present(event); + const { data } = await popover.onWillDismiss(); + return data; + } else { + const actionSheet = await this.actionSheetCtrl.create({ + ...this.actionSheetOptions, + header: this.translate.instant('LOGIN.METHOD_POPOVER_TITLE'), + buttons: items.map((method) => { + return <ActionSheetButton>{ + id: method.value, + data: method.value, + text: this.translate.instant(method.label), + }; + }), + }); + await actionSheet.present(); + const { data } = await actionSheet.onDidDismiss(); + return data; } - if (!loginMethod) return undefined; // User cancelled + } + + async login(event?: AppEvent, opts?: LoginOptions): Promise<Account> { + const loginMethod = opts?.loginMethod || 'v1'; console.info('[auth] Selected login method: ' + loginMethod); diff --git a/src/app/account/auth/auth.modal.html b/src/app/account/auth/auth.modal.html index b49b20f30406e95f282c3fc7a398dba923cbc33e..b863cc528774825777dfeead35c12ae017bb7811 100644 --- a/src/app/account/auth/auth.modal.html +++ b/src/app/account/auth/auth.modal.html @@ -18,31 +18,77 @@ </ion-toolbar> </ion-header> -<ion-content> - <app-auth-form #form [canRegister]="!auth" (validate)="doSubmit($event)" (cancel)="cancel()"></app-auth-form> +<ion-content class="ion-padding-top"> + <!-- login method --> + @if (!mobile) { + <div class="ion-text-end"> + <ion-button slot="end" fill="clear" color="medium" (click)="changeAuthMethod($event)"> + <ion-icon slot="start" name="build"></ion-icon> + <ion-text class="text-help" translate>LOGIN.BTN_METHODS</ion-text> + </ion-button> + <ion-button slot="end" fill="clear" (click)="showHelpModal('login-method')"> + <ion-icon slot="icon-only" name="help-circle-outline"></ion-icon> + </ion-button> + </div> + } + + @switch (loginMethod) { + @case ('v1') { + <ion-item lines="none"><ion-text class="text-help" [innerHTML]="'LOGIN.SCRYPT_FORM_HELP' | translate"></ion-text></ion-item> + <app-auth-form #formV1 [canRegister]="!auth" (validate)="doSubmit($event)" (cancel)="cancel()" (ngInit)="setForm(formV1)"></app-auth-form> + } + @case ('v2') { + <app-authv2-form #formV2 [canRegister]="!auth" (validate)="doSubmit($event)" (cancel)="cancel()" (ngInit)="setForm(formV2)"></app-authv2-form> + } + @case ('pubkey-v1') { + <ion-item lines="none"><ion-text class="text-help" [innerHTML]="'LOGIN.PUBKEY_FORM_HELP' | translate"></ion-text></ion-item> + <ion-item lines="none"><ion-text color="danger" [innerHTML]="'INFO.FEATURES_NOT_IMPLEMENTED' | translate"></ion-text></ion-item> + } + @case ('address') { + <ion-item lines="none"><ion-text color="danger" [innerHTML]="'INFO.FEATURES_NOT_IMPLEMENTED' | translate"></ion-text></ion-item> + } + @case ('keyfile-v1') { + <ion-item lines="none"><ion-text class="text-help" [innerHTML]="'LOGIN.FILE_FORM_HELP' | translate"></ion-text></ion-item> + <ion-item lines="none"><ion-text color="danger" [innerHTML]="'INFO.FEATURES_NOT_IMPLEMENTED' | translate"></ion-text></ion-item> + } + @default { + <ion-item lines="none"><ion-text color="danger" [innerHTML]="'INFO.FEATURES_NOT_IMPLEMENTED' | translate"></ion-text></ion-item> + } + } + + @if (mobile) { + <div class="ion-text-center"> + <ion-button color="light" size="medium" (click)="changeAuthMethod($event)"> + <ion-icon slot="start" name="build"></ion-icon> + <ion-text translate>LOGIN.BTN_METHODS_DOTS</ion-text> + </ion-button> + </div> + } </ion-content> -<ion-footer *ngIf="!mobile"> - <ion-toolbar> - <ion-row class="ion-no-padding" nowrap> - <ion-col></ion-col> - - <!-- buttons --> - <ion-col size="auto"> - <ion-button fill="clear" color="dark" (click)="cancel()"> - <ion-label translate>COMMON.BTN_CANCEL</ion-label> - </ion-button> - - <ion-button - [fill]="form.invalid ? 'clear' : 'solid'" - [disabled]="loading || form.invalid" - (click)="doSubmit()" - (keyup.enter)="doSubmit()" - [color]="auth ? 'danger' : 'tertiary'" - > - <ion-label translate>{{ auth ? 'AUTH.BTN_AUTH' : 'COMMON.BTN_LOGIN' }}</ion-label> - </ion-button> - </ion-col> - </ion-row> - </ion-toolbar> -</ion-footer> +@if (!mobile) { + <ion-footer> + <ion-toolbar> + <ion-row class="ion-no-padding" nowrap> + <ion-col></ion-col> + + <!-- buttons --> + <ion-col size="auto"> + <ion-button fill="clear" color="dark" (click)="cancel()"> + <ion-label translate>COMMON.BTN_CANCEL</ion-label> + </ion-button> + + <ion-button + [fill]="invalid ? 'clear' : 'solid'" + [disabled]="loading || invalid" + (click)="doSubmit()" + (keyup.enter)="doSubmit()" + [color]="auth ? 'danger' : 'tertiary'" + > + <ion-label translate>{{ auth ? 'AUTH.BTN_AUTH' : 'COMMON.BTN_LOGIN' }}</ion-label> + </ion-button> + </ion-col> + </ion-row> + </ion-toolbar> + </ion-footer> +} diff --git a/src/app/account/auth/auth.modal.ts b/src/app/account/auth/auth.modal.ts index 904938585b88bf06519ec45b821c156e98c5dfc0..7b37b7263b81e338a97e3950d61931a65721cd94 100644 --- a/src/app/account/auth/auth.modal.ts +++ b/src/app/account/auth/auth.modal.ts @@ -1,10 +1,13 @@ -import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Input, OnInit, ViewChild } from '@angular/core'; +import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Inject, Input, OnInit } from '@angular/core'; import { ModalController } from '@ionic/angular'; import { AccountsService } from '@app/account/accounts.service'; -import { AuthForm } from './auth.form'; import { firstNotNilPromise } from '@app/shared/observables'; -import { AuthData } from '@app/account/auth/auth.model'; +import { APP_AUTH_CONTROLLER, AuthData, IAuthController } from '@app/account/auth/auth.model'; +import { AppEvent } from '@app/shared/types'; +import { LoginMethodType } from '@app/account/account.model'; +import { SettingsService } from '@app/settings/settings.service'; +import { AppForm } from '@app/shared/form.class'; export interface AuthModalOptions { auth?: boolean; @@ -20,28 +23,35 @@ export declare type AuthModalRole = 'CANCEL' | 'VALIDATE'; changeDetection: ChangeDetectionStrategy.OnPush, }) export class AuthModal implements OnInit, AuthModalOptions { + protected mobile = this.settingsService.mobile; + protected form: AppForm<AuthData>; + get loading() { return this.form?.loading; } - get mobile(): boolean { - return this.form.mobile; + get invalid() { + return this.form?.invalid; } @Input() auth = false; // false for login, true for auth @Input() title: string = null; - - @ViewChild('form', { static: true }) private form: AuthForm; + @Input() loginMethod: LoginMethodType = 'v1'; constructor( + private settingsService: SettingsService, private accountService: AccountsService, private viewCtrl: ModalController, - private cd: ChangeDetectorRef + private cd: ChangeDetectorRef, + @Inject(APP_AUTH_CONTROLLER) private authController: IAuthController ) {} ngOnInit() { this.title = this.title || (this.auth ? 'AUTH.TITLE' : 'LOGIN.TITLE'); + } + setForm(form: AppForm<AuthData>) { + this.form = form; this.form.markAsReady({ emitEvent: false }); this.form.markAsLoaded(); } @@ -84,6 +94,18 @@ export class AuthModal implements OnInit, AuthModalOptions { } } + async changeAuthMethod(event: AppEvent) { + const loginMethod = await this.authController.selectLoginMethod(event, { auth: this.auth }); + if (!loginMethod) return; // Cancelled + + this.loginMethod = loginMethod; + this.markForCheck(); + } + + showHelpModal(anchor?: string) { + console.info('TODO Opening help modal to anchor: ' + anchor); + } + protected markForCheck() { this.cd.markForCheck(); } diff --git a/src/app/account/auth/auth.model.ts b/src/app/account/auth/auth.model.ts index 6bfe560b0e629fd8b588f75199d1928877067980..ab492263b1cf19f32f9354879695752413e9e00b 100644 --- a/src/app/account/auth/auth.model.ts +++ b/src/app/account/auth/auth.model.ts @@ -1,9 +1,11 @@ import { AppEvent } from '@app/shared/types'; import { InjectionToken } from '@angular/core'; import { ScryptParams } from '@app/account/crypto.utils'; -import { Account, AccountMeta, LoginOptions, SelectAccountOptions, UnlockOptions } from '@app/account/account.model'; +import { Account, AccountMeta, LoginMethodType, LoginOptions, SelectAccountOptions, UnlockOptions } from '@app/account/account.model'; export interface IAuthController { + selectLoginMethod(event?: AppEvent, opts?: { auth?: boolean }): Promise<LoginMethodType>; + login(event?: AppEvent, opts?: LoginOptions): Promise<Account>; createNew(opts?: { redirectToWalletPage?: boolean }): Promise<Account>; diff --git a/src/app/account/wallet/wallet.page.html b/src/app/account/wallet/wallet.page.html index 2814df74911054a240a1b459c9d9627985e5fa08..a5a37ef459053e1b3a0b9c5707fe408c0880e70c 100644 --- a/src/app/account/wallet/wallet.page.html +++ b/src/app/account/wallet/wallet.page.html @@ -58,7 +58,7 @@ <ion-label class="ion-text-end"> <p translate>ACCOUNT.BALANCE</p> <h2> - <b *rxIf="account$; let account">{{ account | balance | amountFormat }}</b> + <b *rxIf="account$; let account" [innerHtml]="account | balance | amountFormat"></b> </h2> </ion-label> </div> @@ -123,9 +123,14 @@ <ion-icon aria-hidden="true" slot="start" name="calendar-clear-outline"></ion-icon> <ion-label> <h3 translate>COMMON.UID</h3> - <p>{{ 'WOT.REGISTERED_SINCE' | translate }}</p> + <p> + {{ 'WOT.REGISTERED_SINCE' | translate }} {{ account.meta.createdOn | blockTime | dateFormat }} - + {{ 'WOT.REGISTERED_SINCE_BLOCK' | translate }} {{ account.meta.createdOn | blockNumber }} + </p> </ion-label> - <ion-badge color="warning" slot="end">{{ account.meta?.uid }}</ion-badge> + <ion-badge [color]="account.meta.isMember ? 'warning' : 'medium'" slot="end"> + {{ account.meta.uid }} ({{ account.meta.status }}) + </ion-badge> </ion-item> <!-- Received cert count --> diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index 431888fb93b4206a90104158b6c785871efb6be5..3840930e009ce246137ef43dddbdddd0fcfb37c6 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -36,6 +36,10 @@ const routes: Routes = [ path: 'block', loadChildren: () => import('./block/block-routing.module').then((m) => m.AppBlockRoutingModule), }, + { + path: 'currency', + loadChildren: () => import('./currency/currency-routing.module').then((m) => m.AppCurrencyRoutingModule), + }, { path: 'settings', loadChildren: () => import('./settings/settings-routing.module').then((m) => m.AppSettingsRoutingModule), diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 024c6f6066bfc669d2daaff0ba5c47a4006b1412..373ce9f1c33fce7e2679896c0bc15d1c71792d2b 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -51,6 +51,8 @@ export class AppComponent { { title: 'MENU.WOT', url: '/wot', icon: 'people' }, + { title: 'MENU.CURRENCY', url: '/currency', icon: 'globe' }, + { title: 'MENU.SETTINGS', url: '/settings', icon: 'settings' }, { diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 306a2bce7f49070a19f1fd42dc4e62294dc1f03e..35c322af862815db97501561e7a99528b58f1a8b 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -23,7 +23,8 @@ import { AccountsService } from '@app/account/accounts.service'; import { AppAccountModule } from '@app/account/account.module'; import { AppTransferModule } from '@app/transfer/send/transfer.module'; import { APP_GRAPHQL_TYPE_POLICIES } from '@app/shared/services/network/graphql/graphql.service'; -import { INDEXER_GRAPHQL_TYPE_POLICIES } from '@app/network/indexer.config'; +import { INDEXER_GRAPHQL_TYPE_POLICIES } from '@app/network/indexer/indexer.config'; +import { POD_GRAPHQL_TYPE_POLICIES } from '@app/network/pod/pod.config'; export function createTranslateLoader(http: HttpClient) { if (environment.production) { @@ -69,6 +70,7 @@ export function createTranslateLoader(http: HttpClient) { provide: APP_GRAPHQL_TYPE_POLICIES, useValue: { ...INDEXER_GRAPHQL_TYPE_POLICIES, + ...POD_GRAPHQL_TYPE_POLICIES, }, }, { provide: APP_STORAGE, useExisting: StorageService }, diff --git a/src/app/block/block.model.ts b/src/app/block/block.model.ts index 485c98d0daddac7b4585fccb212079893954c94a..80784b47eeba0aeeee8741df9693a33ded2b9163 100644 --- a/src/app/block/block.model.ts +++ b/src/app/block/block.model.ts @@ -1,6 +1,6 @@ import { Moment } from 'moment/moment'; import { equals, isNil, isNilOrBlank } from '@app/shared/functions'; -import { BlockEdge } from '@app/network/indexer-types.generated'; +import { BlockBoolExp, BlockEdge } from '@app/network/indexer/indexer-types.generated'; import { fromDateISOString } from '@app/shared/dates'; export interface Block { @@ -30,8 +30,9 @@ export class BlockConverter { export interface BlockSearchFilter { id?: string; - height: number; + height?: number; hash?: string; + where?: BlockBoolExp; } export class BlockSearchFilterUtils { diff --git a/src/app/block/block.page.html b/src/app/block/block.page.html index b6307c8aba4fd793dc0150dfbec6bb3bb1c9d4ea..a162a5832890bfcc735bf037085dc8089fa17a25 100644 --- a/src/app/block/block.page.html +++ b/src/app/block/block.page.html @@ -5,7 +5,7 @@ <ion-back-button></ion-back-button> </ion-buttons> <ion-title size="large"> - {{ 'BLOCKCHAIN.VIEW.TITLE' | translate: { number: height$ | push | numberFormat } }} + {{ 'BLOCKCHAIN.VIEW.TITLE' | translate: { number: height$ | push | blockNumber } }} </ion-title> </ion-toolbar> <ion-progress-bar type="indeterminate" *rxIf="loading$"></ion-progress-bar> @@ -15,7 +15,7 @@ <ion-header collapse="condense"> <ion-toolbar> <ion-title size="large"> - {{ 'BLOCKCHAIN.VIEW.TITLE' | translate: { number: height$ | push | numberFormat } }} + {{ 'BLOCKCHAIN.VIEW.TITLE' | translate: { number: height$ | push | blockNumber } }} </ion-title> </ion-toolbar> </ion-header> @@ -37,13 +37,13 @@ @if (mobile) { <ion-label> <h2 translate>BLOCKCHAIN.VIEW.HASH</h2> - <p class="ion-text-wrap">{{ block.height }}-{{ block.hash }}</p> + <p class="ion-text-wrap">{{ block.height | blockNumber: { allowSuffix: false, useGrouping: false } }}-{{ block.hash }}</p> </ion-label> } @else { <ion-label> <h2 translate>BLOCKCHAIN.VIEW.HASH</h2> + <p class="ion-text-wrap">{{ block.height | blockNumber: { allowSuffix: false, useGrouping: false } }}-{{ block.hash }}</p> </ion-label> - <ion-note slot="end" class="ion-text-wrap">{{ block.height }}-{{ block.hash }}</ion-note> } </ion-item> </ion-list> diff --git a/src/app/block/block.page.ts b/src/app/block/block.page.ts index 1ad36fcbe88e5c098a70bd15d62a7ef886a13b92..342d46836eec64687d13f956bf3aa990b6635895 100644 --- a/src/app/block/block.page.ts +++ b/src/app/block/block.page.ts @@ -2,7 +2,7 @@ import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core'; import { AppPage, AppPageState } from '@app/shared/pages/base-page.class'; import { RxStateProperty, RxStateSelect } from '@app/shared/decorator/state.decorator'; import { Promise } from '@rx-angular/cdk/zone-less/browser'; -import { IndexerService } from '@app/network/indexer.service'; +import { IndexerService } from '@app/network/indexer/indexer.service'; import { Block } from '@app/block/block.model'; import { firstValueFrom, Observable } from 'rxjs'; import { isNotNil, isNotNilOrBlank } from '@app/shared/functions'; diff --git a/src/app/certification/history/cert-history.model.ts b/src/app/certification/history/cert-history.model.ts index e35f8ba0b7dd4a0fbb4845166c975cf33c8ad163..df12f4ccb2a312c05106538989d41fb12a3c190b 100644 --- a/src/app/certification/history/cert-history.model.ts +++ b/src/app/certification/history/cert-history.model.ts @@ -1,6 +1,6 @@ import { equals, isNilOrBlank } from '@app/shared/functions'; import { Account } from '@app/account/account.model'; -import { CertConnection, CertFragment } from '@app/network/indexer-types.generated'; +import { CertConnection, CertFragment } from '@app/network/indexer/indexer-types.generated'; import { IdentityConverter } from '@app/account/account.converter'; export interface Certification { @@ -9,6 +9,7 @@ export interface Certification { account: Account; createdOn: number; + updatedOn: number; expireOn: number; creationBlockNumbers: number[]; renewalBlockNumbers: number[]; @@ -36,6 +37,7 @@ export class CertificationConverter { id: input.id, account: IdentityConverter.toAccount(address), createdOn: input.createdOn, + updatedOn: input.updatedOn, expireOn: input.expireOn, }; } diff --git a/src/app/certification/history/cert-history.page.html b/src/app/certification/history/cert-history.page.html index b35effa8229e4bcc88908dfdfc94d38d6a00b16d..1d6c0f413f868b2b2ea7133bae5b426cd2ece451 100644 --- a/src/app/certification/history/cert-history.page.html +++ b/src/app/certification/history/cert-history.page.html @@ -22,6 +22,7 @@ <ion-header [translucent]="true"> <ion-item color="secondary" lines="none"> + <ion-icon aria-hidden="true" slot="start" name="ribbon"></ion-icon> <ion-label *rxIf="side$; let side"> {{ (side === 'received' ? 'WOT.CERTIFICATIONS.RECEIVED' : 'WOT.GIVEN_CERTIFICATIONS.SENT') | translate }} </ion-label> @@ -61,7 +62,10 @@ <ion-icon name="key"></ion-icon> {{ item.account.address | addressToPubkeyV1 | pubkeyFormat: true }} | <a [routerLink]="['/block', item.createdOn]" routerDirection="forward" (click)="$event.preventDefault()" class="tx-timestamp"> - {{ 'COMMON.BLOCK' | translate }} #{{ item.createdOn }} + @if (item.updatedOn | blockTime | dateFormat; as blockTime) { + {{ blockTime }} | + } + {{ 'COMMON.BLOCK' | translate }} #{{ item.updatedOn | blockNumber }} </a> </p> </ion-label> diff --git a/src/app/certification/history/cert-history.page.ts b/src/app/certification/history/cert-history.page.ts index bada9d0f200128d23368632222a2caa3f300ddfe..7e6fea820b723342b1a01abb44ba5c7925f061d4 100644 --- a/src/app/certification/history/cert-history.page.ts +++ b/src/app/certification/history/cert-history.page.ts @@ -1,7 +1,7 @@ import { ChangeDetectionStrategy, Component, EventEmitter, Inject, Input, OnInit, Output, ViewChild } from '@angular/core'; import { AppPage, AppPageState } from '@app/shared/pages/base-page.class'; import { Account, AccountUtils } from '@app/account/account.model'; -import { isNil, isNotEmptyArray, isNotNilOrBlank, toNumber } from '@app/shared/functions'; +import { isNil, isNotEmptyArray, isNotNil, isNotNilOrBlank, toNumber } from '@app/shared/functions'; import { NetworkService } from '@app/network/network.service'; import { ActionSheetOptions, InfiniteScrollCustomEvent, IonModal, PopoverOptions, RefresherCustomEvent } from '@ionic/angular'; import { ActivatedRoute, Router } from '@angular/router'; @@ -11,7 +11,7 @@ import { AccountsService } from '@app/account/accounts.service'; import { firstValueFrom, merge, Observable } from 'rxjs'; import { RxState } from '@rx-angular/state'; import { APP_TRANSFER_CONTROLLER, ITransferController } from '@app/transfer/transfer.model'; -import { IndexerService } from '@app/network/indexer.service'; +import { IndexerService } from '@app/network/indexer/indexer.service'; import { FetchMoreFn, LoadResult } from '@app/shared/services/service.model'; import { Certification, CertificationSearchFilter, CertificationSearchFilterUtils } from './cert-history.model'; import { ListItems } from '@app/shared/types'; @@ -139,17 +139,15 @@ export class CertHistoryPage extends AppPage<CertHistoryPageState> implements On } else { return (await firstValueFrom(this.indexer.wotSearch({ address }, { first: 1 })))?.[0]; } - }) + }), + filter(isNotNil) ) ); // Title this._state.connect( 'title', - this.account$.pipe( - map(AccountUtils.getDisplayName), - switchMap((accountName) => this.translate.get('WOT.CERTIFICATIONS.TITLE', { uid: accountName })) - ) + this.account$.pipe(switchMap((account) => this.translate.get('WOT.CERTIFICATIONS.TITLE', { uid: AccountUtils.getDisplayName(account) }))) ); // Create filter @@ -214,7 +212,6 @@ export class CertHistoryPage extends AppPage<CertHistoryPageState> implements On await this.accountService.ready(); return <CertHistoryPageState>{ - account: null, address: this.activatedRoute.snapshot.paramMap.get('address'), currency: this.networkService.currencySymbol, }; diff --git a/src/app/currency/currency-routing.module.ts b/src/app/currency/currency-routing.module.ts new file mode 100644 index 0000000000000000000000000000000000000000..dd9ec0920ff68c3512a34d73fd451f12370bf674 --- /dev/null +++ b/src/app/currency/currency-routing.module.ts @@ -0,0 +1,18 @@ +import { NgModule } from '@angular/core'; +import { RouterModule, Routes } from '@angular/router'; + +import { CurrencyPage } from './currency.page'; +import { AppCurrencyModule } from './currency.module'; + +const routes: Routes = [ + { + path: '', + component: CurrencyPage, + }, +]; + +@NgModule({ + imports: [AppCurrencyModule, RouterModule.forChild(routes)], + exports: [RouterModule], +}) +export class AppCurrencyRoutingModule {} diff --git a/src/app/currency/currency.model.ts b/src/app/currency/currency.model.ts index 0b465691eacc18b52fe81885a7f6699bb31b89f1..e65a6534c84e45c3b130029927a593741bb6b510 100644 --- a/src/app/currency/currency.model.ts +++ b/src/app/currency/currency.model.ts @@ -12,6 +12,8 @@ export interface Currency { fees: { identity: number; tx: number; + cert: number; }; decimals: number; + minBlockHeight?: number; } diff --git a/src/app/currency/currency.module.ts b/src/app/currency/currency.module.ts new file mode 100644 index 0000000000000000000000000000000000000000..dc578232ae3e14dda473d2824a6ab7793fb309bb --- /dev/null +++ b/src/app/currency/currency.module.ts @@ -0,0 +1,16 @@ +import { NgModule } from '@angular/core'; + +import { AppSharedModule } from '@app/shared/shared.module'; +import { TranslateModule } from '@ngx-translate/core'; +import { CurrencyPage } from './currency.page'; + +@NgModule({ + imports: [AppSharedModule, TranslateModule.forChild()], + declarations: [CurrencyPage], + exports: [CurrencyPage], +}) +export class AppCurrencyModule { + constructor() { + console.debug('[settings] Creating module'); + } +} diff --git a/src/app/currency/currency.page.html b/src/app/currency/currency.page.html new file mode 100644 index 0000000000000000000000000000000000000000..94f24c4650eece85ad54270889cfc32551bdb165 --- /dev/null +++ b/src/app/currency/currency.page.html @@ -0,0 +1,119 @@ +<ion-header [translucent]="true"> + <ion-toolbar color="primary"> + <ion-buttons slot="start"> + <ion-menu-button></ion-menu-button> + </ion-buttons> + <ion-title translate>CURRENCY.VIEW.TITLE</ion-title> + </ion-toolbar> +</ion-header> + +<ion-content [fullscreen]="true"> + <ion-header collapse="condense"> + <ion-toolbar> + <ion-title size="large" translate>CURRENCY.VIEW.TITLE</ion-title> + </ion-toolbar> + </ion-header> + + <div id="container"> + <ion-grid class="ion-no-padding"> + <ion-row> + <ion-col size="0" size-md="2" size-lg="3"></ion-col> + <ion-col size="12" size-md="8" size-lg="6"> + <ion-list *rxIf="loaded$; else listSkeleton" lines="none"> + <ion-item-divider translate>CURRENCY.VIEW.TITLE</ion-item-divider> + + <ion-item> + <ion-icon slot="start" name="bookmark"></ion-icon> + <ion-label color="dark" translate>CURRENCY.VIEW.CURRENCY_NAME</ion-label> + <ion-badge color="light"> + {{ params.currencyNetwork }} ( + <span [innerHtml]="params.currencyName"></span> + ) + </ion-badge> + </ion-item> + + <ion-item> + <ion-icon slot="start" name="pie-chart"></ion-icon> + <ion-label color="dark" translate>CURRENCY.VIEW.SHARE</ion-label> + <ion-badge color="secondary"> + {{ params.monetaryMass / params.members | numberFormat }} + <span [innerHtml]="params.currencySymbol"></span> + </ion-badge> + </ion-item> + + <ion-item> + <ion-icon slot="start" name="ellipse"></ion-icon> + <ion-label color="dark" translate>CURRENCY.VIEW.MASS</ion-label> + <ion-badge color="warning"> + {{ params.monetaryMass | numberFormat }} + <span [innerHtml]="params.currencySymbol"></span> + </ion-badge> + </ion-item> + + <ion-item> + <ion-icon slot="start" name="trending-up"></ion-icon> + <ion-label color="dark" translate>CURRENCY.VIEW.C_ACTUAL</ion-label> + <ion-badge color="light">[TBD] / day</ion-badge> + </ion-item> + + <ion-item> + <ion-icon slot="start" name="reload"></ion-icon> + <ion-label color="dark" translate>CURRENCY.VIEW.UD</ion-label> + <ion-badge color="tertiary"> + {{ params.currentUd }} + <span [innerHtml]="params.currencySymbol"></span> + / + {{ params.udCreationPeriodMs | duration: 'ms' }} + </ion-badge> + </ion-item> + + <ion-item> + <ion-toggle [(ngModel)]="useRelativeUnit" justify="end"> + <ion-label color="medium" translate>COMMON.BTN_RELATIVE_UNIT</ion-label> + </ion-toggle> + </ion-item> + + <ion-item-divider translate>CURRENCY.VIEW.MONEY_RULES_DIVIDER</ion-item-divider> + + <ion-item> + <ion-icon slot="start" name="trending-up"></ion-icon> + <ion-label color="dark" translate>CURRENCY.VIEW.C_RULE</ion-label> + <ion-badge color="light">{{ params.growthRate | numberFormat: { fixedDecimals: 2 } }}% / 6 months</ion-badge> + </ion-item> + @if (showAllRules) { + <ion-item> + <ion-icon slot="start" name="reload"></ion-icon> + <ion-icon slot="start" class="icon-secondary" name="time"></ion-icon> + <ion-label color="dark" translate>CURRENCY.VIEW.DT_REEVAL</ion-label> + <ion-badge color="light">{{ params.udReevalPeriodMs | duration: 'ms' }}</ion-badge> + </ion-item> + <ion-item> + <ion-icon slot="start" name="reload"></ion-icon> + <ion-icon slot="start" class="icon-secondary" name="calendar"></ion-icon> + <ion-label color="dark" translate>CURRENCY.VIEW.UD_REEVAL_TIME0</ion-label> + <ion-badge color="light">...</ion-badge> + </ion-item> + <ion-item> + <ion-icon slot="start" name="reload"></ion-icon> + <ion-icon slot="start" class="icon-secondary" name="calculator"></ion-icon> + <ion-label color="dark" translate>CURRENCY.VIEW.UD_RULE</ion-label> + <ion-badge color="light">...</ion-badge> + </ion-item> + } + <ion-item> + <ion-toggle [(ngModel)]="showAllRules" justify="end"> + <ion-label color="medium" translate>CURRENCY.VIEW.DISPLAY_ALL_RULES</ion-label> + </ion-toggle> + </ion-item> + </ion-list> + </ion-col> + + <ion-col size="0" size-md="2" size-lg="3"></ion-col> + </ion-row> + </ion-grid> + </div> +</ion-content> + +<ng-template #listSkeleton> + <app-skeleton-list [avatar]="true" size="5"></app-skeleton-list> +</ng-template> diff --git a/src/app/currency/currency.page.scss b/src/app/currency/currency.page.scss new file mode 100644 index 0000000000000000000000000000000000000000..5fdf1824ec6e13554ebc39e3cb271dff7e57ea7b --- /dev/null +++ b/src/app/currency/currency.page.scss @@ -0,0 +1,2 @@ +#container { +} diff --git a/src/app/currency/currency.page.ts b/src/app/currency/currency.page.ts new file mode 100644 index 0000000000000000000000000000000000000000..31743500a95f0b22ba5260d5f7f9801d83b43dac --- /dev/null +++ b/src/app/currency/currency.page.ts @@ -0,0 +1,109 @@ +import { Component, Input } from '@angular/core'; +import { DomSanitizer, SafeHtml } from '@angular/platform-browser'; +import { NetworkService } from '@app/network/network.service'; +import { AppPage, AppPageState } from '@app/shared/pages/base-page.class'; +import { TranslateService } from '@ngx-translate/core'; +import { RxState } from '@rx-angular/state'; +import { RxStateProperty } from '@app/shared/decorator/state.decorator'; +import { SettingsService } from '@app/settings/settings.service'; +import { CurrencyDisplayUnit } from '@app/settings/settings.model'; +import { map } from 'rxjs/operators'; +import { toBoolean, toNumber } from '@app/shared/functions'; + +export interface CurrencyParameters { + currencyName: string; + currencyNetwork: string; + currencySymbol: SafeHtml; + members: number; + monetaryMass: number; + currentUd: number; + ud0: number; + udCreationPeriodMs: number; + udReevalPeriodMs: number; + growthRate: number; +} + +export interface CurrencyPageState extends AppPageState { + params: CurrencyParameters; + paramsByUnit: Map<CurrencyDisplayUnit, CurrencyParameters>; + useRelativeUnit: boolean; + displayUnit: CurrencyDisplayUnit; + showAllRules: boolean; +} + +@Component({ + selector: 'app-currency', + templateUrl: './currency.page.html', + styleUrls: ['./currency.page.scss'], + providers: [RxState], +}) +export class CurrencyPage extends AppPage<CurrencyPageState> { + @RxStateProperty() protected params: CurrencyParameters; + @RxStateProperty() protected useRelativeUnit: boolean; + + @Input() @RxStateProperty() showAllRules: boolean; + @Input() @RxStateProperty() displayUnit: CurrencyDisplayUnit; + + constructor( + protected networkService: NetworkService, + protected translate: TranslateService, + protected settings: SettingsService, + private sanitizer: DomSanitizer + ) { + super({ name: 'currency-service' }); + + // Watch settings + this._state.connect('useRelativeUnit', this.settings.displayUnit$.pipe(map((unit) => unit === 'du'))); + + this._state.connect('displayUnit', this._state.select('useRelativeUnit').pipe(map((useRelativeUnit) => (useRelativeUnit ? 'du' : 'base')))); + + this._state.connect( + 'params', + this._state.select(['paramsByUnit', 'displayUnit'], (res) => res).pipe(map(({ paramsByUnit, displayUnit }) => paramsByUnit.get(displayUnit))) + ); + } + + protected async ngOnLoad(): Promise<Partial<CurrencyPageState>> { + const showAllRules = toBoolean(this.showAllRules, false); + const useRelativeUnit = toBoolean(this.useRelativeUnit, false); + const network = await this.networkService.ready(); + const api = network.api; + const currency = network.currency; + const powBase = Math.pow(10, currency.decimals); + const [monetaryMassFractions, currentUd, members] = await Promise.all([ + api.query.universalDividend.monetaryMass(), + api.query.universalDividend.currentUd(), + api.query.membership.counterForMembership(), + ]); + const ud0 = toNumber(api.consts.universalDividend.unitsPerUd) / powBase; + const ud = toNumber(currentUd) / powBase; + const growthRate = Math.sqrt(toNumber(api.consts.universalDividend.squareMoneyGrowthRate)); + const paramsByUnit = new Map<CurrencyDisplayUnit, CurrencyParameters>(); + paramsByUnit.set('base', { + currencyName: currency.displayName, + currencySymbol: currency.symbol, + currencyNetwork: currency.network, + monetaryMass: toNumber(monetaryMassFractions) / powBase, + members: toNumber(members), + currentUd: ud, + ud0, + udCreationPeriodMs: toNumber(api.consts.universalDividend.udCreationPeriod), + udReevalPeriodMs: toNumber(api.consts.universalDividend.udReevalPeriod), + growthRate, + }); + paramsByUnit.set('du', { + currencyName: currency.displayName, + currencySymbol: this.sanitizer.bypassSecurityTrustHtml(`${this.translate.instant('COMMON.UD')}<sub>${currency.symbol}</sub>`), + currencyNetwork: currency.network, + monetaryMass: toNumber(monetaryMassFractions) / powBase / ud, + members: toNumber(members), + currentUd: 1, + ud0, + udCreationPeriodMs: toNumber(api.consts.universalDividend.udCreationPeriod), + udReevalPeriodMs: toNumber(api.consts.universalDividend.udReevalPeriod), + growthRate, + }); + + return { paramsByUnit, showAllRules, useRelativeUnit }; + } +} diff --git a/src/app/home/home.page.html b/src/app/home/home.page.html index 89cf1f34e1e75eb7ffca77a35bb7db9f7941af1d..792edb98ac9cf5c3fce7a839af6851cf12e1aaa2 100644 --- a/src/app/home/home.page.html +++ b/src/app/home/home.page.html @@ -73,9 +73,8 @@ <!-- login --> <p class="ion-padding-top" translate>LOGIN.HAVE_ACCOUNT_QUESTION</p> - <ion-button color="light" expand="block" (click)="login($event)"> + <ion-button expand="block" (click)="login($event)"> <ion-label translate>COMMON.BTN_LOGIN</ion-label> - <ion-icon slot="end" name="chevron-down"></ion-icon> </ion-button> </ng-template> </ion-card-content> diff --git a/src/app/network/indexer-helpers.generated.ts b/src/app/network/indexer-helpers.generated.ts deleted file mode 100644 index 9eb56d0ae9fe548d2b8c1ce9b1cb157fc8adb5d1..0000000000000000000000000000000000000000 --- a/src/app/network/indexer-helpers.generated.ts +++ /dev/null @@ -1,2146 +0,0 @@ -// Auto-generated via `npx graphql-codegen`, do not edit -/* eslint-disable */ -import { FieldPolicy, FieldReadFunction, TypePolicies, TypePolicy } from '@apollo/client/cache'; -export type AccountKeySpecifier = ( - | 'id' - | 'identity' - | 'linkedIdentity' - | 'linkedIdentityId' - | 'transfersIssued' - | 'transfersIssuedAggregate' - | 'transfersIssued_connection' - | 'transfersReceived' - | 'transfersReceivedAggregate' - | 'transfersReceived_connection' - | 'wasIdentity' - | 'wasIdentityAggregate' - | 'wasIdentity_connection' - | AccountKeySpecifier -)[]; -export type AccountFieldPolicy = { - id?: FieldPolicy<any> | FieldReadFunction<any>; - identity?: FieldPolicy<any> | FieldReadFunction<any>; - linkedIdentity?: FieldPolicy<any> | FieldReadFunction<any>; - linkedIdentityId?: FieldPolicy<any> | FieldReadFunction<any>; - transfersIssued?: FieldPolicy<any> | FieldReadFunction<any>; - transfersIssuedAggregate?: FieldPolicy<any> | FieldReadFunction<any>; - transfersIssued_connection?: FieldPolicy<any> | FieldReadFunction<any>; - transfersReceived?: FieldPolicy<any> | FieldReadFunction<any>; - transfersReceivedAggregate?: FieldPolicy<any> | FieldReadFunction<any>; - transfersReceived_connection?: FieldPolicy<any> | FieldReadFunction<any>; - wasIdentity?: FieldPolicy<any> | FieldReadFunction<any>; - wasIdentityAggregate?: FieldPolicy<any> | FieldReadFunction<any>; - wasIdentity_connection?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type AccountAggregateKeySpecifier = ('aggregate' | 'nodes' | AccountAggregateKeySpecifier)[]; -export type AccountAggregateFieldPolicy = { - aggregate?: FieldPolicy<any> | FieldReadFunction<any>; - nodes?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type AccountAggregateFieldsKeySpecifier = ('count' | 'max' | 'min' | AccountAggregateFieldsKeySpecifier)[]; -export type AccountAggregateFieldsFieldPolicy = { - count?: FieldPolicy<any> | FieldReadFunction<any>; - max?: FieldPolicy<any> | FieldReadFunction<any>; - min?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type AccountConnectionKeySpecifier = ('edges' | 'pageInfo' | AccountConnectionKeySpecifier)[]; -export type AccountConnectionFieldPolicy = { - edges?: FieldPolicy<any> | FieldReadFunction<any>; - pageInfo?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type AccountEdgeKeySpecifier = ('cursor' | 'node' | AccountEdgeKeySpecifier)[]; -export type AccountEdgeFieldPolicy = { - cursor?: FieldPolicy<any> | FieldReadFunction<any>; - node?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type AccountMaxFieldsKeySpecifier = ('id' | 'linkedIdentityId' | AccountMaxFieldsKeySpecifier)[]; -export type AccountMaxFieldsFieldPolicy = { - id?: FieldPolicy<any> | FieldReadFunction<any>; - linkedIdentityId?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type AccountMinFieldsKeySpecifier = ('id' | 'linkedIdentityId' | AccountMinFieldsKeySpecifier)[]; -export type AccountMinFieldsFieldPolicy = { - id?: FieldPolicy<any> | FieldReadFunction<any>; - linkedIdentityId?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type BlockKeySpecifier = ( - | 'calls' - | 'callsAggregate' - | 'callsCount' - | 'calls_connection' - | 'events' - | 'eventsAggregate' - | 'eventsCount' - | 'events_connection' - | 'extrinsics' - | 'extrinsicsAggregate' - | 'extrinsicsCount' - | 'extrinsics_connection' - | 'extrinsicsicRoot' - | 'hash' - | 'height' - | 'id' - | 'implName' - | 'implVersion' - | 'parentHash' - | 'specName' - | 'specVersion' - | 'stateRoot' - | 'timestamp' - | 'validator' - | BlockKeySpecifier -)[]; -export type BlockFieldPolicy = { - calls?: FieldPolicy<any> | FieldReadFunction<any>; - callsAggregate?: FieldPolicy<any> | FieldReadFunction<any>; - callsCount?: FieldPolicy<any> | FieldReadFunction<any>; - calls_connection?: FieldPolicy<any> | FieldReadFunction<any>; - events?: FieldPolicy<any> | FieldReadFunction<any>; - eventsAggregate?: FieldPolicy<any> | FieldReadFunction<any>; - eventsCount?: FieldPolicy<any> | FieldReadFunction<any>; - events_connection?: FieldPolicy<any> | FieldReadFunction<any>; - extrinsics?: FieldPolicy<any> | FieldReadFunction<any>; - extrinsicsAggregate?: FieldPolicy<any> | FieldReadFunction<any>; - extrinsicsCount?: FieldPolicy<any> | FieldReadFunction<any>; - extrinsics_connection?: FieldPolicy<any> | FieldReadFunction<any>; - extrinsicsicRoot?: FieldPolicy<any> | FieldReadFunction<any>; - hash?: FieldPolicy<any> | FieldReadFunction<any>; - height?: FieldPolicy<any> | FieldReadFunction<any>; - id?: FieldPolicy<any> | FieldReadFunction<any>; - implName?: FieldPolicy<any> | FieldReadFunction<any>; - implVersion?: FieldPolicy<any> | FieldReadFunction<any>; - parentHash?: FieldPolicy<any> | FieldReadFunction<any>; - specName?: FieldPolicy<any> | FieldReadFunction<any>; - specVersion?: FieldPolicy<any> | FieldReadFunction<any>; - stateRoot?: FieldPolicy<any> | FieldReadFunction<any>; - timestamp?: FieldPolicy<any> | FieldReadFunction<any>; - validator?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type BlockConnectionKeySpecifier = ('edges' | 'pageInfo' | BlockConnectionKeySpecifier)[]; -export type BlockConnectionFieldPolicy = { - edges?: FieldPolicy<any> | FieldReadFunction<any>; - pageInfo?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type BlockEdgeKeySpecifier = ('cursor' | 'node' | BlockEdgeKeySpecifier)[]; -export type BlockEdgeFieldPolicy = { - cursor?: FieldPolicy<any> | FieldReadFunction<any>; - node?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type CallKeySpecifier = ( - | 'address' - | 'args' - | 'argsStr' - | 'block' - | 'blockId' - | 'error' - | 'events' - | 'eventsAggregate' - | 'events_connection' - | 'extrinsic' - | 'extrinsicId' - | 'id' - | 'name' - | 'pallet' - | 'parent' - | 'parentId' - | 'subcalls' - | 'subcallsAggregate' - | 'subcalls_connection' - | 'success' - | CallKeySpecifier -)[]; -export type CallFieldPolicy = { - address?: FieldPolicy<any> | FieldReadFunction<any>; - args?: FieldPolicy<any> | FieldReadFunction<any>; - argsStr?: FieldPolicy<any> | FieldReadFunction<any>; - block?: FieldPolicy<any> | FieldReadFunction<any>; - blockId?: FieldPolicy<any> | FieldReadFunction<any>; - error?: FieldPolicy<any> | FieldReadFunction<any>; - events?: FieldPolicy<any> | FieldReadFunction<any>; - eventsAggregate?: FieldPolicy<any> | FieldReadFunction<any>; - events_connection?: FieldPolicy<any> | FieldReadFunction<any>; - extrinsic?: FieldPolicy<any> | FieldReadFunction<any>; - extrinsicId?: FieldPolicy<any> | FieldReadFunction<any>; - id?: FieldPolicy<any> | FieldReadFunction<any>; - name?: FieldPolicy<any> | FieldReadFunction<any>; - pallet?: FieldPolicy<any> | FieldReadFunction<any>; - parent?: FieldPolicy<any> | FieldReadFunction<any>; - parentId?: FieldPolicy<any> | FieldReadFunction<any>; - subcalls?: FieldPolicy<any> | FieldReadFunction<any>; - subcallsAggregate?: FieldPolicy<any> | FieldReadFunction<any>; - subcalls_connection?: FieldPolicy<any> | FieldReadFunction<any>; - success?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type CallAggregateKeySpecifier = ('aggregate' | 'nodes' | CallAggregateKeySpecifier)[]; -export type CallAggregateFieldPolicy = { - aggregate?: FieldPolicy<any> | FieldReadFunction<any>; - nodes?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type CallAggregateFieldsKeySpecifier = ('count' | 'max' | 'min' | CallAggregateFieldsKeySpecifier)[]; -export type CallAggregateFieldsFieldPolicy = { - count?: FieldPolicy<any> | FieldReadFunction<any>; - max?: FieldPolicy<any> | FieldReadFunction<any>; - min?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type CallConnectionKeySpecifier = ('edges' | 'pageInfo' | CallConnectionKeySpecifier)[]; -export type CallConnectionFieldPolicy = { - edges?: FieldPolicy<any> | FieldReadFunction<any>; - pageInfo?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type CallEdgeKeySpecifier = ('cursor' | 'node' | CallEdgeKeySpecifier)[]; -export type CallEdgeFieldPolicy = { - cursor?: FieldPolicy<any> | FieldReadFunction<any>; - node?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type CallMaxFieldsKeySpecifier = ( - | 'address' - | 'argsStr' - | 'blockId' - | 'extrinsicId' - | 'id' - | 'name' - | 'pallet' - | 'parentId' - | CallMaxFieldsKeySpecifier -)[]; -export type CallMaxFieldsFieldPolicy = { - address?: FieldPolicy<any> | FieldReadFunction<any>; - argsStr?: FieldPolicy<any> | FieldReadFunction<any>; - blockId?: FieldPolicy<any> | FieldReadFunction<any>; - extrinsicId?: FieldPolicy<any> | FieldReadFunction<any>; - id?: FieldPolicy<any> | FieldReadFunction<any>; - name?: FieldPolicy<any> | FieldReadFunction<any>; - pallet?: FieldPolicy<any> | FieldReadFunction<any>; - parentId?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type CallMinFieldsKeySpecifier = ( - | 'address' - | 'argsStr' - | 'blockId' - | 'extrinsicId' - | 'id' - | 'name' - | 'pallet' - | 'parentId' - | CallMinFieldsKeySpecifier -)[]; -export type CallMinFieldsFieldPolicy = { - address?: FieldPolicy<any> | FieldReadFunction<any>; - argsStr?: FieldPolicy<any> | FieldReadFunction<any>; - blockId?: FieldPolicy<any> | FieldReadFunction<any>; - extrinsicId?: FieldPolicy<any> | FieldReadFunction<any>; - id?: FieldPolicy<any> | FieldReadFunction<any>; - name?: FieldPolicy<any> | FieldReadFunction<any>; - pallet?: FieldPolicy<any> | FieldReadFunction<any>; - parentId?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type CertKeySpecifier = ( - | 'certHistory' - | 'certHistoryAggregate' - | 'certHistory_connection' - | 'createdOn' - | 'expireOn' - | 'id' - | 'isActive' - | 'issuer' - | 'issuerId' - | 'receiver' - | 'receiverId' - | CertKeySpecifier -)[]; -export type CertFieldPolicy = { - certHistory?: FieldPolicy<any> | FieldReadFunction<any>; - certHistoryAggregate?: FieldPolicy<any> | FieldReadFunction<any>; - certHistory_connection?: FieldPolicy<any> | FieldReadFunction<any>; - createdOn?: FieldPolicy<any> | FieldReadFunction<any>; - expireOn?: FieldPolicy<any> | FieldReadFunction<any>; - id?: FieldPolicy<any> | FieldReadFunction<any>; - isActive?: FieldPolicy<any> | FieldReadFunction<any>; - issuer?: FieldPolicy<any> | FieldReadFunction<any>; - issuerId?: FieldPolicy<any> | FieldReadFunction<any>; - receiver?: FieldPolicy<any> | FieldReadFunction<any>; - receiverId?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type CertAggregateKeySpecifier = ('aggregate' | 'nodes' | CertAggregateKeySpecifier)[]; -export type CertAggregateFieldPolicy = { - aggregate?: FieldPolicy<any> | FieldReadFunction<any>; - nodes?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type CertAggregateFieldsKeySpecifier = ( - | 'avg' - | 'count' - | 'max' - | 'min' - | 'stddev' - | 'stddevPop' - | 'stddevSamp' - | 'sum' - | 'varPop' - | 'varSamp' - | 'variance' - | CertAggregateFieldsKeySpecifier -)[]; -export type CertAggregateFieldsFieldPolicy = { - avg?: FieldPolicy<any> | FieldReadFunction<any>; - count?: FieldPolicy<any> | FieldReadFunction<any>; - max?: FieldPolicy<any> | FieldReadFunction<any>; - min?: FieldPolicy<any> | FieldReadFunction<any>; - stddev?: FieldPolicy<any> | FieldReadFunction<any>; - stddevPop?: FieldPolicy<any> | FieldReadFunction<any>; - stddevSamp?: FieldPolicy<any> | FieldReadFunction<any>; - sum?: FieldPolicy<any> | FieldReadFunction<any>; - varPop?: FieldPolicy<any> | FieldReadFunction<any>; - varSamp?: FieldPolicy<any> | FieldReadFunction<any>; - variance?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type CertAvgFieldsKeySpecifier = ('createdOn' | 'expireOn' | CertAvgFieldsKeySpecifier)[]; -export type CertAvgFieldsFieldPolicy = { - createdOn?: FieldPolicy<any> | FieldReadFunction<any>; - expireOn?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type CertConnectionKeySpecifier = ('edges' | 'pageInfo' | CertConnectionKeySpecifier)[]; -export type CertConnectionFieldPolicy = { - edges?: FieldPolicy<any> | FieldReadFunction<any>; - pageInfo?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type CertEdgeKeySpecifier = ('cursor' | 'node' | CertEdgeKeySpecifier)[]; -export type CertEdgeFieldPolicy = { - cursor?: FieldPolicy<any> | FieldReadFunction<any>; - node?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type CertEventKeySpecifier = ('blockNumber' | 'cert' | 'certId' | 'event' | 'eventId' | 'eventType' | 'id' | CertEventKeySpecifier)[]; -export type CertEventFieldPolicy = { - blockNumber?: FieldPolicy<any> | FieldReadFunction<any>; - cert?: FieldPolicy<any> | FieldReadFunction<any>; - certId?: FieldPolicy<any> | FieldReadFunction<any>; - event?: FieldPolicy<any> | FieldReadFunction<any>; - eventId?: FieldPolicy<any> | FieldReadFunction<any>; - eventType?: FieldPolicy<any> | FieldReadFunction<any>; - id?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type CertEventAggregateKeySpecifier = ('aggregate' | 'nodes' | CertEventAggregateKeySpecifier)[]; -export type CertEventAggregateFieldPolicy = { - aggregate?: FieldPolicy<any> | FieldReadFunction<any>; - nodes?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type CertEventAggregateFieldsKeySpecifier = ( - | 'avg' - | 'count' - | 'max' - | 'min' - | 'stddev' - | 'stddevPop' - | 'stddevSamp' - | 'sum' - | 'varPop' - | 'varSamp' - | 'variance' - | CertEventAggregateFieldsKeySpecifier -)[]; -export type CertEventAggregateFieldsFieldPolicy = { - avg?: FieldPolicy<any> | FieldReadFunction<any>; - count?: FieldPolicy<any> | FieldReadFunction<any>; - max?: FieldPolicy<any> | FieldReadFunction<any>; - min?: FieldPolicy<any> | FieldReadFunction<any>; - stddev?: FieldPolicy<any> | FieldReadFunction<any>; - stddevPop?: FieldPolicy<any> | FieldReadFunction<any>; - stddevSamp?: FieldPolicy<any> | FieldReadFunction<any>; - sum?: FieldPolicy<any> | FieldReadFunction<any>; - varPop?: FieldPolicy<any> | FieldReadFunction<any>; - varSamp?: FieldPolicy<any> | FieldReadFunction<any>; - variance?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type CertEventAvgFieldsKeySpecifier = ('blockNumber' | CertEventAvgFieldsKeySpecifier)[]; -export type CertEventAvgFieldsFieldPolicy = { - blockNumber?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type CertEventConnectionKeySpecifier = ('edges' | 'pageInfo' | CertEventConnectionKeySpecifier)[]; -export type CertEventConnectionFieldPolicy = { - edges?: FieldPolicy<any> | FieldReadFunction<any>; - pageInfo?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type CertEventEdgeKeySpecifier = ('cursor' | 'node' | CertEventEdgeKeySpecifier)[]; -export type CertEventEdgeFieldPolicy = { - cursor?: FieldPolicy<any> | FieldReadFunction<any>; - node?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type CertEventMaxFieldsKeySpecifier = ('blockNumber' | 'certId' | 'eventId' | 'id' | CertEventMaxFieldsKeySpecifier)[]; -export type CertEventMaxFieldsFieldPolicy = { - blockNumber?: FieldPolicy<any> | FieldReadFunction<any>; - certId?: FieldPolicy<any> | FieldReadFunction<any>; - eventId?: FieldPolicy<any> | FieldReadFunction<any>; - id?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type CertEventMinFieldsKeySpecifier = ('blockNumber' | 'certId' | 'eventId' | 'id' | CertEventMinFieldsKeySpecifier)[]; -export type CertEventMinFieldsFieldPolicy = { - blockNumber?: FieldPolicy<any> | FieldReadFunction<any>; - certId?: FieldPolicy<any> | FieldReadFunction<any>; - eventId?: FieldPolicy<any> | FieldReadFunction<any>; - id?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type CertEventStddevFieldsKeySpecifier = ('blockNumber' | CertEventStddevFieldsKeySpecifier)[]; -export type CertEventStddevFieldsFieldPolicy = { - blockNumber?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type CertEventStddevPopFieldsKeySpecifier = ('blockNumber' | CertEventStddevPopFieldsKeySpecifier)[]; -export type CertEventStddevPopFieldsFieldPolicy = { - blockNumber?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type CertEventStddevSampFieldsKeySpecifier = ('blockNumber' | CertEventStddevSampFieldsKeySpecifier)[]; -export type CertEventStddevSampFieldsFieldPolicy = { - blockNumber?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type CertEventSumFieldsKeySpecifier = ('blockNumber' | CertEventSumFieldsKeySpecifier)[]; -export type CertEventSumFieldsFieldPolicy = { - blockNumber?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type CertEventVarPopFieldsKeySpecifier = ('blockNumber' | CertEventVarPopFieldsKeySpecifier)[]; -export type CertEventVarPopFieldsFieldPolicy = { - blockNumber?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type CertEventVarSampFieldsKeySpecifier = ('blockNumber' | CertEventVarSampFieldsKeySpecifier)[]; -export type CertEventVarSampFieldsFieldPolicy = { - blockNumber?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type CertEventVarianceFieldsKeySpecifier = ('blockNumber' | CertEventVarianceFieldsKeySpecifier)[]; -export type CertEventVarianceFieldsFieldPolicy = { - blockNumber?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type CertMaxFieldsKeySpecifier = ('createdOn' | 'expireOn' | 'id' | 'issuerId' | 'receiverId' | CertMaxFieldsKeySpecifier)[]; -export type CertMaxFieldsFieldPolicy = { - createdOn?: FieldPolicy<any> | FieldReadFunction<any>; - expireOn?: FieldPolicy<any> | FieldReadFunction<any>; - id?: FieldPolicy<any> | FieldReadFunction<any>; - issuerId?: FieldPolicy<any> | FieldReadFunction<any>; - receiverId?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type CertMinFieldsKeySpecifier = ('createdOn' | 'expireOn' | 'id' | 'issuerId' | 'receiverId' | CertMinFieldsKeySpecifier)[]; -export type CertMinFieldsFieldPolicy = { - createdOn?: FieldPolicy<any> | FieldReadFunction<any>; - expireOn?: FieldPolicy<any> | FieldReadFunction<any>; - id?: FieldPolicy<any> | FieldReadFunction<any>; - issuerId?: FieldPolicy<any> | FieldReadFunction<any>; - receiverId?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type CertStddevFieldsKeySpecifier = ('createdOn' | 'expireOn' | CertStddevFieldsKeySpecifier)[]; -export type CertStddevFieldsFieldPolicy = { - createdOn?: FieldPolicy<any> | FieldReadFunction<any>; - expireOn?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type CertStddevPopFieldsKeySpecifier = ('createdOn' | 'expireOn' | CertStddevPopFieldsKeySpecifier)[]; -export type CertStddevPopFieldsFieldPolicy = { - createdOn?: FieldPolicy<any> | FieldReadFunction<any>; - expireOn?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type CertStddevSampFieldsKeySpecifier = ('createdOn' | 'expireOn' | CertStddevSampFieldsKeySpecifier)[]; -export type CertStddevSampFieldsFieldPolicy = { - createdOn?: FieldPolicy<any> | FieldReadFunction<any>; - expireOn?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type CertSumFieldsKeySpecifier = ('createdOn' | 'expireOn' | CertSumFieldsKeySpecifier)[]; -export type CertSumFieldsFieldPolicy = { - createdOn?: FieldPolicy<any> | FieldReadFunction<any>; - expireOn?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type CertVarPopFieldsKeySpecifier = ('createdOn' | 'expireOn' | CertVarPopFieldsKeySpecifier)[]; -export type CertVarPopFieldsFieldPolicy = { - createdOn?: FieldPolicy<any> | FieldReadFunction<any>; - expireOn?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type CertVarSampFieldsKeySpecifier = ('createdOn' | 'expireOn' | CertVarSampFieldsKeySpecifier)[]; -export type CertVarSampFieldsFieldPolicy = { - createdOn?: FieldPolicy<any> | FieldReadFunction<any>; - expireOn?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type CertVarianceFieldsKeySpecifier = ('createdOn' | 'expireOn' | CertVarianceFieldsKeySpecifier)[]; -export type CertVarianceFieldsFieldPolicy = { - createdOn?: FieldPolicy<any> | FieldReadFunction<any>; - expireOn?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type ChangeOwnerKeyKeySpecifier = ( - | 'blockNumber' - | 'id' - | 'identity' - | 'identityId' - | 'next' - | 'nextId' - | 'previous' - | 'previousId' - | ChangeOwnerKeyKeySpecifier -)[]; -export type ChangeOwnerKeyFieldPolicy = { - blockNumber?: FieldPolicy<any> | FieldReadFunction<any>; - id?: FieldPolicy<any> | FieldReadFunction<any>; - identity?: FieldPolicy<any> | FieldReadFunction<any>; - identityId?: FieldPolicy<any> | FieldReadFunction<any>; - next?: FieldPolicy<any> | FieldReadFunction<any>; - nextId?: FieldPolicy<any> | FieldReadFunction<any>; - previous?: FieldPolicy<any> | FieldReadFunction<any>; - previousId?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type ChangeOwnerKeyAggregateKeySpecifier = ('aggregate' | 'nodes' | ChangeOwnerKeyAggregateKeySpecifier)[]; -export type ChangeOwnerKeyAggregateFieldPolicy = { - aggregate?: FieldPolicy<any> | FieldReadFunction<any>; - nodes?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type ChangeOwnerKeyAggregateFieldsKeySpecifier = ( - | 'avg' - | 'count' - | 'max' - | 'min' - | 'stddev' - | 'stddevPop' - | 'stddevSamp' - | 'sum' - | 'varPop' - | 'varSamp' - | 'variance' - | ChangeOwnerKeyAggregateFieldsKeySpecifier -)[]; -export type ChangeOwnerKeyAggregateFieldsFieldPolicy = { - avg?: FieldPolicy<any> | FieldReadFunction<any>; - count?: FieldPolicy<any> | FieldReadFunction<any>; - max?: FieldPolicy<any> | FieldReadFunction<any>; - min?: FieldPolicy<any> | FieldReadFunction<any>; - stddev?: FieldPolicy<any> | FieldReadFunction<any>; - stddevPop?: FieldPolicy<any> | FieldReadFunction<any>; - stddevSamp?: FieldPolicy<any> | FieldReadFunction<any>; - sum?: FieldPolicy<any> | FieldReadFunction<any>; - varPop?: FieldPolicy<any> | FieldReadFunction<any>; - varSamp?: FieldPolicy<any> | FieldReadFunction<any>; - variance?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type ChangeOwnerKeyAvgFieldsKeySpecifier = ('blockNumber' | ChangeOwnerKeyAvgFieldsKeySpecifier)[]; -export type ChangeOwnerKeyAvgFieldsFieldPolicy = { - blockNumber?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type ChangeOwnerKeyConnectionKeySpecifier = ('edges' | 'pageInfo' | ChangeOwnerKeyConnectionKeySpecifier)[]; -export type ChangeOwnerKeyConnectionFieldPolicy = { - edges?: FieldPolicy<any> | FieldReadFunction<any>; - pageInfo?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type ChangeOwnerKeyEdgeKeySpecifier = ('cursor' | 'node' | ChangeOwnerKeyEdgeKeySpecifier)[]; -export type ChangeOwnerKeyEdgeFieldPolicy = { - cursor?: FieldPolicy<any> | FieldReadFunction<any>; - node?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type ChangeOwnerKeyMaxFieldsKeySpecifier = ( - | 'blockNumber' - | 'id' - | 'identityId' - | 'nextId' - | 'previousId' - | ChangeOwnerKeyMaxFieldsKeySpecifier -)[]; -export type ChangeOwnerKeyMaxFieldsFieldPolicy = { - blockNumber?: FieldPolicy<any> | FieldReadFunction<any>; - id?: FieldPolicy<any> | FieldReadFunction<any>; - identityId?: FieldPolicy<any> | FieldReadFunction<any>; - nextId?: FieldPolicy<any> | FieldReadFunction<any>; - previousId?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type ChangeOwnerKeyMinFieldsKeySpecifier = ( - | 'blockNumber' - | 'id' - | 'identityId' - | 'nextId' - | 'previousId' - | ChangeOwnerKeyMinFieldsKeySpecifier -)[]; -export type ChangeOwnerKeyMinFieldsFieldPolicy = { - blockNumber?: FieldPolicy<any> | FieldReadFunction<any>; - id?: FieldPolicy<any> | FieldReadFunction<any>; - identityId?: FieldPolicy<any> | FieldReadFunction<any>; - nextId?: FieldPolicy<any> | FieldReadFunction<any>; - previousId?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type ChangeOwnerKeyStddevFieldsKeySpecifier = ('blockNumber' | ChangeOwnerKeyStddevFieldsKeySpecifier)[]; -export type ChangeOwnerKeyStddevFieldsFieldPolicy = { - blockNumber?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type ChangeOwnerKeyStddevPopFieldsKeySpecifier = ('blockNumber' | ChangeOwnerKeyStddevPopFieldsKeySpecifier)[]; -export type ChangeOwnerKeyStddevPopFieldsFieldPolicy = { - blockNumber?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type ChangeOwnerKeyStddevSampFieldsKeySpecifier = ('blockNumber' | ChangeOwnerKeyStddevSampFieldsKeySpecifier)[]; -export type ChangeOwnerKeyStddevSampFieldsFieldPolicy = { - blockNumber?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type ChangeOwnerKeySumFieldsKeySpecifier = ('blockNumber' | ChangeOwnerKeySumFieldsKeySpecifier)[]; -export type ChangeOwnerKeySumFieldsFieldPolicy = { - blockNumber?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type ChangeOwnerKeyVarPopFieldsKeySpecifier = ('blockNumber' | ChangeOwnerKeyVarPopFieldsKeySpecifier)[]; -export type ChangeOwnerKeyVarPopFieldsFieldPolicy = { - blockNumber?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type ChangeOwnerKeyVarSampFieldsKeySpecifier = ('blockNumber' | ChangeOwnerKeyVarSampFieldsKeySpecifier)[]; -export type ChangeOwnerKeyVarSampFieldsFieldPolicy = { - blockNumber?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type ChangeOwnerKeyVarianceFieldsKeySpecifier = ('blockNumber' | ChangeOwnerKeyVarianceFieldsKeySpecifier)[]; -export type ChangeOwnerKeyVarianceFieldsFieldPolicy = { - blockNumber?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type EventKeySpecifier = ( - | 'args' - | 'argsStr' - | 'block' - | 'blockId' - | 'call' - | 'callId' - | 'extrinsic' - | 'extrinsicId' - | 'id' - | 'index' - | 'name' - | 'pallet' - | 'phase' - | EventKeySpecifier -)[]; -export type EventFieldPolicy = { - args?: FieldPolicy<any> | FieldReadFunction<any>; - argsStr?: FieldPolicy<any> | FieldReadFunction<any>; - block?: FieldPolicy<any> | FieldReadFunction<any>; - blockId?: FieldPolicy<any> | FieldReadFunction<any>; - call?: FieldPolicy<any> | FieldReadFunction<any>; - callId?: FieldPolicy<any> | FieldReadFunction<any>; - extrinsic?: FieldPolicy<any> | FieldReadFunction<any>; - extrinsicId?: FieldPolicy<any> | FieldReadFunction<any>; - id?: FieldPolicy<any> | FieldReadFunction<any>; - index?: FieldPolicy<any> | FieldReadFunction<any>; - name?: FieldPolicy<any> | FieldReadFunction<any>; - pallet?: FieldPolicy<any> | FieldReadFunction<any>; - phase?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type EventAggregateKeySpecifier = ('aggregate' | 'nodes' | EventAggregateKeySpecifier)[]; -export type EventAggregateFieldPolicy = { - aggregate?: FieldPolicy<any> | FieldReadFunction<any>; - nodes?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type EventAggregateFieldsKeySpecifier = ( - | 'avg' - | 'count' - | 'max' - | 'min' - | 'stddev' - | 'stddevPop' - | 'stddevSamp' - | 'sum' - | 'varPop' - | 'varSamp' - | 'variance' - | EventAggregateFieldsKeySpecifier -)[]; -export type EventAggregateFieldsFieldPolicy = { - avg?: FieldPolicy<any> | FieldReadFunction<any>; - count?: FieldPolicy<any> | FieldReadFunction<any>; - max?: FieldPolicy<any> | FieldReadFunction<any>; - min?: FieldPolicy<any> | FieldReadFunction<any>; - stddev?: FieldPolicy<any> | FieldReadFunction<any>; - stddevPop?: FieldPolicy<any> | FieldReadFunction<any>; - stddevSamp?: FieldPolicy<any> | FieldReadFunction<any>; - sum?: FieldPolicy<any> | FieldReadFunction<any>; - varPop?: FieldPolicy<any> | FieldReadFunction<any>; - varSamp?: FieldPolicy<any> | FieldReadFunction<any>; - variance?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type EventAvgFieldsKeySpecifier = ('index' | EventAvgFieldsKeySpecifier)[]; -export type EventAvgFieldsFieldPolicy = { - index?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type EventConnectionKeySpecifier = ('edges' | 'pageInfo' | EventConnectionKeySpecifier)[]; -export type EventConnectionFieldPolicy = { - edges?: FieldPolicy<any> | FieldReadFunction<any>; - pageInfo?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type EventEdgeKeySpecifier = ('cursor' | 'node' | EventEdgeKeySpecifier)[]; -export type EventEdgeFieldPolicy = { - cursor?: FieldPolicy<any> | FieldReadFunction<any>; - node?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type EventMaxFieldsKeySpecifier = ( - | 'argsStr' - | 'blockId' - | 'callId' - | 'extrinsicId' - | 'id' - | 'index' - | 'name' - | 'pallet' - | 'phase' - | EventMaxFieldsKeySpecifier -)[]; -export type EventMaxFieldsFieldPolicy = { - argsStr?: FieldPolicy<any> | FieldReadFunction<any>; - blockId?: FieldPolicy<any> | FieldReadFunction<any>; - callId?: FieldPolicy<any> | FieldReadFunction<any>; - extrinsicId?: FieldPolicy<any> | FieldReadFunction<any>; - id?: FieldPolicy<any> | FieldReadFunction<any>; - index?: FieldPolicy<any> | FieldReadFunction<any>; - name?: FieldPolicy<any> | FieldReadFunction<any>; - pallet?: FieldPolicy<any> | FieldReadFunction<any>; - phase?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type EventMinFieldsKeySpecifier = ( - | 'argsStr' - | 'blockId' - | 'callId' - | 'extrinsicId' - | 'id' - | 'index' - | 'name' - | 'pallet' - | 'phase' - | EventMinFieldsKeySpecifier -)[]; -export type EventMinFieldsFieldPolicy = { - argsStr?: FieldPolicy<any> | FieldReadFunction<any>; - blockId?: FieldPolicy<any> | FieldReadFunction<any>; - callId?: FieldPolicy<any> | FieldReadFunction<any>; - extrinsicId?: FieldPolicy<any> | FieldReadFunction<any>; - id?: FieldPolicy<any> | FieldReadFunction<any>; - index?: FieldPolicy<any> | FieldReadFunction<any>; - name?: FieldPolicy<any> | FieldReadFunction<any>; - pallet?: FieldPolicy<any> | FieldReadFunction<any>; - phase?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type EventStddevFieldsKeySpecifier = ('index' | EventStddevFieldsKeySpecifier)[]; -export type EventStddevFieldsFieldPolicy = { - index?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type EventStddevPopFieldsKeySpecifier = ('index' | EventStddevPopFieldsKeySpecifier)[]; -export type EventStddevPopFieldsFieldPolicy = { - index?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type EventStddevSampFieldsKeySpecifier = ('index' | EventStddevSampFieldsKeySpecifier)[]; -export type EventStddevSampFieldsFieldPolicy = { - index?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type EventSumFieldsKeySpecifier = ('index' | EventSumFieldsKeySpecifier)[]; -export type EventSumFieldsFieldPolicy = { - index?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type EventVarPopFieldsKeySpecifier = ('index' | EventVarPopFieldsKeySpecifier)[]; -export type EventVarPopFieldsFieldPolicy = { - index?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type EventVarSampFieldsKeySpecifier = ('index' | EventVarSampFieldsKeySpecifier)[]; -export type EventVarSampFieldsFieldPolicy = { - index?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type EventVarianceFieldsKeySpecifier = ('index' | EventVarianceFieldsKeySpecifier)[]; -export type EventVarianceFieldsFieldPolicy = { - index?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type ExtrinsicKeySpecifier = ( - | 'block' - | 'blockId' - | 'call' - | 'callId' - | 'calls' - | 'callsAggregate' - | 'calls_connection' - | 'error' - | 'events' - | 'eventsAggregate' - | 'events_connection' - | 'fee' - | 'hash' - | 'id' - | 'index' - | 'signature' - | 'success' - | 'tip' - | 'version' - | ExtrinsicKeySpecifier -)[]; -export type ExtrinsicFieldPolicy = { - block?: FieldPolicy<any> | FieldReadFunction<any>; - blockId?: FieldPolicy<any> | FieldReadFunction<any>; - call?: FieldPolicy<any> | FieldReadFunction<any>; - callId?: FieldPolicy<any> | FieldReadFunction<any>; - calls?: FieldPolicy<any> | FieldReadFunction<any>; - callsAggregate?: FieldPolicy<any> | FieldReadFunction<any>; - calls_connection?: FieldPolicy<any> | FieldReadFunction<any>; - error?: FieldPolicy<any> | FieldReadFunction<any>; - events?: FieldPolicy<any> | FieldReadFunction<any>; - eventsAggregate?: FieldPolicy<any> | FieldReadFunction<any>; - events_connection?: FieldPolicy<any> | FieldReadFunction<any>; - fee?: FieldPolicy<any> | FieldReadFunction<any>; - hash?: FieldPolicy<any> | FieldReadFunction<any>; - id?: FieldPolicy<any> | FieldReadFunction<any>; - index?: FieldPolicy<any> | FieldReadFunction<any>; - signature?: FieldPolicy<any> | FieldReadFunction<any>; - success?: FieldPolicy<any> | FieldReadFunction<any>; - tip?: FieldPolicy<any> | FieldReadFunction<any>; - version?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type ExtrinsicAggregateKeySpecifier = ('aggregate' | 'nodes' | ExtrinsicAggregateKeySpecifier)[]; -export type ExtrinsicAggregateFieldPolicy = { - aggregate?: FieldPolicy<any> | FieldReadFunction<any>; - nodes?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type ExtrinsicAggregateFieldsKeySpecifier = ( - | 'avg' - | 'count' - | 'max' - | 'min' - | 'stddev' - | 'stddevPop' - | 'stddevSamp' - | 'sum' - | 'varPop' - | 'varSamp' - | 'variance' - | ExtrinsicAggregateFieldsKeySpecifier -)[]; -export type ExtrinsicAggregateFieldsFieldPolicy = { - avg?: FieldPolicy<any> | FieldReadFunction<any>; - count?: FieldPolicy<any> | FieldReadFunction<any>; - max?: FieldPolicy<any> | FieldReadFunction<any>; - min?: FieldPolicy<any> | FieldReadFunction<any>; - stddev?: FieldPolicy<any> | FieldReadFunction<any>; - stddevPop?: FieldPolicy<any> | FieldReadFunction<any>; - stddevSamp?: FieldPolicy<any> | FieldReadFunction<any>; - sum?: FieldPolicy<any> | FieldReadFunction<any>; - varPop?: FieldPolicy<any> | FieldReadFunction<any>; - varSamp?: FieldPolicy<any> | FieldReadFunction<any>; - variance?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type ExtrinsicAvgFieldsKeySpecifier = ('fee' | 'index' | 'tip' | 'version' | ExtrinsicAvgFieldsKeySpecifier)[]; -export type ExtrinsicAvgFieldsFieldPolicy = { - fee?: FieldPolicy<any> | FieldReadFunction<any>; - index?: FieldPolicy<any> | FieldReadFunction<any>; - tip?: FieldPolicy<any> | FieldReadFunction<any>; - version?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type ExtrinsicConnectionKeySpecifier = ('edges' | 'pageInfo' | ExtrinsicConnectionKeySpecifier)[]; -export type ExtrinsicConnectionFieldPolicy = { - edges?: FieldPolicy<any> | FieldReadFunction<any>; - pageInfo?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type ExtrinsicEdgeKeySpecifier = ('cursor' | 'node' | ExtrinsicEdgeKeySpecifier)[]; -export type ExtrinsicEdgeFieldPolicy = { - cursor?: FieldPolicy<any> | FieldReadFunction<any>; - node?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type ExtrinsicMaxFieldsKeySpecifier = ('blockId' | 'callId' | 'fee' | 'id' | 'index' | 'tip' | 'version' | ExtrinsicMaxFieldsKeySpecifier)[]; -export type ExtrinsicMaxFieldsFieldPolicy = { - blockId?: FieldPolicy<any> | FieldReadFunction<any>; - callId?: FieldPolicy<any> | FieldReadFunction<any>; - fee?: FieldPolicy<any> | FieldReadFunction<any>; - id?: FieldPolicy<any> | FieldReadFunction<any>; - index?: FieldPolicy<any> | FieldReadFunction<any>; - tip?: FieldPolicy<any> | FieldReadFunction<any>; - version?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type ExtrinsicMinFieldsKeySpecifier = ('blockId' | 'callId' | 'fee' | 'id' | 'index' | 'tip' | 'version' | ExtrinsicMinFieldsKeySpecifier)[]; -export type ExtrinsicMinFieldsFieldPolicy = { - blockId?: FieldPolicy<any> | FieldReadFunction<any>; - callId?: FieldPolicy<any> | FieldReadFunction<any>; - fee?: FieldPolicy<any> | FieldReadFunction<any>; - id?: FieldPolicy<any> | FieldReadFunction<any>; - index?: FieldPolicy<any> | FieldReadFunction<any>; - tip?: FieldPolicy<any> | FieldReadFunction<any>; - version?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type ExtrinsicStddevFieldsKeySpecifier = ('fee' | 'index' | 'tip' | 'version' | ExtrinsicStddevFieldsKeySpecifier)[]; -export type ExtrinsicStddevFieldsFieldPolicy = { - fee?: FieldPolicy<any> | FieldReadFunction<any>; - index?: FieldPolicy<any> | FieldReadFunction<any>; - tip?: FieldPolicy<any> | FieldReadFunction<any>; - version?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type ExtrinsicStddevPopFieldsKeySpecifier = ('fee' | 'index' | 'tip' | 'version' | ExtrinsicStddevPopFieldsKeySpecifier)[]; -export type ExtrinsicStddevPopFieldsFieldPolicy = { - fee?: FieldPolicy<any> | FieldReadFunction<any>; - index?: FieldPolicy<any> | FieldReadFunction<any>; - tip?: FieldPolicy<any> | FieldReadFunction<any>; - version?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type ExtrinsicStddevSampFieldsKeySpecifier = ('fee' | 'index' | 'tip' | 'version' | ExtrinsicStddevSampFieldsKeySpecifier)[]; -export type ExtrinsicStddevSampFieldsFieldPolicy = { - fee?: FieldPolicy<any> | FieldReadFunction<any>; - index?: FieldPolicy<any> | FieldReadFunction<any>; - tip?: FieldPolicy<any> | FieldReadFunction<any>; - version?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type ExtrinsicSumFieldsKeySpecifier = ('fee' | 'index' | 'tip' | 'version' | ExtrinsicSumFieldsKeySpecifier)[]; -export type ExtrinsicSumFieldsFieldPolicy = { - fee?: FieldPolicy<any> | FieldReadFunction<any>; - index?: FieldPolicy<any> | FieldReadFunction<any>; - tip?: FieldPolicy<any> | FieldReadFunction<any>; - version?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type ExtrinsicVarPopFieldsKeySpecifier = ('fee' | 'index' | 'tip' | 'version' | ExtrinsicVarPopFieldsKeySpecifier)[]; -export type ExtrinsicVarPopFieldsFieldPolicy = { - fee?: FieldPolicy<any> | FieldReadFunction<any>; - index?: FieldPolicy<any> | FieldReadFunction<any>; - tip?: FieldPolicy<any> | FieldReadFunction<any>; - version?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type ExtrinsicVarSampFieldsKeySpecifier = ('fee' | 'index' | 'tip' | 'version' | ExtrinsicVarSampFieldsKeySpecifier)[]; -export type ExtrinsicVarSampFieldsFieldPolicy = { - fee?: FieldPolicy<any> | FieldReadFunction<any>; - index?: FieldPolicy<any> | FieldReadFunction<any>; - tip?: FieldPolicy<any> | FieldReadFunction<any>; - version?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type ExtrinsicVarianceFieldsKeySpecifier = ('fee' | 'index' | 'tip' | 'version' | ExtrinsicVarianceFieldsKeySpecifier)[]; -export type ExtrinsicVarianceFieldsFieldPolicy = { - fee?: FieldPolicy<any> | FieldReadFunction<any>; - index?: FieldPolicy<any> | FieldReadFunction<any>; - tip?: FieldPolicy<any> | FieldReadFunction<any>; - version?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type IdentityKeySpecifier = ( - | 'account' - | 'accountId' - | 'certIssued' - | 'certIssuedAggregate' - | 'certIssued_connection' - | 'certReceived' - | 'certReceivedAggregate' - | 'certReceived_connection' - | 'createdIn' - | 'createdInId' - | 'createdOn' - | 'expireOn' - | 'id' - | 'index' - | 'isMember' - | 'lastChangeOn' - | 'linkedAccount' - | 'linkedAccountAggregate' - | 'linkedAccount_connection' - | 'membershipHistory' - | 'membershipHistoryAggregate' - | 'membershipHistory_connection' - | 'name' - | 'ownerKeyChange' - | 'ownerKeyChangeAggregate' - | 'ownerKeyChange_connection' - | 'smithCertIssued' - | 'smithCertIssuedAggregate' - | 'smithCertIssued_connection' - | 'smithCertReceived' - | 'smithCertReceivedAggregate' - | 'smithCertReceived_connection' - | 'smithStatus' - | 'status' - | 'udHistory' - | IdentityKeySpecifier -)[]; -export type IdentityFieldPolicy = { - account?: FieldPolicy<any> | FieldReadFunction<any>; - accountId?: FieldPolicy<any> | FieldReadFunction<any>; - certIssued?: FieldPolicy<any> | FieldReadFunction<any>; - certIssuedAggregate?: FieldPolicy<any> | FieldReadFunction<any>; - certIssued_connection?: FieldPolicy<any> | FieldReadFunction<any>; - certReceived?: FieldPolicy<any> | FieldReadFunction<any>; - certReceivedAggregate?: FieldPolicy<any> | FieldReadFunction<any>; - certReceived_connection?: FieldPolicy<any> | FieldReadFunction<any>; - createdIn?: FieldPolicy<any> | FieldReadFunction<any>; - createdInId?: FieldPolicy<any> | FieldReadFunction<any>; - createdOn?: FieldPolicy<any> | FieldReadFunction<any>; - expireOn?: FieldPolicy<any> | FieldReadFunction<any>; - id?: FieldPolicy<any> | FieldReadFunction<any>; - index?: FieldPolicy<any> | FieldReadFunction<any>; - isMember?: FieldPolicy<any> | FieldReadFunction<any>; - lastChangeOn?: FieldPolicy<any> | FieldReadFunction<any>; - linkedAccount?: FieldPolicy<any> | FieldReadFunction<any>; - linkedAccountAggregate?: FieldPolicy<any> | FieldReadFunction<any>; - linkedAccount_connection?: FieldPolicy<any> | FieldReadFunction<any>; - membershipHistory?: FieldPolicy<any> | FieldReadFunction<any>; - membershipHistoryAggregate?: FieldPolicy<any> | FieldReadFunction<any>; - membershipHistory_connection?: FieldPolicy<any> | FieldReadFunction<any>; - name?: FieldPolicy<any> | FieldReadFunction<any>; - ownerKeyChange?: FieldPolicy<any> | FieldReadFunction<any>; - ownerKeyChangeAggregate?: FieldPolicy<any> | FieldReadFunction<any>; - ownerKeyChange_connection?: FieldPolicy<any> | FieldReadFunction<any>; - smithCertIssued?: FieldPolicy<any> | FieldReadFunction<any>; - smithCertIssuedAggregate?: FieldPolicy<any> | FieldReadFunction<any>; - smithCertIssued_connection?: FieldPolicy<any> | FieldReadFunction<any>; - smithCertReceived?: FieldPolicy<any> | FieldReadFunction<any>; - smithCertReceivedAggregate?: FieldPolicy<any> | FieldReadFunction<any>; - smithCertReceived_connection?: FieldPolicy<any> | FieldReadFunction<any>; - smithStatus?: FieldPolicy<any> | FieldReadFunction<any>; - status?: FieldPolicy<any> | FieldReadFunction<any>; - udHistory?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type IdentityConnectionKeySpecifier = ('edges' | 'pageInfo' | IdentityConnectionKeySpecifier)[]; -export type IdentityConnectionFieldPolicy = { - edges?: FieldPolicy<any> | FieldReadFunction<any>; - pageInfo?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type IdentityEdgeKeySpecifier = ('cursor' | 'node' | IdentityEdgeKeySpecifier)[]; -export type IdentityEdgeFieldPolicy = { - cursor?: FieldPolicy<any> | FieldReadFunction<any>; - node?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type ItemsCounterKeySpecifier = ('id' | 'level' | 'total' | 'type' | ItemsCounterKeySpecifier)[]; -export type ItemsCounterFieldPolicy = { - id?: FieldPolicy<any> | FieldReadFunction<any>; - level?: FieldPolicy<any> | FieldReadFunction<any>; - total?: FieldPolicy<any> | FieldReadFunction<any>; - type?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type ItemsCounterConnectionKeySpecifier = ('edges' | 'pageInfo' | ItemsCounterConnectionKeySpecifier)[]; -export type ItemsCounterConnectionFieldPolicy = { - edges?: FieldPolicy<any> | FieldReadFunction<any>; - pageInfo?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type ItemsCounterEdgeKeySpecifier = ('cursor' | 'node' | ItemsCounterEdgeKeySpecifier)[]; -export type ItemsCounterEdgeFieldPolicy = { - cursor?: FieldPolicy<any> | FieldReadFunction<any>; - node?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type MembershipEventKeySpecifier = ( - | 'blockNumber' - | 'event' - | 'eventId' - | 'eventType' - | 'id' - | 'identity' - | 'identityId' - | MembershipEventKeySpecifier -)[]; -export type MembershipEventFieldPolicy = { - blockNumber?: FieldPolicy<any> | FieldReadFunction<any>; - event?: FieldPolicy<any> | FieldReadFunction<any>; - eventId?: FieldPolicy<any> | FieldReadFunction<any>; - eventType?: FieldPolicy<any> | FieldReadFunction<any>; - id?: FieldPolicy<any> | FieldReadFunction<any>; - identity?: FieldPolicy<any> | FieldReadFunction<any>; - identityId?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type MembershipEventAggregateKeySpecifier = ('aggregate' | 'nodes' | MembershipEventAggregateKeySpecifier)[]; -export type MembershipEventAggregateFieldPolicy = { - aggregate?: FieldPolicy<any> | FieldReadFunction<any>; - nodes?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type MembershipEventAggregateFieldsKeySpecifier = ( - | 'avg' - | 'count' - | 'max' - | 'min' - | 'stddev' - | 'stddevPop' - | 'stddevSamp' - | 'sum' - | 'varPop' - | 'varSamp' - | 'variance' - | MembershipEventAggregateFieldsKeySpecifier -)[]; -export type MembershipEventAggregateFieldsFieldPolicy = { - avg?: FieldPolicy<any> | FieldReadFunction<any>; - count?: FieldPolicy<any> | FieldReadFunction<any>; - max?: FieldPolicy<any> | FieldReadFunction<any>; - min?: FieldPolicy<any> | FieldReadFunction<any>; - stddev?: FieldPolicy<any> | FieldReadFunction<any>; - stddevPop?: FieldPolicy<any> | FieldReadFunction<any>; - stddevSamp?: FieldPolicy<any> | FieldReadFunction<any>; - sum?: FieldPolicy<any> | FieldReadFunction<any>; - varPop?: FieldPolicy<any> | FieldReadFunction<any>; - varSamp?: FieldPolicy<any> | FieldReadFunction<any>; - variance?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type MembershipEventAvgFieldsKeySpecifier = ('blockNumber' | MembershipEventAvgFieldsKeySpecifier)[]; -export type MembershipEventAvgFieldsFieldPolicy = { - blockNumber?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type MembershipEventConnectionKeySpecifier = ('edges' | 'pageInfo' | MembershipEventConnectionKeySpecifier)[]; -export type MembershipEventConnectionFieldPolicy = { - edges?: FieldPolicy<any> | FieldReadFunction<any>; - pageInfo?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type MembershipEventEdgeKeySpecifier = ('cursor' | 'node' | MembershipEventEdgeKeySpecifier)[]; -export type MembershipEventEdgeFieldPolicy = { - cursor?: FieldPolicy<any> | FieldReadFunction<any>; - node?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type MembershipEventMaxFieldsKeySpecifier = ('blockNumber' | 'eventId' | 'id' | 'identityId' | MembershipEventMaxFieldsKeySpecifier)[]; -export type MembershipEventMaxFieldsFieldPolicy = { - blockNumber?: FieldPolicy<any> | FieldReadFunction<any>; - eventId?: FieldPolicy<any> | FieldReadFunction<any>; - id?: FieldPolicy<any> | FieldReadFunction<any>; - identityId?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type MembershipEventMinFieldsKeySpecifier = ('blockNumber' | 'eventId' | 'id' | 'identityId' | MembershipEventMinFieldsKeySpecifier)[]; -export type MembershipEventMinFieldsFieldPolicy = { - blockNumber?: FieldPolicy<any> | FieldReadFunction<any>; - eventId?: FieldPolicy<any> | FieldReadFunction<any>; - id?: FieldPolicy<any> | FieldReadFunction<any>; - identityId?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type MembershipEventStddevFieldsKeySpecifier = ('blockNumber' | MembershipEventStddevFieldsKeySpecifier)[]; -export type MembershipEventStddevFieldsFieldPolicy = { - blockNumber?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type MembershipEventStddevPopFieldsKeySpecifier = ('blockNumber' | MembershipEventStddevPopFieldsKeySpecifier)[]; -export type MembershipEventStddevPopFieldsFieldPolicy = { - blockNumber?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type MembershipEventStddevSampFieldsKeySpecifier = ('blockNumber' | MembershipEventStddevSampFieldsKeySpecifier)[]; -export type MembershipEventStddevSampFieldsFieldPolicy = { - blockNumber?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type MembershipEventSumFieldsKeySpecifier = ('blockNumber' | MembershipEventSumFieldsKeySpecifier)[]; -export type MembershipEventSumFieldsFieldPolicy = { - blockNumber?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type MembershipEventVarPopFieldsKeySpecifier = ('blockNumber' | MembershipEventVarPopFieldsKeySpecifier)[]; -export type MembershipEventVarPopFieldsFieldPolicy = { - blockNumber?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type MembershipEventVarSampFieldsKeySpecifier = ('blockNumber' | MembershipEventVarSampFieldsKeySpecifier)[]; -export type MembershipEventVarSampFieldsFieldPolicy = { - blockNumber?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type MembershipEventVarianceFieldsKeySpecifier = ('blockNumber' | MembershipEventVarianceFieldsKeySpecifier)[]; -export type MembershipEventVarianceFieldsFieldPolicy = { - blockNumber?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type NodeKeySpecifier = ('id' | NodeKeySpecifier)[]; -export type NodeFieldPolicy = { - id?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type PageInfoKeySpecifier = ('endCursor' | 'hasNextPage' | 'hasPreviousPage' | 'startCursor' | PageInfoKeySpecifier)[]; -export type PageInfoFieldPolicy = { - endCursor?: FieldPolicy<any> | FieldReadFunction<any>; - hasNextPage?: FieldPolicy<any> | FieldReadFunction<any>; - hasPreviousPage?: FieldPolicy<any> | FieldReadFunction<any>; - startCursor?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type SmithCertKeySpecifier = ('createdOn' | 'id' | 'issuer' | 'issuerId' | 'receiver' | 'receiverId' | SmithCertKeySpecifier)[]; -export type SmithCertFieldPolicy = { - createdOn?: FieldPolicy<any> | FieldReadFunction<any>; - id?: FieldPolicy<any> | FieldReadFunction<any>; - issuer?: FieldPolicy<any> | FieldReadFunction<any>; - issuerId?: FieldPolicy<any> | FieldReadFunction<any>; - receiver?: FieldPolicy<any> | FieldReadFunction<any>; - receiverId?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type SmithCertAggregateKeySpecifier = ('aggregate' | 'nodes' | SmithCertAggregateKeySpecifier)[]; -export type SmithCertAggregateFieldPolicy = { - aggregate?: FieldPolicy<any> | FieldReadFunction<any>; - nodes?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type SmithCertAggregateFieldsKeySpecifier = ( - | 'avg' - | 'count' - | 'max' - | 'min' - | 'stddev' - | 'stddevPop' - | 'stddevSamp' - | 'sum' - | 'varPop' - | 'varSamp' - | 'variance' - | SmithCertAggregateFieldsKeySpecifier -)[]; -export type SmithCertAggregateFieldsFieldPolicy = { - avg?: FieldPolicy<any> | FieldReadFunction<any>; - count?: FieldPolicy<any> | FieldReadFunction<any>; - max?: FieldPolicy<any> | FieldReadFunction<any>; - min?: FieldPolicy<any> | FieldReadFunction<any>; - stddev?: FieldPolicy<any> | FieldReadFunction<any>; - stddevPop?: FieldPolicy<any> | FieldReadFunction<any>; - stddevSamp?: FieldPolicy<any> | FieldReadFunction<any>; - sum?: FieldPolicy<any> | FieldReadFunction<any>; - varPop?: FieldPolicy<any> | FieldReadFunction<any>; - varSamp?: FieldPolicy<any> | FieldReadFunction<any>; - variance?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type SmithCertAvgFieldsKeySpecifier = ('createdOn' | SmithCertAvgFieldsKeySpecifier)[]; -export type SmithCertAvgFieldsFieldPolicy = { - createdOn?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type SmithCertConnectionKeySpecifier = ('edges' | 'pageInfo' | SmithCertConnectionKeySpecifier)[]; -export type SmithCertConnectionFieldPolicy = { - edges?: FieldPolicy<any> | FieldReadFunction<any>; - pageInfo?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type SmithCertEdgeKeySpecifier = ('cursor' | 'node' | SmithCertEdgeKeySpecifier)[]; -export type SmithCertEdgeFieldPolicy = { - cursor?: FieldPolicy<any> | FieldReadFunction<any>; - node?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type SmithCertMaxFieldsKeySpecifier = ('createdOn' | 'id' | 'issuerId' | 'receiverId' | SmithCertMaxFieldsKeySpecifier)[]; -export type SmithCertMaxFieldsFieldPolicy = { - createdOn?: FieldPolicy<any> | FieldReadFunction<any>; - id?: FieldPolicy<any> | FieldReadFunction<any>; - issuerId?: FieldPolicy<any> | FieldReadFunction<any>; - receiverId?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type SmithCertMinFieldsKeySpecifier = ('createdOn' | 'id' | 'issuerId' | 'receiverId' | SmithCertMinFieldsKeySpecifier)[]; -export type SmithCertMinFieldsFieldPolicy = { - createdOn?: FieldPolicy<any> | FieldReadFunction<any>; - id?: FieldPolicy<any> | FieldReadFunction<any>; - issuerId?: FieldPolicy<any> | FieldReadFunction<any>; - receiverId?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type SmithCertStddevFieldsKeySpecifier = ('createdOn' | SmithCertStddevFieldsKeySpecifier)[]; -export type SmithCertStddevFieldsFieldPolicy = { - createdOn?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type SmithCertStddevPopFieldsKeySpecifier = ('createdOn' | SmithCertStddevPopFieldsKeySpecifier)[]; -export type SmithCertStddevPopFieldsFieldPolicy = { - createdOn?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type SmithCertStddevSampFieldsKeySpecifier = ('createdOn' | SmithCertStddevSampFieldsKeySpecifier)[]; -export type SmithCertStddevSampFieldsFieldPolicy = { - createdOn?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type SmithCertSumFieldsKeySpecifier = ('createdOn' | SmithCertSumFieldsKeySpecifier)[]; -export type SmithCertSumFieldsFieldPolicy = { - createdOn?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type SmithCertVarPopFieldsKeySpecifier = ('createdOn' | SmithCertVarPopFieldsKeySpecifier)[]; -export type SmithCertVarPopFieldsFieldPolicy = { - createdOn?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type SmithCertVarSampFieldsKeySpecifier = ('createdOn' | SmithCertVarSampFieldsKeySpecifier)[]; -export type SmithCertVarSampFieldsFieldPolicy = { - createdOn?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type SmithCertVarianceFieldsKeySpecifier = ('createdOn' | SmithCertVarianceFieldsKeySpecifier)[]; -export type SmithCertVarianceFieldsFieldPolicy = { - createdOn?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type TransferKeySpecifier = ( - | 'amount' - | 'blockNumber' - | 'comment' - | 'from' - | 'fromId' - | 'id' - | 'timestamp' - | 'to' - | 'toId' - | TransferKeySpecifier -)[]; -export type TransferFieldPolicy = { - amount?: FieldPolicy<any> | FieldReadFunction<any>; - blockNumber?: FieldPolicy<any> | FieldReadFunction<any>; - comment?: FieldPolicy<any> | FieldReadFunction<any>; - from?: FieldPolicy<any> | FieldReadFunction<any>; - fromId?: FieldPolicy<any> | FieldReadFunction<any>; - id?: FieldPolicy<any> | FieldReadFunction<any>; - timestamp?: FieldPolicy<any> | FieldReadFunction<any>; - to?: FieldPolicy<any> | FieldReadFunction<any>; - toId?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type TransferAggregateKeySpecifier = ('aggregate' | 'nodes' | TransferAggregateKeySpecifier)[]; -export type TransferAggregateFieldPolicy = { - aggregate?: FieldPolicy<any> | FieldReadFunction<any>; - nodes?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type TransferAggregateFieldsKeySpecifier = ( - | 'avg' - | 'count' - | 'max' - | 'min' - | 'stddev' - | 'stddevPop' - | 'stddevSamp' - | 'sum' - | 'varPop' - | 'varSamp' - | 'variance' - | TransferAggregateFieldsKeySpecifier -)[]; -export type TransferAggregateFieldsFieldPolicy = { - avg?: FieldPolicy<any> | FieldReadFunction<any>; - count?: FieldPolicy<any> | FieldReadFunction<any>; - max?: FieldPolicy<any> | FieldReadFunction<any>; - min?: FieldPolicy<any> | FieldReadFunction<any>; - stddev?: FieldPolicy<any> | FieldReadFunction<any>; - stddevPop?: FieldPolicy<any> | FieldReadFunction<any>; - stddevSamp?: FieldPolicy<any> | FieldReadFunction<any>; - sum?: FieldPolicy<any> | FieldReadFunction<any>; - varPop?: FieldPolicy<any> | FieldReadFunction<any>; - varSamp?: FieldPolicy<any> | FieldReadFunction<any>; - variance?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type TransferAvgFieldsKeySpecifier = ('amount' | 'blockNumber' | TransferAvgFieldsKeySpecifier)[]; -export type TransferAvgFieldsFieldPolicy = { - amount?: FieldPolicy<any> | FieldReadFunction<any>; - blockNumber?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type TransferConnectionKeySpecifier = ('edges' | 'pageInfo' | TransferConnectionKeySpecifier)[]; -export type TransferConnectionFieldPolicy = { - edges?: FieldPolicy<any> | FieldReadFunction<any>; - pageInfo?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type TransferEdgeKeySpecifier = ('cursor' | 'node' | TransferEdgeKeySpecifier)[]; -export type TransferEdgeFieldPolicy = { - cursor?: FieldPolicy<any> | FieldReadFunction<any>; - node?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type TransferMaxFieldsKeySpecifier = ( - | 'amount' - | 'blockNumber' - | 'comment' - | 'fromId' - | 'id' - | 'timestamp' - | 'toId' - | TransferMaxFieldsKeySpecifier -)[]; -export type TransferMaxFieldsFieldPolicy = { - amount?: FieldPolicy<any> | FieldReadFunction<any>; - blockNumber?: FieldPolicy<any> | FieldReadFunction<any>; - comment?: FieldPolicy<any> | FieldReadFunction<any>; - fromId?: FieldPolicy<any> | FieldReadFunction<any>; - id?: FieldPolicy<any> | FieldReadFunction<any>; - timestamp?: FieldPolicy<any> | FieldReadFunction<any>; - toId?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type TransferMinFieldsKeySpecifier = ( - | 'amount' - | 'blockNumber' - | 'comment' - | 'fromId' - | 'id' - | 'timestamp' - | 'toId' - | TransferMinFieldsKeySpecifier -)[]; -export type TransferMinFieldsFieldPolicy = { - amount?: FieldPolicy<any> | FieldReadFunction<any>; - blockNumber?: FieldPolicy<any> | FieldReadFunction<any>; - comment?: FieldPolicy<any> | FieldReadFunction<any>; - fromId?: FieldPolicy<any> | FieldReadFunction<any>; - id?: FieldPolicy<any> | FieldReadFunction<any>; - timestamp?: FieldPolicy<any> | FieldReadFunction<any>; - toId?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type TransferStddevFieldsKeySpecifier = ('amount' | 'blockNumber' | TransferStddevFieldsKeySpecifier)[]; -export type TransferStddevFieldsFieldPolicy = { - amount?: FieldPolicy<any> | FieldReadFunction<any>; - blockNumber?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type TransferStddevPopFieldsKeySpecifier = ('amount' | 'blockNumber' | TransferStddevPopFieldsKeySpecifier)[]; -export type TransferStddevPopFieldsFieldPolicy = { - amount?: FieldPolicy<any> | FieldReadFunction<any>; - blockNumber?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type TransferStddevSampFieldsKeySpecifier = ('amount' | 'blockNumber' | TransferStddevSampFieldsKeySpecifier)[]; -export type TransferStddevSampFieldsFieldPolicy = { - amount?: FieldPolicy<any> | FieldReadFunction<any>; - blockNumber?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type TransferSumFieldsKeySpecifier = ('amount' | 'blockNumber' | TransferSumFieldsKeySpecifier)[]; -export type TransferSumFieldsFieldPolicy = { - amount?: FieldPolicy<any> | FieldReadFunction<any>; - blockNumber?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type TransferVarPopFieldsKeySpecifier = ('amount' | 'blockNumber' | TransferVarPopFieldsKeySpecifier)[]; -export type TransferVarPopFieldsFieldPolicy = { - amount?: FieldPolicy<any> | FieldReadFunction<any>; - blockNumber?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type TransferVarSampFieldsKeySpecifier = ('amount' | 'blockNumber' | TransferVarSampFieldsKeySpecifier)[]; -export type TransferVarSampFieldsFieldPolicy = { - amount?: FieldPolicy<any> | FieldReadFunction<any>; - blockNumber?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type TransferVarianceFieldsKeySpecifier = ('amount' | 'blockNumber' | TransferVarianceFieldsKeySpecifier)[]; -export type TransferVarianceFieldsFieldPolicy = { - amount?: FieldPolicy<any> | FieldReadFunction<any>; - blockNumber?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type UdHistoryKeySpecifier = ('amount' | 'blockNumber' | 'id' | 'identity' | 'identityId' | 'timestamp' | UdHistoryKeySpecifier)[]; -export type UdHistoryFieldPolicy = { - amount?: FieldPolicy<any> | FieldReadFunction<any>; - blockNumber?: FieldPolicy<any> | FieldReadFunction<any>; - id?: FieldPolicy<any> | FieldReadFunction<any>; - identity?: FieldPolicy<any> | FieldReadFunction<any>; - identityId?: FieldPolicy<any> | FieldReadFunction<any>; - timestamp?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type UdHistoryConnectionKeySpecifier = ('edges' | 'pageInfo' | UdHistoryConnectionKeySpecifier)[]; -export type UdHistoryConnectionFieldPolicy = { - edges?: FieldPolicy<any> | FieldReadFunction<any>; - pageInfo?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type UdHistoryEdgeKeySpecifier = ('cursor' | 'node' | UdHistoryEdgeKeySpecifier)[]; -export type UdHistoryEdgeFieldPolicy = { - cursor?: FieldPolicy<any> | FieldReadFunction<any>; - node?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type UdReevalKeySpecifier = ( - | 'blockNumber' - | 'event' - | 'eventId' - | 'id' - | 'membersCount' - | 'monetaryMass' - | 'newUdAmount' - | 'timestamp' - | UdReevalKeySpecifier -)[]; -export type UdReevalFieldPolicy = { - blockNumber?: FieldPolicy<any> | FieldReadFunction<any>; - event?: FieldPolicy<any> | FieldReadFunction<any>; - eventId?: FieldPolicy<any> | FieldReadFunction<any>; - id?: FieldPolicy<any> | FieldReadFunction<any>; - membersCount?: FieldPolicy<any> | FieldReadFunction<any>; - monetaryMass?: FieldPolicy<any> | FieldReadFunction<any>; - newUdAmount?: FieldPolicy<any> | FieldReadFunction<any>; - timestamp?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type UdReevalConnectionKeySpecifier = ('edges' | 'pageInfo' | UdReevalConnectionKeySpecifier)[]; -export type UdReevalConnectionFieldPolicy = { - edges?: FieldPolicy<any> | FieldReadFunction<any>; - pageInfo?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type UdReevalEdgeKeySpecifier = ('cursor' | 'node' | UdReevalEdgeKeySpecifier)[]; -export type UdReevalEdgeFieldPolicy = { - cursor?: FieldPolicy<any> | FieldReadFunction<any>; - node?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type UniversalDividendKeySpecifier = ( - | 'amount' - | 'blockNumber' - | 'event' - | 'eventId' - | 'id' - | 'membersCount' - | 'monetaryMass' - | 'timestamp' - | UniversalDividendKeySpecifier -)[]; -export type UniversalDividendFieldPolicy = { - amount?: FieldPolicy<any> | FieldReadFunction<any>; - blockNumber?: FieldPolicy<any> | FieldReadFunction<any>; - event?: FieldPolicy<any> | FieldReadFunction<any>; - eventId?: FieldPolicy<any> | FieldReadFunction<any>; - id?: FieldPolicy<any> | FieldReadFunction<any>; - membersCount?: FieldPolicy<any> | FieldReadFunction<any>; - monetaryMass?: FieldPolicy<any> | FieldReadFunction<any>; - timestamp?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type UniversalDividendConnectionKeySpecifier = ('edges' | 'pageInfo' | UniversalDividendConnectionKeySpecifier)[]; -export type UniversalDividendConnectionFieldPolicy = { - edges?: FieldPolicy<any> | FieldReadFunction<any>; - pageInfo?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type UniversalDividendEdgeKeySpecifier = ('cursor' | 'node' | UniversalDividendEdgeKeySpecifier)[]; -export type UniversalDividendEdgeFieldPolicy = { - cursor?: FieldPolicy<any> | FieldReadFunction<any>; - node?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type query_rootKeySpecifier = ( - | 'accountConnection' - | 'blockConnection' - | 'callConnection' - | 'certConnection' - | 'certEventConnection' - | 'changeOwnerKeyConnection' - | 'eventConnection' - | 'extrinsicConnection' - | 'getUdHistory_connection' - | 'identityConnection' - | 'itemsCounterConnection' - | 'membershipEventConnection' - | 'node' - | 'smithCertConnection' - | 'transferConnection' - | 'udHistoryConnection' - | 'udReevalConnection' - | 'universalDividendConnection' - | query_rootKeySpecifier -)[]; -export type query_rootFieldPolicy = { - accountConnection?: FieldPolicy<any> | FieldReadFunction<any>; - blockConnection?: FieldPolicy<any> | FieldReadFunction<any>; - callConnection?: FieldPolicy<any> | FieldReadFunction<any>; - certConnection?: FieldPolicy<any> | FieldReadFunction<any>; - certEventConnection?: FieldPolicy<any> | FieldReadFunction<any>; - changeOwnerKeyConnection?: FieldPolicy<any> | FieldReadFunction<any>; - eventConnection?: FieldPolicy<any> | FieldReadFunction<any>; - extrinsicConnection?: FieldPolicy<any> | FieldReadFunction<any>; - getUdHistory_connection?: FieldPolicy<any> | FieldReadFunction<any>; - identityConnection?: FieldPolicy<any> | FieldReadFunction<any>; - itemsCounterConnection?: FieldPolicy<any> | FieldReadFunction<any>; - membershipEventConnection?: FieldPolicy<any> | FieldReadFunction<any>; - node?: FieldPolicy<any> | FieldReadFunction<any>; - smithCertConnection?: FieldPolicy<any> | FieldReadFunction<any>; - transferConnection?: FieldPolicy<any> | FieldReadFunction<any>; - udHistoryConnection?: FieldPolicy<any> | FieldReadFunction<any>; - udReevalConnection?: FieldPolicy<any> | FieldReadFunction<any>; - universalDividendConnection?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type subscription_rootKeySpecifier = ( - | 'accountConnection' - | 'blockConnection' - | 'callConnection' - | 'certConnection' - | 'certEventConnection' - | 'changeOwnerKeyConnection' - | 'eventConnection' - | 'extrinsicConnection' - | 'getUdHistory_connection' - | 'identityConnection' - | 'itemsCounterConnection' - | 'membershipEventConnection' - | 'node' - | 'smithCertConnection' - | 'transferConnection' - | 'udHistoryConnection' - | 'udReevalConnection' - | 'universalDividendConnection' - | subscription_rootKeySpecifier -)[]; -export type subscription_rootFieldPolicy = { - accountConnection?: FieldPolicy<any> | FieldReadFunction<any>; - blockConnection?: FieldPolicy<any> | FieldReadFunction<any>; - callConnection?: FieldPolicy<any> | FieldReadFunction<any>; - certConnection?: FieldPolicy<any> | FieldReadFunction<any>; - certEventConnection?: FieldPolicy<any> | FieldReadFunction<any>; - changeOwnerKeyConnection?: FieldPolicy<any> | FieldReadFunction<any>; - eventConnection?: FieldPolicy<any> | FieldReadFunction<any>; - extrinsicConnection?: FieldPolicy<any> | FieldReadFunction<any>; - getUdHistory_connection?: FieldPolicy<any> | FieldReadFunction<any>; - identityConnection?: FieldPolicy<any> | FieldReadFunction<any>; - itemsCounterConnection?: FieldPolicy<any> | FieldReadFunction<any>; - membershipEventConnection?: FieldPolicy<any> | FieldReadFunction<any>; - node?: FieldPolicy<any> | FieldReadFunction<any>; - smithCertConnection?: FieldPolicy<any> | FieldReadFunction<any>; - transferConnection?: FieldPolicy<any> | FieldReadFunction<any>; - udHistoryConnection?: FieldPolicy<any> | FieldReadFunction<any>; - udReevalConnection?: FieldPolicy<any> | FieldReadFunction<any>; - universalDividendConnection?: FieldPolicy<any> | FieldReadFunction<any>; -}; -export type StrictTypedTypePolicies = { - Account?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | AccountKeySpecifier | (() => undefined | AccountKeySpecifier); - fields?: AccountFieldPolicy; - }; - AccountAggregate?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | AccountAggregateKeySpecifier | (() => undefined | AccountAggregateKeySpecifier); - fields?: AccountAggregateFieldPolicy; - }; - AccountAggregateFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | AccountAggregateFieldsKeySpecifier | (() => undefined | AccountAggregateFieldsKeySpecifier); - fields?: AccountAggregateFieldsFieldPolicy; - }; - AccountConnection?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | AccountConnectionKeySpecifier | (() => undefined | AccountConnectionKeySpecifier); - fields?: AccountConnectionFieldPolicy; - }; - AccountEdge?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | AccountEdgeKeySpecifier | (() => undefined | AccountEdgeKeySpecifier); - fields?: AccountEdgeFieldPolicy; - }; - AccountMaxFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | AccountMaxFieldsKeySpecifier | (() => undefined | AccountMaxFieldsKeySpecifier); - fields?: AccountMaxFieldsFieldPolicy; - }; - AccountMinFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | AccountMinFieldsKeySpecifier | (() => undefined | AccountMinFieldsKeySpecifier); - fields?: AccountMinFieldsFieldPolicy; - }; - Block?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | BlockKeySpecifier | (() => undefined | BlockKeySpecifier); - fields?: BlockFieldPolicy; - }; - BlockConnection?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | BlockConnectionKeySpecifier | (() => undefined | BlockConnectionKeySpecifier); - fields?: BlockConnectionFieldPolicy; - }; - BlockEdge?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | BlockEdgeKeySpecifier | (() => undefined | BlockEdgeKeySpecifier); - fields?: BlockEdgeFieldPolicy; - }; - Call?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | CallKeySpecifier | (() => undefined | CallKeySpecifier); - fields?: CallFieldPolicy; - }; - CallAggregate?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | CallAggregateKeySpecifier | (() => undefined | CallAggregateKeySpecifier); - fields?: CallAggregateFieldPolicy; - }; - CallAggregateFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | CallAggregateFieldsKeySpecifier | (() => undefined | CallAggregateFieldsKeySpecifier); - fields?: CallAggregateFieldsFieldPolicy; - }; - CallConnection?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | CallConnectionKeySpecifier | (() => undefined | CallConnectionKeySpecifier); - fields?: CallConnectionFieldPolicy; - }; - CallEdge?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | CallEdgeKeySpecifier | (() => undefined | CallEdgeKeySpecifier); - fields?: CallEdgeFieldPolicy; - }; - CallMaxFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | CallMaxFieldsKeySpecifier | (() => undefined | CallMaxFieldsKeySpecifier); - fields?: CallMaxFieldsFieldPolicy; - }; - CallMinFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | CallMinFieldsKeySpecifier | (() => undefined | CallMinFieldsKeySpecifier); - fields?: CallMinFieldsFieldPolicy; - }; - Cert?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | CertKeySpecifier | (() => undefined | CertKeySpecifier); - fields?: CertFieldPolicy; - }; - CertAggregate?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | CertAggregateKeySpecifier | (() => undefined | CertAggregateKeySpecifier); - fields?: CertAggregateFieldPolicy; - }; - CertAggregateFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | CertAggregateFieldsKeySpecifier | (() => undefined | CertAggregateFieldsKeySpecifier); - fields?: CertAggregateFieldsFieldPolicy; - }; - CertAvgFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | CertAvgFieldsKeySpecifier | (() => undefined | CertAvgFieldsKeySpecifier); - fields?: CertAvgFieldsFieldPolicy; - }; - CertConnection?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | CertConnectionKeySpecifier | (() => undefined | CertConnectionKeySpecifier); - fields?: CertConnectionFieldPolicy; - }; - CertEdge?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | CertEdgeKeySpecifier | (() => undefined | CertEdgeKeySpecifier); - fields?: CertEdgeFieldPolicy; - }; - CertEvent?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | CertEventKeySpecifier | (() => undefined | CertEventKeySpecifier); - fields?: CertEventFieldPolicy; - }; - CertEventAggregate?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | CertEventAggregateKeySpecifier | (() => undefined | CertEventAggregateKeySpecifier); - fields?: CertEventAggregateFieldPolicy; - }; - CertEventAggregateFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | CertEventAggregateFieldsKeySpecifier | (() => undefined | CertEventAggregateFieldsKeySpecifier); - fields?: CertEventAggregateFieldsFieldPolicy; - }; - CertEventAvgFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | CertEventAvgFieldsKeySpecifier | (() => undefined | CertEventAvgFieldsKeySpecifier); - fields?: CertEventAvgFieldsFieldPolicy; - }; - CertEventConnection?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | CertEventConnectionKeySpecifier | (() => undefined | CertEventConnectionKeySpecifier); - fields?: CertEventConnectionFieldPolicy; - }; - CertEventEdge?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | CertEventEdgeKeySpecifier | (() => undefined | CertEventEdgeKeySpecifier); - fields?: CertEventEdgeFieldPolicy; - }; - CertEventMaxFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | CertEventMaxFieldsKeySpecifier | (() => undefined | CertEventMaxFieldsKeySpecifier); - fields?: CertEventMaxFieldsFieldPolicy; - }; - CertEventMinFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | CertEventMinFieldsKeySpecifier | (() => undefined | CertEventMinFieldsKeySpecifier); - fields?: CertEventMinFieldsFieldPolicy; - }; - CertEventStddevFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | CertEventStddevFieldsKeySpecifier | (() => undefined | CertEventStddevFieldsKeySpecifier); - fields?: CertEventStddevFieldsFieldPolicy; - }; - CertEventStddevPopFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | CertEventStddevPopFieldsKeySpecifier | (() => undefined | CertEventStddevPopFieldsKeySpecifier); - fields?: CertEventStddevPopFieldsFieldPolicy; - }; - CertEventStddevSampFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | CertEventStddevSampFieldsKeySpecifier | (() => undefined | CertEventStddevSampFieldsKeySpecifier); - fields?: CertEventStddevSampFieldsFieldPolicy; - }; - CertEventSumFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | CertEventSumFieldsKeySpecifier | (() => undefined | CertEventSumFieldsKeySpecifier); - fields?: CertEventSumFieldsFieldPolicy; - }; - CertEventVarPopFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | CertEventVarPopFieldsKeySpecifier | (() => undefined | CertEventVarPopFieldsKeySpecifier); - fields?: CertEventVarPopFieldsFieldPolicy; - }; - CertEventVarSampFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | CertEventVarSampFieldsKeySpecifier | (() => undefined | CertEventVarSampFieldsKeySpecifier); - fields?: CertEventVarSampFieldsFieldPolicy; - }; - CertEventVarianceFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | CertEventVarianceFieldsKeySpecifier | (() => undefined | CertEventVarianceFieldsKeySpecifier); - fields?: CertEventVarianceFieldsFieldPolicy; - }; - CertMaxFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | CertMaxFieldsKeySpecifier | (() => undefined | CertMaxFieldsKeySpecifier); - fields?: CertMaxFieldsFieldPolicy; - }; - CertMinFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | CertMinFieldsKeySpecifier | (() => undefined | CertMinFieldsKeySpecifier); - fields?: CertMinFieldsFieldPolicy; - }; - CertStddevFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | CertStddevFieldsKeySpecifier | (() => undefined | CertStddevFieldsKeySpecifier); - fields?: CertStddevFieldsFieldPolicy; - }; - CertStddevPopFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | CertStddevPopFieldsKeySpecifier | (() => undefined | CertStddevPopFieldsKeySpecifier); - fields?: CertStddevPopFieldsFieldPolicy; - }; - CertStddevSampFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | CertStddevSampFieldsKeySpecifier | (() => undefined | CertStddevSampFieldsKeySpecifier); - fields?: CertStddevSampFieldsFieldPolicy; - }; - CertSumFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | CertSumFieldsKeySpecifier | (() => undefined | CertSumFieldsKeySpecifier); - fields?: CertSumFieldsFieldPolicy; - }; - CertVarPopFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | CertVarPopFieldsKeySpecifier | (() => undefined | CertVarPopFieldsKeySpecifier); - fields?: CertVarPopFieldsFieldPolicy; - }; - CertVarSampFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | CertVarSampFieldsKeySpecifier | (() => undefined | CertVarSampFieldsKeySpecifier); - fields?: CertVarSampFieldsFieldPolicy; - }; - CertVarianceFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | CertVarianceFieldsKeySpecifier | (() => undefined | CertVarianceFieldsKeySpecifier); - fields?: CertVarianceFieldsFieldPolicy; - }; - ChangeOwnerKey?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | ChangeOwnerKeyKeySpecifier | (() => undefined | ChangeOwnerKeyKeySpecifier); - fields?: ChangeOwnerKeyFieldPolicy; - }; - ChangeOwnerKeyAggregate?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | ChangeOwnerKeyAggregateKeySpecifier | (() => undefined | ChangeOwnerKeyAggregateKeySpecifier); - fields?: ChangeOwnerKeyAggregateFieldPolicy; - }; - ChangeOwnerKeyAggregateFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | ChangeOwnerKeyAggregateFieldsKeySpecifier | (() => undefined | ChangeOwnerKeyAggregateFieldsKeySpecifier); - fields?: ChangeOwnerKeyAggregateFieldsFieldPolicy; - }; - ChangeOwnerKeyAvgFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | ChangeOwnerKeyAvgFieldsKeySpecifier | (() => undefined | ChangeOwnerKeyAvgFieldsKeySpecifier); - fields?: ChangeOwnerKeyAvgFieldsFieldPolicy; - }; - ChangeOwnerKeyConnection?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | ChangeOwnerKeyConnectionKeySpecifier | (() => undefined | ChangeOwnerKeyConnectionKeySpecifier); - fields?: ChangeOwnerKeyConnectionFieldPolicy; - }; - ChangeOwnerKeyEdge?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | ChangeOwnerKeyEdgeKeySpecifier | (() => undefined | ChangeOwnerKeyEdgeKeySpecifier); - fields?: ChangeOwnerKeyEdgeFieldPolicy; - }; - ChangeOwnerKeyMaxFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | ChangeOwnerKeyMaxFieldsKeySpecifier | (() => undefined | ChangeOwnerKeyMaxFieldsKeySpecifier); - fields?: ChangeOwnerKeyMaxFieldsFieldPolicy; - }; - ChangeOwnerKeyMinFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | ChangeOwnerKeyMinFieldsKeySpecifier | (() => undefined | ChangeOwnerKeyMinFieldsKeySpecifier); - fields?: ChangeOwnerKeyMinFieldsFieldPolicy; - }; - ChangeOwnerKeyStddevFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | ChangeOwnerKeyStddevFieldsKeySpecifier | (() => undefined | ChangeOwnerKeyStddevFieldsKeySpecifier); - fields?: ChangeOwnerKeyStddevFieldsFieldPolicy; - }; - ChangeOwnerKeyStddevPopFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | ChangeOwnerKeyStddevPopFieldsKeySpecifier | (() => undefined | ChangeOwnerKeyStddevPopFieldsKeySpecifier); - fields?: ChangeOwnerKeyStddevPopFieldsFieldPolicy; - }; - ChangeOwnerKeyStddevSampFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | ChangeOwnerKeyStddevSampFieldsKeySpecifier | (() => undefined | ChangeOwnerKeyStddevSampFieldsKeySpecifier); - fields?: ChangeOwnerKeyStddevSampFieldsFieldPolicy; - }; - ChangeOwnerKeySumFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | ChangeOwnerKeySumFieldsKeySpecifier | (() => undefined | ChangeOwnerKeySumFieldsKeySpecifier); - fields?: ChangeOwnerKeySumFieldsFieldPolicy; - }; - ChangeOwnerKeyVarPopFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | ChangeOwnerKeyVarPopFieldsKeySpecifier | (() => undefined | ChangeOwnerKeyVarPopFieldsKeySpecifier); - fields?: ChangeOwnerKeyVarPopFieldsFieldPolicy; - }; - ChangeOwnerKeyVarSampFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | ChangeOwnerKeyVarSampFieldsKeySpecifier | (() => undefined | ChangeOwnerKeyVarSampFieldsKeySpecifier); - fields?: ChangeOwnerKeyVarSampFieldsFieldPolicy; - }; - ChangeOwnerKeyVarianceFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | ChangeOwnerKeyVarianceFieldsKeySpecifier | (() => undefined | ChangeOwnerKeyVarianceFieldsKeySpecifier); - fields?: ChangeOwnerKeyVarianceFieldsFieldPolicy; - }; - Event?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | EventKeySpecifier | (() => undefined | EventKeySpecifier); - fields?: EventFieldPolicy; - }; - EventAggregate?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | EventAggregateKeySpecifier | (() => undefined | EventAggregateKeySpecifier); - fields?: EventAggregateFieldPolicy; - }; - EventAggregateFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | EventAggregateFieldsKeySpecifier | (() => undefined | EventAggregateFieldsKeySpecifier); - fields?: EventAggregateFieldsFieldPolicy; - }; - EventAvgFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | EventAvgFieldsKeySpecifier | (() => undefined | EventAvgFieldsKeySpecifier); - fields?: EventAvgFieldsFieldPolicy; - }; - EventConnection?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | EventConnectionKeySpecifier | (() => undefined | EventConnectionKeySpecifier); - fields?: EventConnectionFieldPolicy; - }; - EventEdge?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | EventEdgeKeySpecifier | (() => undefined | EventEdgeKeySpecifier); - fields?: EventEdgeFieldPolicy; - }; - EventMaxFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | EventMaxFieldsKeySpecifier | (() => undefined | EventMaxFieldsKeySpecifier); - fields?: EventMaxFieldsFieldPolicy; - }; - EventMinFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | EventMinFieldsKeySpecifier | (() => undefined | EventMinFieldsKeySpecifier); - fields?: EventMinFieldsFieldPolicy; - }; - EventStddevFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | EventStddevFieldsKeySpecifier | (() => undefined | EventStddevFieldsKeySpecifier); - fields?: EventStddevFieldsFieldPolicy; - }; - EventStddevPopFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | EventStddevPopFieldsKeySpecifier | (() => undefined | EventStddevPopFieldsKeySpecifier); - fields?: EventStddevPopFieldsFieldPolicy; - }; - EventStddevSampFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | EventStddevSampFieldsKeySpecifier | (() => undefined | EventStddevSampFieldsKeySpecifier); - fields?: EventStddevSampFieldsFieldPolicy; - }; - EventSumFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | EventSumFieldsKeySpecifier | (() => undefined | EventSumFieldsKeySpecifier); - fields?: EventSumFieldsFieldPolicy; - }; - EventVarPopFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | EventVarPopFieldsKeySpecifier | (() => undefined | EventVarPopFieldsKeySpecifier); - fields?: EventVarPopFieldsFieldPolicy; - }; - EventVarSampFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | EventVarSampFieldsKeySpecifier | (() => undefined | EventVarSampFieldsKeySpecifier); - fields?: EventVarSampFieldsFieldPolicy; - }; - EventVarianceFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | EventVarianceFieldsKeySpecifier | (() => undefined | EventVarianceFieldsKeySpecifier); - fields?: EventVarianceFieldsFieldPolicy; - }; - Extrinsic?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | ExtrinsicKeySpecifier | (() => undefined | ExtrinsicKeySpecifier); - fields?: ExtrinsicFieldPolicy; - }; - ExtrinsicAggregate?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | ExtrinsicAggregateKeySpecifier | (() => undefined | ExtrinsicAggregateKeySpecifier); - fields?: ExtrinsicAggregateFieldPolicy; - }; - ExtrinsicAggregateFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | ExtrinsicAggregateFieldsKeySpecifier | (() => undefined | ExtrinsicAggregateFieldsKeySpecifier); - fields?: ExtrinsicAggregateFieldsFieldPolicy; - }; - ExtrinsicAvgFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | ExtrinsicAvgFieldsKeySpecifier | (() => undefined | ExtrinsicAvgFieldsKeySpecifier); - fields?: ExtrinsicAvgFieldsFieldPolicy; - }; - ExtrinsicConnection?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | ExtrinsicConnectionKeySpecifier | (() => undefined | ExtrinsicConnectionKeySpecifier); - fields?: ExtrinsicConnectionFieldPolicy; - }; - ExtrinsicEdge?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | ExtrinsicEdgeKeySpecifier | (() => undefined | ExtrinsicEdgeKeySpecifier); - fields?: ExtrinsicEdgeFieldPolicy; - }; - ExtrinsicMaxFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | ExtrinsicMaxFieldsKeySpecifier | (() => undefined | ExtrinsicMaxFieldsKeySpecifier); - fields?: ExtrinsicMaxFieldsFieldPolicy; - }; - ExtrinsicMinFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | ExtrinsicMinFieldsKeySpecifier | (() => undefined | ExtrinsicMinFieldsKeySpecifier); - fields?: ExtrinsicMinFieldsFieldPolicy; - }; - ExtrinsicStddevFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | ExtrinsicStddevFieldsKeySpecifier | (() => undefined | ExtrinsicStddevFieldsKeySpecifier); - fields?: ExtrinsicStddevFieldsFieldPolicy; - }; - ExtrinsicStddevPopFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | ExtrinsicStddevPopFieldsKeySpecifier | (() => undefined | ExtrinsicStddevPopFieldsKeySpecifier); - fields?: ExtrinsicStddevPopFieldsFieldPolicy; - }; - ExtrinsicStddevSampFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | ExtrinsicStddevSampFieldsKeySpecifier | (() => undefined | ExtrinsicStddevSampFieldsKeySpecifier); - fields?: ExtrinsicStddevSampFieldsFieldPolicy; - }; - ExtrinsicSumFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | ExtrinsicSumFieldsKeySpecifier | (() => undefined | ExtrinsicSumFieldsKeySpecifier); - fields?: ExtrinsicSumFieldsFieldPolicy; - }; - ExtrinsicVarPopFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | ExtrinsicVarPopFieldsKeySpecifier | (() => undefined | ExtrinsicVarPopFieldsKeySpecifier); - fields?: ExtrinsicVarPopFieldsFieldPolicy; - }; - ExtrinsicVarSampFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | ExtrinsicVarSampFieldsKeySpecifier | (() => undefined | ExtrinsicVarSampFieldsKeySpecifier); - fields?: ExtrinsicVarSampFieldsFieldPolicy; - }; - ExtrinsicVarianceFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | ExtrinsicVarianceFieldsKeySpecifier | (() => undefined | ExtrinsicVarianceFieldsKeySpecifier); - fields?: ExtrinsicVarianceFieldsFieldPolicy; - }; - Identity?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | IdentityKeySpecifier | (() => undefined | IdentityKeySpecifier); - fields?: IdentityFieldPolicy; - }; - IdentityConnection?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | IdentityConnectionKeySpecifier | (() => undefined | IdentityConnectionKeySpecifier); - fields?: IdentityConnectionFieldPolicy; - }; - IdentityEdge?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | IdentityEdgeKeySpecifier | (() => undefined | IdentityEdgeKeySpecifier); - fields?: IdentityEdgeFieldPolicy; - }; - ItemsCounter?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | ItemsCounterKeySpecifier | (() => undefined | ItemsCounterKeySpecifier); - fields?: ItemsCounterFieldPolicy; - }; - ItemsCounterConnection?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | ItemsCounterConnectionKeySpecifier | (() => undefined | ItemsCounterConnectionKeySpecifier); - fields?: ItemsCounterConnectionFieldPolicy; - }; - ItemsCounterEdge?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | ItemsCounterEdgeKeySpecifier | (() => undefined | ItemsCounterEdgeKeySpecifier); - fields?: ItemsCounterEdgeFieldPolicy; - }; - MembershipEvent?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | MembershipEventKeySpecifier | (() => undefined | MembershipEventKeySpecifier); - fields?: MembershipEventFieldPolicy; - }; - MembershipEventAggregate?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | MembershipEventAggregateKeySpecifier | (() => undefined | MembershipEventAggregateKeySpecifier); - fields?: MembershipEventAggregateFieldPolicy; - }; - MembershipEventAggregateFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | MembershipEventAggregateFieldsKeySpecifier | (() => undefined | MembershipEventAggregateFieldsKeySpecifier); - fields?: MembershipEventAggregateFieldsFieldPolicy; - }; - MembershipEventAvgFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | MembershipEventAvgFieldsKeySpecifier | (() => undefined | MembershipEventAvgFieldsKeySpecifier); - fields?: MembershipEventAvgFieldsFieldPolicy; - }; - MembershipEventConnection?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | MembershipEventConnectionKeySpecifier | (() => undefined | MembershipEventConnectionKeySpecifier); - fields?: MembershipEventConnectionFieldPolicy; - }; - MembershipEventEdge?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | MembershipEventEdgeKeySpecifier | (() => undefined | MembershipEventEdgeKeySpecifier); - fields?: MembershipEventEdgeFieldPolicy; - }; - MembershipEventMaxFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | MembershipEventMaxFieldsKeySpecifier | (() => undefined | MembershipEventMaxFieldsKeySpecifier); - fields?: MembershipEventMaxFieldsFieldPolicy; - }; - MembershipEventMinFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | MembershipEventMinFieldsKeySpecifier | (() => undefined | MembershipEventMinFieldsKeySpecifier); - fields?: MembershipEventMinFieldsFieldPolicy; - }; - MembershipEventStddevFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | MembershipEventStddevFieldsKeySpecifier | (() => undefined | MembershipEventStddevFieldsKeySpecifier); - fields?: MembershipEventStddevFieldsFieldPolicy; - }; - MembershipEventStddevPopFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | MembershipEventStddevPopFieldsKeySpecifier | (() => undefined | MembershipEventStddevPopFieldsKeySpecifier); - fields?: MembershipEventStddevPopFieldsFieldPolicy; - }; - MembershipEventStddevSampFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | MembershipEventStddevSampFieldsKeySpecifier | (() => undefined | MembershipEventStddevSampFieldsKeySpecifier); - fields?: MembershipEventStddevSampFieldsFieldPolicy; - }; - MembershipEventSumFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | MembershipEventSumFieldsKeySpecifier | (() => undefined | MembershipEventSumFieldsKeySpecifier); - fields?: MembershipEventSumFieldsFieldPolicy; - }; - MembershipEventVarPopFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | MembershipEventVarPopFieldsKeySpecifier | (() => undefined | MembershipEventVarPopFieldsKeySpecifier); - fields?: MembershipEventVarPopFieldsFieldPolicy; - }; - MembershipEventVarSampFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | MembershipEventVarSampFieldsKeySpecifier | (() => undefined | MembershipEventVarSampFieldsKeySpecifier); - fields?: MembershipEventVarSampFieldsFieldPolicy; - }; - MembershipEventVarianceFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | MembershipEventVarianceFieldsKeySpecifier | (() => undefined | MembershipEventVarianceFieldsKeySpecifier); - fields?: MembershipEventVarianceFieldsFieldPolicy; - }; - Node?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | NodeKeySpecifier | (() => undefined | NodeKeySpecifier); - fields?: NodeFieldPolicy; - }; - PageInfo?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | PageInfoKeySpecifier | (() => undefined | PageInfoKeySpecifier); - fields?: PageInfoFieldPolicy; - }; - SmithCert?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | SmithCertKeySpecifier | (() => undefined | SmithCertKeySpecifier); - fields?: SmithCertFieldPolicy; - }; - SmithCertAggregate?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | SmithCertAggregateKeySpecifier | (() => undefined | SmithCertAggregateKeySpecifier); - fields?: SmithCertAggregateFieldPolicy; - }; - SmithCertAggregateFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | SmithCertAggregateFieldsKeySpecifier | (() => undefined | SmithCertAggregateFieldsKeySpecifier); - fields?: SmithCertAggregateFieldsFieldPolicy; - }; - SmithCertAvgFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | SmithCertAvgFieldsKeySpecifier | (() => undefined | SmithCertAvgFieldsKeySpecifier); - fields?: SmithCertAvgFieldsFieldPolicy; - }; - SmithCertConnection?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | SmithCertConnectionKeySpecifier | (() => undefined | SmithCertConnectionKeySpecifier); - fields?: SmithCertConnectionFieldPolicy; - }; - SmithCertEdge?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | SmithCertEdgeKeySpecifier | (() => undefined | SmithCertEdgeKeySpecifier); - fields?: SmithCertEdgeFieldPolicy; - }; - SmithCertMaxFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | SmithCertMaxFieldsKeySpecifier | (() => undefined | SmithCertMaxFieldsKeySpecifier); - fields?: SmithCertMaxFieldsFieldPolicy; - }; - SmithCertMinFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | SmithCertMinFieldsKeySpecifier | (() => undefined | SmithCertMinFieldsKeySpecifier); - fields?: SmithCertMinFieldsFieldPolicy; - }; - SmithCertStddevFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | SmithCertStddevFieldsKeySpecifier | (() => undefined | SmithCertStddevFieldsKeySpecifier); - fields?: SmithCertStddevFieldsFieldPolicy; - }; - SmithCertStddevPopFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | SmithCertStddevPopFieldsKeySpecifier | (() => undefined | SmithCertStddevPopFieldsKeySpecifier); - fields?: SmithCertStddevPopFieldsFieldPolicy; - }; - SmithCertStddevSampFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | SmithCertStddevSampFieldsKeySpecifier | (() => undefined | SmithCertStddevSampFieldsKeySpecifier); - fields?: SmithCertStddevSampFieldsFieldPolicy; - }; - SmithCertSumFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | SmithCertSumFieldsKeySpecifier | (() => undefined | SmithCertSumFieldsKeySpecifier); - fields?: SmithCertSumFieldsFieldPolicy; - }; - SmithCertVarPopFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | SmithCertVarPopFieldsKeySpecifier | (() => undefined | SmithCertVarPopFieldsKeySpecifier); - fields?: SmithCertVarPopFieldsFieldPolicy; - }; - SmithCertVarSampFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | SmithCertVarSampFieldsKeySpecifier | (() => undefined | SmithCertVarSampFieldsKeySpecifier); - fields?: SmithCertVarSampFieldsFieldPolicy; - }; - SmithCertVarianceFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | SmithCertVarianceFieldsKeySpecifier | (() => undefined | SmithCertVarianceFieldsKeySpecifier); - fields?: SmithCertVarianceFieldsFieldPolicy; - }; - Transfer?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | TransferKeySpecifier | (() => undefined | TransferKeySpecifier); - fields?: TransferFieldPolicy; - }; - TransferAggregate?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | TransferAggregateKeySpecifier | (() => undefined | TransferAggregateKeySpecifier); - fields?: TransferAggregateFieldPolicy; - }; - TransferAggregateFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | TransferAggregateFieldsKeySpecifier | (() => undefined | TransferAggregateFieldsKeySpecifier); - fields?: TransferAggregateFieldsFieldPolicy; - }; - TransferAvgFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | TransferAvgFieldsKeySpecifier | (() => undefined | TransferAvgFieldsKeySpecifier); - fields?: TransferAvgFieldsFieldPolicy; - }; - TransferConnection?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | TransferConnectionKeySpecifier | (() => undefined | TransferConnectionKeySpecifier); - fields?: TransferConnectionFieldPolicy; - }; - TransferEdge?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | TransferEdgeKeySpecifier | (() => undefined | TransferEdgeKeySpecifier); - fields?: TransferEdgeFieldPolicy; - }; - TransferMaxFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | TransferMaxFieldsKeySpecifier | (() => undefined | TransferMaxFieldsKeySpecifier); - fields?: TransferMaxFieldsFieldPolicy; - }; - TransferMinFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | TransferMinFieldsKeySpecifier | (() => undefined | TransferMinFieldsKeySpecifier); - fields?: TransferMinFieldsFieldPolicy; - }; - TransferStddevFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | TransferStddevFieldsKeySpecifier | (() => undefined | TransferStddevFieldsKeySpecifier); - fields?: TransferStddevFieldsFieldPolicy; - }; - TransferStddevPopFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | TransferStddevPopFieldsKeySpecifier | (() => undefined | TransferStddevPopFieldsKeySpecifier); - fields?: TransferStddevPopFieldsFieldPolicy; - }; - TransferStddevSampFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | TransferStddevSampFieldsKeySpecifier | (() => undefined | TransferStddevSampFieldsKeySpecifier); - fields?: TransferStddevSampFieldsFieldPolicy; - }; - TransferSumFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | TransferSumFieldsKeySpecifier | (() => undefined | TransferSumFieldsKeySpecifier); - fields?: TransferSumFieldsFieldPolicy; - }; - TransferVarPopFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | TransferVarPopFieldsKeySpecifier | (() => undefined | TransferVarPopFieldsKeySpecifier); - fields?: TransferVarPopFieldsFieldPolicy; - }; - TransferVarSampFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | TransferVarSampFieldsKeySpecifier | (() => undefined | TransferVarSampFieldsKeySpecifier); - fields?: TransferVarSampFieldsFieldPolicy; - }; - TransferVarianceFields?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | TransferVarianceFieldsKeySpecifier | (() => undefined | TransferVarianceFieldsKeySpecifier); - fields?: TransferVarianceFieldsFieldPolicy; - }; - UdHistory?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | UdHistoryKeySpecifier | (() => undefined | UdHistoryKeySpecifier); - fields?: UdHistoryFieldPolicy; - }; - UdHistoryConnection?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | UdHistoryConnectionKeySpecifier | (() => undefined | UdHistoryConnectionKeySpecifier); - fields?: UdHistoryConnectionFieldPolicy; - }; - UdHistoryEdge?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | UdHistoryEdgeKeySpecifier | (() => undefined | UdHistoryEdgeKeySpecifier); - fields?: UdHistoryEdgeFieldPolicy; - }; - UdReeval?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | UdReevalKeySpecifier | (() => undefined | UdReevalKeySpecifier); - fields?: UdReevalFieldPolicy; - }; - UdReevalConnection?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | UdReevalConnectionKeySpecifier | (() => undefined | UdReevalConnectionKeySpecifier); - fields?: UdReevalConnectionFieldPolicy; - }; - UdReevalEdge?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | UdReevalEdgeKeySpecifier | (() => undefined | UdReevalEdgeKeySpecifier); - fields?: UdReevalEdgeFieldPolicy; - }; - UniversalDividend?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | UniversalDividendKeySpecifier | (() => undefined | UniversalDividendKeySpecifier); - fields?: UniversalDividendFieldPolicy; - }; - UniversalDividendConnection?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | UniversalDividendConnectionKeySpecifier | (() => undefined | UniversalDividendConnectionKeySpecifier); - fields?: UniversalDividendConnectionFieldPolicy; - }; - UniversalDividendEdge?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | UniversalDividendEdgeKeySpecifier | (() => undefined | UniversalDividendEdgeKeySpecifier); - fields?: UniversalDividendEdgeFieldPolicy; - }; - query_root?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | query_rootKeySpecifier | (() => undefined | query_rootKeySpecifier); - fields?: query_rootFieldPolicy; - }; - subscription_root?: Omit<TypePolicy, 'fields' | 'keyFields'> & { - keyFields?: false | subscription_rootKeySpecifier | (() => undefined | subscription_rootKeySpecifier); - fields?: subscription_rootFieldPolicy; - }; -}; -export type TypedTypePolicies = StrictTypedTypePolicies & TypePolicies; diff --git a/src/app/account/account.queries.graphql b/src/app/network/indexer/indexer-account.gql similarity index 91% rename from src/app/account/account.queries.graphql rename to src/app/network/indexer/indexer-account.gql index 862e9fb9108aa6880fffe654a1723034fd81f0df..fced4b5d137376f8e621b7b14ecdefb8ece17571 100644 --- a/src/app/account/account.queries.graphql +++ b/src/app/network/indexer/indexer-account.gql @@ -2,11 +2,14 @@ fragment LightIdentity on Identity { id index name - isMember accountId + status + isMember + createdOn membershipHistory { __typename id + eventType } } diff --git a/src/app/block/block.queries.graphql b/src/app/network/indexer/indexer-block.gql similarity index 100% rename from src/app/block/block.queries.graphql rename to src/app/network/indexer/indexer-block.gql diff --git a/src/app/certification/history/cert-history.queries.graphql b/src/app/network/indexer/indexer-certification.gql similarity index 84% rename from src/app/certification/history/cert-history.queries.graphql rename to src/app/network/indexer/indexer-certification.gql index 68e2e928c67649dafacd71ddb06711eff66a60b5..98a04d2e805dc6c1faed64520a9541ca97f6084b 100644 --- a/src/app/certification/history/cert-history.queries.graphql +++ b/src/app/network/indexer/indexer-certification.gql @@ -4,6 +4,7 @@ fragment LightCert on Cert { id expireOn createdOn + updatedOn } fragment Cert on Cert { ...LightCert @@ -58,12 +59,12 @@ query CertsConnectionByIssuer($address: String!, $first: Int!, $orderBy: [CertOr identityConnection(where: { accountId: { _eq: $address } }) { edges { node { - aggregate: certIssuedAggregate { + aggregate: certIssuedAggregate(where: {isActive: {_eq: true}}) { aggregate { count } } - connection: certIssued_connection(first: $first, after: $after, orderBy: $orderBy) { + connection: certIssued_connection(first: $first, after: $after, orderBy: $orderBy, where: {isActive: {_eq: true}}) { ...CertIssuedConnection } } @@ -75,12 +76,12 @@ query CertsConnectionByReceiver($address: String!, $first: Int!, $orderBy: [Cert identityConnection(where: { accountId: { _eq: $address } }) { edges { node { - aggregate: certReceivedAggregate { + aggregate: certReceivedAggregate(where: {isActive: {_eq: true}}) { aggregate { count } } - connection: certReceived_connection(first: $first, after: $after, orderBy: $orderBy) { + connection: certReceived_connection(first: $first, after: $after, orderBy: $orderBy, where: {isActive: {_eq: true}}) { ...CertReceivedConnection } } diff --git a/src/app/network/indexer/indexer-helpers.generated.ts b/src/app/network/indexer/indexer-helpers.generated.ts new file mode 100644 index 0000000000000000000000000000000000000000..39ddea059e5d3fabb074796af5e463f827395f0c --- /dev/null +++ b/src/app/network/indexer/indexer-helpers.generated.ts @@ -0,0 +1,1748 @@ +// Auto-generated via `npx graphql-codegen`, do not edit +/* eslint-disable */ +import { FieldPolicy, FieldReadFunction, TypePolicies, TypePolicy } from '@apollo/client/cache'; +export type AccountKeySpecifier = ('id' | 'identity' | 'linkedIdentity' | 'linkedIdentityId' | 'transfersIssued' | 'transfersIssuedAggregate' | 'transfersIssued_connection' | 'transfersReceived' | 'transfersReceivedAggregate' | 'transfersReceived_connection' | 'wasIdentity' | 'wasIdentityAggregate' | 'wasIdentity_connection' | AccountKeySpecifier)[]; +export type AccountFieldPolicy = { + id?: FieldPolicy<any> | FieldReadFunction<any>, + identity?: FieldPolicy<any> | FieldReadFunction<any>, + linkedIdentity?: FieldPolicy<any> | FieldReadFunction<any>, + linkedIdentityId?: FieldPolicy<any> | FieldReadFunction<any>, + transfersIssued?: FieldPolicy<any> | FieldReadFunction<any>, + transfersIssuedAggregate?: FieldPolicy<any> | FieldReadFunction<any>, + transfersIssued_connection?: FieldPolicy<any> | FieldReadFunction<any>, + transfersReceived?: FieldPolicy<any> | FieldReadFunction<any>, + transfersReceivedAggregate?: FieldPolicy<any> | FieldReadFunction<any>, + transfersReceived_connection?: FieldPolicy<any> | FieldReadFunction<any>, + wasIdentity?: FieldPolicy<any> | FieldReadFunction<any>, + wasIdentityAggregate?: FieldPolicy<any> | FieldReadFunction<any>, + wasIdentity_connection?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type AccountAggregateKeySpecifier = ('aggregate' | 'nodes' | AccountAggregateKeySpecifier)[]; +export type AccountAggregateFieldPolicy = { + aggregate?: FieldPolicy<any> | FieldReadFunction<any>, + nodes?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type AccountAggregateFieldsKeySpecifier = ('count' | 'max' | 'min' | AccountAggregateFieldsKeySpecifier)[]; +export type AccountAggregateFieldsFieldPolicy = { + count?: FieldPolicy<any> | FieldReadFunction<any>, + max?: FieldPolicy<any> | FieldReadFunction<any>, + min?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type AccountConnectionKeySpecifier = ('edges' | 'pageInfo' | AccountConnectionKeySpecifier)[]; +export type AccountConnectionFieldPolicy = { + edges?: FieldPolicy<any> | FieldReadFunction<any>, + pageInfo?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type AccountEdgeKeySpecifier = ('cursor' | 'node' | AccountEdgeKeySpecifier)[]; +export type AccountEdgeFieldPolicy = { + cursor?: FieldPolicy<any> | FieldReadFunction<any>, + node?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type AccountMaxFieldsKeySpecifier = ('id' | 'linkedIdentityId' | AccountMaxFieldsKeySpecifier)[]; +export type AccountMaxFieldsFieldPolicy = { + id?: FieldPolicy<any> | FieldReadFunction<any>, + linkedIdentityId?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type AccountMinFieldsKeySpecifier = ('id' | 'linkedIdentityId' | AccountMinFieldsKeySpecifier)[]; +export type AccountMinFieldsFieldPolicy = { + id?: FieldPolicy<any> | FieldReadFunction<any>, + linkedIdentityId?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type BlockKeySpecifier = ('calls' | 'callsAggregate' | 'callsCount' | 'calls_connection' | 'events' | 'eventsAggregate' | 'eventsCount' | 'events_connection' | 'extrinsics' | 'extrinsicsAggregate' | 'extrinsicsCount' | 'extrinsics_connection' | 'extrinsicsicRoot' | 'hash' | 'height' | 'id' | 'implName' | 'implVersion' | 'parentHash' | 'specName' | 'specVersion' | 'stateRoot' | 'timestamp' | 'validator' | BlockKeySpecifier)[]; +export type BlockFieldPolicy = { + calls?: FieldPolicy<any> | FieldReadFunction<any>, + callsAggregate?: FieldPolicy<any> | FieldReadFunction<any>, + callsCount?: FieldPolicy<any> | FieldReadFunction<any>, + calls_connection?: FieldPolicy<any> | FieldReadFunction<any>, + events?: FieldPolicy<any> | FieldReadFunction<any>, + eventsAggregate?: FieldPolicy<any> | FieldReadFunction<any>, + eventsCount?: FieldPolicy<any> | FieldReadFunction<any>, + events_connection?: FieldPolicy<any> | FieldReadFunction<any>, + extrinsics?: FieldPolicy<any> | FieldReadFunction<any>, + extrinsicsAggregate?: FieldPolicy<any> | FieldReadFunction<any>, + extrinsicsCount?: FieldPolicy<any> | FieldReadFunction<any>, + extrinsics_connection?: FieldPolicy<any> | FieldReadFunction<any>, + extrinsicsicRoot?: FieldPolicy<any> | FieldReadFunction<any>, + hash?: FieldPolicy<any> | FieldReadFunction<any>, + height?: FieldPolicy<any> | FieldReadFunction<any>, + id?: FieldPolicy<any> | FieldReadFunction<any>, + implName?: FieldPolicy<any> | FieldReadFunction<any>, + implVersion?: FieldPolicy<any> | FieldReadFunction<any>, + parentHash?: FieldPolicy<any> | FieldReadFunction<any>, + specName?: FieldPolicy<any> | FieldReadFunction<any>, + specVersion?: FieldPolicy<any> | FieldReadFunction<any>, + stateRoot?: FieldPolicy<any> | FieldReadFunction<any>, + timestamp?: FieldPolicy<any> | FieldReadFunction<any>, + validator?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type BlockConnectionKeySpecifier = ('edges' | 'pageInfo' | BlockConnectionKeySpecifier)[]; +export type BlockConnectionFieldPolicy = { + edges?: FieldPolicy<any> | FieldReadFunction<any>, + pageInfo?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type BlockEdgeKeySpecifier = ('cursor' | 'node' | BlockEdgeKeySpecifier)[]; +export type BlockEdgeFieldPolicy = { + cursor?: FieldPolicy<any> | FieldReadFunction<any>, + node?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type CallKeySpecifier = ('address' | 'args' | 'argsStr' | 'block' | 'blockId' | 'error' | 'events' | 'eventsAggregate' | 'events_connection' | 'extrinsic' | 'extrinsicId' | 'id' | 'name' | 'pallet' | 'parent' | 'parentId' | 'subcalls' | 'subcallsAggregate' | 'subcalls_connection' | 'success' | CallKeySpecifier)[]; +export type CallFieldPolicy = { + address?: FieldPolicy<any> | FieldReadFunction<any>, + args?: FieldPolicy<any> | FieldReadFunction<any>, + argsStr?: FieldPolicy<any> | FieldReadFunction<any>, + block?: FieldPolicy<any> | FieldReadFunction<any>, + blockId?: FieldPolicy<any> | FieldReadFunction<any>, + error?: FieldPolicy<any> | FieldReadFunction<any>, + events?: FieldPolicy<any> | FieldReadFunction<any>, + eventsAggregate?: FieldPolicy<any> | FieldReadFunction<any>, + events_connection?: FieldPolicy<any> | FieldReadFunction<any>, + extrinsic?: FieldPolicy<any> | FieldReadFunction<any>, + extrinsicId?: FieldPolicy<any> | FieldReadFunction<any>, + id?: FieldPolicy<any> | FieldReadFunction<any>, + name?: FieldPolicy<any> | FieldReadFunction<any>, + pallet?: FieldPolicy<any> | FieldReadFunction<any>, + parent?: FieldPolicy<any> | FieldReadFunction<any>, + parentId?: FieldPolicy<any> | FieldReadFunction<any>, + subcalls?: FieldPolicy<any> | FieldReadFunction<any>, + subcallsAggregate?: FieldPolicy<any> | FieldReadFunction<any>, + subcalls_connection?: FieldPolicy<any> | FieldReadFunction<any>, + success?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type CallAggregateKeySpecifier = ('aggregate' | 'nodes' | CallAggregateKeySpecifier)[]; +export type CallAggregateFieldPolicy = { + aggregate?: FieldPolicy<any> | FieldReadFunction<any>, + nodes?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type CallAggregateFieldsKeySpecifier = ('count' | 'max' | 'min' | CallAggregateFieldsKeySpecifier)[]; +export type CallAggregateFieldsFieldPolicy = { + count?: FieldPolicy<any> | FieldReadFunction<any>, + max?: FieldPolicy<any> | FieldReadFunction<any>, + min?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type CallConnectionKeySpecifier = ('edges' | 'pageInfo' | CallConnectionKeySpecifier)[]; +export type CallConnectionFieldPolicy = { + edges?: FieldPolicy<any> | FieldReadFunction<any>, + pageInfo?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type CallEdgeKeySpecifier = ('cursor' | 'node' | CallEdgeKeySpecifier)[]; +export type CallEdgeFieldPolicy = { + cursor?: FieldPolicy<any> | FieldReadFunction<any>, + node?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type CallMaxFieldsKeySpecifier = ('address' | 'argsStr' | 'blockId' | 'extrinsicId' | 'id' | 'name' | 'pallet' | 'parentId' | CallMaxFieldsKeySpecifier)[]; +export type CallMaxFieldsFieldPolicy = { + address?: FieldPolicy<any> | FieldReadFunction<any>, + argsStr?: FieldPolicy<any> | FieldReadFunction<any>, + blockId?: FieldPolicy<any> | FieldReadFunction<any>, + extrinsicId?: FieldPolicy<any> | FieldReadFunction<any>, + id?: FieldPolicy<any> | FieldReadFunction<any>, + name?: FieldPolicy<any> | FieldReadFunction<any>, + pallet?: FieldPolicy<any> | FieldReadFunction<any>, + parentId?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type CallMinFieldsKeySpecifier = ('address' | 'argsStr' | 'blockId' | 'extrinsicId' | 'id' | 'name' | 'pallet' | 'parentId' | CallMinFieldsKeySpecifier)[]; +export type CallMinFieldsFieldPolicy = { + address?: FieldPolicy<any> | FieldReadFunction<any>, + argsStr?: FieldPolicy<any> | FieldReadFunction<any>, + blockId?: FieldPolicy<any> | FieldReadFunction<any>, + extrinsicId?: FieldPolicy<any> | FieldReadFunction<any>, + id?: FieldPolicy<any> | FieldReadFunction<any>, + name?: FieldPolicy<any> | FieldReadFunction<any>, + pallet?: FieldPolicy<any> | FieldReadFunction<any>, + parentId?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type CertKeySpecifier = ('certHistory' | 'certHistoryAggregate' | 'certHistory_connection' | 'createdIn' | 'createdInId' | 'createdOn' | 'expireOn' | 'id' | 'isActive' | 'issuer' | 'issuerId' | 'receiver' | 'receiverId' | 'updatedIn' | 'updatedInId' | 'updatedOn' | CertKeySpecifier)[]; +export type CertFieldPolicy = { + certHistory?: FieldPolicy<any> | FieldReadFunction<any>, + certHistoryAggregate?: FieldPolicy<any> | FieldReadFunction<any>, + certHistory_connection?: FieldPolicy<any> | FieldReadFunction<any>, + createdIn?: FieldPolicy<any> | FieldReadFunction<any>, + createdInId?: FieldPolicy<any> | FieldReadFunction<any>, + createdOn?: FieldPolicy<any> | FieldReadFunction<any>, + expireOn?: FieldPolicy<any> | FieldReadFunction<any>, + id?: FieldPolicy<any> | FieldReadFunction<any>, + isActive?: FieldPolicy<any> | FieldReadFunction<any>, + issuer?: FieldPolicy<any> | FieldReadFunction<any>, + issuerId?: FieldPolicy<any> | FieldReadFunction<any>, + receiver?: FieldPolicy<any> | FieldReadFunction<any>, + receiverId?: FieldPolicy<any> | FieldReadFunction<any>, + updatedIn?: FieldPolicy<any> | FieldReadFunction<any>, + updatedInId?: FieldPolicy<any> | FieldReadFunction<any>, + updatedOn?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type CertAggregateKeySpecifier = ('aggregate' | 'nodes' | CertAggregateKeySpecifier)[]; +export type CertAggregateFieldPolicy = { + aggregate?: FieldPolicy<any> | FieldReadFunction<any>, + nodes?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type CertAggregateFieldsKeySpecifier = ('avg' | 'count' | 'max' | 'min' | 'stddev' | 'stddevPop' | 'stddevSamp' | 'sum' | 'varPop' | 'varSamp' | 'variance' | CertAggregateFieldsKeySpecifier)[]; +export type CertAggregateFieldsFieldPolicy = { + avg?: FieldPolicy<any> | FieldReadFunction<any>, + count?: FieldPolicy<any> | FieldReadFunction<any>, + max?: FieldPolicy<any> | FieldReadFunction<any>, + min?: FieldPolicy<any> | FieldReadFunction<any>, + stddev?: FieldPolicy<any> | FieldReadFunction<any>, + stddevPop?: FieldPolicy<any> | FieldReadFunction<any>, + stddevSamp?: FieldPolicy<any> | FieldReadFunction<any>, + sum?: FieldPolicy<any> | FieldReadFunction<any>, + varPop?: FieldPolicy<any> | FieldReadFunction<any>, + varSamp?: FieldPolicy<any> | FieldReadFunction<any>, + variance?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type CertAvgFieldsKeySpecifier = ('createdOn' | 'expireOn' | 'updatedOn' | CertAvgFieldsKeySpecifier)[]; +export type CertAvgFieldsFieldPolicy = { + createdOn?: FieldPolicy<any> | FieldReadFunction<any>, + expireOn?: FieldPolicy<any> | FieldReadFunction<any>, + updatedOn?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type CertConnectionKeySpecifier = ('edges' | 'pageInfo' | CertConnectionKeySpecifier)[]; +export type CertConnectionFieldPolicy = { + edges?: FieldPolicy<any> | FieldReadFunction<any>, + pageInfo?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type CertEdgeKeySpecifier = ('cursor' | 'node' | CertEdgeKeySpecifier)[]; +export type CertEdgeFieldPolicy = { + cursor?: FieldPolicy<any> | FieldReadFunction<any>, + node?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type CertEventKeySpecifier = ('blockNumber' | 'cert' | 'certId' | 'event' | 'eventId' | 'eventType' | 'id' | CertEventKeySpecifier)[]; +export type CertEventFieldPolicy = { + blockNumber?: FieldPolicy<any> | FieldReadFunction<any>, + cert?: FieldPolicy<any> | FieldReadFunction<any>, + certId?: FieldPolicy<any> | FieldReadFunction<any>, + event?: FieldPolicy<any> | FieldReadFunction<any>, + eventId?: FieldPolicy<any> | FieldReadFunction<any>, + eventType?: FieldPolicy<any> | FieldReadFunction<any>, + id?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type CertEventAggregateKeySpecifier = ('aggregate' | 'nodes' | CertEventAggregateKeySpecifier)[]; +export type CertEventAggregateFieldPolicy = { + aggregate?: FieldPolicy<any> | FieldReadFunction<any>, + nodes?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type CertEventAggregateFieldsKeySpecifier = ('avg' | 'count' | 'max' | 'min' | 'stddev' | 'stddevPop' | 'stddevSamp' | 'sum' | 'varPop' | 'varSamp' | 'variance' | CertEventAggregateFieldsKeySpecifier)[]; +export type CertEventAggregateFieldsFieldPolicy = { + avg?: FieldPolicy<any> | FieldReadFunction<any>, + count?: FieldPolicy<any> | FieldReadFunction<any>, + max?: FieldPolicy<any> | FieldReadFunction<any>, + min?: FieldPolicy<any> | FieldReadFunction<any>, + stddev?: FieldPolicy<any> | FieldReadFunction<any>, + stddevPop?: FieldPolicy<any> | FieldReadFunction<any>, + stddevSamp?: FieldPolicy<any> | FieldReadFunction<any>, + sum?: FieldPolicy<any> | FieldReadFunction<any>, + varPop?: FieldPolicy<any> | FieldReadFunction<any>, + varSamp?: FieldPolicy<any> | FieldReadFunction<any>, + variance?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type CertEventAvgFieldsKeySpecifier = ('blockNumber' | CertEventAvgFieldsKeySpecifier)[]; +export type CertEventAvgFieldsFieldPolicy = { + blockNumber?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type CertEventConnectionKeySpecifier = ('edges' | 'pageInfo' | CertEventConnectionKeySpecifier)[]; +export type CertEventConnectionFieldPolicy = { + edges?: FieldPolicy<any> | FieldReadFunction<any>, + pageInfo?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type CertEventEdgeKeySpecifier = ('cursor' | 'node' | CertEventEdgeKeySpecifier)[]; +export type CertEventEdgeFieldPolicy = { + cursor?: FieldPolicy<any> | FieldReadFunction<any>, + node?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type CertEventMaxFieldsKeySpecifier = ('blockNumber' | 'certId' | 'eventId' | 'id' | CertEventMaxFieldsKeySpecifier)[]; +export type CertEventMaxFieldsFieldPolicy = { + blockNumber?: FieldPolicy<any> | FieldReadFunction<any>, + certId?: FieldPolicy<any> | FieldReadFunction<any>, + eventId?: FieldPolicy<any> | FieldReadFunction<any>, + id?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type CertEventMinFieldsKeySpecifier = ('blockNumber' | 'certId' | 'eventId' | 'id' | CertEventMinFieldsKeySpecifier)[]; +export type CertEventMinFieldsFieldPolicy = { + blockNumber?: FieldPolicy<any> | FieldReadFunction<any>, + certId?: FieldPolicy<any> | FieldReadFunction<any>, + eventId?: FieldPolicy<any> | FieldReadFunction<any>, + id?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type CertEventStddevFieldsKeySpecifier = ('blockNumber' | CertEventStddevFieldsKeySpecifier)[]; +export type CertEventStddevFieldsFieldPolicy = { + blockNumber?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type CertEventStddevPopFieldsKeySpecifier = ('blockNumber' | CertEventStddevPopFieldsKeySpecifier)[]; +export type CertEventStddevPopFieldsFieldPolicy = { + blockNumber?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type CertEventStddevSampFieldsKeySpecifier = ('blockNumber' | CertEventStddevSampFieldsKeySpecifier)[]; +export type CertEventStddevSampFieldsFieldPolicy = { + blockNumber?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type CertEventSumFieldsKeySpecifier = ('blockNumber' | CertEventSumFieldsKeySpecifier)[]; +export type CertEventSumFieldsFieldPolicy = { + blockNumber?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type CertEventVarPopFieldsKeySpecifier = ('blockNumber' | CertEventVarPopFieldsKeySpecifier)[]; +export type CertEventVarPopFieldsFieldPolicy = { + blockNumber?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type CertEventVarSampFieldsKeySpecifier = ('blockNumber' | CertEventVarSampFieldsKeySpecifier)[]; +export type CertEventVarSampFieldsFieldPolicy = { + blockNumber?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type CertEventVarianceFieldsKeySpecifier = ('blockNumber' | CertEventVarianceFieldsKeySpecifier)[]; +export type CertEventVarianceFieldsFieldPolicy = { + blockNumber?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type CertMaxFieldsKeySpecifier = ('createdInId' | 'createdOn' | 'expireOn' | 'id' | 'issuerId' | 'receiverId' | 'updatedInId' | 'updatedOn' | CertMaxFieldsKeySpecifier)[]; +export type CertMaxFieldsFieldPolicy = { + createdInId?: FieldPolicy<any> | FieldReadFunction<any>, + createdOn?: FieldPolicy<any> | FieldReadFunction<any>, + expireOn?: FieldPolicy<any> | FieldReadFunction<any>, + id?: FieldPolicy<any> | FieldReadFunction<any>, + issuerId?: FieldPolicy<any> | FieldReadFunction<any>, + receiverId?: FieldPolicy<any> | FieldReadFunction<any>, + updatedInId?: FieldPolicy<any> | FieldReadFunction<any>, + updatedOn?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type CertMinFieldsKeySpecifier = ('createdInId' | 'createdOn' | 'expireOn' | 'id' | 'issuerId' | 'receiverId' | 'updatedInId' | 'updatedOn' | CertMinFieldsKeySpecifier)[]; +export type CertMinFieldsFieldPolicy = { + createdInId?: FieldPolicy<any> | FieldReadFunction<any>, + createdOn?: FieldPolicy<any> | FieldReadFunction<any>, + expireOn?: FieldPolicy<any> | FieldReadFunction<any>, + id?: FieldPolicy<any> | FieldReadFunction<any>, + issuerId?: FieldPolicy<any> | FieldReadFunction<any>, + receiverId?: FieldPolicy<any> | FieldReadFunction<any>, + updatedInId?: FieldPolicy<any> | FieldReadFunction<any>, + updatedOn?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type CertStddevFieldsKeySpecifier = ('createdOn' | 'expireOn' | 'updatedOn' | CertStddevFieldsKeySpecifier)[]; +export type CertStddevFieldsFieldPolicy = { + createdOn?: FieldPolicy<any> | FieldReadFunction<any>, + expireOn?: FieldPolicy<any> | FieldReadFunction<any>, + updatedOn?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type CertStddevPopFieldsKeySpecifier = ('createdOn' | 'expireOn' | 'updatedOn' | CertStddevPopFieldsKeySpecifier)[]; +export type CertStddevPopFieldsFieldPolicy = { + createdOn?: FieldPolicy<any> | FieldReadFunction<any>, + expireOn?: FieldPolicy<any> | FieldReadFunction<any>, + updatedOn?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type CertStddevSampFieldsKeySpecifier = ('createdOn' | 'expireOn' | 'updatedOn' | CertStddevSampFieldsKeySpecifier)[]; +export type CertStddevSampFieldsFieldPolicy = { + createdOn?: FieldPolicy<any> | FieldReadFunction<any>, + expireOn?: FieldPolicy<any> | FieldReadFunction<any>, + updatedOn?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type CertSumFieldsKeySpecifier = ('createdOn' | 'expireOn' | 'updatedOn' | CertSumFieldsKeySpecifier)[]; +export type CertSumFieldsFieldPolicy = { + createdOn?: FieldPolicy<any> | FieldReadFunction<any>, + expireOn?: FieldPolicy<any> | FieldReadFunction<any>, + updatedOn?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type CertVarPopFieldsKeySpecifier = ('createdOn' | 'expireOn' | 'updatedOn' | CertVarPopFieldsKeySpecifier)[]; +export type CertVarPopFieldsFieldPolicy = { + createdOn?: FieldPolicy<any> | FieldReadFunction<any>, + expireOn?: FieldPolicy<any> | FieldReadFunction<any>, + updatedOn?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type CertVarSampFieldsKeySpecifier = ('createdOn' | 'expireOn' | 'updatedOn' | CertVarSampFieldsKeySpecifier)[]; +export type CertVarSampFieldsFieldPolicy = { + createdOn?: FieldPolicy<any> | FieldReadFunction<any>, + expireOn?: FieldPolicy<any> | FieldReadFunction<any>, + updatedOn?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type CertVarianceFieldsKeySpecifier = ('createdOn' | 'expireOn' | 'updatedOn' | CertVarianceFieldsKeySpecifier)[]; +export type CertVarianceFieldsFieldPolicy = { + createdOn?: FieldPolicy<any> | FieldReadFunction<any>, + expireOn?: FieldPolicy<any> | FieldReadFunction<any>, + updatedOn?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type ChangeOwnerKeyKeySpecifier = ('blockNumber' | 'id' | 'identity' | 'identityId' | 'next' | 'nextId' | 'previous' | 'previousId' | ChangeOwnerKeyKeySpecifier)[]; +export type ChangeOwnerKeyFieldPolicy = { + blockNumber?: FieldPolicy<any> | FieldReadFunction<any>, + id?: FieldPolicy<any> | FieldReadFunction<any>, + identity?: FieldPolicy<any> | FieldReadFunction<any>, + identityId?: FieldPolicy<any> | FieldReadFunction<any>, + next?: FieldPolicy<any> | FieldReadFunction<any>, + nextId?: FieldPolicy<any> | FieldReadFunction<any>, + previous?: FieldPolicy<any> | FieldReadFunction<any>, + previousId?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type ChangeOwnerKeyAggregateKeySpecifier = ('aggregate' | 'nodes' | ChangeOwnerKeyAggregateKeySpecifier)[]; +export type ChangeOwnerKeyAggregateFieldPolicy = { + aggregate?: FieldPolicy<any> | FieldReadFunction<any>, + nodes?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type ChangeOwnerKeyAggregateFieldsKeySpecifier = ('avg' | 'count' | 'max' | 'min' | 'stddev' | 'stddevPop' | 'stddevSamp' | 'sum' | 'varPop' | 'varSamp' | 'variance' | ChangeOwnerKeyAggregateFieldsKeySpecifier)[]; +export type ChangeOwnerKeyAggregateFieldsFieldPolicy = { + avg?: FieldPolicy<any> | FieldReadFunction<any>, + count?: FieldPolicy<any> | FieldReadFunction<any>, + max?: FieldPolicy<any> | FieldReadFunction<any>, + min?: FieldPolicy<any> | FieldReadFunction<any>, + stddev?: FieldPolicy<any> | FieldReadFunction<any>, + stddevPop?: FieldPolicy<any> | FieldReadFunction<any>, + stddevSamp?: FieldPolicy<any> | FieldReadFunction<any>, + sum?: FieldPolicy<any> | FieldReadFunction<any>, + varPop?: FieldPolicy<any> | FieldReadFunction<any>, + varSamp?: FieldPolicy<any> | FieldReadFunction<any>, + variance?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type ChangeOwnerKeyAvgFieldsKeySpecifier = ('blockNumber' | ChangeOwnerKeyAvgFieldsKeySpecifier)[]; +export type ChangeOwnerKeyAvgFieldsFieldPolicy = { + blockNumber?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type ChangeOwnerKeyConnectionKeySpecifier = ('edges' | 'pageInfo' | ChangeOwnerKeyConnectionKeySpecifier)[]; +export type ChangeOwnerKeyConnectionFieldPolicy = { + edges?: FieldPolicy<any> | FieldReadFunction<any>, + pageInfo?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type ChangeOwnerKeyEdgeKeySpecifier = ('cursor' | 'node' | ChangeOwnerKeyEdgeKeySpecifier)[]; +export type ChangeOwnerKeyEdgeFieldPolicy = { + cursor?: FieldPolicy<any> | FieldReadFunction<any>, + node?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type ChangeOwnerKeyMaxFieldsKeySpecifier = ('blockNumber' | 'id' | 'identityId' | 'nextId' | 'previousId' | ChangeOwnerKeyMaxFieldsKeySpecifier)[]; +export type ChangeOwnerKeyMaxFieldsFieldPolicy = { + blockNumber?: FieldPolicy<any> | FieldReadFunction<any>, + id?: FieldPolicy<any> | FieldReadFunction<any>, + identityId?: FieldPolicy<any> | FieldReadFunction<any>, + nextId?: FieldPolicy<any> | FieldReadFunction<any>, + previousId?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type ChangeOwnerKeyMinFieldsKeySpecifier = ('blockNumber' | 'id' | 'identityId' | 'nextId' | 'previousId' | ChangeOwnerKeyMinFieldsKeySpecifier)[]; +export type ChangeOwnerKeyMinFieldsFieldPolicy = { + blockNumber?: FieldPolicy<any> | FieldReadFunction<any>, + id?: FieldPolicy<any> | FieldReadFunction<any>, + identityId?: FieldPolicy<any> | FieldReadFunction<any>, + nextId?: FieldPolicy<any> | FieldReadFunction<any>, + previousId?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type ChangeOwnerKeyStddevFieldsKeySpecifier = ('blockNumber' | ChangeOwnerKeyStddevFieldsKeySpecifier)[]; +export type ChangeOwnerKeyStddevFieldsFieldPolicy = { + blockNumber?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type ChangeOwnerKeyStddevPopFieldsKeySpecifier = ('blockNumber' | ChangeOwnerKeyStddevPopFieldsKeySpecifier)[]; +export type ChangeOwnerKeyStddevPopFieldsFieldPolicy = { + blockNumber?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type ChangeOwnerKeyStddevSampFieldsKeySpecifier = ('blockNumber' | ChangeOwnerKeyStddevSampFieldsKeySpecifier)[]; +export type ChangeOwnerKeyStddevSampFieldsFieldPolicy = { + blockNumber?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type ChangeOwnerKeySumFieldsKeySpecifier = ('blockNumber' | ChangeOwnerKeySumFieldsKeySpecifier)[]; +export type ChangeOwnerKeySumFieldsFieldPolicy = { + blockNumber?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type ChangeOwnerKeyVarPopFieldsKeySpecifier = ('blockNumber' | ChangeOwnerKeyVarPopFieldsKeySpecifier)[]; +export type ChangeOwnerKeyVarPopFieldsFieldPolicy = { + blockNumber?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type ChangeOwnerKeyVarSampFieldsKeySpecifier = ('blockNumber' | ChangeOwnerKeyVarSampFieldsKeySpecifier)[]; +export type ChangeOwnerKeyVarSampFieldsFieldPolicy = { + blockNumber?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type ChangeOwnerKeyVarianceFieldsKeySpecifier = ('blockNumber' | ChangeOwnerKeyVarianceFieldsKeySpecifier)[]; +export type ChangeOwnerKeyVarianceFieldsFieldPolicy = { + blockNumber?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type EventKeySpecifier = ('args' | 'argsStr' | 'block' | 'blockId' | 'call' | 'callId' | 'extrinsic' | 'extrinsicId' | 'id' | 'index' | 'name' | 'pallet' | 'phase' | EventKeySpecifier)[]; +export type EventFieldPolicy = { + args?: FieldPolicy<any> | FieldReadFunction<any>, + argsStr?: FieldPolicy<any> | FieldReadFunction<any>, + block?: FieldPolicy<any> | FieldReadFunction<any>, + blockId?: FieldPolicy<any> | FieldReadFunction<any>, + call?: FieldPolicy<any> | FieldReadFunction<any>, + callId?: FieldPolicy<any> | FieldReadFunction<any>, + extrinsic?: FieldPolicy<any> | FieldReadFunction<any>, + extrinsicId?: FieldPolicy<any> | FieldReadFunction<any>, + id?: FieldPolicy<any> | FieldReadFunction<any>, + index?: FieldPolicy<any> | FieldReadFunction<any>, + name?: FieldPolicy<any> | FieldReadFunction<any>, + pallet?: FieldPolicy<any> | FieldReadFunction<any>, + phase?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type EventAggregateKeySpecifier = ('aggregate' | 'nodes' | EventAggregateKeySpecifier)[]; +export type EventAggregateFieldPolicy = { + aggregate?: FieldPolicy<any> | FieldReadFunction<any>, + nodes?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type EventAggregateFieldsKeySpecifier = ('avg' | 'count' | 'max' | 'min' | 'stddev' | 'stddevPop' | 'stddevSamp' | 'sum' | 'varPop' | 'varSamp' | 'variance' | EventAggregateFieldsKeySpecifier)[]; +export type EventAggregateFieldsFieldPolicy = { + avg?: FieldPolicy<any> | FieldReadFunction<any>, + count?: FieldPolicy<any> | FieldReadFunction<any>, + max?: FieldPolicy<any> | FieldReadFunction<any>, + min?: FieldPolicy<any> | FieldReadFunction<any>, + stddev?: FieldPolicy<any> | FieldReadFunction<any>, + stddevPop?: FieldPolicy<any> | FieldReadFunction<any>, + stddevSamp?: FieldPolicy<any> | FieldReadFunction<any>, + sum?: FieldPolicy<any> | FieldReadFunction<any>, + varPop?: FieldPolicy<any> | FieldReadFunction<any>, + varSamp?: FieldPolicy<any> | FieldReadFunction<any>, + variance?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type EventAvgFieldsKeySpecifier = ('index' | EventAvgFieldsKeySpecifier)[]; +export type EventAvgFieldsFieldPolicy = { + index?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type EventConnectionKeySpecifier = ('edges' | 'pageInfo' | EventConnectionKeySpecifier)[]; +export type EventConnectionFieldPolicy = { + edges?: FieldPolicy<any> | FieldReadFunction<any>, + pageInfo?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type EventEdgeKeySpecifier = ('cursor' | 'node' | EventEdgeKeySpecifier)[]; +export type EventEdgeFieldPolicy = { + cursor?: FieldPolicy<any> | FieldReadFunction<any>, + node?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type EventMaxFieldsKeySpecifier = ('argsStr' | 'blockId' | 'callId' | 'extrinsicId' | 'id' | 'index' | 'name' | 'pallet' | 'phase' | EventMaxFieldsKeySpecifier)[]; +export type EventMaxFieldsFieldPolicy = { + argsStr?: FieldPolicy<any> | FieldReadFunction<any>, + blockId?: FieldPolicy<any> | FieldReadFunction<any>, + callId?: FieldPolicy<any> | FieldReadFunction<any>, + extrinsicId?: FieldPolicy<any> | FieldReadFunction<any>, + id?: FieldPolicy<any> | FieldReadFunction<any>, + index?: FieldPolicy<any> | FieldReadFunction<any>, + name?: FieldPolicy<any> | FieldReadFunction<any>, + pallet?: FieldPolicy<any> | FieldReadFunction<any>, + phase?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type EventMinFieldsKeySpecifier = ('argsStr' | 'blockId' | 'callId' | 'extrinsicId' | 'id' | 'index' | 'name' | 'pallet' | 'phase' | EventMinFieldsKeySpecifier)[]; +export type EventMinFieldsFieldPolicy = { + argsStr?: FieldPolicy<any> | FieldReadFunction<any>, + blockId?: FieldPolicy<any> | FieldReadFunction<any>, + callId?: FieldPolicy<any> | FieldReadFunction<any>, + extrinsicId?: FieldPolicy<any> | FieldReadFunction<any>, + id?: FieldPolicy<any> | FieldReadFunction<any>, + index?: FieldPolicy<any> | FieldReadFunction<any>, + name?: FieldPolicy<any> | FieldReadFunction<any>, + pallet?: FieldPolicy<any> | FieldReadFunction<any>, + phase?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type EventStddevFieldsKeySpecifier = ('index' | EventStddevFieldsKeySpecifier)[]; +export type EventStddevFieldsFieldPolicy = { + index?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type EventStddevPopFieldsKeySpecifier = ('index' | EventStddevPopFieldsKeySpecifier)[]; +export type EventStddevPopFieldsFieldPolicy = { + index?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type EventStddevSampFieldsKeySpecifier = ('index' | EventStddevSampFieldsKeySpecifier)[]; +export type EventStddevSampFieldsFieldPolicy = { + index?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type EventSumFieldsKeySpecifier = ('index' | EventSumFieldsKeySpecifier)[]; +export type EventSumFieldsFieldPolicy = { + index?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type EventVarPopFieldsKeySpecifier = ('index' | EventVarPopFieldsKeySpecifier)[]; +export type EventVarPopFieldsFieldPolicy = { + index?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type EventVarSampFieldsKeySpecifier = ('index' | EventVarSampFieldsKeySpecifier)[]; +export type EventVarSampFieldsFieldPolicy = { + index?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type EventVarianceFieldsKeySpecifier = ('index' | EventVarianceFieldsKeySpecifier)[]; +export type EventVarianceFieldsFieldPolicy = { + index?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type ExtrinsicKeySpecifier = ('block' | 'blockId' | 'call' | 'callId' | 'calls' | 'callsAggregate' | 'calls_connection' | 'error' | 'events' | 'eventsAggregate' | 'events_connection' | 'fee' | 'hash' | 'id' | 'index' | 'signature' | 'success' | 'tip' | 'version' | ExtrinsicKeySpecifier)[]; +export type ExtrinsicFieldPolicy = { + block?: FieldPolicy<any> | FieldReadFunction<any>, + blockId?: FieldPolicy<any> | FieldReadFunction<any>, + call?: FieldPolicy<any> | FieldReadFunction<any>, + callId?: FieldPolicy<any> | FieldReadFunction<any>, + calls?: FieldPolicy<any> | FieldReadFunction<any>, + callsAggregate?: FieldPolicy<any> | FieldReadFunction<any>, + calls_connection?: FieldPolicy<any> | FieldReadFunction<any>, + error?: FieldPolicy<any> | FieldReadFunction<any>, + events?: FieldPolicy<any> | FieldReadFunction<any>, + eventsAggregate?: FieldPolicy<any> | FieldReadFunction<any>, + events_connection?: FieldPolicy<any> | FieldReadFunction<any>, + fee?: FieldPolicy<any> | FieldReadFunction<any>, + hash?: FieldPolicy<any> | FieldReadFunction<any>, + id?: FieldPolicy<any> | FieldReadFunction<any>, + index?: FieldPolicy<any> | FieldReadFunction<any>, + signature?: FieldPolicy<any> | FieldReadFunction<any>, + success?: FieldPolicy<any> | FieldReadFunction<any>, + tip?: FieldPolicy<any> | FieldReadFunction<any>, + version?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type ExtrinsicAggregateKeySpecifier = ('aggregate' | 'nodes' | ExtrinsicAggregateKeySpecifier)[]; +export type ExtrinsicAggregateFieldPolicy = { + aggregate?: FieldPolicy<any> | FieldReadFunction<any>, + nodes?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type ExtrinsicAggregateFieldsKeySpecifier = ('avg' | 'count' | 'max' | 'min' | 'stddev' | 'stddevPop' | 'stddevSamp' | 'sum' | 'varPop' | 'varSamp' | 'variance' | ExtrinsicAggregateFieldsKeySpecifier)[]; +export type ExtrinsicAggregateFieldsFieldPolicy = { + avg?: FieldPolicy<any> | FieldReadFunction<any>, + count?: FieldPolicy<any> | FieldReadFunction<any>, + max?: FieldPolicy<any> | FieldReadFunction<any>, + min?: FieldPolicy<any> | FieldReadFunction<any>, + stddev?: FieldPolicy<any> | FieldReadFunction<any>, + stddevPop?: FieldPolicy<any> | FieldReadFunction<any>, + stddevSamp?: FieldPolicy<any> | FieldReadFunction<any>, + sum?: FieldPolicy<any> | FieldReadFunction<any>, + varPop?: FieldPolicy<any> | FieldReadFunction<any>, + varSamp?: FieldPolicy<any> | FieldReadFunction<any>, + variance?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type ExtrinsicAvgFieldsKeySpecifier = ('fee' | 'index' | 'tip' | 'version' | ExtrinsicAvgFieldsKeySpecifier)[]; +export type ExtrinsicAvgFieldsFieldPolicy = { + fee?: FieldPolicy<any> | FieldReadFunction<any>, + index?: FieldPolicy<any> | FieldReadFunction<any>, + tip?: FieldPolicy<any> | FieldReadFunction<any>, + version?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type ExtrinsicConnectionKeySpecifier = ('edges' | 'pageInfo' | ExtrinsicConnectionKeySpecifier)[]; +export type ExtrinsicConnectionFieldPolicy = { + edges?: FieldPolicy<any> | FieldReadFunction<any>, + pageInfo?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type ExtrinsicEdgeKeySpecifier = ('cursor' | 'node' | ExtrinsicEdgeKeySpecifier)[]; +export type ExtrinsicEdgeFieldPolicy = { + cursor?: FieldPolicy<any> | FieldReadFunction<any>, + node?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type ExtrinsicMaxFieldsKeySpecifier = ('blockId' | 'callId' | 'fee' | 'id' | 'index' | 'tip' | 'version' | ExtrinsicMaxFieldsKeySpecifier)[]; +export type ExtrinsicMaxFieldsFieldPolicy = { + blockId?: FieldPolicy<any> | FieldReadFunction<any>, + callId?: FieldPolicy<any> | FieldReadFunction<any>, + fee?: FieldPolicy<any> | FieldReadFunction<any>, + id?: FieldPolicy<any> | FieldReadFunction<any>, + index?: FieldPolicy<any> | FieldReadFunction<any>, + tip?: FieldPolicy<any> | FieldReadFunction<any>, + version?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type ExtrinsicMinFieldsKeySpecifier = ('blockId' | 'callId' | 'fee' | 'id' | 'index' | 'tip' | 'version' | ExtrinsicMinFieldsKeySpecifier)[]; +export type ExtrinsicMinFieldsFieldPolicy = { + blockId?: FieldPolicy<any> | FieldReadFunction<any>, + callId?: FieldPolicy<any> | FieldReadFunction<any>, + fee?: FieldPolicy<any> | FieldReadFunction<any>, + id?: FieldPolicy<any> | FieldReadFunction<any>, + index?: FieldPolicy<any> | FieldReadFunction<any>, + tip?: FieldPolicy<any> | FieldReadFunction<any>, + version?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type ExtrinsicStddevFieldsKeySpecifier = ('fee' | 'index' | 'tip' | 'version' | ExtrinsicStddevFieldsKeySpecifier)[]; +export type ExtrinsicStddevFieldsFieldPolicy = { + fee?: FieldPolicy<any> | FieldReadFunction<any>, + index?: FieldPolicy<any> | FieldReadFunction<any>, + tip?: FieldPolicy<any> | FieldReadFunction<any>, + version?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type ExtrinsicStddevPopFieldsKeySpecifier = ('fee' | 'index' | 'tip' | 'version' | ExtrinsicStddevPopFieldsKeySpecifier)[]; +export type ExtrinsicStddevPopFieldsFieldPolicy = { + fee?: FieldPolicy<any> | FieldReadFunction<any>, + index?: FieldPolicy<any> | FieldReadFunction<any>, + tip?: FieldPolicy<any> | FieldReadFunction<any>, + version?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type ExtrinsicStddevSampFieldsKeySpecifier = ('fee' | 'index' | 'tip' | 'version' | ExtrinsicStddevSampFieldsKeySpecifier)[]; +export type ExtrinsicStddevSampFieldsFieldPolicy = { + fee?: FieldPolicy<any> | FieldReadFunction<any>, + index?: FieldPolicy<any> | FieldReadFunction<any>, + tip?: FieldPolicy<any> | FieldReadFunction<any>, + version?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type ExtrinsicSumFieldsKeySpecifier = ('fee' | 'index' | 'tip' | 'version' | ExtrinsicSumFieldsKeySpecifier)[]; +export type ExtrinsicSumFieldsFieldPolicy = { + fee?: FieldPolicy<any> | FieldReadFunction<any>, + index?: FieldPolicy<any> | FieldReadFunction<any>, + tip?: FieldPolicy<any> | FieldReadFunction<any>, + version?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type ExtrinsicVarPopFieldsKeySpecifier = ('fee' | 'index' | 'tip' | 'version' | ExtrinsicVarPopFieldsKeySpecifier)[]; +export type ExtrinsicVarPopFieldsFieldPolicy = { + fee?: FieldPolicy<any> | FieldReadFunction<any>, + index?: FieldPolicy<any> | FieldReadFunction<any>, + tip?: FieldPolicy<any> | FieldReadFunction<any>, + version?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type ExtrinsicVarSampFieldsKeySpecifier = ('fee' | 'index' | 'tip' | 'version' | ExtrinsicVarSampFieldsKeySpecifier)[]; +export type ExtrinsicVarSampFieldsFieldPolicy = { + fee?: FieldPolicy<any> | FieldReadFunction<any>, + index?: FieldPolicy<any> | FieldReadFunction<any>, + tip?: FieldPolicy<any> | FieldReadFunction<any>, + version?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type ExtrinsicVarianceFieldsKeySpecifier = ('fee' | 'index' | 'tip' | 'version' | ExtrinsicVarianceFieldsKeySpecifier)[]; +export type ExtrinsicVarianceFieldsFieldPolicy = { + fee?: FieldPolicy<any> | FieldReadFunction<any>, + index?: FieldPolicy<any> | FieldReadFunction<any>, + tip?: FieldPolicy<any> | FieldReadFunction<any>, + version?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type IdentityKeySpecifier = ('account' | 'accountId' | 'certIssued' | 'certIssuedAggregate' | 'certIssued_connection' | 'certReceived' | 'certReceivedAggregate' | 'certReceived_connection' | 'createdIn' | 'createdInId' | 'createdOn' | 'expireOn' | 'id' | 'index' | 'isMember' | 'lastChangeOn' | 'linkedAccount' | 'linkedAccountAggregate' | 'linkedAccount_connection' | 'membershipHistory' | 'membershipHistoryAggregate' | 'membershipHistory_connection' | 'name' | 'ownerKeyChange' | 'ownerKeyChangeAggregate' | 'ownerKeyChange_connection' | 'smithCertIssued' | 'smithCertIssuedAggregate' | 'smithCertIssued_connection' | 'smithCertReceived' | 'smithCertReceivedAggregate' | 'smithCertReceived_connection' | 'smithStatus' | 'status' | 'udHistory' | IdentityKeySpecifier)[]; +export type IdentityFieldPolicy = { + account?: FieldPolicy<any> | FieldReadFunction<any>, + accountId?: FieldPolicy<any> | FieldReadFunction<any>, + certIssued?: FieldPolicy<any> | FieldReadFunction<any>, + certIssuedAggregate?: FieldPolicy<any> | FieldReadFunction<any>, + certIssued_connection?: FieldPolicy<any> | FieldReadFunction<any>, + certReceived?: FieldPolicy<any> | FieldReadFunction<any>, + certReceivedAggregate?: FieldPolicy<any> | FieldReadFunction<any>, + certReceived_connection?: FieldPolicy<any> | FieldReadFunction<any>, + createdIn?: FieldPolicy<any> | FieldReadFunction<any>, + createdInId?: FieldPolicy<any> | FieldReadFunction<any>, + createdOn?: FieldPolicy<any> | FieldReadFunction<any>, + expireOn?: FieldPolicy<any> | FieldReadFunction<any>, + id?: FieldPolicy<any> | FieldReadFunction<any>, + index?: FieldPolicy<any> | FieldReadFunction<any>, + isMember?: FieldPolicy<any> | FieldReadFunction<any>, + lastChangeOn?: FieldPolicy<any> | FieldReadFunction<any>, + linkedAccount?: FieldPolicy<any> | FieldReadFunction<any>, + linkedAccountAggregate?: FieldPolicy<any> | FieldReadFunction<any>, + linkedAccount_connection?: FieldPolicy<any> | FieldReadFunction<any>, + membershipHistory?: FieldPolicy<any> | FieldReadFunction<any>, + membershipHistoryAggregate?: FieldPolicy<any> | FieldReadFunction<any>, + membershipHistory_connection?: FieldPolicy<any> | FieldReadFunction<any>, + name?: FieldPolicy<any> | FieldReadFunction<any>, + ownerKeyChange?: FieldPolicy<any> | FieldReadFunction<any>, + ownerKeyChangeAggregate?: FieldPolicy<any> | FieldReadFunction<any>, + ownerKeyChange_connection?: FieldPolicy<any> | FieldReadFunction<any>, + smithCertIssued?: FieldPolicy<any> | FieldReadFunction<any>, + smithCertIssuedAggregate?: FieldPolicy<any> | FieldReadFunction<any>, + smithCertIssued_connection?: FieldPolicy<any> | FieldReadFunction<any>, + smithCertReceived?: FieldPolicy<any> | FieldReadFunction<any>, + smithCertReceivedAggregate?: FieldPolicy<any> | FieldReadFunction<any>, + smithCertReceived_connection?: FieldPolicy<any> | FieldReadFunction<any>, + smithStatus?: FieldPolicy<any> | FieldReadFunction<any>, + status?: FieldPolicy<any> | FieldReadFunction<any>, + udHistory?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type IdentityConnectionKeySpecifier = ('edges' | 'pageInfo' | IdentityConnectionKeySpecifier)[]; +export type IdentityConnectionFieldPolicy = { + edges?: FieldPolicy<any> | FieldReadFunction<any>, + pageInfo?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type IdentityEdgeKeySpecifier = ('cursor' | 'node' | IdentityEdgeKeySpecifier)[]; +export type IdentityEdgeFieldPolicy = { + cursor?: FieldPolicy<any> | FieldReadFunction<any>, + node?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type ItemsCounterKeySpecifier = ('id' | 'level' | 'total' | 'type' | ItemsCounterKeySpecifier)[]; +export type ItemsCounterFieldPolicy = { + id?: FieldPolicy<any> | FieldReadFunction<any>, + level?: FieldPolicy<any> | FieldReadFunction<any>, + total?: FieldPolicy<any> | FieldReadFunction<any>, + type?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type ItemsCounterConnectionKeySpecifier = ('edges' | 'pageInfo' | ItemsCounterConnectionKeySpecifier)[]; +export type ItemsCounterConnectionFieldPolicy = { + edges?: FieldPolicy<any> | FieldReadFunction<any>, + pageInfo?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type ItemsCounterEdgeKeySpecifier = ('cursor' | 'node' | ItemsCounterEdgeKeySpecifier)[]; +export type ItemsCounterEdgeFieldPolicy = { + cursor?: FieldPolicy<any> | FieldReadFunction<any>, + node?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type MembershipEventKeySpecifier = ('blockNumber' | 'event' | 'eventId' | 'eventType' | 'id' | 'identity' | 'identityId' | MembershipEventKeySpecifier)[]; +export type MembershipEventFieldPolicy = { + blockNumber?: FieldPolicy<any> | FieldReadFunction<any>, + event?: FieldPolicy<any> | FieldReadFunction<any>, + eventId?: FieldPolicy<any> | FieldReadFunction<any>, + eventType?: FieldPolicy<any> | FieldReadFunction<any>, + id?: FieldPolicy<any> | FieldReadFunction<any>, + identity?: FieldPolicy<any> | FieldReadFunction<any>, + identityId?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type MembershipEventAggregateKeySpecifier = ('aggregate' | 'nodes' | MembershipEventAggregateKeySpecifier)[]; +export type MembershipEventAggregateFieldPolicy = { + aggregate?: FieldPolicy<any> | FieldReadFunction<any>, + nodes?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type MembershipEventAggregateFieldsKeySpecifier = ('avg' | 'count' | 'max' | 'min' | 'stddev' | 'stddevPop' | 'stddevSamp' | 'sum' | 'varPop' | 'varSamp' | 'variance' | MembershipEventAggregateFieldsKeySpecifier)[]; +export type MembershipEventAggregateFieldsFieldPolicy = { + avg?: FieldPolicy<any> | FieldReadFunction<any>, + count?: FieldPolicy<any> | FieldReadFunction<any>, + max?: FieldPolicy<any> | FieldReadFunction<any>, + min?: FieldPolicy<any> | FieldReadFunction<any>, + stddev?: FieldPolicy<any> | FieldReadFunction<any>, + stddevPop?: FieldPolicy<any> | FieldReadFunction<any>, + stddevSamp?: FieldPolicy<any> | FieldReadFunction<any>, + sum?: FieldPolicy<any> | FieldReadFunction<any>, + varPop?: FieldPolicy<any> | FieldReadFunction<any>, + varSamp?: FieldPolicy<any> | FieldReadFunction<any>, + variance?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type MembershipEventAvgFieldsKeySpecifier = ('blockNumber' | MembershipEventAvgFieldsKeySpecifier)[]; +export type MembershipEventAvgFieldsFieldPolicy = { + blockNumber?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type MembershipEventConnectionKeySpecifier = ('edges' | 'pageInfo' | MembershipEventConnectionKeySpecifier)[]; +export type MembershipEventConnectionFieldPolicy = { + edges?: FieldPolicy<any> | FieldReadFunction<any>, + pageInfo?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type MembershipEventEdgeKeySpecifier = ('cursor' | 'node' | MembershipEventEdgeKeySpecifier)[]; +export type MembershipEventEdgeFieldPolicy = { + cursor?: FieldPolicy<any> | FieldReadFunction<any>, + node?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type MembershipEventMaxFieldsKeySpecifier = ('blockNumber' | 'eventId' | 'id' | 'identityId' | MembershipEventMaxFieldsKeySpecifier)[]; +export type MembershipEventMaxFieldsFieldPolicy = { + blockNumber?: FieldPolicy<any> | FieldReadFunction<any>, + eventId?: FieldPolicy<any> | FieldReadFunction<any>, + id?: FieldPolicy<any> | FieldReadFunction<any>, + identityId?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type MembershipEventMinFieldsKeySpecifier = ('blockNumber' | 'eventId' | 'id' | 'identityId' | MembershipEventMinFieldsKeySpecifier)[]; +export type MembershipEventMinFieldsFieldPolicy = { + blockNumber?: FieldPolicy<any> | FieldReadFunction<any>, + eventId?: FieldPolicy<any> | FieldReadFunction<any>, + id?: FieldPolicy<any> | FieldReadFunction<any>, + identityId?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type MembershipEventStddevFieldsKeySpecifier = ('blockNumber' | MembershipEventStddevFieldsKeySpecifier)[]; +export type MembershipEventStddevFieldsFieldPolicy = { + blockNumber?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type MembershipEventStddevPopFieldsKeySpecifier = ('blockNumber' | MembershipEventStddevPopFieldsKeySpecifier)[]; +export type MembershipEventStddevPopFieldsFieldPolicy = { + blockNumber?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type MembershipEventStddevSampFieldsKeySpecifier = ('blockNumber' | MembershipEventStddevSampFieldsKeySpecifier)[]; +export type MembershipEventStddevSampFieldsFieldPolicy = { + blockNumber?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type MembershipEventSumFieldsKeySpecifier = ('blockNumber' | MembershipEventSumFieldsKeySpecifier)[]; +export type MembershipEventSumFieldsFieldPolicy = { + blockNumber?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type MembershipEventVarPopFieldsKeySpecifier = ('blockNumber' | MembershipEventVarPopFieldsKeySpecifier)[]; +export type MembershipEventVarPopFieldsFieldPolicy = { + blockNumber?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type MembershipEventVarSampFieldsKeySpecifier = ('blockNumber' | MembershipEventVarSampFieldsKeySpecifier)[]; +export type MembershipEventVarSampFieldsFieldPolicy = { + blockNumber?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type MembershipEventVarianceFieldsKeySpecifier = ('blockNumber' | MembershipEventVarianceFieldsKeySpecifier)[]; +export type MembershipEventVarianceFieldsFieldPolicy = { + blockNumber?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type NodeKeySpecifier = ('id' | NodeKeySpecifier)[]; +export type NodeFieldPolicy = { + id?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type PageInfoKeySpecifier = ('endCursor' | 'hasNextPage' | 'hasPreviousPage' | 'startCursor' | PageInfoKeySpecifier)[]; +export type PageInfoFieldPolicy = { + endCursor?: FieldPolicy<any> | FieldReadFunction<any>, + hasNextPage?: FieldPolicy<any> | FieldReadFunction<any>, + hasPreviousPage?: FieldPolicy<any> | FieldReadFunction<any>, + startCursor?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type SmithCertKeySpecifier = ('createdOn' | 'id' | 'issuer' | 'issuerId' | 'receiver' | 'receiverId' | SmithCertKeySpecifier)[]; +export type SmithCertFieldPolicy = { + createdOn?: FieldPolicy<any> | FieldReadFunction<any>, + id?: FieldPolicy<any> | FieldReadFunction<any>, + issuer?: FieldPolicy<any> | FieldReadFunction<any>, + issuerId?: FieldPolicy<any> | FieldReadFunction<any>, + receiver?: FieldPolicy<any> | FieldReadFunction<any>, + receiverId?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type SmithCertAggregateKeySpecifier = ('aggregate' | 'nodes' | SmithCertAggregateKeySpecifier)[]; +export type SmithCertAggregateFieldPolicy = { + aggregate?: FieldPolicy<any> | FieldReadFunction<any>, + nodes?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type SmithCertAggregateFieldsKeySpecifier = ('avg' | 'count' | 'max' | 'min' | 'stddev' | 'stddevPop' | 'stddevSamp' | 'sum' | 'varPop' | 'varSamp' | 'variance' | SmithCertAggregateFieldsKeySpecifier)[]; +export type SmithCertAggregateFieldsFieldPolicy = { + avg?: FieldPolicy<any> | FieldReadFunction<any>, + count?: FieldPolicy<any> | FieldReadFunction<any>, + max?: FieldPolicy<any> | FieldReadFunction<any>, + min?: FieldPolicy<any> | FieldReadFunction<any>, + stddev?: FieldPolicy<any> | FieldReadFunction<any>, + stddevPop?: FieldPolicy<any> | FieldReadFunction<any>, + stddevSamp?: FieldPolicy<any> | FieldReadFunction<any>, + sum?: FieldPolicy<any> | FieldReadFunction<any>, + varPop?: FieldPolicy<any> | FieldReadFunction<any>, + varSamp?: FieldPolicy<any> | FieldReadFunction<any>, + variance?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type SmithCertAvgFieldsKeySpecifier = ('createdOn' | SmithCertAvgFieldsKeySpecifier)[]; +export type SmithCertAvgFieldsFieldPolicy = { + createdOn?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type SmithCertConnectionKeySpecifier = ('edges' | 'pageInfo' | SmithCertConnectionKeySpecifier)[]; +export type SmithCertConnectionFieldPolicy = { + edges?: FieldPolicy<any> | FieldReadFunction<any>, + pageInfo?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type SmithCertEdgeKeySpecifier = ('cursor' | 'node' | SmithCertEdgeKeySpecifier)[]; +export type SmithCertEdgeFieldPolicy = { + cursor?: FieldPolicy<any> | FieldReadFunction<any>, + node?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type SmithCertMaxFieldsKeySpecifier = ('createdOn' | 'id' | 'issuerId' | 'receiverId' | SmithCertMaxFieldsKeySpecifier)[]; +export type SmithCertMaxFieldsFieldPolicy = { + createdOn?: FieldPolicy<any> | FieldReadFunction<any>, + id?: FieldPolicy<any> | FieldReadFunction<any>, + issuerId?: FieldPolicy<any> | FieldReadFunction<any>, + receiverId?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type SmithCertMinFieldsKeySpecifier = ('createdOn' | 'id' | 'issuerId' | 'receiverId' | SmithCertMinFieldsKeySpecifier)[]; +export type SmithCertMinFieldsFieldPolicy = { + createdOn?: FieldPolicy<any> | FieldReadFunction<any>, + id?: FieldPolicy<any> | FieldReadFunction<any>, + issuerId?: FieldPolicy<any> | FieldReadFunction<any>, + receiverId?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type SmithCertStddevFieldsKeySpecifier = ('createdOn' | SmithCertStddevFieldsKeySpecifier)[]; +export type SmithCertStddevFieldsFieldPolicy = { + createdOn?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type SmithCertStddevPopFieldsKeySpecifier = ('createdOn' | SmithCertStddevPopFieldsKeySpecifier)[]; +export type SmithCertStddevPopFieldsFieldPolicy = { + createdOn?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type SmithCertStddevSampFieldsKeySpecifier = ('createdOn' | SmithCertStddevSampFieldsKeySpecifier)[]; +export type SmithCertStddevSampFieldsFieldPolicy = { + createdOn?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type SmithCertSumFieldsKeySpecifier = ('createdOn' | SmithCertSumFieldsKeySpecifier)[]; +export type SmithCertSumFieldsFieldPolicy = { + createdOn?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type SmithCertVarPopFieldsKeySpecifier = ('createdOn' | SmithCertVarPopFieldsKeySpecifier)[]; +export type SmithCertVarPopFieldsFieldPolicy = { + createdOn?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type SmithCertVarSampFieldsKeySpecifier = ('createdOn' | SmithCertVarSampFieldsKeySpecifier)[]; +export type SmithCertVarSampFieldsFieldPolicy = { + createdOn?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type SmithCertVarianceFieldsKeySpecifier = ('createdOn' | SmithCertVarianceFieldsKeySpecifier)[]; +export type SmithCertVarianceFieldsFieldPolicy = { + createdOn?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type TransferKeySpecifier = ('amount' | 'blockNumber' | 'comment' | 'from' | 'fromId' | 'id' | 'timestamp' | 'to' | 'toId' | TransferKeySpecifier)[]; +export type TransferFieldPolicy = { + amount?: FieldPolicy<any> | FieldReadFunction<any>, + blockNumber?: FieldPolicy<any> | FieldReadFunction<any>, + comment?: FieldPolicy<any> | FieldReadFunction<any>, + from?: FieldPolicy<any> | FieldReadFunction<any>, + fromId?: FieldPolicy<any> | FieldReadFunction<any>, + id?: FieldPolicy<any> | FieldReadFunction<any>, + timestamp?: FieldPolicy<any> | FieldReadFunction<any>, + to?: FieldPolicy<any> | FieldReadFunction<any>, + toId?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type TransferAggregateKeySpecifier = ('aggregate' | 'nodes' | TransferAggregateKeySpecifier)[]; +export type TransferAggregateFieldPolicy = { + aggregate?: FieldPolicy<any> | FieldReadFunction<any>, + nodes?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type TransferAggregateFieldsKeySpecifier = ('avg' | 'count' | 'max' | 'min' | 'stddev' | 'stddevPop' | 'stddevSamp' | 'sum' | 'varPop' | 'varSamp' | 'variance' | TransferAggregateFieldsKeySpecifier)[]; +export type TransferAggregateFieldsFieldPolicy = { + avg?: FieldPolicy<any> | FieldReadFunction<any>, + count?: FieldPolicy<any> | FieldReadFunction<any>, + max?: FieldPolicy<any> | FieldReadFunction<any>, + min?: FieldPolicy<any> | FieldReadFunction<any>, + stddev?: FieldPolicy<any> | FieldReadFunction<any>, + stddevPop?: FieldPolicy<any> | FieldReadFunction<any>, + stddevSamp?: FieldPolicy<any> | FieldReadFunction<any>, + sum?: FieldPolicy<any> | FieldReadFunction<any>, + varPop?: FieldPolicy<any> | FieldReadFunction<any>, + varSamp?: FieldPolicy<any> | FieldReadFunction<any>, + variance?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type TransferAvgFieldsKeySpecifier = ('amount' | 'blockNumber' | TransferAvgFieldsKeySpecifier)[]; +export type TransferAvgFieldsFieldPolicy = { + amount?: FieldPolicy<any> | FieldReadFunction<any>, + blockNumber?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type TransferConnectionKeySpecifier = ('edges' | 'pageInfo' | TransferConnectionKeySpecifier)[]; +export type TransferConnectionFieldPolicy = { + edges?: FieldPolicy<any> | FieldReadFunction<any>, + pageInfo?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type TransferEdgeKeySpecifier = ('cursor' | 'node' | TransferEdgeKeySpecifier)[]; +export type TransferEdgeFieldPolicy = { + cursor?: FieldPolicy<any> | FieldReadFunction<any>, + node?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type TransferMaxFieldsKeySpecifier = ('amount' | 'blockNumber' | 'comment' | 'fromId' | 'id' | 'timestamp' | 'toId' | TransferMaxFieldsKeySpecifier)[]; +export type TransferMaxFieldsFieldPolicy = { + amount?: FieldPolicy<any> | FieldReadFunction<any>, + blockNumber?: FieldPolicy<any> | FieldReadFunction<any>, + comment?: FieldPolicy<any> | FieldReadFunction<any>, + fromId?: FieldPolicy<any> | FieldReadFunction<any>, + id?: FieldPolicy<any> | FieldReadFunction<any>, + timestamp?: FieldPolicy<any> | FieldReadFunction<any>, + toId?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type TransferMinFieldsKeySpecifier = ('amount' | 'blockNumber' | 'comment' | 'fromId' | 'id' | 'timestamp' | 'toId' | TransferMinFieldsKeySpecifier)[]; +export type TransferMinFieldsFieldPolicy = { + amount?: FieldPolicy<any> | FieldReadFunction<any>, + blockNumber?: FieldPolicy<any> | FieldReadFunction<any>, + comment?: FieldPolicy<any> | FieldReadFunction<any>, + fromId?: FieldPolicy<any> | FieldReadFunction<any>, + id?: FieldPolicy<any> | FieldReadFunction<any>, + timestamp?: FieldPolicy<any> | FieldReadFunction<any>, + toId?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type TransferStddevFieldsKeySpecifier = ('amount' | 'blockNumber' | TransferStddevFieldsKeySpecifier)[]; +export type TransferStddevFieldsFieldPolicy = { + amount?: FieldPolicy<any> | FieldReadFunction<any>, + blockNumber?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type TransferStddevPopFieldsKeySpecifier = ('amount' | 'blockNumber' | TransferStddevPopFieldsKeySpecifier)[]; +export type TransferStddevPopFieldsFieldPolicy = { + amount?: FieldPolicy<any> | FieldReadFunction<any>, + blockNumber?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type TransferStddevSampFieldsKeySpecifier = ('amount' | 'blockNumber' | TransferStddevSampFieldsKeySpecifier)[]; +export type TransferStddevSampFieldsFieldPolicy = { + amount?: FieldPolicy<any> | FieldReadFunction<any>, + blockNumber?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type TransferSumFieldsKeySpecifier = ('amount' | 'blockNumber' | TransferSumFieldsKeySpecifier)[]; +export type TransferSumFieldsFieldPolicy = { + amount?: FieldPolicy<any> | FieldReadFunction<any>, + blockNumber?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type TransferVarPopFieldsKeySpecifier = ('amount' | 'blockNumber' | TransferVarPopFieldsKeySpecifier)[]; +export type TransferVarPopFieldsFieldPolicy = { + amount?: FieldPolicy<any> | FieldReadFunction<any>, + blockNumber?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type TransferVarSampFieldsKeySpecifier = ('amount' | 'blockNumber' | TransferVarSampFieldsKeySpecifier)[]; +export type TransferVarSampFieldsFieldPolicy = { + amount?: FieldPolicy<any> | FieldReadFunction<any>, + blockNumber?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type TransferVarianceFieldsKeySpecifier = ('amount' | 'blockNumber' | TransferVarianceFieldsKeySpecifier)[]; +export type TransferVarianceFieldsFieldPolicy = { + amount?: FieldPolicy<any> | FieldReadFunction<any>, + blockNumber?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type UdHistoryKeySpecifier = ('amount' | 'blockNumber' | 'id' | 'identity' | 'identityId' | 'timestamp' | UdHistoryKeySpecifier)[]; +export type UdHistoryFieldPolicy = { + amount?: FieldPolicy<any> | FieldReadFunction<any>, + blockNumber?: FieldPolicy<any> | FieldReadFunction<any>, + id?: FieldPolicy<any> | FieldReadFunction<any>, + identity?: FieldPolicy<any> | FieldReadFunction<any>, + identityId?: FieldPolicy<any> | FieldReadFunction<any>, + timestamp?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type UdHistoryConnectionKeySpecifier = ('edges' | 'pageInfo' | UdHistoryConnectionKeySpecifier)[]; +export type UdHistoryConnectionFieldPolicy = { + edges?: FieldPolicy<any> | FieldReadFunction<any>, + pageInfo?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type UdHistoryEdgeKeySpecifier = ('cursor' | 'node' | UdHistoryEdgeKeySpecifier)[]; +export type UdHistoryEdgeFieldPolicy = { + cursor?: FieldPolicy<any> | FieldReadFunction<any>, + node?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type UdReevalKeySpecifier = ('blockNumber' | 'event' | 'eventId' | 'id' | 'membersCount' | 'monetaryMass' | 'newUdAmount' | 'timestamp' | UdReevalKeySpecifier)[]; +export type UdReevalFieldPolicy = { + blockNumber?: FieldPolicy<any> | FieldReadFunction<any>, + event?: FieldPolicy<any> | FieldReadFunction<any>, + eventId?: FieldPolicy<any> | FieldReadFunction<any>, + id?: FieldPolicy<any> | FieldReadFunction<any>, + membersCount?: FieldPolicy<any> | FieldReadFunction<any>, + monetaryMass?: FieldPolicy<any> | FieldReadFunction<any>, + newUdAmount?: FieldPolicy<any> | FieldReadFunction<any>, + timestamp?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type UdReevalConnectionKeySpecifier = ('edges' | 'pageInfo' | UdReevalConnectionKeySpecifier)[]; +export type UdReevalConnectionFieldPolicy = { + edges?: FieldPolicy<any> | FieldReadFunction<any>, + pageInfo?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type UdReevalEdgeKeySpecifier = ('cursor' | 'node' | UdReevalEdgeKeySpecifier)[]; +export type UdReevalEdgeFieldPolicy = { + cursor?: FieldPolicy<any> | FieldReadFunction<any>, + node?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type UniversalDividendKeySpecifier = ('amount' | 'blockNumber' | 'event' | 'eventId' | 'id' | 'membersCount' | 'monetaryMass' | 'timestamp' | UniversalDividendKeySpecifier)[]; +export type UniversalDividendFieldPolicy = { + amount?: FieldPolicy<any> | FieldReadFunction<any>, + blockNumber?: FieldPolicy<any> | FieldReadFunction<any>, + event?: FieldPolicy<any> | FieldReadFunction<any>, + eventId?: FieldPolicy<any> | FieldReadFunction<any>, + id?: FieldPolicy<any> | FieldReadFunction<any>, + membersCount?: FieldPolicy<any> | FieldReadFunction<any>, + monetaryMass?: FieldPolicy<any> | FieldReadFunction<any>, + timestamp?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type UniversalDividendConnectionKeySpecifier = ('edges' | 'pageInfo' | UniversalDividendConnectionKeySpecifier)[]; +export type UniversalDividendConnectionFieldPolicy = { + edges?: FieldPolicy<any> | FieldReadFunction<any>, + pageInfo?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type UniversalDividendEdgeKeySpecifier = ('cursor' | 'node' | UniversalDividendEdgeKeySpecifier)[]; +export type UniversalDividendEdgeFieldPolicy = { + cursor?: FieldPolicy<any> | FieldReadFunction<any>, + node?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type query_rootKeySpecifier = ('accountConnection' | 'blockConnection' | 'callConnection' | 'certConnection' | 'certEventConnection' | 'changeOwnerKeyConnection' | 'eventConnection' | 'extrinsicConnection' | 'getUdHistory_connection' | 'identityConnection' | 'itemsCounterConnection' | 'membershipEventConnection' | 'node' | 'smithCertConnection' | 'transferConnection' | 'udHistoryConnection' | 'udReevalConnection' | 'universalDividendConnection' | query_rootKeySpecifier)[]; +export type query_rootFieldPolicy = { + accountConnection?: FieldPolicy<any> | FieldReadFunction<any>, + blockConnection?: FieldPolicy<any> | FieldReadFunction<any>, + callConnection?: FieldPolicy<any> | FieldReadFunction<any>, + certConnection?: FieldPolicy<any> | FieldReadFunction<any>, + certEventConnection?: FieldPolicy<any> | FieldReadFunction<any>, + changeOwnerKeyConnection?: FieldPolicy<any> | FieldReadFunction<any>, + eventConnection?: FieldPolicy<any> | FieldReadFunction<any>, + extrinsicConnection?: FieldPolicy<any> | FieldReadFunction<any>, + getUdHistory_connection?: FieldPolicy<any> | FieldReadFunction<any>, + identityConnection?: FieldPolicy<any> | FieldReadFunction<any>, + itemsCounterConnection?: FieldPolicy<any> | FieldReadFunction<any>, + membershipEventConnection?: FieldPolicy<any> | FieldReadFunction<any>, + node?: FieldPolicy<any> | FieldReadFunction<any>, + smithCertConnection?: FieldPolicy<any> | FieldReadFunction<any>, + transferConnection?: FieldPolicy<any> | FieldReadFunction<any>, + udHistoryConnection?: FieldPolicy<any> | FieldReadFunction<any>, + udReevalConnection?: FieldPolicy<any> | FieldReadFunction<any>, + universalDividendConnection?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type subscription_rootKeySpecifier = ('accountConnection' | 'blockConnection' | 'callConnection' | 'certConnection' | 'certEventConnection' | 'changeOwnerKeyConnection' | 'eventConnection' | 'extrinsicConnection' | 'getUdHistory_connection' | 'identityConnection' | 'itemsCounterConnection' | 'membershipEventConnection' | 'node' | 'smithCertConnection' | 'transferConnection' | 'udHistoryConnection' | 'udReevalConnection' | 'universalDividendConnection' | subscription_rootKeySpecifier)[]; +export type subscription_rootFieldPolicy = { + accountConnection?: FieldPolicy<any> | FieldReadFunction<any>, + blockConnection?: FieldPolicy<any> | FieldReadFunction<any>, + callConnection?: FieldPolicy<any> | FieldReadFunction<any>, + certConnection?: FieldPolicy<any> | FieldReadFunction<any>, + certEventConnection?: FieldPolicy<any> | FieldReadFunction<any>, + changeOwnerKeyConnection?: FieldPolicy<any> | FieldReadFunction<any>, + eventConnection?: FieldPolicy<any> | FieldReadFunction<any>, + extrinsicConnection?: FieldPolicy<any> | FieldReadFunction<any>, + getUdHistory_connection?: FieldPolicy<any> | FieldReadFunction<any>, + identityConnection?: FieldPolicy<any> | FieldReadFunction<any>, + itemsCounterConnection?: FieldPolicy<any> | FieldReadFunction<any>, + membershipEventConnection?: FieldPolicy<any> | FieldReadFunction<any>, + node?: FieldPolicy<any> | FieldReadFunction<any>, + smithCertConnection?: FieldPolicy<any> | FieldReadFunction<any>, + transferConnection?: FieldPolicy<any> | FieldReadFunction<any>, + udHistoryConnection?: FieldPolicy<any> | FieldReadFunction<any>, + udReevalConnection?: FieldPolicy<any> | FieldReadFunction<any>, + universalDividendConnection?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type StrictTypedTypePolicies = { + Account?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | AccountKeySpecifier | (() => undefined | AccountKeySpecifier), + fields?: AccountFieldPolicy, + }, + AccountAggregate?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | AccountAggregateKeySpecifier | (() => undefined | AccountAggregateKeySpecifier), + fields?: AccountAggregateFieldPolicy, + }, + AccountAggregateFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | AccountAggregateFieldsKeySpecifier | (() => undefined | AccountAggregateFieldsKeySpecifier), + fields?: AccountAggregateFieldsFieldPolicy, + }, + AccountConnection?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | AccountConnectionKeySpecifier | (() => undefined | AccountConnectionKeySpecifier), + fields?: AccountConnectionFieldPolicy, + }, + AccountEdge?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | AccountEdgeKeySpecifier | (() => undefined | AccountEdgeKeySpecifier), + fields?: AccountEdgeFieldPolicy, + }, + AccountMaxFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | AccountMaxFieldsKeySpecifier | (() => undefined | AccountMaxFieldsKeySpecifier), + fields?: AccountMaxFieldsFieldPolicy, + }, + AccountMinFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | AccountMinFieldsKeySpecifier | (() => undefined | AccountMinFieldsKeySpecifier), + fields?: AccountMinFieldsFieldPolicy, + }, + Block?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | BlockKeySpecifier | (() => undefined | BlockKeySpecifier), + fields?: BlockFieldPolicy, + }, + BlockConnection?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | BlockConnectionKeySpecifier | (() => undefined | BlockConnectionKeySpecifier), + fields?: BlockConnectionFieldPolicy, + }, + BlockEdge?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | BlockEdgeKeySpecifier | (() => undefined | BlockEdgeKeySpecifier), + fields?: BlockEdgeFieldPolicy, + }, + Call?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | CallKeySpecifier | (() => undefined | CallKeySpecifier), + fields?: CallFieldPolicy, + }, + CallAggregate?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | CallAggregateKeySpecifier | (() => undefined | CallAggregateKeySpecifier), + fields?: CallAggregateFieldPolicy, + }, + CallAggregateFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | CallAggregateFieldsKeySpecifier | (() => undefined | CallAggregateFieldsKeySpecifier), + fields?: CallAggregateFieldsFieldPolicy, + }, + CallConnection?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | CallConnectionKeySpecifier | (() => undefined | CallConnectionKeySpecifier), + fields?: CallConnectionFieldPolicy, + }, + CallEdge?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | CallEdgeKeySpecifier | (() => undefined | CallEdgeKeySpecifier), + fields?: CallEdgeFieldPolicy, + }, + CallMaxFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | CallMaxFieldsKeySpecifier | (() => undefined | CallMaxFieldsKeySpecifier), + fields?: CallMaxFieldsFieldPolicy, + }, + CallMinFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | CallMinFieldsKeySpecifier | (() => undefined | CallMinFieldsKeySpecifier), + fields?: CallMinFieldsFieldPolicy, + }, + Cert?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | CertKeySpecifier | (() => undefined | CertKeySpecifier), + fields?: CertFieldPolicy, + }, + CertAggregate?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | CertAggregateKeySpecifier | (() => undefined | CertAggregateKeySpecifier), + fields?: CertAggregateFieldPolicy, + }, + CertAggregateFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | CertAggregateFieldsKeySpecifier | (() => undefined | CertAggregateFieldsKeySpecifier), + fields?: CertAggregateFieldsFieldPolicy, + }, + CertAvgFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | CertAvgFieldsKeySpecifier | (() => undefined | CertAvgFieldsKeySpecifier), + fields?: CertAvgFieldsFieldPolicy, + }, + CertConnection?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | CertConnectionKeySpecifier | (() => undefined | CertConnectionKeySpecifier), + fields?: CertConnectionFieldPolicy, + }, + CertEdge?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | CertEdgeKeySpecifier | (() => undefined | CertEdgeKeySpecifier), + fields?: CertEdgeFieldPolicy, + }, + CertEvent?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | CertEventKeySpecifier | (() => undefined | CertEventKeySpecifier), + fields?: CertEventFieldPolicy, + }, + CertEventAggregate?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | CertEventAggregateKeySpecifier | (() => undefined | CertEventAggregateKeySpecifier), + fields?: CertEventAggregateFieldPolicy, + }, + CertEventAggregateFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | CertEventAggregateFieldsKeySpecifier | (() => undefined | CertEventAggregateFieldsKeySpecifier), + fields?: CertEventAggregateFieldsFieldPolicy, + }, + CertEventAvgFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | CertEventAvgFieldsKeySpecifier | (() => undefined | CertEventAvgFieldsKeySpecifier), + fields?: CertEventAvgFieldsFieldPolicy, + }, + CertEventConnection?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | CertEventConnectionKeySpecifier | (() => undefined | CertEventConnectionKeySpecifier), + fields?: CertEventConnectionFieldPolicy, + }, + CertEventEdge?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | CertEventEdgeKeySpecifier | (() => undefined | CertEventEdgeKeySpecifier), + fields?: CertEventEdgeFieldPolicy, + }, + CertEventMaxFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | CertEventMaxFieldsKeySpecifier | (() => undefined | CertEventMaxFieldsKeySpecifier), + fields?: CertEventMaxFieldsFieldPolicy, + }, + CertEventMinFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | CertEventMinFieldsKeySpecifier | (() => undefined | CertEventMinFieldsKeySpecifier), + fields?: CertEventMinFieldsFieldPolicy, + }, + CertEventStddevFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | CertEventStddevFieldsKeySpecifier | (() => undefined | CertEventStddevFieldsKeySpecifier), + fields?: CertEventStddevFieldsFieldPolicy, + }, + CertEventStddevPopFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | CertEventStddevPopFieldsKeySpecifier | (() => undefined | CertEventStddevPopFieldsKeySpecifier), + fields?: CertEventStddevPopFieldsFieldPolicy, + }, + CertEventStddevSampFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | CertEventStddevSampFieldsKeySpecifier | (() => undefined | CertEventStddevSampFieldsKeySpecifier), + fields?: CertEventStddevSampFieldsFieldPolicy, + }, + CertEventSumFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | CertEventSumFieldsKeySpecifier | (() => undefined | CertEventSumFieldsKeySpecifier), + fields?: CertEventSumFieldsFieldPolicy, + }, + CertEventVarPopFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | CertEventVarPopFieldsKeySpecifier | (() => undefined | CertEventVarPopFieldsKeySpecifier), + fields?: CertEventVarPopFieldsFieldPolicy, + }, + CertEventVarSampFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | CertEventVarSampFieldsKeySpecifier | (() => undefined | CertEventVarSampFieldsKeySpecifier), + fields?: CertEventVarSampFieldsFieldPolicy, + }, + CertEventVarianceFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | CertEventVarianceFieldsKeySpecifier | (() => undefined | CertEventVarianceFieldsKeySpecifier), + fields?: CertEventVarianceFieldsFieldPolicy, + }, + CertMaxFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | CertMaxFieldsKeySpecifier | (() => undefined | CertMaxFieldsKeySpecifier), + fields?: CertMaxFieldsFieldPolicy, + }, + CertMinFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | CertMinFieldsKeySpecifier | (() => undefined | CertMinFieldsKeySpecifier), + fields?: CertMinFieldsFieldPolicy, + }, + CertStddevFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | CertStddevFieldsKeySpecifier | (() => undefined | CertStddevFieldsKeySpecifier), + fields?: CertStddevFieldsFieldPolicy, + }, + CertStddevPopFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | CertStddevPopFieldsKeySpecifier | (() => undefined | CertStddevPopFieldsKeySpecifier), + fields?: CertStddevPopFieldsFieldPolicy, + }, + CertStddevSampFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | CertStddevSampFieldsKeySpecifier | (() => undefined | CertStddevSampFieldsKeySpecifier), + fields?: CertStddevSampFieldsFieldPolicy, + }, + CertSumFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | CertSumFieldsKeySpecifier | (() => undefined | CertSumFieldsKeySpecifier), + fields?: CertSumFieldsFieldPolicy, + }, + CertVarPopFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | CertVarPopFieldsKeySpecifier | (() => undefined | CertVarPopFieldsKeySpecifier), + fields?: CertVarPopFieldsFieldPolicy, + }, + CertVarSampFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | CertVarSampFieldsKeySpecifier | (() => undefined | CertVarSampFieldsKeySpecifier), + fields?: CertVarSampFieldsFieldPolicy, + }, + CertVarianceFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | CertVarianceFieldsKeySpecifier | (() => undefined | CertVarianceFieldsKeySpecifier), + fields?: CertVarianceFieldsFieldPolicy, + }, + ChangeOwnerKey?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | ChangeOwnerKeyKeySpecifier | (() => undefined | ChangeOwnerKeyKeySpecifier), + fields?: ChangeOwnerKeyFieldPolicy, + }, + ChangeOwnerKeyAggregate?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | ChangeOwnerKeyAggregateKeySpecifier | (() => undefined | ChangeOwnerKeyAggregateKeySpecifier), + fields?: ChangeOwnerKeyAggregateFieldPolicy, + }, + ChangeOwnerKeyAggregateFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | ChangeOwnerKeyAggregateFieldsKeySpecifier | (() => undefined | ChangeOwnerKeyAggregateFieldsKeySpecifier), + fields?: ChangeOwnerKeyAggregateFieldsFieldPolicy, + }, + ChangeOwnerKeyAvgFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | ChangeOwnerKeyAvgFieldsKeySpecifier | (() => undefined | ChangeOwnerKeyAvgFieldsKeySpecifier), + fields?: ChangeOwnerKeyAvgFieldsFieldPolicy, + }, + ChangeOwnerKeyConnection?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | ChangeOwnerKeyConnectionKeySpecifier | (() => undefined | ChangeOwnerKeyConnectionKeySpecifier), + fields?: ChangeOwnerKeyConnectionFieldPolicy, + }, + ChangeOwnerKeyEdge?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | ChangeOwnerKeyEdgeKeySpecifier | (() => undefined | ChangeOwnerKeyEdgeKeySpecifier), + fields?: ChangeOwnerKeyEdgeFieldPolicy, + }, + ChangeOwnerKeyMaxFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | ChangeOwnerKeyMaxFieldsKeySpecifier | (() => undefined | ChangeOwnerKeyMaxFieldsKeySpecifier), + fields?: ChangeOwnerKeyMaxFieldsFieldPolicy, + }, + ChangeOwnerKeyMinFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | ChangeOwnerKeyMinFieldsKeySpecifier | (() => undefined | ChangeOwnerKeyMinFieldsKeySpecifier), + fields?: ChangeOwnerKeyMinFieldsFieldPolicy, + }, + ChangeOwnerKeyStddevFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | ChangeOwnerKeyStddevFieldsKeySpecifier | (() => undefined | ChangeOwnerKeyStddevFieldsKeySpecifier), + fields?: ChangeOwnerKeyStddevFieldsFieldPolicy, + }, + ChangeOwnerKeyStddevPopFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | ChangeOwnerKeyStddevPopFieldsKeySpecifier | (() => undefined | ChangeOwnerKeyStddevPopFieldsKeySpecifier), + fields?: ChangeOwnerKeyStddevPopFieldsFieldPolicy, + }, + ChangeOwnerKeyStddevSampFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | ChangeOwnerKeyStddevSampFieldsKeySpecifier | (() => undefined | ChangeOwnerKeyStddevSampFieldsKeySpecifier), + fields?: ChangeOwnerKeyStddevSampFieldsFieldPolicy, + }, + ChangeOwnerKeySumFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | ChangeOwnerKeySumFieldsKeySpecifier | (() => undefined | ChangeOwnerKeySumFieldsKeySpecifier), + fields?: ChangeOwnerKeySumFieldsFieldPolicy, + }, + ChangeOwnerKeyVarPopFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | ChangeOwnerKeyVarPopFieldsKeySpecifier | (() => undefined | ChangeOwnerKeyVarPopFieldsKeySpecifier), + fields?: ChangeOwnerKeyVarPopFieldsFieldPolicy, + }, + ChangeOwnerKeyVarSampFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | ChangeOwnerKeyVarSampFieldsKeySpecifier | (() => undefined | ChangeOwnerKeyVarSampFieldsKeySpecifier), + fields?: ChangeOwnerKeyVarSampFieldsFieldPolicy, + }, + ChangeOwnerKeyVarianceFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | ChangeOwnerKeyVarianceFieldsKeySpecifier | (() => undefined | ChangeOwnerKeyVarianceFieldsKeySpecifier), + fields?: ChangeOwnerKeyVarianceFieldsFieldPolicy, + }, + Event?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | EventKeySpecifier | (() => undefined | EventKeySpecifier), + fields?: EventFieldPolicy, + }, + EventAggregate?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | EventAggregateKeySpecifier | (() => undefined | EventAggregateKeySpecifier), + fields?: EventAggregateFieldPolicy, + }, + EventAggregateFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | EventAggregateFieldsKeySpecifier | (() => undefined | EventAggregateFieldsKeySpecifier), + fields?: EventAggregateFieldsFieldPolicy, + }, + EventAvgFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | EventAvgFieldsKeySpecifier | (() => undefined | EventAvgFieldsKeySpecifier), + fields?: EventAvgFieldsFieldPolicy, + }, + EventConnection?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | EventConnectionKeySpecifier | (() => undefined | EventConnectionKeySpecifier), + fields?: EventConnectionFieldPolicy, + }, + EventEdge?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | EventEdgeKeySpecifier | (() => undefined | EventEdgeKeySpecifier), + fields?: EventEdgeFieldPolicy, + }, + EventMaxFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | EventMaxFieldsKeySpecifier | (() => undefined | EventMaxFieldsKeySpecifier), + fields?: EventMaxFieldsFieldPolicy, + }, + EventMinFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | EventMinFieldsKeySpecifier | (() => undefined | EventMinFieldsKeySpecifier), + fields?: EventMinFieldsFieldPolicy, + }, + EventStddevFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | EventStddevFieldsKeySpecifier | (() => undefined | EventStddevFieldsKeySpecifier), + fields?: EventStddevFieldsFieldPolicy, + }, + EventStddevPopFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | EventStddevPopFieldsKeySpecifier | (() => undefined | EventStddevPopFieldsKeySpecifier), + fields?: EventStddevPopFieldsFieldPolicy, + }, + EventStddevSampFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | EventStddevSampFieldsKeySpecifier | (() => undefined | EventStddevSampFieldsKeySpecifier), + fields?: EventStddevSampFieldsFieldPolicy, + }, + EventSumFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | EventSumFieldsKeySpecifier | (() => undefined | EventSumFieldsKeySpecifier), + fields?: EventSumFieldsFieldPolicy, + }, + EventVarPopFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | EventVarPopFieldsKeySpecifier | (() => undefined | EventVarPopFieldsKeySpecifier), + fields?: EventVarPopFieldsFieldPolicy, + }, + EventVarSampFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | EventVarSampFieldsKeySpecifier | (() => undefined | EventVarSampFieldsKeySpecifier), + fields?: EventVarSampFieldsFieldPolicy, + }, + EventVarianceFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | EventVarianceFieldsKeySpecifier | (() => undefined | EventVarianceFieldsKeySpecifier), + fields?: EventVarianceFieldsFieldPolicy, + }, + Extrinsic?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | ExtrinsicKeySpecifier | (() => undefined | ExtrinsicKeySpecifier), + fields?: ExtrinsicFieldPolicy, + }, + ExtrinsicAggregate?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | ExtrinsicAggregateKeySpecifier | (() => undefined | ExtrinsicAggregateKeySpecifier), + fields?: ExtrinsicAggregateFieldPolicy, + }, + ExtrinsicAggregateFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | ExtrinsicAggregateFieldsKeySpecifier | (() => undefined | ExtrinsicAggregateFieldsKeySpecifier), + fields?: ExtrinsicAggregateFieldsFieldPolicy, + }, + ExtrinsicAvgFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | ExtrinsicAvgFieldsKeySpecifier | (() => undefined | ExtrinsicAvgFieldsKeySpecifier), + fields?: ExtrinsicAvgFieldsFieldPolicy, + }, + ExtrinsicConnection?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | ExtrinsicConnectionKeySpecifier | (() => undefined | ExtrinsicConnectionKeySpecifier), + fields?: ExtrinsicConnectionFieldPolicy, + }, + ExtrinsicEdge?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | ExtrinsicEdgeKeySpecifier | (() => undefined | ExtrinsicEdgeKeySpecifier), + fields?: ExtrinsicEdgeFieldPolicy, + }, + ExtrinsicMaxFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | ExtrinsicMaxFieldsKeySpecifier | (() => undefined | ExtrinsicMaxFieldsKeySpecifier), + fields?: ExtrinsicMaxFieldsFieldPolicy, + }, + ExtrinsicMinFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | ExtrinsicMinFieldsKeySpecifier | (() => undefined | ExtrinsicMinFieldsKeySpecifier), + fields?: ExtrinsicMinFieldsFieldPolicy, + }, + ExtrinsicStddevFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | ExtrinsicStddevFieldsKeySpecifier | (() => undefined | ExtrinsicStddevFieldsKeySpecifier), + fields?: ExtrinsicStddevFieldsFieldPolicy, + }, + ExtrinsicStddevPopFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | ExtrinsicStddevPopFieldsKeySpecifier | (() => undefined | ExtrinsicStddevPopFieldsKeySpecifier), + fields?: ExtrinsicStddevPopFieldsFieldPolicy, + }, + ExtrinsicStddevSampFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | ExtrinsicStddevSampFieldsKeySpecifier | (() => undefined | ExtrinsicStddevSampFieldsKeySpecifier), + fields?: ExtrinsicStddevSampFieldsFieldPolicy, + }, + ExtrinsicSumFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | ExtrinsicSumFieldsKeySpecifier | (() => undefined | ExtrinsicSumFieldsKeySpecifier), + fields?: ExtrinsicSumFieldsFieldPolicy, + }, + ExtrinsicVarPopFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | ExtrinsicVarPopFieldsKeySpecifier | (() => undefined | ExtrinsicVarPopFieldsKeySpecifier), + fields?: ExtrinsicVarPopFieldsFieldPolicy, + }, + ExtrinsicVarSampFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | ExtrinsicVarSampFieldsKeySpecifier | (() => undefined | ExtrinsicVarSampFieldsKeySpecifier), + fields?: ExtrinsicVarSampFieldsFieldPolicy, + }, + ExtrinsicVarianceFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | ExtrinsicVarianceFieldsKeySpecifier | (() => undefined | ExtrinsicVarianceFieldsKeySpecifier), + fields?: ExtrinsicVarianceFieldsFieldPolicy, + }, + Identity?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | IdentityKeySpecifier | (() => undefined | IdentityKeySpecifier), + fields?: IdentityFieldPolicy, + }, + IdentityConnection?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | IdentityConnectionKeySpecifier | (() => undefined | IdentityConnectionKeySpecifier), + fields?: IdentityConnectionFieldPolicy, + }, + IdentityEdge?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | IdentityEdgeKeySpecifier | (() => undefined | IdentityEdgeKeySpecifier), + fields?: IdentityEdgeFieldPolicy, + }, + ItemsCounter?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | ItemsCounterKeySpecifier | (() => undefined | ItemsCounterKeySpecifier), + fields?: ItemsCounterFieldPolicy, + }, + ItemsCounterConnection?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | ItemsCounterConnectionKeySpecifier | (() => undefined | ItemsCounterConnectionKeySpecifier), + fields?: ItemsCounterConnectionFieldPolicy, + }, + ItemsCounterEdge?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | ItemsCounterEdgeKeySpecifier | (() => undefined | ItemsCounterEdgeKeySpecifier), + fields?: ItemsCounterEdgeFieldPolicy, + }, + MembershipEvent?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | MembershipEventKeySpecifier | (() => undefined | MembershipEventKeySpecifier), + fields?: MembershipEventFieldPolicy, + }, + MembershipEventAggregate?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | MembershipEventAggregateKeySpecifier | (() => undefined | MembershipEventAggregateKeySpecifier), + fields?: MembershipEventAggregateFieldPolicy, + }, + MembershipEventAggregateFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | MembershipEventAggregateFieldsKeySpecifier | (() => undefined | MembershipEventAggregateFieldsKeySpecifier), + fields?: MembershipEventAggregateFieldsFieldPolicy, + }, + MembershipEventAvgFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | MembershipEventAvgFieldsKeySpecifier | (() => undefined | MembershipEventAvgFieldsKeySpecifier), + fields?: MembershipEventAvgFieldsFieldPolicy, + }, + MembershipEventConnection?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | MembershipEventConnectionKeySpecifier | (() => undefined | MembershipEventConnectionKeySpecifier), + fields?: MembershipEventConnectionFieldPolicy, + }, + MembershipEventEdge?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | MembershipEventEdgeKeySpecifier | (() => undefined | MembershipEventEdgeKeySpecifier), + fields?: MembershipEventEdgeFieldPolicy, + }, + MembershipEventMaxFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | MembershipEventMaxFieldsKeySpecifier | (() => undefined | MembershipEventMaxFieldsKeySpecifier), + fields?: MembershipEventMaxFieldsFieldPolicy, + }, + MembershipEventMinFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | MembershipEventMinFieldsKeySpecifier | (() => undefined | MembershipEventMinFieldsKeySpecifier), + fields?: MembershipEventMinFieldsFieldPolicy, + }, + MembershipEventStddevFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | MembershipEventStddevFieldsKeySpecifier | (() => undefined | MembershipEventStddevFieldsKeySpecifier), + fields?: MembershipEventStddevFieldsFieldPolicy, + }, + MembershipEventStddevPopFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | MembershipEventStddevPopFieldsKeySpecifier | (() => undefined | MembershipEventStddevPopFieldsKeySpecifier), + fields?: MembershipEventStddevPopFieldsFieldPolicy, + }, + MembershipEventStddevSampFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | MembershipEventStddevSampFieldsKeySpecifier | (() => undefined | MembershipEventStddevSampFieldsKeySpecifier), + fields?: MembershipEventStddevSampFieldsFieldPolicy, + }, + MembershipEventSumFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | MembershipEventSumFieldsKeySpecifier | (() => undefined | MembershipEventSumFieldsKeySpecifier), + fields?: MembershipEventSumFieldsFieldPolicy, + }, + MembershipEventVarPopFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | MembershipEventVarPopFieldsKeySpecifier | (() => undefined | MembershipEventVarPopFieldsKeySpecifier), + fields?: MembershipEventVarPopFieldsFieldPolicy, + }, + MembershipEventVarSampFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | MembershipEventVarSampFieldsKeySpecifier | (() => undefined | MembershipEventVarSampFieldsKeySpecifier), + fields?: MembershipEventVarSampFieldsFieldPolicy, + }, + MembershipEventVarianceFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | MembershipEventVarianceFieldsKeySpecifier | (() => undefined | MembershipEventVarianceFieldsKeySpecifier), + fields?: MembershipEventVarianceFieldsFieldPolicy, + }, + Node?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | NodeKeySpecifier | (() => undefined | NodeKeySpecifier), + fields?: NodeFieldPolicy, + }, + PageInfo?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | PageInfoKeySpecifier | (() => undefined | PageInfoKeySpecifier), + fields?: PageInfoFieldPolicy, + }, + SmithCert?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | SmithCertKeySpecifier | (() => undefined | SmithCertKeySpecifier), + fields?: SmithCertFieldPolicy, + }, + SmithCertAggregate?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | SmithCertAggregateKeySpecifier | (() => undefined | SmithCertAggregateKeySpecifier), + fields?: SmithCertAggregateFieldPolicy, + }, + SmithCertAggregateFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | SmithCertAggregateFieldsKeySpecifier | (() => undefined | SmithCertAggregateFieldsKeySpecifier), + fields?: SmithCertAggregateFieldsFieldPolicy, + }, + SmithCertAvgFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | SmithCertAvgFieldsKeySpecifier | (() => undefined | SmithCertAvgFieldsKeySpecifier), + fields?: SmithCertAvgFieldsFieldPolicy, + }, + SmithCertConnection?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | SmithCertConnectionKeySpecifier | (() => undefined | SmithCertConnectionKeySpecifier), + fields?: SmithCertConnectionFieldPolicy, + }, + SmithCertEdge?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | SmithCertEdgeKeySpecifier | (() => undefined | SmithCertEdgeKeySpecifier), + fields?: SmithCertEdgeFieldPolicy, + }, + SmithCertMaxFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | SmithCertMaxFieldsKeySpecifier | (() => undefined | SmithCertMaxFieldsKeySpecifier), + fields?: SmithCertMaxFieldsFieldPolicy, + }, + SmithCertMinFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | SmithCertMinFieldsKeySpecifier | (() => undefined | SmithCertMinFieldsKeySpecifier), + fields?: SmithCertMinFieldsFieldPolicy, + }, + SmithCertStddevFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | SmithCertStddevFieldsKeySpecifier | (() => undefined | SmithCertStddevFieldsKeySpecifier), + fields?: SmithCertStddevFieldsFieldPolicy, + }, + SmithCertStddevPopFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | SmithCertStddevPopFieldsKeySpecifier | (() => undefined | SmithCertStddevPopFieldsKeySpecifier), + fields?: SmithCertStddevPopFieldsFieldPolicy, + }, + SmithCertStddevSampFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | SmithCertStddevSampFieldsKeySpecifier | (() => undefined | SmithCertStddevSampFieldsKeySpecifier), + fields?: SmithCertStddevSampFieldsFieldPolicy, + }, + SmithCertSumFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | SmithCertSumFieldsKeySpecifier | (() => undefined | SmithCertSumFieldsKeySpecifier), + fields?: SmithCertSumFieldsFieldPolicy, + }, + SmithCertVarPopFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | SmithCertVarPopFieldsKeySpecifier | (() => undefined | SmithCertVarPopFieldsKeySpecifier), + fields?: SmithCertVarPopFieldsFieldPolicy, + }, + SmithCertVarSampFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | SmithCertVarSampFieldsKeySpecifier | (() => undefined | SmithCertVarSampFieldsKeySpecifier), + fields?: SmithCertVarSampFieldsFieldPolicy, + }, + SmithCertVarianceFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | SmithCertVarianceFieldsKeySpecifier | (() => undefined | SmithCertVarianceFieldsKeySpecifier), + fields?: SmithCertVarianceFieldsFieldPolicy, + }, + Transfer?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | TransferKeySpecifier | (() => undefined | TransferKeySpecifier), + fields?: TransferFieldPolicy, + }, + TransferAggregate?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | TransferAggregateKeySpecifier | (() => undefined | TransferAggregateKeySpecifier), + fields?: TransferAggregateFieldPolicy, + }, + TransferAggregateFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | TransferAggregateFieldsKeySpecifier | (() => undefined | TransferAggregateFieldsKeySpecifier), + fields?: TransferAggregateFieldsFieldPolicy, + }, + TransferAvgFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | TransferAvgFieldsKeySpecifier | (() => undefined | TransferAvgFieldsKeySpecifier), + fields?: TransferAvgFieldsFieldPolicy, + }, + TransferConnection?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | TransferConnectionKeySpecifier | (() => undefined | TransferConnectionKeySpecifier), + fields?: TransferConnectionFieldPolicy, + }, + TransferEdge?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | TransferEdgeKeySpecifier | (() => undefined | TransferEdgeKeySpecifier), + fields?: TransferEdgeFieldPolicy, + }, + TransferMaxFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | TransferMaxFieldsKeySpecifier | (() => undefined | TransferMaxFieldsKeySpecifier), + fields?: TransferMaxFieldsFieldPolicy, + }, + TransferMinFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | TransferMinFieldsKeySpecifier | (() => undefined | TransferMinFieldsKeySpecifier), + fields?: TransferMinFieldsFieldPolicy, + }, + TransferStddevFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | TransferStddevFieldsKeySpecifier | (() => undefined | TransferStddevFieldsKeySpecifier), + fields?: TransferStddevFieldsFieldPolicy, + }, + TransferStddevPopFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | TransferStddevPopFieldsKeySpecifier | (() => undefined | TransferStddevPopFieldsKeySpecifier), + fields?: TransferStddevPopFieldsFieldPolicy, + }, + TransferStddevSampFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | TransferStddevSampFieldsKeySpecifier | (() => undefined | TransferStddevSampFieldsKeySpecifier), + fields?: TransferStddevSampFieldsFieldPolicy, + }, + TransferSumFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | TransferSumFieldsKeySpecifier | (() => undefined | TransferSumFieldsKeySpecifier), + fields?: TransferSumFieldsFieldPolicy, + }, + TransferVarPopFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | TransferVarPopFieldsKeySpecifier | (() => undefined | TransferVarPopFieldsKeySpecifier), + fields?: TransferVarPopFieldsFieldPolicy, + }, + TransferVarSampFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | TransferVarSampFieldsKeySpecifier | (() => undefined | TransferVarSampFieldsKeySpecifier), + fields?: TransferVarSampFieldsFieldPolicy, + }, + TransferVarianceFields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | TransferVarianceFieldsKeySpecifier | (() => undefined | TransferVarianceFieldsKeySpecifier), + fields?: TransferVarianceFieldsFieldPolicy, + }, + UdHistory?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | UdHistoryKeySpecifier | (() => undefined | UdHistoryKeySpecifier), + fields?: UdHistoryFieldPolicy, + }, + UdHistoryConnection?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | UdHistoryConnectionKeySpecifier | (() => undefined | UdHistoryConnectionKeySpecifier), + fields?: UdHistoryConnectionFieldPolicy, + }, + UdHistoryEdge?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | UdHistoryEdgeKeySpecifier | (() => undefined | UdHistoryEdgeKeySpecifier), + fields?: UdHistoryEdgeFieldPolicy, + }, + UdReeval?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | UdReevalKeySpecifier | (() => undefined | UdReevalKeySpecifier), + fields?: UdReevalFieldPolicy, + }, + UdReevalConnection?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | UdReevalConnectionKeySpecifier | (() => undefined | UdReevalConnectionKeySpecifier), + fields?: UdReevalConnectionFieldPolicy, + }, + UdReevalEdge?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | UdReevalEdgeKeySpecifier | (() => undefined | UdReevalEdgeKeySpecifier), + fields?: UdReevalEdgeFieldPolicy, + }, + UniversalDividend?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | UniversalDividendKeySpecifier | (() => undefined | UniversalDividendKeySpecifier), + fields?: UniversalDividendFieldPolicy, + }, + UniversalDividendConnection?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | UniversalDividendConnectionKeySpecifier | (() => undefined | UniversalDividendConnectionKeySpecifier), + fields?: UniversalDividendConnectionFieldPolicy, + }, + UniversalDividendEdge?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | UniversalDividendEdgeKeySpecifier | (() => undefined | UniversalDividendEdgeKeySpecifier), + fields?: UniversalDividendEdgeFieldPolicy, + }, + query_root?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | query_rootKeySpecifier | (() => undefined | query_rootKeySpecifier), + fields?: query_rootFieldPolicy, + }, + subscription_root?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | subscription_rootKeySpecifier | (() => undefined | subscription_rootKeySpecifier), + fields?: subscription_rootFieldPolicy, + } +}; +export type TypedTypePolicies = StrictTypedTypePolicies & TypePolicies; \ No newline at end of file diff --git a/src/app/network/indexer-schema.graphql b/src/app/network/indexer/indexer-schema.graphql similarity index 98% rename from src/app/network/indexer-schema.graphql rename to src/app/network/indexer/indexer-schema.graphql index 016537f81d390a035a85762e7a92d6c37339bd75..178ec39310b03e455d45814c4b2fe0ff245f46ee 100644 --- a/src/app/network/indexer-schema.graphql +++ b/src/app/network/indexer/indexer-schema.graphql @@ -523,6 +523,9 @@ type Cert implements Node { "filter the rows returned" where: CertEventBoolExp ): CertEventConnection! + "An object relationship" + createdIn: Event + createdInId: String createdOn: Int! expireOn: Int! id: ID! @@ -533,6 +536,10 @@ type Cert implements Node { "An object relationship" receiver: Identity receiverId: String + "An object relationship" + updatedIn: Event + updatedInId: String + updatedOn: Int! } "aggregated selection of \"cert\"" @@ -560,6 +567,7 @@ type CertAggregateFields { type CertAvgFields { createdOn: Float expireOn: Float + updatedOn: Float } "A Relay connection object on \"cert\"" @@ -676,62 +684,75 @@ type CertEventVarianceFields { "aggregate max on columns" type CertMaxFields { + createdInId: String createdOn: Int expireOn: Int id: String issuerId: String receiverId: String + updatedInId: String + updatedOn: Int } "aggregate min on columns" type CertMinFields { + createdInId: String createdOn: Int expireOn: Int id: String issuerId: String receiverId: String + updatedInId: String + updatedOn: Int } "aggregate stddev on columns" type CertStddevFields { createdOn: Float expireOn: Float + updatedOn: Float } "aggregate stddevPop on columns" type CertStddevPopFields { createdOn: Float expireOn: Float + updatedOn: Float } "aggregate stddevSamp on columns" type CertStddevSampFields { createdOn: Float expireOn: Float + updatedOn: Float } "aggregate sum on columns" type CertSumFields { createdOn: Int expireOn: Int + updatedOn: Int } "aggregate varPop on columns" type CertVarPopFields { createdOn: Float expireOn: Float + updatedOn: Float } "aggregate varSamp on columns" type CertVarSampFields { createdOn: Float expireOn: Float + updatedOn: Float } "aggregate variance on columns" type CertVarianceFields { createdOn: Float expireOn: Float + updatedOn: Float } "columns and relationships of \"change_owner_key\"" @@ -2467,6 +2488,8 @@ enum CertEventSelectColumn { "select columns of table \"cert\"" enum CertSelectColumn { + "column name" + createdInId "column name" createdOn "column name" @@ -2479,6 +2502,10 @@ enum CertSelectColumn { issuerId "column name" receiverId + "column name" + updatedInId + "column name" + updatedOn } "select \"certAggregateBoolExpBool_andArgumentsColumns\" columns of table \"cert\"" @@ -2995,6 +3022,7 @@ input CertAggregateOrderBy { input CertAvgOrderBy { createdOn: OrderBy expireOn: OrderBy + updatedOn: OrderBy } "Boolean expression to filter rows from the table \"cert\". All fields are combined with a logical 'AND'." @@ -3004,6 +3032,8 @@ input CertBoolExp { _or: [CertBoolExp!] certHistory: CertEventBoolExp certHistoryAggregate: CertEventAggregateBoolExp + createdIn: EventBoolExp + createdInId: StringComparisonExp createdOn: IntComparisonExp expireOn: IntComparisonExp id: StringComparisonExp @@ -3012,6 +3042,9 @@ input CertBoolExp { issuerId: StringComparisonExp receiver: IdentityBoolExp receiverId: StringComparisonExp + updatedIn: EventBoolExp + updatedInId: StringComparisonExp + updatedOn: IntComparisonExp } input CertEventAggregateBoolExp { @@ -3116,25 +3149,33 @@ input CertEventVarianceOrderBy { "order by max() on columns of table \"cert\"" input CertMaxOrderBy { + createdInId: OrderBy createdOn: OrderBy expireOn: OrderBy id: OrderBy issuerId: OrderBy receiverId: OrderBy + updatedInId: OrderBy + updatedOn: OrderBy } "order by min() on columns of table \"cert\"" input CertMinOrderBy { + createdInId: OrderBy createdOn: OrderBy expireOn: OrderBy id: OrderBy issuerId: OrderBy receiverId: OrderBy + updatedInId: OrderBy + updatedOn: OrderBy } "Ordering options when selecting data from \"cert\"." input CertOrderBy { certHistoryAggregate: CertEventAggregateOrderBy + createdIn: EventOrderBy + createdInId: OrderBy createdOn: OrderBy expireOn: OrderBy id: OrderBy @@ -3143,48 +3184,58 @@ input CertOrderBy { issuerId: OrderBy receiver: IdentityOrderBy receiverId: OrderBy + updatedIn: EventOrderBy + updatedInId: OrderBy + updatedOn: OrderBy } "order by stddev() on columns of table \"cert\"" input CertStddevOrderBy { createdOn: OrderBy expireOn: OrderBy + updatedOn: OrderBy } "order by stddevPop() on columns of table \"cert\"" input CertStddevPopOrderBy { createdOn: OrderBy expireOn: OrderBy + updatedOn: OrderBy } "order by stddevSamp() on columns of table \"cert\"" input CertStddevSampOrderBy { createdOn: OrderBy expireOn: OrderBy + updatedOn: OrderBy } "order by sum() on columns of table \"cert\"" input CertSumOrderBy { createdOn: OrderBy expireOn: OrderBy + updatedOn: OrderBy } "order by varPop() on columns of table \"cert\"" input CertVarPopOrderBy { createdOn: OrderBy expireOn: OrderBy + updatedOn: OrderBy } "order by varSamp() on columns of table \"cert\"" input CertVarSampOrderBy { createdOn: OrderBy expireOn: OrderBy + updatedOn: OrderBy } "order by variance() on columns of table \"cert\"" input CertVarianceOrderBy { createdOn: OrderBy expireOn: OrderBy + updatedOn: OrderBy } input ChangeOwnerKeyAggregateBoolExp { diff --git a/src/app/transfer/history/transfer.queries.graphql b/src/app/network/indexer/indexer-transfer.gql similarity index 100% rename from src/app/transfer/history/transfer.queries.graphql rename to src/app/network/indexer/indexer-transfer.gql diff --git a/src/app/network/indexer-types.generated.ts b/src/app/network/indexer/indexer-types.generated.ts similarity index 85% rename from src/app/network/indexer-types.generated.ts rename to src/app/network/indexer/indexer-types.generated.ts index 54069cb1678ab16b4c62500bd8a1425bf5564af6..a5510cdb899b41b3eef37464d7f65607141665fe 100644 --- a/src/app/network/indexer-types.generated.ts +++ b/src/app/network/indexer/indexer-types.generated.ts @@ -1,10 +1,9 @@ // Auto-generated via `npx graphql-codegen`, do not edit /* eslint-disable */ -import * as Apollo from 'apollo-angular'; import { gql } from 'apollo-angular'; import { Injectable } from '@angular/core'; +import * as Apollo from 'apollo-angular'; import * as ApolloCore from '@apollo/client/core'; - export type Maybe<T> = T | null; export type InputMaybe<T> = Maybe<T>; export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] }; @@ -14,16 +13,16 @@ export type MakeEmpty<T extends { [key: string]: unknown }, K extends keyof T> = export type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never }; /** All built-in and custom scalars, mapped to their actual values */ export type Scalars = { - ID: { input: string; output: string }; - String: { input: string; output: string }; - Boolean: { input: boolean; output: boolean }; - Int: { input: number; output: number }; - Float: { input: number; output: number }; - bytea: { input: any; output: any }; - identity_scalar: { input: any; output: any }; - jsonb: { input: any; output: any }; - numeric: { input: any; output: any }; - timestamptz: { input: any; output: any }; + ID: { input: string; output: string; } + String: { input: string; output: string; } + Boolean: { input: boolean; output: boolean; } + Int: { input: number; output: number; } + Float: { input: number; output: number; } + bytea: { input: any; output: any; } + identity_scalar: { input: any; output: any; } + jsonb: { input: any; output: any; } + numeric: { input: any; output: any; } + timestamptz: { input: any; output: any; } }; /** columns and relationships of "account" */ @@ -55,6 +54,7 @@ export type Account = Node & { wasIdentity_connection: ChangeOwnerKeyConnection; }; + /** columns and relationships of "account" */ export type AccountTransfersIssuedArgs = { distinctOn?: InputMaybe<Array<TransferSelectColumn>>; @@ -64,6 +64,7 @@ export type AccountTransfersIssuedArgs = { where?: InputMaybe<TransferBoolExp>; }; + /** columns and relationships of "account" */ export type AccountTransfersIssuedAggregateArgs = { distinctOn?: InputMaybe<Array<TransferSelectColumn>>; @@ -73,6 +74,7 @@ export type AccountTransfersIssuedAggregateArgs = { where?: InputMaybe<TransferBoolExp>; }; + /** columns and relationships of "account" */ export type AccountTransfersIssued_ConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; @@ -84,6 +86,7 @@ export type AccountTransfersIssued_ConnectionArgs = { where?: InputMaybe<TransferBoolExp>; }; + /** columns and relationships of "account" */ export type AccountTransfersReceivedArgs = { distinctOn?: InputMaybe<Array<TransferSelectColumn>>; @@ -93,6 +96,7 @@ export type AccountTransfersReceivedArgs = { where?: InputMaybe<TransferBoolExp>; }; + /** columns and relationships of "account" */ export type AccountTransfersReceivedAggregateArgs = { distinctOn?: InputMaybe<Array<TransferSelectColumn>>; @@ -102,6 +106,7 @@ export type AccountTransfersReceivedAggregateArgs = { where?: InputMaybe<TransferBoolExp>; }; + /** columns and relationships of "account" */ export type AccountTransfersReceived_ConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; @@ -113,6 +118,7 @@ export type AccountTransfersReceived_ConnectionArgs = { where?: InputMaybe<TransferBoolExp>; }; + /** columns and relationships of "account" */ export type AccountWasIdentityArgs = { distinctOn?: InputMaybe<Array<ChangeOwnerKeySelectColumn>>; @@ -122,6 +128,7 @@ export type AccountWasIdentityArgs = { where?: InputMaybe<ChangeOwnerKeyBoolExp>; }; + /** columns and relationships of "account" */ export type AccountWasIdentityAggregateArgs = { distinctOn?: InputMaybe<Array<ChangeOwnerKeySelectColumn>>; @@ -131,6 +138,7 @@ export type AccountWasIdentityAggregateArgs = { where?: InputMaybe<ChangeOwnerKeyBoolExp>; }; + /** columns and relationships of "account" */ export type AccountWasIdentity_ConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; @@ -161,6 +169,7 @@ export type AccountAggregateFields = { min?: Maybe<AccountMinFields>; }; + /** aggregate fields of "account" */ export type AccountAggregateFieldsCountArgs = { columns?: InputMaybe<Array<AccountSelectColumn>>; @@ -246,7 +255,7 @@ export enum AccountSelectColumn { /** column name */ Id = 'id', /** column name */ - LinkedIdentityId = 'linkedIdentityId', + LinkedIdentityId = 'linkedIdentityId' } /** columns and relationships of "block" */ @@ -287,6 +296,7 @@ export type Block = Node & { validator?: Maybe<Scalars['bytea']['output']>; }; + /** columns and relationships of "block" */ export type BlockCallsArgs = { distinctOn?: InputMaybe<Array<CallSelectColumn>>; @@ -296,6 +306,7 @@ export type BlockCallsArgs = { where?: InputMaybe<CallBoolExp>; }; + /** columns and relationships of "block" */ export type BlockCallsAggregateArgs = { distinctOn?: InputMaybe<Array<CallSelectColumn>>; @@ -305,6 +316,7 @@ export type BlockCallsAggregateArgs = { where?: InputMaybe<CallBoolExp>; }; + /** columns and relationships of "block" */ export type BlockCalls_ConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; @@ -316,6 +328,7 @@ export type BlockCalls_ConnectionArgs = { where?: InputMaybe<CallBoolExp>; }; + /** columns and relationships of "block" */ export type BlockEventsArgs = { distinctOn?: InputMaybe<Array<EventSelectColumn>>; @@ -325,6 +338,7 @@ export type BlockEventsArgs = { where?: InputMaybe<EventBoolExp>; }; + /** columns and relationships of "block" */ export type BlockEventsAggregateArgs = { distinctOn?: InputMaybe<Array<EventSelectColumn>>; @@ -334,6 +348,7 @@ export type BlockEventsAggregateArgs = { where?: InputMaybe<EventBoolExp>; }; + /** columns and relationships of "block" */ export type BlockEvents_ConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; @@ -345,6 +360,7 @@ export type BlockEvents_ConnectionArgs = { where?: InputMaybe<EventBoolExp>; }; + /** columns and relationships of "block" */ export type BlockExtrinsicsArgs = { distinctOn?: InputMaybe<Array<ExtrinsicSelectColumn>>; @@ -354,6 +370,7 @@ export type BlockExtrinsicsArgs = { where?: InputMaybe<ExtrinsicBoolExp>; }; + /** columns and relationships of "block" */ export type BlockExtrinsicsAggregateArgs = { distinctOn?: InputMaybe<Array<ExtrinsicSelectColumn>>; @@ -363,6 +380,7 @@ export type BlockExtrinsicsAggregateArgs = { where?: InputMaybe<ExtrinsicBoolExp>; }; + /** columns and relationships of "block" */ export type BlockExtrinsics_ConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; @@ -468,7 +486,7 @@ export enum BlockSelectColumn { /** column name */ Timestamp = 'timestamp', /** column name */ - Validator = 'validator', + Validator = 'validator' } /** Boolean expression to compare columns of type "Boolean". All fields are combined with logical 'AND'. */ @@ -531,16 +549,19 @@ export type Call = Node & { success: Scalars['Boolean']['output']; }; + /** columns and relationships of "call" */ export type CallArgsArgs = { path?: InputMaybe<Scalars['String']['input']>; }; + /** columns and relationships of "call" */ export type CallErrorArgs = { path?: InputMaybe<Scalars['String']['input']>; }; + /** columns and relationships of "call" */ export type CallEventsArgs = { distinctOn?: InputMaybe<Array<EventSelectColumn>>; @@ -550,6 +571,7 @@ export type CallEventsArgs = { where?: InputMaybe<EventBoolExp>; }; + /** columns and relationships of "call" */ export type CallEventsAggregateArgs = { distinctOn?: InputMaybe<Array<EventSelectColumn>>; @@ -559,6 +581,7 @@ export type CallEventsAggregateArgs = { where?: InputMaybe<EventBoolExp>; }; + /** columns and relationships of "call" */ export type CallEvents_ConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; @@ -570,6 +593,7 @@ export type CallEvents_ConnectionArgs = { where?: InputMaybe<EventBoolExp>; }; + /** columns and relationships of "call" */ export type CallSubcallsArgs = { distinctOn?: InputMaybe<Array<CallSelectColumn>>; @@ -579,6 +603,7 @@ export type CallSubcallsArgs = { where?: InputMaybe<CallBoolExp>; }; + /** columns and relationships of "call" */ export type CallSubcallsAggregateArgs = { distinctOn?: InputMaybe<Array<CallSelectColumn>>; @@ -588,6 +613,7 @@ export type CallSubcallsAggregateArgs = { where?: InputMaybe<CallBoolExp>; }; + /** columns and relationships of "call" */ export type CallSubcalls_ConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; @@ -620,6 +646,7 @@ export type CallAggregateFields = { min?: Maybe<CallMinFields>; }; + /** aggregate fields of "call" */ export type CallAggregateFieldsCountArgs = { columns?: InputMaybe<Array<CallSelectColumn>>; @@ -764,19 +791,19 @@ export enum CallSelectColumn { /** column name */ ParentId = 'parentId', /** column name */ - Success = 'success', + Success = 'success' } /** select "callAggregateBoolExpBool_andArgumentsColumns" columns of table "call" */ export enum CallSelectColumnCallAggregateBoolExpBool_AndArgumentsColumns { /** column name */ - Success = 'success', + Success = 'success' } /** select "callAggregateBoolExpBool_orArgumentsColumns" columns of table "call" */ export enum CallSelectColumnCallAggregateBoolExpBool_OrArgumentsColumns { /** column name */ - Success = 'success', + Success = 'success' } /** columns and relationships of "cert" */ @@ -788,6 +815,9 @@ export type Cert = Node & { certHistoryAggregate: CertEventAggregate; /** An array relationship connection */ certHistory_connection: CertEventConnection; + /** An object relationship */ + createdIn?: Maybe<Event>; + createdInId?: Maybe<Scalars['String']['output']>; createdOn: Scalars['Int']['output']; expireOn: Scalars['Int']['output']; id: Scalars['ID']['output']; @@ -798,8 +828,13 @@ export type Cert = Node & { /** An object relationship */ receiver?: Maybe<Identity>; receiverId?: Maybe<Scalars['String']['output']>; + /** An object relationship */ + updatedIn?: Maybe<Event>; + updatedInId?: Maybe<Scalars['String']['output']>; + updatedOn: Scalars['Int']['output']; }; + /** columns and relationships of "cert" */ export type CertCertHistoryArgs = { distinctOn?: InputMaybe<Array<CertEventSelectColumn>>; @@ -809,6 +844,7 @@ export type CertCertHistoryArgs = { where?: InputMaybe<CertEventBoolExp>; }; + /** columns and relationships of "cert" */ export type CertCertHistoryAggregateArgs = { distinctOn?: InputMaybe<Array<CertEventSelectColumn>>; @@ -818,6 +854,7 @@ export type CertCertHistoryAggregateArgs = { where?: InputMaybe<CertEventBoolExp>; }; + /** columns and relationships of "cert" */ export type CertCertHistory_ConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; @@ -858,6 +895,7 @@ export type CertAggregateFields = { variance?: Maybe<CertVarianceFields>; }; + /** aggregate fields of "cert" */ export type CertAggregateFieldsCountArgs = { columns?: InputMaybe<Array<CertSelectColumn>>; @@ -884,12 +922,14 @@ export type CertAvgFields = { __typename?: 'CertAvgFields'; createdOn?: Maybe<Scalars['Float']['output']>; expireOn?: Maybe<Scalars['Float']['output']>; + updatedOn?: Maybe<Scalars['Float']['output']>; }; /** order by avg() on columns of table "cert" */ export type CertAvgOrderBy = { createdOn?: InputMaybe<OrderBy>; expireOn?: InputMaybe<OrderBy>; + updatedOn?: InputMaybe<OrderBy>; }; /** Boolean expression to filter rows from the table "cert". All fields are combined with a logical 'AND'. */ @@ -899,6 +939,8 @@ export type CertBoolExp = { _or?: InputMaybe<Array<CertBoolExp>>; certHistory?: InputMaybe<CertEventBoolExp>; certHistoryAggregate?: InputMaybe<CertEventAggregateBoolExp>; + createdIn?: InputMaybe<EventBoolExp>; + createdInId?: InputMaybe<StringComparisonExp>; createdOn?: InputMaybe<IntComparisonExp>; expireOn?: InputMaybe<IntComparisonExp>; id?: InputMaybe<StringComparisonExp>; @@ -907,6 +949,9 @@ export type CertBoolExp = { issuerId?: InputMaybe<StringComparisonExp>; receiver?: InputMaybe<IdentityBoolExp>; receiverId?: InputMaybe<StringComparisonExp>; + updatedIn?: InputMaybe<EventBoolExp>; + updatedInId?: InputMaybe<StringComparisonExp>; + updatedOn?: InputMaybe<IntComparisonExp>; }; /** A Relay connection object on "cert" */ @@ -963,6 +1008,7 @@ export type CertEventAggregateFields = { variance?: Maybe<CertEventVarianceFields>; }; + /** aggregate fields of "cert_event" */ export type CertEventAggregateFieldsCountArgs = { columns?: InputMaybe<Array<CertEventSelectColumn>>; @@ -1078,7 +1124,7 @@ export enum CertEventSelectColumn { /** column name */ EventType = 'eventType', /** column name */ - Id = 'id', + Id = 'id' } /** aggregate stddev on columns */ @@ -1161,44 +1207,58 @@ export type CertEventVarianceOrderBy = { /** aggregate max on columns */ export type CertMaxFields = { __typename?: 'CertMaxFields'; + createdInId?: Maybe<Scalars['String']['output']>; createdOn?: Maybe<Scalars['Int']['output']>; expireOn?: Maybe<Scalars['Int']['output']>; id?: Maybe<Scalars['String']['output']>; issuerId?: Maybe<Scalars['String']['output']>; receiverId?: Maybe<Scalars['String']['output']>; + updatedInId?: Maybe<Scalars['String']['output']>; + updatedOn?: Maybe<Scalars['Int']['output']>; }; /** order by max() on columns of table "cert" */ export type CertMaxOrderBy = { + createdInId?: InputMaybe<OrderBy>; createdOn?: InputMaybe<OrderBy>; expireOn?: InputMaybe<OrderBy>; id?: InputMaybe<OrderBy>; issuerId?: InputMaybe<OrderBy>; receiverId?: InputMaybe<OrderBy>; + updatedInId?: InputMaybe<OrderBy>; + updatedOn?: InputMaybe<OrderBy>; }; /** aggregate min on columns */ export type CertMinFields = { __typename?: 'CertMinFields'; + createdInId?: Maybe<Scalars['String']['output']>; createdOn?: Maybe<Scalars['Int']['output']>; expireOn?: Maybe<Scalars['Int']['output']>; id?: Maybe<Scalars['String']['output']>; issuerId?: Maybe<Scalars['String']['output']>; receiverId?: Maybe<Scalars['String']['output']>; + updatedInId?: Maybe<Scalars['String']['output']>; + updatedOn?: Maybe<Scalars['Int']['output']>; }; /** order by min() on columns of table "cert" */ export type CertMinOrderBy = { + createdInId?: InputMaybe<OrderBy>; createdOn?: InputMaybe<OrderBy>; expireOn?: InputMaybe<OrderBy>; id?: InputMaybe<OrderBy>; issuerId?: InputMaybe<OrderBy>; receiverId?: InputMaybe<OrderBy>; + updatedInId?: InputMaybe<OrderBy>; + updatedOn?: InputMaybe<OrderBy>; }; /** Ordering options when selecting data from "cert". */ export type CertOrderBy = { certHistoryAggregate?: InputMaybe<CertEventAggregateOrderBy>; + createdIn?: InputMaybe<EventOrderBy>; + createdInId?: InputMaybe<OrderBy>; createdOn?: InputMaybe<OrderBy>; expireOn?: InputMaybe<OrderBy>; id?: InputMaybe<OrderBy>; @@ -1207,10 +1267,15 @@ export type CertOrderBy = { issuerId?: InputMaybe<OrderBy>; receiver?: InputMaybe<IdentityOrderBy>; receiverId?: InputMaybe<OrderBy>; + updatedIn?: InputMaybe<EventOrderBy>; + updatedInId?: InputMaybe<OrderBy>; + updatedOn?: InputMaybe<OrderBy>; }; /** select columns of table "cert" */ export enum CertSelectColumn { + /** column name */ + CreatedInId = 'createdInId', /** column name */ CreatedOn = 'createdOn', /** column name */ @@ -1223,18 +1288,22 @@ export enum CertSelectColumn { IssuerId = 'issuerId', /** column name */ ReceiverId = 'receiverId', + /** column name */ + UpdatedInId = 'updatedInId', + /** column name */ + UpdatedOn = 'updatedOn' } /** select "certAggregateBoolExpBool_andArgumentsColumns" columns of table "cert" */ export enum CertSelectColumnCertAggregateBoolExpBool_AndArgumentsColumns { /** column name */ - IsActive = 'isActive', + IsActive = 'isActive' } /** select "certAggregateBoolExpBool_orArgumentsColumns" columns of table "cert" */ export enum CertSelectColumnCertAggregateBoolExpBool_OrArgumentsColumns { /** column name */ - IsActive = 'isActive', + IsActive = 'isActive' } /** aggregate stddev on columns */ @@ -1242,12 +1311,14 @@ export type CertStddevFields = { __typename?: 'CertStddevFields'; createdOn?: Maybe<Scalars['Float']['output']>; expireOn?: Maybe<Scalars['Float']['output']>; + updatedOn?: Maybe<Scalars['Float']['output']>; }; /** order by stddev() on columns of table "cert" */ export type CertStddevOrderBy = { createdOn?: InputMaybe<OrderBy>; expireOn?: InputMaybe<OrderBy>; + updatedOn?: InputMaybe<OrderBy>; }; /** aggregate stddevPop on columns */ @@ -1255,12 +1326,14 @@ export type CertStddevPopFields = { __typename?: 'CertStddevPopFields'; createdOn?: Maybe<Scalars['Float']['output']>; expireOn?: Maybe<Scalars['Float']['output']>; + updatedOn?: Maybe<Scalars['Float']['output']>; }; /** order by stddevPop() on columns of table "cert" */ export type CertStddevPopOrderBy = { createdOn?: InputMaybe<OrderBy>; expireOn?: InputMaybe<OrderBy>; + updatedOn?: InputMaybe<OrderBy>; }; /** aggregate stddevSamp on columns */ @@ -1268,12 +1341,14 @@ export type CertStddevSampFields = { __typename?: 'CertStddevSampFields'; createdOn?: Maybe<Scalars['Float']['output']>; expireOn?: Maybe<Scalars['Float']['output']>; + updatedOn?: Maybe<Scalars['Float']['output']>; }; /** order by stddevSamp() on columns of table "cert" */ export type CertStddevSampOrderBy = { createdOn?: InputMaybe<OrderBy>; expireOn?: InputMaybe<OrderBy>; + updatedOn?: InputMaybe<OrderBy>; }; /** aggregate sum on columns */ @@ -1281,12 +1356,14 @@ export type CertSumFields = { __typename?: 'CertSumFields'; createdOn?: Maybe<Scalars['Int']['output']>; expireOn?: Maybe<Scalars['Int']['output']>; + updatedOn?: Maybe<Scalars['Int']['output']>; }; /** order by sum() on columns of table "cert" */ export type CertSumOrderBy = { createdOn?: InputMaybe<OrderBy>; expireOn?: InputMaybe<OrderBy>; + updatedOn?: InputMaybe<OrderBy>; }; /** aggregate varPop on columns */ @@ -1294,12 +1371,14 @@ export type CertVarPopFields = { __typename?: 'CertVarPopFields'; createdOn?: Maybe<Scalars['Float']['output']>; expireOn?: Maybe<Scalars['Float']['output']>; + updatedOn?: Maybe<Scalars['Float']['output']>; }; /** order by varPop() on columns of table "cert" */ export type CertVarPopOrderBy = { createdOn?: InputMaybe<OrderBy>; expireOn?: InputMaybe<OrderBy>; + updatedOn?: InputMaybe<OrderBy>; }; /** aggregate varSamp on columns */ @@ -1307,12 +1386,14 @@ export type CertVarSampFields = { __typename?: 'CertVarSampFields'; createdOn?: Maybe<Scalars['Float']['output']>; expireOn?: Maybe<Scalars['Float']['output']>; + updatedOn?: Maybe<Scalars['Float']['output']>; }; /** order by varSamp() on columns of table "cert" */ export type CertVarSampOrderBy = { createdOn?: InputMaybe<OrderBy>; expireOn?: InputMaybe<OrderBy>; + updatedOn?: InputMaybe<OrderBy>; }; /** aggregate variance on columns */ @@ -1320,12 +1401,14 @@ export type CertVarianceFields = { __typename?: 'CertVarianceFields'; createdOn?: Maybe<Scalars['Float']['output']>; expireOn?: Maybe<Scalars['Float']['output']>; + updatedOn?: Maybe<Scalars['Float']['output']>; }; /** order by variance() on columns of table "cert" */ export type CertVarianceOrderBy = { createdOn?: InputMaybe<OrderBy>; expireOn?: InputMaybe<OrderBy>; + updatedOn?: InputMaybe<OrderBy>; }; /** columns and relationships of "change_owner_key" */ @@ -1371,6 +1454,7 @@ export type ChangeOwnerKeyAggregateFields = { variance?: Maybe<ChangeOwnerKeyVarianceFields>; }; + /** aggregate fields of "change_owner_key" */ export type ChangeOwnerKeyAggregateFieldsCountArgs = { columns?: InputMaybe<Array<ChangeOwnerKeySelectColumn>>; @@ -1492,7 +1576,7 @@ export enum ChangeOwnerKeySelectColumn { /** column name */ NextId = 'nextId', /** column name */ - PreviousId = 'previousId', + PreviousId = 'previousId' } /** aggregate stddev on columns */ @@ -1575,7 +1659,7 @@ export type ChangeOwnerKeyVarianceOrderBy = { export enum CounterLevelEnum { Global = 'GLOBAL', Item = 'ITEM', - Pallet = 'PALLET', + Pallet = 'PALLET' } /** Boolean expression to compare columns of type "CounterLevelEnum". All fields are combined with logical 'AND'. */ @@ -1608,6 +1692,7 @@ export type Event = Node & { phase: Scalars['String']['output']; }; + /** columns and relationships of "event" */ export type EventArgsArgs = { path?: InputMaybe<Scalars['String']['input']>; @@ -1640,6 +1725,7 @@ export type EventAggregateFields = { variance?: Maybe<EventVarianceFields>; }; + /** aggregate fields of "event" */ export type EventAggregateFieldsCountArgs = { columns?: InputMaybe<Array<EventSelectColumn>>; @@ -1797,7 +1883,7 @@ export enum EventSelectColumn { /** column name */ Pallet = 'pallet', /** column name */ - Phase = 'phase', + Phase = 'phase' } /** aggregate stddev on columns */ @@ -1847,7 +1933,7 @@ export type EventSumOrderBy = { export enum EventTypeEnum { Creation = 'CREATION', Removal = 'REMOVAL', - Renewal = 'RENEWAL', + Renewal = 'RENEWAL' } /** Boolean expression to compare columns of type "EventTypeEnum". All fields are combined with logical 'AND'. */ @@ -1924,6 +2010,7 @@ export type Extrinsic = Node & { version: Scalars['Int']['output']; }; + /** columns and relationships of "extrinsic" */ export type ExtrinsicCallsArgs = { distinctOn?: InputMaybe<Array<CallSelectColumn>>; @@ -1933,6 +2020,7 @@ export type ExtrinsicCallsArgs = { where?: InputMaybe<CallBoolExp>; }; + /** columns and relationships of "extrinsic" */ export type ExtrinsicCallsAggregateArgs = { distinctOn?: InputMaybe<Array<CallSelectColumn>>; @@ -1942,6 +2030,7 @@ export type ExtrinsicCallsAggregateArgs = { where?: InputMaybe<CallBoolExp>; }; + /** columns and relationships of "extrinsic" */ export type ExtrinsicCalls_ConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; @@ -1953,11 +2042,13 @@ export type ExtrinsicCalls_ConnectionArgs = { where?: InputMaybe<CallBoolExp>; }; + /** columns and relationships of "extrinsic" */ export type ExtrinsicErrorArgs = { path?: InputMaybe<Scalars['String']['input']>; }; + /** columns and relationships of "extrinsic" */ export type ExtrinsicEventsArgs = { distinctOn?: InputMaybe<Array<EventSelectColumn>>; @@ -1967,6 +2058,7 @@ export type ExtrinsicEventsArgs = { where?: InputMaybe<EventBoolExp>; }; + /** columns and relationships of "extrinsic" */ export type ExtrinsicEventsAggregateArgs = { distinctOn?: InputMaybe<Array<EventSelectColumn>>; @@ -1976,6 +2068,7 @@ export type ExtrinsicEventsAggregateArgs = { where?: InputMaybe<EventBoolExp>; }; + /** columns and relationships of "extrinsic" */ export type ExtrinsicEvents_ConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; @@ -1987,6 +2080,7 @@ export type ExtrinsicEvents_ConnectionArgs = { where?: InputMaybe<EventBoolExp>; }; + /** columns and relationships of "extrinsic" */ export type ExtrinsicSignatureArgs = { path?: InputMaybe<Scalars['String']['input']>; @@ -2021,6 +2115,7 @@ export type ExtrinsicAggregateFields = { variance?: Maybe<ExtrinsicVarianceFields>; }; + /** aggregate fields of "extrinsic" */ export type ExtrinsicAggregateFieldsCountArgs = { columns?: InputMaybe<Array<ExtrinsicSelectColumn>>; @@ -2184,19 +2279,19 @@ export enum ExtrinsicSelectColumn { /** column name */ Tip = 'tip', /** column name */ - Version = 'version', + Version = 'version' } /** select "extrinsicAggregateBoolExpBool_andArgumentsColumns" columns of table "extrinsic" */ export enum ExtrinsicSelectColumnExtrinsicAggregateBoolExpBool_AndArgumentsColumns { /** column name */ - Success = 'success', + Success = 'success' } /** select "extrinsicAggregateBoolExpBool_orArgumentsColumns" columns of table "extrinsic" */ export enum ExtrinsicSelectColumnExtrinsicAggregateBoolExpBool_OrArgumentsColumns { /** column name */ - Success = 'success', + Success = 'success' } /** aggregate stddev on columns */ @@ -2382,6 +2477,7 @@ export type Identity = Node & { udHistory?: Maybe<Array<UdHistory>>; }; + /** columns and relationships of "identity" */ export type IdentityCertIssuedArgs = { distinctOn?: InputMaybe<Array<CertSelectColumn>>; @@ -2391,6 +2487,7 @@ export type IdentityCertIssuedArgs = { where?: InputMaybe<CertBoolExp>; }; + /** columns and relationships of "identity" */ export type IdentityCertIssuedAggregateArgs = { distinctOn?: InputMaybe<Array<CertSelectColumn>>; @@ -2400,6 +2497,7 @@ export type IdentityCertIssuedAggregateArgs = { where?: InputMaybe<CertBoolExp>; }; + /** columns and relationships of "identity" */ export type IdentityCertIssued_ConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; @@ -2411,6 +2509,7 @@ export type IdentityCertIssued_ConnectionArgs = { where?: InputMaybe<CertBoolExp>; }; + /** columns and relationships of "identity" */ export type IdentityCertReceivedArgs = { distinctOn?: InputMaybe<Array<CertSelectColumn>>; @@ -2420,6 +2519,7 @@ export type IdentityCertReceivedArgs = { where?: InputMaybe<CertBoolExp>; }; + /** columns and relationships of "identity" */ export type IdentityCertReceivedAggregateArgs = { distinctOn?: InputMaybe<Array<CertSelectColumn>>; @@ -2429,6 +2529,7 @@ export type IdentityCertReceivedAggregateArgs = { where?: InputMaybe<CertBoolExp>; }; + /** columns and relationships of "identity" */ export type IdentityCertReceived_ConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; @@ -2440,6 +2541,7 @@ export type IdentityCertReceived_ConnectionArgs = { where?: InputMaybe<CertBoolExp>; }; + /** columns and relationships of "identity" */ export type IdentityLinkedAccountArgs = { distinctOn?: InputMaybe<Array<AccountSelectColumn>>; @@ -2449,6 +2551,7 @@ export type IdentityLinkedAccountArgs = { where?: InputMaybe<AccountBoolExp>; }; + /** columns and relationships of "identity" */ export type IdentityLinkedAccountAggregateArgs = { distinctOn?: InputMaybe<Array<AccountSelectColumn>>; @@ -2458,6 +2561,7 @@ export type IdentityLinkedAccountAggregateArgs = { where?: InputMaybe<AccountBoolExp>; }; + /** columns and relationships of "identity" */ export type IdentityLinkedAccount_ConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; @@ -2469,6 +2573,7 @@ export type IdentityLinkedAccount_ConnectionArgs = { where?: InputMaybe<AccountBoolExp>; }; + /** columns and relationships of "identity" */ export type IdentityMembershipHistoryArgs = { distinctOn?: InputMaybe<Array<MembershipEventSelectColumn>>; @@ -2478,6 +2583,7 @@ export type IdentityMembershipHistoryArgs = { where?: InputMaybe<MembershipEventBoolExp>; }; + /** columns and relationships of "identity" */ export type IdentityMembershipHistoryAggregateArgs = { distinctOn?: InputMaybe<Array<MembershipEventSelectColumn>>; @@ -2487,6 +2593,7 @@ export type IdentityMembershipHistoryAggregateArgs = { where?: InputMaybe<MembershipEventBoolExp>; }; + /** columns and relationships of "identity" */ export type IdentityMembershipHistory_ConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; @@ -2498,6 +2605,7 @@ export type IdentityMembershipHistory_ConnectionArgs = { where?: InputMaybe<MembershipEventBoolExp>; }; + /** columns and relationships of "identity" */ export type IdentityOwnerKeyChangeArgs = { distinctOn?: InputMaybe<Array<ChangeOwnerKeySelectColumn>>; @@ -2507,6 +2615,7 @@ export type IdentityOwnerKeyChangeArgs = { where?: InputMaybe<ChangeOwnerKeyBoolExp>; }; + /** columns and relationships of "identity" */ export type IdentityOwnerKeyChangeAggregateArgs = { distinctOn?: InputMaybe<Array<ChangeOwnerKeySelectColumn>>; @@ -2516,6 +2625,7 @@ export type IdentityOwnerKeyChangeAggregateArgs = { where?: InputMaybe<ChangeOwnerKeyBoolExp>; }; + /** columns and relationships of "identity" */ export type IdentityOwnerKeyChange_ConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; @@ -2527,6 +2637,7 @@ export type IdentityOwnerKeyChange_ConnectionArgs = { where?: InputMaybe<ChangeOwnerKeyBoolExp>; }; + /** columns and relationships of "identity" */ export type IdentitySmithCertIssuedArgs = { distinctOn?: InputMaybe<Array<SmithCertSelectColumn>>; @@ -2536,6 +2647,7 @@ export type IdentitySmithCertIssuedArgs = { where?: InputMaybe<SmithCertBoolExp>; }; + /** columns and relationships of "identity" */ export type IdentitySmithCertIssuedAggregateArgs = { distinctOn?: InputMaybe<Array<SmithCertSelectColumn>>; @@ -2545,6 +2657,7 @@ export type IdentitySmithCertIssuedAggregateArgs = { where?: InputMaybe<SmithCertBoolExp>; }; + /** columns and relationships of "identity" */ export type IdentitySmithCertIssued_ConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; @@ -2556,6 +2669,7 @@ export type IdentitySmithCertIssued_ConnectionArgs = { where?: InputMaybe<SmithCertBoolExp>; }; + /** columns and relationships of "identity" */ export type IdentitySmithCertReceivedArgs = { distinctOn?: InputMaybe<Array<SmithCertSelectColumn>>; @@ -2565,6 +2679,7 @@ export type IdentitySmithCertReceivedArgs = { where?: InputMaybe<SmithCertBoolExp>; }; + /** columns and relationships of "identity" */ export type IdentitySmithCertReceivedAggregateArgs = { distinctOn?: InputMaybe<Array<SmithCertSelectColumn>>; @@ -2574,6 +2689,7 @@ export type IdentitySmithCertReceivedAggregateArgs = { where?: InputMaybe<SmithCertBoolExp>; }; + /** columns and relationships of "identity" */ export type IdentitySmithCertReceived_ConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; @@ -2585,6 +2701,7 @@ export type IdentitySmithCertReceived_ConnectionArgs = { where?: InputMaybe<SmithCertBoolExp>; }; + /** columns and relationships of "identity" */ export type IdentityUdHistoryArgs = { distinctOn?: InputMaybe<Array<UdHistorySelectColumn>>; @@ -2690,7 +2807,7 @@ export enum IdentitySelectColumn { /** column name */ SmithStatus = 'smithStatus', /** column name */ - Status = 'status', + Status = 'status' } export enum IdentityStatusEnum { @@ -2699,7 +2816,7 @@ export enum IdentityStatusEnum { Removed = 'REMOVED', Revoked = 'REVOKED', Unconfirmed = 'UNCONFIRMED', - Unvalidated = 'UNVALIDATED', + Unvalidated = 'UNVALIDATED' } /** Boolean expression to compare columns of type "IdentityStatusEnum". All fields are combined with logical 'AND'. */ @@ -2744,7 +2861,7 @@ export type IntComparisonExp = { export enum ItemTypeEnum { Calls = 'CALLS', Events = 'EVENTS', - Extrinsics = 'EXTRINSICS', + Extrinsics = 'EXTRINSICS' } /** Boolean expression to compare columns of type "ItemTypeEnum". All fields are combined with logical 'AND'. */ @@ -2806,7 +2923,7 @@ export enum ItemsCounterSelectColumn { /** column name */ Total = 'total', /** column name */ - Type = 'type', + Type = 'type' } export type JsonbCastExp = { @@ -2878,6 +2995,7 @@ export type MembershipEventAggregateFields = { variance?: Maybe<MembershipEventVarianceFields>; }; + /** aggregate fields of "membership_event" */ export type MembershipEventAggregateFieldsCountArgs = { columns?: InputMaybe<Array<MembershipEventSelectColumn>>; @@ -2993,7 +3111,7 @@ export enum MembershipEventSelectColumn { /** column name */ Id = 'id', /** column name */ - IdentityId = 'identityId', + IdentityId = 'identityId' } /** aggregate stddev on columns */ @@ -3105,7 +3223,7 @@ export enum OrderBy { /** in descending order, nulls first */ DescNullsFirst = 'DESC_NULLS_FIRST', /** in descending order, nulls last */ - DescNullsLast = 'DESC_NULLS_LAST', + DescNullsLast = 'DESC_NULLS_LAST' } export type PageInfo = { @@ -3156,6 +3274,7 @@ export type SmithCertAggregateFields = { variance?: Maybe<SmithCertVarianceFields>; }; + /** aggregate fields of "smith_cert" */ export type SmithCertAggregateFieldsCountArgs = { columns?: InputMaybe<Array<SmithCertSelectColumn>>; @@ -3267,7 +3386,7 @@ export enum SmithCertSelectColumn { /** column name */ IssuerId = 'issuerId', /** column name */ - ReceiverId = 'receiverId', + ReceiverId = 'receiverId' } /** aggregate stddev on columns */ @@ -3351,7 +3470,7 @@ export enum SmithStatusEnum { Excluded = 'EXCLUDED', Invited = 'INVITED', Pending = 'PENDING', - Smith = 'SMITH', + Smith = 'SMITH' } /** Boolean expression to compare columns of type "SmithStatusEnum". All fields are combined with logical 'AND'. */ @@ -3469,6 +3588,7 @@ export type TransferAggregateFields = { variance?: Maybe<TransferVarianceFields>; }; + /** aggregate fields of "transfer" */ export type TransferAggregateFieldsCountArgs = { columns?: InputMaybe<Array<TransferSelectColumn>>; @@ -3606,7 +3726,7 @@ export enum TransferSelectColumn { /** column name */ Timestamp = 'timestamp', /** column name */ - ToId = 'toId', + ToId = 'toId' } /** aggregate stddev on columns */ @@ -3798,7 +3918,7 @@ export enum UdHistorySelectColumn { /** column name */ IdentityId = 'identityId', /** column name */ - Timestamp = 'timestamp', + Timestamp = 'timestamp' } /** order by stddev() on columns of table "ud_history" */ @@ -3912,7 +4032,7 @@ export enum UdReevalSelectColumn { /** column name */ NewUdAmount = 'newUdAmount', /** column name */ - Timestamp = 'timestamp', + Timestamp = 'timestamp' } /** columns and relationships of "universal_dividend" */ @@ -3984,7 +4104,7 @@ export enum UniversalDividendSelectColumn { /** column name */ MonetaryMass = 'monetaryMass', /** column name */ - Timestamp = 'timestamp', + Timestamp = 'timestamp' } export type AccountAggregateBoolExpCount = { @@ -4128,6 +4248,7 @@ export type Query_Root = { universalDividendConnection: UniversalDividendConnection; }; + export type Query_RootAccountConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; before?: InputMaybe<Scalars['String']['input']>; @@ -4138,6 +4259,7 @@ export type Query_RootAccountConnectionArgs = { where?: InputMaybe<AccountBoolExp>; }; + export type Query_RootBlockConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; before?: InputMaybe<Scalars['String']['input']>; @@ -4148,6 +4270,7 @@ export type Query_RootBlockConnectionArgs = { where?: InputMaybe<BlockBoolExp>; }; + export type Query_RootCallConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; before?: InputMaybe<Scalars['String']['input']>; @@ -4158,6 +4281,7 @@ export type Query_RootCallConnectionArgs = { where?: InputMaybe<CallBoolExp>; }; + export type Query_RootCertConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; before?: InputMaybe<Scalars['String']['input']>; @@ -4168,6 +4292,7 @@ export type Query_RootCertConnectionArgs = { where?: InputMaybe<CertBoolExp>; }; + export type Query_RootCertEventConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; before?: InputMaybe<Scalars['String']['input']>; @@ -4178,6 +4303,7 @@ export type Query_RootCertEventConnectionArgs = { where?: InputMaybe<CertEventBoolExp>; }; + export type Query_RootChangeOwnerKeyConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; before?: InputMaybe<Scalars['String']['input']>; @@ -4188,6 +4314,7 @@ export type Query_RootChangeOwnerKeyConnectionArgs = { where?: InputMaybe<ChangeOwnerKeyBoolExp>; }; + export type Query_RootEventConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; before?: InputMaybe<Scalars['String']['input']>; @@ -4198,6 +4325,7 @@ export type Query_RootEventConnectionArgs = { where?: InputMaybe<EventBoolExp>; }; + export type Query_RootExtrinsicConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; before?: InputMaybe<Scalars['String']['input']>; @@ -4208,6 +4336,7 @@ export type Query_RootExtrinsicConnectionArgs = { where?: InputMaybe<ExtrinsicBoolExp>; }; + export type Query_RootGetUdHistory_ConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; args: GetUdHistoryArgs; @@ -4219,6 +4348,7 @@ export type Query_RootGetUdHistory_ConnectionArgs = { where?: InputMaybe<UdHistoryBoolExp>; }; + export type Query_RootIdentityConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; before?: InputMaybe<Scalars['String']['input']>; @@ -4229,6 +4359,7 @@ export type Query_RootIdentityConnectionArgs = { where?: InputMaybe<IdentityBoolExp>; }; + export type Query_RootItemsCounterConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; before?: InputMaybe<Scalars['String']['input']>; @@ -4239,6 +4370,7 @@ export type Query_RootItemsCounterConnectionArgs = { where?: InputMaybe<ItemsCounterBoolExp>; }; + export type Query_RootMembershipEventConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; before?: InputMaybe<Scalars['String']['input']>; @@ -4249,10 +4381,12 @@ export type Query_RootMembershipEventConnectionArgs = { where?: InputMaybe<MembershipEventBoolExp>; }; + export type Query_RootNodeArgs = { id: Scalars['ID']['input']; }; + export type Query_RootSmithCertConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; before?: InputMaybe<Scalars['String']['input']>; @@ -4263,6 +4397,7 @@ export type Query_RootSmithCertConnectionArgs = { where?: InputMaybe<SmithCertBoolExp>; }; + export type Query_RootTransferConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; before?: InputMaybe<Scalars['String']['input']>; @@ -4273,6 +4408,7 @@ export type Query_RootTransferConnectionArgs = { where?: InputMaybe<TransferBoolExp>; }; + export type Query_RootUdHistoryConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; before?: InputMaybe<Scalars['String']['input']>; @@ -4283,6 +4419,7 @@ export type Query_RootUdHistoryConnectionArgs = { where?: InputMaybe<UdHistoryBoolExp>; }; + export type Query_RootUdReevalConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; before?: InputMaybe<Scalars['String']['input']>; @@ -4293,6 +4430,7 @@ export type Query_RootUdReevalConnectionArgs = { where?: InputMaybe<UdReevalBoolExp>; }; + export type Query_RootUniversalDividendConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; before?: InputMaybe<Scalars['String']['input']>; @@ -4349,6 +4487,7 @@ export type Subscription_Root = { universalDividendConnection: UniversalDividendConnection; }; + export type Subscription_RootAccountConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; before?: InputMaybe<Scalars['String']['input']>; @@ -4359,6 +4498,7 @@ export type Subscription_RootAccountConnectionArgs = { where?: InputMaybe<AccountBoolExp>; }; + export type Subscription_RootBlockConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; before?: InputMaybe<Scalars['String']['input']>; @@ -4369,6 +4509,7 @@ export type Subscription_RootBlockConnectionArgs = { where?: InputMaybe<BlockBoolExp>; }; + export type Subscription_RootCallConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; before?: InputMaybe<Scalars['String']['input']>; @@ -4379,6 +4520,7 @@ export type Subscription_RootCallConnectionArgs = { where?: InputMaybe<CallBoolExp>; }; + export type Subscription_RootCertConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; before?: InputMaybe<Scalars['String']['input']>; @@ -4389,6 +4531,7 @@ export type Subscription_RootCertConnectionArgs = { where?: InputMaybe<CertBoolExp>; }; + export type Subscription_RootCertEventConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; before?: InputMaybe<Scalars['String']['input']>; @@ -4399,6 +4542,7 @@ export type Subscription_RootCertEventConnectionArgs = { where?: InputMaybe<CertEventBoolExp>; }; + export type Subscription_RootChangeOwnerKeyConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; before?: InputMaybe<Scalars['String']['input']>; @@ -4409,6 +4553,7 @@ export type Subscription_RootChangeOwnerKeyConnectionArgs = { where?: InputMaybe<ChangeOwnerKeyBoolExp>; }; + export type Subscription_RootEventConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; before?: InputMaybe<Scalars['String']['input']>; @@ -4419,6 +4564,7 @@ export type Subscription_RootEventConnectionArgs = { where?: InputMaybe<EventBoolExp>; }; + export type Subscription_RootExtrinsicConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; before?: InputMaybe<Scalars['String']['input']>; @@ -4429,6 +4575,7 @@ export type Subscription_RootExtrinsicConnectionArgs = { where?: InputMaybe<ExtrinsicBoolExp>; }; + export type Subscription_RootGetUdHistory_ConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; args: GetUdHistoryArgs; @@ -4440,6 +4587,7 @@ export type Subscription_RootGetUdHistory_ConnectionArgs = { where?: InputMaybe<UdHistoryBoolExp>; }; + export type Subscription_RootIdentityConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; before?: InputMaybe<Scalars['String']['input']>; @@ -4450,6 +4598,7 @@ export type Subscription_RootIdentityConnectionArgs = { where?: InputMaybe<IdentityBoolExp>; }; + export type Subscription_RootItemsCounterConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; before?: InputMaybe<Scalars['String']['input']>; @@ -4460,6 +4609,7 @@ export type Subscription_RootItemsCounterConnectionArgs = { where?: InputMaybe<ItemsCounterBoolExp>; }; + export type Subscription_RootMembershipEventConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; before?: InputMaybe<Scalars['String']['input']>; @@ -4470,10 +4620,12 @@ export type Subscription_RootMembershipEventConnectionArgs = { where?: InputMaybe<MembershipEventBoolExp>; }; + export type Subscription_RootNodeArgs = { id: Scalars['ID']['input']; }; + export type Subscription_RootSmithCertConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; before?: InputMaybe<Scalars['String']['input']>; @@ -4484,6 +4636,7 @@ export type Subscription_RootSmithCertConnectionArgs = { where?: InputMaybe<SmithCertBoolExp>; }; + export type Subscription_RootTransferConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; before?: InputMaybe<Scalars['String']['input']>; @@ -4494,6 +4647,7 @@ export type Subscription_RootTransferConnectionArgs = { where?: InputMaybe<TransferBoolExp>; }; + export type Subscription_RootUdHistoryConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; before?: InputMaybe<Scalars['String']['input']>; @@ -4504,6 +4658,7 @@ export type Subscription_RootUdHistoryConnectionArgs = { where?: InputMaybe<UdHistoryBoolExp>; }; + export type Subscription_RootUdReevalConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; before?: InputMaybe<Scalars['String']['input']>; @@ -4514,6 +4669,7 @@ export type Subscription_RootUdReevalConnectionArgs = { where?: InputMaybe<UdReevalBoolExp>; }; + export type Subscription_RootUniversalDividendConnectionArgs = { after?: InputMaybe<Scalars['String']['input']>; before?: InputMaybe<Scalars['String']['input']>; @@ -4531,104 +4687,22 @@ export type TransferAggregateBoolExpCount = { predicate: IntComparisonExp; }; -export type LightIdentityFragment = { - __typename?: 'Identity'; - id: string; - index: number; - name: string; - isMember: boolean; - accountId?: string | null; - membershipHistory: Array<{ __typename: 'MembershipEvent'; id: string }>; -}; +export type LightIdentityFragment = { __typename?: 'Identity', id: string, index: number, name: string, accountId?: string | null, status?: IdentityStatusEnum | null, isMember: boolean, createdOn: number, membershipHistory: Array<{ __typename: 'MembershipEvent', id: string, eventType?: EventTypeEnum | null }> }; -export type LightAccountFragment = { - __typename?: 'Account'; - id: string; - identity?: { - __typename?: 'Identity'; - id: string; - index: number; - name: string; - isMember: boolean; - accountId?: string | null; - membershipHistory: Array<{ __typename: 'MembershipEvent'; id: string }>; - } | null; -}; - -export type LightAccountConnectionFragment = { - __typename?: 'AccountConnection'; - pageInfo: { __typename?: 'PageInfo'; endCursor: string; hasNextPage: boolean }; - edges: Array<{ - __typename?: 'AccountEdge'; - node: { - __typename?: 'Account'; - id: string; - identity?: { - __typename?: 'Identity'; - id: string; - index: number; - name: string; - isMember: boolean; - accountId?: string | null; - membershipHistory: Array<{ __typename: 'MembershipEvent'; id: string }>; - } | null; - }; - }>; -}; - -export type LightBlockFragment = { - __typename: 'Block'; - id: string; - height: number; - hash: any; - timestamp: any; - callsCount: number; - eventsCount: number; - extrinsicsCount: number; -}; - -export type LightBlockConnectionFragment = { - __typename?: 'BlockConnection'; - pageInfo: { __typename?: 'PageInfo'; endCursor: string; hasNextPage: boolean }; - edges: Array<{ - __typename?: 'BlockEdge'; - node: { - __typename: 'Block'; - id: string; - height: number; - hash: any; - timestamp: any; - callsCount: number; - eventsCount: number; - extrinsicsCount: number; - }; - }>; -}; +export type LightAccountFragment = { __typename?: 'Account', id: string, identity?: { __typename?: 'Identity', id: string, index: number, name: string, accountId?: string | null, status?: IdentityStatusEnum | null, isMember: boolean, createdOn: number, membershipHistory: Array<{ __typename: 'MembershipEvent', id: string, eventType?: EventTypeEnum | null }> } | null }; + +export type LightAccountConnectionFragment = { __typename?: 'AccountConnection', pageInfo: { __typename?: 'PageInfo', endCursor: string, hasNextPage: boolean }, edges: Array<{ __typename?: 'AccountEdge', node: { __typename?: 'Account', id: string, identity?: { __typename?: 'Identity', id: string, index: number, name: string, accountId?: string | null, status?: IdentityStatusEnum | null, isMember: boolean, createdOn: number, membershipHistory: Array<{ __typename: 'MembershipEvent', id: string, eventType?: EventTypeEnum | null }> } | null } }> }; + +export type LightBlockFragment = { __typename: 'Block', id: string, height: number, hash: any, timestamp: any, callsCount: number, eventsCount: number, extrinsicsCount: number }; + +export type LightBlockConnectionFragment = { __typename?: 'BlockConnection', pageInfo: { __typename?: 'PageInfo', endCursor: string, hasNextPage: boolean }, edges: Array<{ __typename?: 'BlockEdge', node: { __typename: 'Block', id: string, height: number, hash: any, timestamp: any, callsCount: number, eventsCount: number, extrinsicsCount: number } }> }; export type BlockByIdQueryVariables = Exact<{ id: Scalars['String']['input']; }>; -export type BlockByIdQuery = { - __typename?: 'query_root'; - blockConnection: { - __typename?: 'BlockConnection'; - pageInfo: { __typename?: 'PageInfo'; endCursor: string; hasNextPage: boolean }; - edges: Array<{ - __typename?: 'BlockEdge'; - node: { - __typename: 'Block'; - id: string; - height: number; - hash: any; - timestamp: any; - callsCount: number; - eventsCount: number; - extrinsicsCount: number; - }; - }>; - }; -}; + +export type BlockByIdQuery = { __typename?: 'query_root', blockConnection: { __typename?: 'BlockConnection', pageInfo: { __typename?: 'PageInfo', endCursor: string, hasNextPage: boolean }, edges: Array<{ __typename?: 'BlockEdge', node: { __typename: 'Block', id: string, height: number, hash: any, timestamp: any, callsCount: number, eventsCount: number, extrinsicsCount: number } }> } }; export type BlocksQueryVariables = Exact<{ where?: InputMaybe<BlockBoolExp>; @@ -4637,131 +4711,18 @@ export type BlocksQueryVariables = Exact<{ orderBy?: InputMaybe<Array<BlockOrderBy> | BlockOrderBy>; }>; -export type BlocksQuery = { - __typename?: 'query_root'; - blockConnection: { - __typename?: 'BlockConnection'; - pageInfo: { __typename?: 'PageInfo'; endCursor: string; hasNextPage: boolean }; - edges: Array<{ - __typename?: 'BlockEdge'; - node: { - __typename: 'Block'; - id: string; - height: number; - hash: any; - timestamp: any; - callsCount: number; - eventsCount: number; - extrinsicsCount: number; - }; - }>; - }; -}; - -export type LightCertFragment = { __typename: 'Cert'; id: string; expireOn: number; createdOn: number }; - -export type CertFragment = { - __typename: 'Cert'; - id: string; - expireOn: number; - createdOn: number; - receiver?: { - __typename?: 'Identity'; - id: string; - index: number; - name: string; - isMember: boolean; - accountId?: string | null; - membershipHistory: Array<{ __typename: 'MembershipEvent'; id: string }>; - } | null; - issuer?: { - __typename?: 'Identity'; - id: string; - index: number; - name: string; - isMember: boolean; - accountId?: string | null; - membershipHistory: Array<{ __typename: 'MembershipEvent'; id: string }>; - } | null; -}; - -export type CertConnectionFragment = { - __typename?: 'CertConnection'; - edges: Array<{ - __typename?: 'CertEdge'; - node: { - __typename: 'Cert'; - id: string; - expireOn: number; - createdOn: number; - receiver?: { - __typename?: 'Identity'; - id: string; - index: number; - name: string; - isMember: boolean; - accountId?: string | null; - membershipHistory: Array<{ __typename: 'MembershipEvent'; id: string }>; - } | null; - issuer?: { - __typename?: 'Identity'; - id: string; - index: number; - name: string; - isMember: boolean; - accountId?: string | null; - membershipHistory: Array<{ __typename: 'MembershipEvent'; id: string }>; - } | null; - }; - }>; - pageInfo: { __typename?: 'PageInfo'; endCursor: string; hasNextPage: boolean }; -}; - -export type CertReceivedConnectionFragment = { - __typename?: 'CertConnection'; - edges: Array<{ - __typename?: 'CertEdge'; - node: { - __typename: 'Cert'; - id: string; - expireOn: number; - createdOn: number; - issuer?: { - __typename?: 'Identity'; - id: string; - index: number; - name: string; - isMember: boolean; - accountId?: string | null; - membershipHistory: Array<{ __typename: 'MembershipEvent'; id: string }>; - } | null; - }; - }>; - pageInfo: { __typename?: 'PageInfo'; endCursor: string; hasNextPage: boolean }; -}; - -export type CertIssuedConnectionFragment = { - __typename?: 'CertConnection'; - edges: Array<{ - __typename?: 'CertEdge'; - node: { - __typename: 'Cert'; - id: string; - expireOn: number; - createdOn: number; - receiver?: { - __typename?: 'Identity'; - id: string; - index: number; - name: string; - isMember: boolean; - accountId?: string | null; - membershipHistory: Array<{ __typename: 'MembershipEvent'; id: string }>; - } | null; - }; - }>; - pageInfo: { __typename?: 'PageInfo'; endCursor: string; hasNextPage: boolean }; -}; + +export type BlocksQuery = { __typename?: 'query_root', blockConnection: { __typename?: 'BlockConnection', pageInfo: { __typename?: 'PageInfo', endCursor: string, hasNextPage: boolean }, edges: Array<{ __typename?: 'BlockEdge', node: { __typename: 'Block', id: string, height: number, hash: any, timestamp: any, callsCount: number, eventsCount: number, extrinsicsCount: number } }> } }; + +export type LightCertFragment = { __typename: 'Cert', id: string, expireOn: number, createdOn: number, updatedOn: number }; + +export type CertFragment = { __typename: 'Cert', id: string, expireOn: number, createdOn: number, updatedOn: number, receiver?: { __typename?: 'Identity', id: string, index: number, name: string, accountId?: string | null, status?: IdentityStatusEnum | null, isMember: boolean, createdOn: number, membershipHistory: Array<{ __typename: 'MembershipEvent', id: string, eventType?: EventTypeEnum | null }> } | null, issuer?: { __typename?: 'Identity', id: string, index: number, name: string, accountId?: string | null, status?: IdentityStatusEnum | null, isMember: boolean, createdOn: number, membershipHistory: Array<{ __typename: 'MembershipEvent', id: string, eventType?: EventTypeEnum | null }> } | null }; + +export type CertConnectionFragment = { __typename?: 'CertConnection', edges: Array<{ __typename?: 'CertEdge', node: { __typename: 'Cert', id: string, expireOn: number, createdOn: number, updatedOn: number, receiver?: { __typename?: 'Identity', id: string, index: number, name: string, accountId?: string | null, status?: IdentityStatusEnum | null, isMember: boolean, createdOn: number, membershipHistory: Array<{ __typename: 'MembershipEvent', id: string, eventType?: EventTypeEnum | null }> } | null, issuer?: { __typename?: 'Identity', id: string, index: number, name: string, accountId?: string | null, status?: IdentityStatusEnum | null, isMember: boolean, createdOn: number, membershipHistory: Array<{ __typename: 'MembershipEvent', id: string, eventType?: EventTypeEnum | null }> } | null } }>, pageInfo: { __typename?: 'PageInfo', endCursor: string, hasNextPage: boolean } }; + +export type CertReceivedConnectionFragment = { __typename?: 'CertConnection', edges: Array<{ __typename?: 'CertEdge', node: { __typename: 'Cert', id: string, expireOn: number, createdOn: number, updatedOn: number, issuer?: { __typename?: 'Identity', id: string, index: number, name: string, accountId?: string | null, status?: IdentityStatusEnum | null, isMember: boolean, createdOn: number, membershipHistory: Array<{ __typename: 'MembershipEvent', id: string, eventType?: EventTypeEnum | null }> } | null } }>, pageInfo: { __typename?: 'PageInfo', endCursor: string, hasNextPage: boolean } }; + +export type CertIssuedConnectionFragment = { __typename?: 'CertConnection', edges: Array<{ __typename?: 'CertEdge', node: { __typename: 'Cert', id: string, expireOn: number, createdOn: number, updatedOn: number, receiver?: { __typename?: 'Identity', id: string, index: number, name: string, accountId?: string | null, status?: IdentityStatusEnum | null, isMember: boolean, createdOn: number, membershipHistory: Array<{ __typename: 'MembershipEvent', id: string, eventType?: EventTypeEnum | null }> } | null } }>, pageInfo: { __typename?: 'PageInfo', endCursor: string, hasNextPage: boolean } }; export type CertsConnectionByIssuerQueryVariables = Exact<{ address: Scalars['String']['input']; @@ -4770,41 +4731,8 @@ export type CertsConnectionByIssuerQueryVariables = Exact<{ after?: InputMaybe<Scalars['String']['input']>; }>; -export type CertsConnectionByIssuerQuery = { - __typename?: 'query_root'; - identityConnection: { - __typename?: 'IdentityConnection'; - edges: Array<{ - __typename?: 'IdentityEdge'; - node: { - __typename?: 'Identity'; - aggregate: { __typename?: 'CertAggregate'; aggregate?: { __typename?: 'CertAggregateFields'; count: number } | null }; - connection: { - __typename?: 'CertConnection'; - edges: Array<{ - __typename?: 'CertEdge'; - node: { - __typename: 'Cert'; - id: string; - expireOn: number; - createdOn: number; - receiver?: { - __typename?: 'Identity'; - id: string; - index: number; - name: string; - isMember: boolean; - accountId?: string | null; - membershipHistory: Array<{ __typename: 'MembershipEvent'; id: string }>; - } | null; - }; - }>; - pageInfo: { __typename?: 'PageInfo'; endCursor: string; hasNextPage: boolean }; - }; - }; - }>; - }; -}; + +export type CertsConnectionByIssuerQuery = { __typename?: 'query_root', identityConnection: { __typename?: 'IdentityConnection', edges: Array<{ __typename?: 'IdentityEdge', node: { __typename?: 'Identity', aggregate: { __typename?: 'CertAggregate', aggregate?: { __typename?: 'CertAggregateFields', count: number } | null }, connection: { __typename?: 'CertConnection', edges: Array<{ __typename?: 'CertEdge', node: { __typename: 'Cert', id: string, expireOn: number, createdOn: number, updatedOn: number, receiver?: { __typename?: 'Identity', id: string, index: number, name: string, accountId?: string | null, status?: IdentityStatusEnum | null, isMember: boolean, createdOn: number, membershipHistory: Array<{ __typename: 'MembershipEvent', id: string, eventType?: EventTypeEnum | null }> } | null } }>, pageInfo: { __typename?: 'PageInfo', endCursor: string, hasNextPage: boolean } } } }> } }; export type CertsConnectionByReceiverQueryVariables = Exact<{ address: Scalars['String']['input']; @@ -4813,116 +4741,12 @@ export type CertsConnectionByReceiverQueryVariables = Exact<{ after?: InputMaybe<Scalars['String']['input']>; }>; -export type CertsConnectionByReceiverQuery = { - __typename?: 'query_root'; - identityConnection: { - __typename?: 'IdentityConnection'; - edges: Array<{ - __typename?: 'IdentityEdge'; - node: { - __typename?: 'Identity'; - aggregate: { __typename?: 'CertAggregate'; aggregate?: { __typename?: 'CertAggregateFields'; count: number } | null }; - connection: { - __typename?: 'CertConnection'; - edges: Array<{ - __typename?: 'CertEdge'; - node: { - __typename: 'Cert'; - id: string; - expireOn: number; - createdOn: number; - issuer?: { - __typename?: 'Identity'; - id: string; - index: number; - name: string; - isMember: boolean; - accountId?: string | null; - membershipHistory: Array<{ __typename: 'MembershipEvent'; id: string }>; - } | null; - }; - }>; - pageInfo: { __typename?: 'PageInfo'; endCursor: string; hasNextPage: boolean }; - }; - }; - }>; - }; -}; - -export type TransferFragment = { - __typename: 'Transfer'; - id: string; - amount: any; - timestamp: any; - blockNumber: number; - from?: { - __typename?: 'Account'; - id: string; - identity?: { - __typename?: 'Identity'; - id: string; - index: number; - name: string; - isMember: boolean; - accountId?: string | null; - membershipHistory: Array<{ __typename: 'MembershipEvent'; id: string }>; - } | null; - } | null; - to?: { - __typename?: 'Account'; - id: string; - identity?: { - __typename?: 'Identity'; - id: string; - index: number; - name: string; - isMember: boolean; - accountId?: string | null; - membershipHistory: Array<{ __typename: 'MembershipEvent'; id: string }>; - } | null; - } | null; -}; - -export type TransferConnectionFragment = { - __typename?: 'TransferConnection'; - pageInfo: { __typename?: 'PageInfo'; endCursor: string; hasNextPage: boolean }; - edges: Array<{ - __typename?: 'TransferEdge'; - node: { - __typename: 'Transfer'; - id: string; - amount: any; - timestamp: any; - blockNumber: number; - from?: { - __typename?: 'Account'; - id: string; - identity?: { - __typename?: 'Identity'; - id: string; - index: number; - name: string; - isMember: boolean; - accountId?: string | null; - membershipHistory: Array<{ __typename: 'MembershipEvent'; id: string }>; - } | null; - } | null; - to?: { - __typename?: 'Account'; - id: string; - identity?: { - __typename?: 'Identity'; - id: string; - index: number; - name: string; - isMember: boolean; - accountId?: string | null; - membershipHistory: Array<{ __typename: 'MembershipEvent'; id: string }>; - } | null; - } | null; - }; - }>; -}; + +export type CertsConnectionByReceiverQuery = { __typename?: 'query_root', identityConnection: { __typename?: 'IdentityConnection', edges: Array<{ __typename?: 'IdentityEdge', node: { __typename?: 'Identity', aggregate: { __typename?: 'CertAggregate', aggregate?: { __typename?: 'CertAggregateFields', count: number } | null }, connection: { __typename?: 'CertConnection', edges: Array<{ __typename?: 'CertEdge', node: { __typename: 'Cert', id: string, expireOn: number, createdOn: number, updatedOn: number, issuer?: { __typename?: 'Identity', id: string, index: number, name: string, accountId?: string | null, status?: IdentityStatusEnum | null, isMember: boolean, createdOn: number, membershipHistory: Array<{ __typename: 'MembershipEvent', id: string, eventType?: EventTypeEnum | null }> } | null } }>, pageInfo: { __typename?: 'PageInfo', endCursor: string, hasNextPage: boolean } } } }> } }; + +export type TransferFragment = { __typename: 'Transfer', id: string, amount: any, timestamp: any, blockNumber: number, from?: { __typename?: 'Account', id: string, identity?: { __typename?: 'Identity', id: string, index: number, name: string, accountId?: string | null, status?: IdentityStatusEnum | null, isMember: boolean, createdOn: number, membershipHistory: Array<{ __typename: 'MembershipEvent', id: string, eventType?: EventTypeEnum | null }> } | null } | null, to?: { __typename?: 'Account', id: string, identity?: { __typename?: 'Identity', id: string, index: number, name: string, accountId?: string | null, status?: IdentityStatusEnum | null, isMember: boolean, createdOn: number, membershipHistory: Array<{ __typename: 'MembershipEvent', id: string, eventType?: EventTypeEnum | null }> } | null } | null }; + +export type TransferConnectionFragment = { __typename?: 'TransferConnection', pageInfo: { __typename?: 'PageInfo', endCursor: string, hasNextPage: boolean }, edges: Array<{ __typename?: 'TransferEdge', node: { __typename: 'Transfer', id: string, amount: any, timestamp: any, blockNumber: number, from?: { __typename?: 'Account', id: string, identity?: { __typename?: 'Identity', id: string, index: number, name: string, accountId?: string | null, status?: IdentityStatusEnum | null, isMember: boolean, createdOn: number, membershipHistory: Array<{ __typename: 'MembershipEvent', id: string, eventType?: EventTypeEnum | null }> } | null } | null, to?: { __typename?: 'Account', id: string, identity?: { __typename?: 'Identity', id: string, index: number, name: string, accountId?: string | null, status?: IdentityStatusEnum | null, isMember: boolean, createdOn: number, membershipHistory: Array<{ __typename: 'MembershipEvent', id: string, eventType?: EventTypeEnum | null }> } | null } | null } }> }; export type TransferConnectionByAddressQueryVariables = Exact<{ address: Scalars['String']['input']; @@ -4931,49 +4755,8 @@ export type TransferConnectionByAddressQueryVariables = Exact<{ after?: InputMaybe<Scalars['String']['input']>; }>; -export type TransferConnectionByAddressQuery = { - __typename?: 'query_root'; - transferConnection: { - __typename?: 'TransferConnection'; - pageInfo: { __typename?: 'PageInfo'; endCursor: string; hasNextPage: boolean }; - edges: Array<{ - __typename?: 'TransferEdge'; - node: { - __typename: 'Transfer'; - id: string; - amount: any; - timestamp: any; - blockNumber: number; - from?: { - __typename?: 'Account'; - id: string; - identity?: { - __typename?: 'Identity'; - id: string; - index: number; - name: string; - isMember: boolean; - accountId?: string | null; - membershipHistory: Array<{ __typename: 'MembershipEvent'; id: string }>; - } | null; - } | null; - to?: { - __typename?: 'Account'; - id: string; - identity?: { - __typename?: 'Identity'; - id: string; - index: number; - name: string; - isMember: boolean; - accountId?: string | null; - membershipHistory: Array<{ __typename: 'MembershipEvent'; id: string }>; - } | null; - } | null; - }; - }>; - }; -}; + +export type TransferConnectionByAddressQuery = { __typename?: 'query_root', transferConnection: { __typename?: 'TransferConnection', pageInfo: { __typename?: 'PageInfo', endCursor: string, hasNextPage: boolean }, edges: Array<{ __typename?: 'TransferEdge', node: { __typename: 'Transfer', id: string, amount: any, timestamp: any, blockNumber: number, from?: { __typename?: 'Account', id: string, identity?: { __typename?: 'Identity', id: string, index: number, name: string, accountId?: string | null, status?: IdentityStatusEnum | null, isMember: boolean, createdOn: number, membershipHistory: Array<{ __typename: 'MembershipEvent', id: string, eventType?: EventTypeEnum | null }> } | null } | null, to?: { __typename?: 'Account', id: string, identity?: { __typename?: 'Identity', id: string, index: number, name: string, accountId?: string | null, status?: IdentityStatusEnum | null, isMember: boolean, createdOn: number, membershipHistory: Array<{ __typename: 'MembershipEvent', id: string, eventType?: EventTypeEnum | null }> } | null } | null } }> } }; export type WotSearchByTextQueryVariables = Exact<{ searchText: Scalars['String']['input']; @@ -4982,29 +4765,8 @@ export type WotSearchByTextQueryVariables = Exact<{ orderBy?: InputMaybe<Array<AccountOrderBy> | AccountOrderBy>; }>; -export type WotSearchByTextQuery = { - __typename?: 'query_root'; - accountConnection: { - __typename?: 'AccountConnection'; - pageInfo: { __typename?: 'PageInfo'; endCursor: string; hasNextPage: boolean }; - edges: Array<{ - __typename?: 'AccountEdge'; - node: { - __typename?: 'Account'; - id: string; - identity?: { - __typename?: 'Identity'; - id: string; - index: number; - name: string; - isMember: boolean; - accountId?: string | null; - membershipHistory: Array<{ __typename: 'MembershipEvent'; id: string }>; - } | null; - }; - }>; - }; -}; + +export type WotSearchByTextQuery = { __typename?: 'query_root', accountConnection: { __typename?: 'AccountConnection', pageInfo: { __typename?: 'PageInfo', endCursor: string, hasNextPage: boolean }, edges: Array<{ __typename?: 'AccountEdge', node: { __typename?: 'Account', id: string, identity?: { __typename?: 'Identity', id: string, index: number, name: string, accountId?: string | null, status?: IdentityStatusEnum | null, isMember: boolean, createdOn: number, membershipHistory: Array<{ __typename: 'MembershipEvent', id: string, eventType?: EventTypeEnum | null }> } | null } }> } }; export type WotSearchByAddressQueryVariables = Exact<{ address: Scalars['String']['input']; @@ -5013,29 +4775,8 @@ export type WotSearchByAddressQueryVariables = Exact<{ orderBy?: InputMaybe<Array<AccountOrderBy> | AccountOrderBy>; }>; -export type WotSearchByAddressQuery = { - __typename?: 'query_root'; - accountConnection: { - __typename?: 'AccountConnection'; - pageInfo: { __typename?: 'PageInfo'; endCursor: string; hasNextPage: boolean }; - edges: Array<{ - __typename?: 'AccountEdge'; - node: { - __typename?: 'Account'; - id: string; - identity?: { - __typename?: 'Identity'; - id: string; - index: number; - name: string; - isMember: boolean; - accountId?: string | null; - membershipHistory: Array<{ __typename: 'MembershipEvent'; id: string }>; - } | null; - }; - }>; - }; -}; + +export type WotSearchByAddressQuery = { __typename?: 'query_root', accountConnection: { __typename?: 'AccountConnection', pageInfo: { __typename?: 'PageInfo', endCursor: string, hasNextPage: boolean }, edges: Array<{ __typename?: 'AccountEdge', node: { __typename?: 'Account', id: string, identity?: { __typename?: 'Identity', id: string, index: number, name: string, accountId?: string | null, status?: IdentityStatusEnum | null, isMember: boolean, createdOn: number, membershipHistory: Array<{ __typename: 'MembershipEvent', id: string, eventType?: EventTypeEnum | null }> } | null } }> } }; export type WotSearchLastQueryVariables = Exact<{ first: Scalars['Int']['input']; @@ -5044,507 +4785,474 @@ export type WotSearchLastQueryVariables = Exact<{ pending: Scalars['Boolean']['input']; }>; -export type WotSearchLastQuery = { - __typename?: 'query_root'; - accountConnection: { - __typename?: 'AccountConnection'; - pageInfo: { __typename?: 'PageInfo'; endCursor: string; hasNextPage: boolean }; - edges: Array<{ - __typename?: 'AccountEdge'; - node: { - __typename?: 'Account'; - id: string; - identity?: { - __typename?: 'Identity'; - id: string; - index: number; - name: string; - isMember: boolean; - accountId?: string | null; - membershipHistory: Array<{ __typename: 'MembershipEvent'; id: string }>; - } | null; - }; - }>; - }; -}; + +export type WotSearchLastQuery = { __typename?: 'query_root', accountConnection: { __typename?: 'AccountConnection', pageInfo: { __typename?: 'PageInfo', endCursor: string, hasNextPage: boolean }, edges: Array<{ __typename?: 'AccountEdge', node: { __typename?: 'Account', id: string, identity?: { __typename?: 'Identity', id: string, index: number, name: string, accountId?: string | null, status?: IdentityStatusEnum | null, isMember: boolean, createdOn: number, membershipHistory: Array<{ __typename: 'MembershipEvent', id: string, eventType?: EventTypeEnum | null }> } | null } }> } }; export const LightIdentityFragmentDoc = gql` - fragment LightIdentity on Identity { + fragment LightIdentity on Identity { + id + index + name + accountId + status + isMember + createdOn + membershipHistory { + __typename id - index - name - isMember - accountId - membershipHistory { - __typename - id - } + eventType } -`; +} + `; export const LightAccountFragmentDoc = gql` - fragment LightAccount on Account { - id - identity { - ...LightIdentity - } + fragment LightAccount on Account { + id + identity { + ...LightIdentity } - ${LightIdentityFragmentDoc} -`; +} + ${LightIdentityFragmentDoc}`; export const LightAccountConnectionFragmentDoc = gql` - fragment LightAccountConnection on AccountConnection { - pageInfo { - endCursor - hasNextPage - } - edges { - node { - ...LightAccount - } + fragment LightAccountConnection on AccountConnection { + pageInfo { + endCursor + hasNextPage + } + edges { + node { + ...LightAccount } } - ${LightAccountFragmentDoc} -`; +} + ${LightAccountFragmentDoc}`; export const LightBlockFragmentDoc = gql` - fragment LightBlock on Block { - id - height - hash - timestamp - callsCount - eventsCount - extrinsicsCount - __typename - } -`; + fragment LightBlock on Block { + id + height + hash + timestamp + callsCount + eventsCount + extrinsicsCount + __typename +} + `; export const LightBlockConnectionFragmentDoc = gql` - fragment LightBlockConnection on BlockConnection { - pageInfo { - endCursor - hasNextPage - } - edges { - node { - ...LightBlock - } + fragment LightBlockConnection on BlockConnection { + pageInfo { + endCursor + hasNextPage + } + edges { + node { + ...LightBlock } } - ${LightBlockFragmentDoc} -`; +} + ${LightBlockFragmentDoc}`; export const LightCertFragmentDoc = gql` - fragment LightCert on Cert { - __typename - id - expireOn - createdOn - } -`; + fragment LightCert on Cert { + __typename + id + expireOn + createdOn + updatedOn +} + `; export const CertFragmentDoc = gql` - fragment Cert on Cert { - ...LightCert - receiver { - ...LightIdentity - } - issuer { - ...LightIdentity - } + fragment Cert on Cert { + ...LightCert + receiver { + ...LightIdentity + } + issuer { + ...LightIdentity } - ${LightCertFragmentDoc} - ${LightIdentityFragmentDoc} -`; +} + ${LightCertFragmentDoc} +${LightIdentityFragmentDoc}`; export const CertConnectionFragmentDoc = gql` - fragment CertConnection on CertConnection { - edges { - node { - ...Cert - } - } - pageInfo { - endCursor - hasNextPage + fragment CertConnection on CertConnection { + edges { + node { + ...Cert } } - ${CertFragmentDoc} -`; + pageInfo { + endCursor + hasNextPage + } +} + ${CertFragmentDoc}`; export const CertReceivedConnectionFragmentDoc = gql` - fragment CertReceivedConnection on CertConnection { - edges { - node { - ...LightCert - issuer { - ...LightIdentity - } + fragment CertReceivedConnection on CertConnection { + edges { + node { + ...LightCert + issuer { + ...LightIdentity } } - pageInfo { - endCursor - hasNextPage - } } - ${LightCertFragmentDoc} - ${LightIdentityFragmentDoc} -`; + pageInfo { + endCursor + hasNextPage + } +} + ${LightCertFragmentDoc} +${LightIdentityFragmentDoc}`; export const CertIssuedConnectionFragmentDoc = gql` - fragment CertIssuedConnection on CertConnection { - edges { - node { - ...LightCert - receiver { - ...LightIdentity - } + fragment CertIssuedConnection on CertConnection { + edges { + node { + ...LightCert + receiver { + ...LightIdentity } } - pageInfo { - endCursor - hasNextPage - } } - ${LightCertFragmentDoc} - ${LightIdentityFragmentDoc} -`; + pageInfo { + endCursor + hasNextPage + } +} + ${LightCertFragmentDoc} +${LightIdentityFragmentDoc}`; export const TransferFragmentDoc = gql` - fragment Transfer on Transfer { - id - __typename - amount - timestamp - blockNumber - from { - ...LightAccount - } - to { - ...LightAccount - } + fragment Transfer on Transfer { + id + __typename + amount + timestamp + blockNumber + from { + ...LightAccount + } + to { + ...LightAccount } - ${LightAccountFragmentDoc} -`; +} + ${LightAccountFragmentDoc}`; export const TransferConnectionFragmentDoc = gql` - fragment TransferConnection on TransferConnection { - pageInfo { - endCursor - hasNextPage - } - edges { - node { - ...Transfer - } - } + fragment TransferConnection on TransferConnection { + pageInfo { + endCursor + hasNextPage } - ${TransferFragmentDoc} -`; -export const BlockByIdDocument = gql` - query BlockById($id: String!) { - blockConnection(where: { id: { _eq: $id } }) { - ...LightBlockConnection + edges { + node { + ...Transfer } } - ${LightBlockConnectionFragmentDoc} -`; - -@Injectable({ - providedIn: 'root', -}) -export class BlockByIdGQL extends Apollo.Query<BlockByIdQuery, BlockByIdQueryVariables> { - document = BlockByIdDocument; - client = 'indexer'; - constructor(apollo: Apollo.Apollo) { - super(apollo); +} + ${TransferFragmentDoc}`; +export const BlockByIdDocument = gql` + query BlockById($id: String!) { + blockConnection(where: {id: {_eq: $id}}) { + ...LightBlockConnection } } -export const BlocksDocument = gql` - query Blocks($where: BlockBoolExp, $first: Int!, $after: String, $orderBy: [BlockOrderBy!]) { - blockConnection(first: $first, after: $after, orderBy: $orderBy, where: $where) { - ...LightBlockConnection + ${LightBlockConnectionFragmentDoc}`; + + @Injectable({ + providedIn: 'root' + }) + export class BlockByIdGQL extends Apollo.Query<BlockByIdQuery, BlockByIdQueryVariables> { + document = BlockByIdDocument; + client = 'indexer'; + constructor(apollo: Apollo.Apollo) { + super(apollo); } } - ${LightBlockConnectionFragmentDoc} -`; - -@Injectable({ - providedIn: 'root', -}) -export class BlocksGQL extends Apollo.Query<BlocksQuery, BlocksQueryVariables> { - document = BlocksDocument; - client = 'indexer'; - constructor(apollo: Apollo.Apollo) { - super(apollo); +export const BlocksDocument = gql` + query Blocks($where: BlockBoolExp, $first: Int!, $after: String, $orderBy: [BlockOrderBy!]) { + blockConnection(first: $first, after: $after, orderBy: $orderBy, where: $where) { + ...LightBlockConnection } } + ${LightBlockConnectionFragmentDoc}`; + + @Injectable({ + providedIn: 'root' + }) + export class BlocksGQL extends Apollo.Query<BlocksQuery, BlocksQueryVariables> { + document = BlocksDocument; + client = 'indexer'; + constructor(apollo: Apollo.Apollo) { + super(apollo); + } + } export const CertsConnectionByIssuerDocument = gql` - query CertsConnectionByIssuer($address: String!, $first: Int!, $orderBy: [CertOrderBy!]!, $after: String) { - identityConnection(where: { accountId: { _eq: $address } }) { - edges { - node { - aggregate: certIssuedAggregate { - aggregate { - count - } - } - connection: certIssued_connection(first: $first, after: $after, orderBy: $orderBy) { - ...CertIssuedConnection + query CertsConnectionByIssuer($address: String!, $first: Int!, $orderBy: [CertOrderBy!]!, $after: String) { + identityConnection(where: {accountId: {_eq: $address}}) { + edges { + node { + aggregate: certIssuedAggregate(where: {isActive: {_eq: true}}) { + aggregate { + count } } + connection: certIssued_connection( + first: $first + after: $after + orderBy: $orderBy + where: {isActive: {_eq: true}} + ) { + ...CertIssuedConnection + } } } } - ${CertIssuedConnectionFragmentDoc} -`; - -@Injectable({ - providedIn: 'root', -}) -export class CertsConnectionByIssuerGQL extends Apollo.Query<CertsConnectionByIssuerQuery, CertsConnectionByIssuerQueryVariables> { - document = CertsConnectionByIssuerDocument; - client = 'indexer'; - constructor(apollo: Apollo.Apollo) { - super(apollo); - } } + ${CertIssuedConnectionFragmentDoc}`; + + @Injectable({ + providedIn: 'root' + }) + export class CertsConnectionByIssuerGQL extends Apollo.Query<CertsConnectionByIssuerQuery, CertsConnectionByIssuerQueryVariables> { + document = CertsConnectionByIssuerDocument; + client = 'indexer'; + constructor(apollo: Apollo.Apollo) { + super(apollo); + } + } export const CertsConnectionByReceiverDocument = gql` - query CertsConnectionByReceiver($address: String!, $first: Int!, $orderBy: [CertOrderBy!]!, $after: String) { - identityConnection(where: { accountId: { _eq: $address } }) { - edges { - node { - aggregate: certReceivedAggregate { - aggregate { - count - } - } - connection: certReceived_connection(first: $first, after: $after, orderBy: $orderBy) { - ...CertReceivedConnection + query CertsConnectionByReceiver($address: String!, $first: Int!, $orderBy: [CertOrderBy!]!, $after: String) { + identityConnection(where: {accountId: {_eq: $address}}) { + edges { + node { + aggregate: certReceivedAggregate(where: {isActive: {_eq: true}}) { + aggregate { + count } } + connection: certReceived_connection( + first: $first + after: $after + orderBy: $orderBy + where: {isActive: {_eq: true}} + ) { + ...CertReceivedConnection + } } } } - ${CertReceivedConnectionFragmentDoc} -`; - -@Injectable({ - providedIn: 'root', -}) -export class CertsConnectionByReceiverGQL extends Apollo.Query<CertsConnectionByReceiverQuery, CertsConnectionByReceiverQueryVariables> { - document = CertsConnectionByReceiverDocument; - client = 'indexer'; - constructor(apollo: Apollo.Apollo) { - super(apollo); - } } -export const TransferConnectionByAddressDocument = gql` - query TransferConnectionByAddress($address: String!, $first: Int!, $orderBy: [TransferOrderBy!]!, $after: String) { - transferConnection( - first: $first - after: $after - orderBy: $orderBy - where: { _or: [{ fromId: { _eq: $address } }, { toId: { _eq: $address } }] } - ) { - ...TransferConnection + ${CertReceivedConnectionFragmentDoc}`; + + @Injectable({ + providedIn: 'root' + }) + export class CertsConnectionByReceiverGQL extends Apollo.Query<CertsConnectionByReceiverQuery, CertsConnectionByReceiverQueryVariables> { + document = CertsConnectionByReceiverDocument; + client = 'indexer'; + constructor(apollo: Apollo.Apollo) { + super(apollo); } } - ${TransferConnectionFragmentDoc} -`; - -@Injectable({ - providedIn: 'root', -}) -export class TransferConnectionByAddressGQL extends Apollo.Query<TransferConnectionByAddressQuery, TransferConnectionByAddressQueryVariables> { - document = TransferConnectionByAddressDocument; - client = 'indexer'; - constructor(apollo: Apollo.Apollo) { - super(apollo); +export const TransferConnectionByAddressDocument = gql` + query TransferConnectionByAddress($address: String!, $first: Int!, $orderBy: [TransferOrderBy!]!, $after: String) { + transferConnection( + first: $first + after: $after + orderBy: $orderBy + where: {_or: [{fromId: {_eq: $address}}, {toId: {_eq: $address}}]} + ) { + ...TransferConnection } } -export const WotSearchByTextDocument = gql` - query WotSearchByText($searchText: String!, $first: Int!, $after: String, $orderBy: [AccountOrderBy!]) { - accountConnection( - first: $first - after: $after - orderBy: $orderBy - where: { _or: [{ id: { _ilike: $searchText } }, { identity: { name: { _ilike: $searchText } } }] } - ) { - ...LightAccountConnection + ${TransferConnectionFragmentDoc}`; + + @Injectable({ + providedIn: 'root' + }) + export class TransferConnectionByAddressGQL extends Apollo.Query<TransferConnectionByAddressQuery, TransferConnectionByAddressQueryVariables> { + document = TransferConnectionByAddressDocument; + client = 'indexer'; + constructor(apollo: Apollo.Apollo) { + super(apollo); } } - ${LightAccountConnectionFragmentDoc} -`; - -@Injectable({ - providedIn: 'root', -}) -export class WotSearchByTextGQL extends Apollo.Query<WotSearchByTextQuery, WotSearchByTextQueryVariables> { - document = WotSearchByTextDocument; - client = 'indexer'; - constructor(apollo: Apollo.Apollo) { - super(apollo); +export const WotSearchByTextDocument = gql` + query WotSearchByText($searchText: String!, $first: Int!, $after: String, $orderBy: [AccountOrderBy!]) { + accountConnection( + first: $first + after: $after + orderBy: $orderBy + where: {_or: [{id: {_ilike: $searchText}}, {identity: {name: {_ilike: $searchText}}}]} + ) { + ...LightAccountConnection } } -export const WotSearchByAddressDocument = gql` - query WotSearchByAddress($address: String!, $first: Int!, $after: String, $orderBy: [AccountOrderBy!]) { - accountConnection(first: $first, after: $after, orderBy: $orderBy, where: { id: { _eq: $address } }) { - ...LightAccountConnection + ${LightAccountConnectionFragmentDoc}`; + + @Injectable({ + providedIn: 'root' + }) + export class WotSearchByTextGQL extends Apollo.Query<WotSearchByTextQuery, WotSearchByTextQueryVariables> { + document = WotSearchByTextDocument; + client = 'indexer'; + constructor(apollo: Apollo.Apollo) { + super(apollo); } } - ${LightAccountConnectionFragmentDoc} -`; - -@Injectable({ - providedIn: 'root', -}) -export class WotSearchByAddressGQL extends Apollo.Query<WotSearchByAddressQuery, WotSearchByAddressQueryVariables> { - document = WotSearchByAddressDocument; - client = 'indexer'; - constructor(apollo: Apollo.Apollo) { - super(apollo); +export const WotSearchByAddressDocument = gql` + query WotSearchByAddress($address: String!, $first: Int!, $after: String, $orderBy: [AccountOrderBy!]) { + accountConnection( + first: $first + after: $after + orderBy: $orderBy + where: {id: {_eq: $address}} + ) { + ...LightAccountConnection } } -export const WotSearchLastDocument = gql` - query WotSearchLast($first: Int!, $after: String, $orderBy: [AccountOrderBy!], $pending: Boolean!) { - accountConnection( - first: $first - after: $after - orderBy: $orderBy - where: { _and: [{ identity: { id: { _isNull: false } } }, { identity: { membershipHistory: { eventId: { _isNull: $pending } } } }] } - ) { - ...LightAccountConnection + ${LightAccountConnectionFragmentDoc}`; + + @Injectable({ + providedIn: 'root' + }) + export class WotSearchByAddressGQL extends Apollo.Query<WotSearchByAddressQuery, WotSearchByAddressQueryVariables> { + document = WotSearchByAddressDocument; + client = 'indexer'; + constructor(apollo: Apollo.Apollo) { + super(apollo); } } - ${LightAccountConnectionFragmentDoc} -`; - -@Injectable({ - providedIn: 'root', -}) -export class WotSearchLastGQL extends Apollo.Query<WotSearchLastQuery, WotSearchLastQueryVariables> { - document = WotSearchLastDocument; - client = 'indexer'; - constructor(apollo: Apollo.Apollo) { - super(apollo); - } -} - -type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>; - -interface WatchQueryOptionsAlone<V> extends Omit<ApolloCore.WatchQueryOptions<V>, 'query' | 'variables'> {} - -interface QueryOptionsAlone<V> extends Omit<ApolloCore.QueryOptions<V>, 'query' | 'variables'> {} - -@Injectable({ providedIn: 'root' }) -export class IndexerGraphqlService { - constructor( - private blockByIdGql: BlockByIdGQL, - private blocksGql: BlocksGQL, - private certsConnectionByIssuerGql: CertsConnectionByIssuerGQL, - private certsConnectionByReceiverGql: CertsConnectionByReceiverGQL, - private transferConnectionByAddressGql: TransferConnectionByAddressGQL, - private wotSearchByTextGql: WotSearchByTextGQL, - private wotSearchByAddressGql: WotSearchByAddressGQL, - private wotSearchLastGql: WotSearchLastGQL - ) {} - - blockById(variables: BlockByIdQueryVariables, options?: QueryOptionsAlone<BlockByIdQueryVariables>) { - return this.blockByIdGql.fetch(variables, options); - } - - blockByIdWatch(variables: BlockByIdQueryVariables, options?: WatchQueryOptionsAlone<BlockByIdQueryVariables>) { - return this.blockByIdGql.watch(variables, options); - } - - blocks(variables: BlocksQueryVariables, options?: QueryOptionsAlone<BlocksQueryVariables>) { - return this.blocksGql.fetch(variables, options); - } - - blocksWatch(variables: BlocksQueryVariables, options?: WatchQueryOptionsAlone<BlocksQueryVariables>) { - return this.blocksGql.watch(variables, options); - } - - certsConnectionByIssuer(variables: CertsConnectionByIssuerQueryVariables, options?: QueryOptionsAlone<CertsConnectionByIssuerQueryVariables>) { - return this.certsConnectionByIssuerGql.fetch(variables, options); - } - - certsConnectionByIssuerWatch( - variables: CertsConnectionByIssuerQueryVariables, - options?: WatchQueryOptionsAlone<CertsConnectionByIssuerQueryVariables> - ) { - return this.certsConnectionByIssuerGql.watch(variables, options); - } - - certsConnectionByReceiver( - variables: CertsConnectionByReceiverQueryVariables, - options?: QueryOptionsAlone<CertsConnectionByReceiverQueryVariables> - ) { - return this.certsConnectionByReceiverGql.fetch(variables, options); - } - - certsConnectionByReceiverWatch( - variables: CertsConnectionByReceiverQueryVariables, - options?: WatchQueryOptionsAlone<CertsConnectionByReceiverQueryVariables> - ) { - return this.certsConnectionByReceiverGql.watch(variables, options); - } - - transferConnectionByAddress( - variables: TransferConnectionByAddressQueryVariables, - options?: QueryOptionsAlone<TransferConnectionByAddressQueryVariables> - ) { - return this.transferConnectionByAddressGql.fetch(variables, options); - } - - transferConnectionByAddressWatch( - variables: TransferConnectionByAddressQueryVariables, - options?: WatchQueryOptionsAlone<TransferConnectionByAddressQueryVariables> +export const WotSearchLastDocument = gql` + query WotSearchLast($first: Int!, $after: String, $orderBy: [AccountOrderBy!], $pending: Boolean!) { + accountConnection( + first: $first + after: $after + orderBy: $orderBy + where: {_and: [{identity: {id: {_isNull: false}}}, {identity: {membershipHistory: {eventId: {_isNull: $pending}}}}]} ) { - return this.transferConnectionByAddressGql.watch(variables, options); + ...LightAccountConnection } - - wotSearchByText(variables: WotSearchByTextQueryVariables, options?: QueryOptionsAlone<WotSearchByTextQueryVariables>) { - return this.wotSearchByTextGql.fetch(variables, options); - } - - wotSearchByTextWatch(variables: WotSearchByTextQueryVariables, options?: WatchQueryOptionsAlone<WotSearchByTextQueryVariables>) { - return this.wotSearchByTextGql.watch(variables, options); - } - - wotSearchByAddress(variables: WotSearchByAddressQueryVariables, options?: QueryOptionsAlone<WotSearchByAddressQueryVariables>) { - return this.wotSearchByAddressGql.fetch(variables, options); - } - - wotSearchByAddressWatch(variables: WotSearchByAddressQueryVariables, options?: WatchQueryOptionsAlone<WotSearchByAddressQueryVariables>) { - return this.wotSearchByAddressGql.watch(variables, options); +} + ${LightAccountConnectionFragmentDoc}`; + + @Injectable({ + providedIn: 'root' + }) + export class WotSearchLastGQL extends Apollo.Query<WotSearchLastQuery, WotSearchLastQueryVariables> { + document = WotSearchLastDocument; + client = 'indexer'; + constructor(apollo: Apollo.Apollo) { + super(apollo); + } } - wotSearchLast(variables: WotSearchLastQueryVariables, options?: QueryOptionsAlone<WotSearchLastQueryVariables>) { - return this.wotSearchLastGql.fetch(variables, options); + type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>; + + interface WatchQueryOptionsAlone<V> extends Omit<ApolloCore.WatchQueryOptions<V>, 'query' | 'variables'> {} + + interface QueryOptionsAlone<V> extends Omit<ApolloCore.QueryOptions<V>, 'query' | 'variables'> {} + + @Injectable({ providedIn: 'root' }) + export class IndexerGraphqlService { + constructor( + private blockByIdGql: BlockByIdGQL, + private blocksGql: BlocksGQL, + private certsConnectionByIssuerGql: CertsConnectionByIssuerGQL, + private certsConnectionByReceiverGql: CertsConnectionByReceiverGQL, + private transferConnectionByAddressGql: TransferConnectionByAddressGQL, + private wotSearchByTextGql: WotSearchByTextGQL, + private wotSearchByAddressGql: WotSearchByAddressGQL, + private wotSearchLastGql: WotSearchLastGQL + ) {} + + blockById(variables: BlockByIdQueryVariables, options?: QueryOptionsAlone<BlockByIdQueryVariables>) { + return this.blockByIdGql.fetch(variables, options) + } + + blockByIdWatch(variables: BlockByIdQueryVariables, options?: WatchQueryOptionsAlone<BlockByIdQueryVariables>) { + return this.blockByIdGql.watch(variables, options) + } + + blocks(variables: BlocksQueryVariables, options?: QueryOptionsAlone<BlocksQueryVariables>) { + return this.blocksGql.fetch(variables, options) + } + + blocksWatch(variables: BlocksQueryVariables, options?: WatchQueryOptionsAlone<BlocksQueryVariables>) { + return this.blocksGql.watch(variables, options) + } + + certsConnectionByIssuer(variables: CertsConnectionByIssuerQueryVariables, options?: QueryOptionsAlone<CertsConnectionByIssuerQueryVariables>) { + return this.certsConnectionByIssuerGql.fetch(variables, options) + } + + certsConnectionByIssuerWatch(variables: CertsConnectionByIssuerQueryVariables, options?: WatchQueryOptionsAlone<CertsConnectionByIssuerQueryVariables>) { + return this.certsConnectionByIssuerGql.watch(variables, options) + } + + certsConnectionByReceiver(variables: CertsConnectionByReceiverQueryVariables, options?: QueryOptionsAlone<CertsConnectionByReceiverQueryVariables>) { + return this.certsConnectionByReceiverGql.fetch(variables, options) + } + + certsConnectionByReceiverWatch(variables: CertsConnectionByReceiverQueryVariables, options?: WatchQueryOptionsAlone<CertsConnectionByReceiverQueryVariables>) { + return this.certsConnectionByReceiverGql.watch(variables, options) + } + + transferConnectionByAddress(variables: TransferConnectionByAddressQueryVariables, options?: QueryOptionsAlone<TransferConnectionByAddressQueryVariables>) { + return this.transferConnectionByAddressGql.fetch(variables, options) + } + + transferConnectionByAddressWatch(variables: TransferConnectionByAddressQueryVariables, options?: WatchQueryOptionsAlone<TransferConnectionByAddressQueryVariables>) { + return this.transferConnectionByAddressGql.watch(variables, options) + } + + wotSearchByText(variables: WotSearchByTextQueryVariables, options?: QueryOptionsAlone<WotSearchByTextQueryVariables>) { + return this.wotSearchByTextGql.fetch(variables, options) + } + + wotSearchByTextWatch(variables: WotSearchByTextQueryVariables, options?: WatchQueryOptionsAlone<WotSearchByTextQueryVariables>) { + return this.wotSearchByTextGql.watch(variables, options) + } + + wotSearchByAddress(variables: WotSearchByAddressQueryVariables, options?: QueryOptionsAlone<WotSearchByAddressQueryVariables>) { + return this.wotSearchByAddressGql.fetch(variables, options) + } + + wotSearchByAddressWatch(variables: WotSearchByAddressQueryVariables, options?: WatchQueryOptionsAlone<WotSearchByAddressQueryVariables>) { + return this.wotSearchByAddressGql.watch(variables, options) + } + + wotSearchLast(variables: WotSearchLastQueryVariables, options?: QueryOptionsAlone<WotSearchLastQueryVariables>) { + return this.wotSearchLastGql.fetch(variables, options) + } + + wotSearchLastWatch(variables: WotSearchLastQueryVariables, options?: WatchQueryOptionsAlone<WotSearchLastQueryVariables>) { + return this.wotSearchLastGql.watch(variables, options) + } } - wotSearchLastWatch(variables: WotSearchLastQueryVariables, options?: WatchQueryOptionsAlone<WotSearchLastQueryVariables>) { - return this.wotSearchLastGql.watch(variables, options); + export interface PossibleTypesResultData { + possibleTypes: { + [key: string]: string[] + } + } + const result: PossibleTypesResultData = { + "possibleTypes": { + "Node": [ + "Account", + "Block", + "Call", + "Cert", + "CertEvent", + "ChangeOwnerKey", + "Event", + "Extrinsic", + "Identity", + "ItemsCounter", + "MembershipEvent", + "SmithCert", + "Transfer", + "UdHistory", + "UdReeval", + "UniversalDividend" + ] } -} - -export interface PossibleTypesResultData { - possibleTypes: { - [key: string]: string[]; - }; -} -const result: PossibleTypesResultData = { - possibleTypes: { - Node: [ - 'Account', - 'Block', - 'Call', - 'Cert', - 'CertEvent', - 'ChangeOwnerKey', - 'Event', - 'Extrinsic', - 'Identity', - 'ItemsCounter', - 'MembershipEvent', - 'SmithCert', - 'Transfer', - 'UdHistory', - 'UdReeval', - 'UniversalDividend', - ], - }, -}; -export default result; +}; + export default result; + \ No newline at end of file diff --git a/src/app/wot/wot.queries.graphql b/src/app/network/indexer/indexer-wot.gql similarity index 100% rename from src/app/wot/wot.queries.graphql rename to src/app/network/indexer/indexer-wot.gql diff --git a/src/app/network/indexer.config.ts b/src/app/network/indexer/indexer.config.ts similarity index 100% rename from src/app/network/indexer.config.ts rename to src/app/network/indexer/indexer.config.ts diff --git a/src/app/network/indexer.service.ts b/src/app/network/indexer/indexer.service.ts similarity index 81% rename from src/app/network/indexer.service.ts rename to src/app/network/indexer/indexer.service.ts index b43e3ea939b76925b5735eb981eef7eba95baa29..92f6ac997c4b6aefd0bb9aa944871b95b8743469 100644 --- a/src/app/network/indexer.service.ts +++ b/src/app/network/indexer/indexer.service.ts @@ -1,8 +1,8 @@ import { Inject, Injectable, Optional } from '@angular/core'; -import { Peer, Peers } from '@app/shared/services/network/peer.model'; +import { Peers } from '@app/shared/services/network/peer.model'; import { Promise } from '@rx-angular/cdk/zone-less/browser'; import { SettingsService } from '@app/settings/settings.service'; -import { arrayRandomPick, firstArrayValue, isNotNilOrBlank, toBoolean, toNumber } from '@app/shared/functions'; +import { arrayRandomPick, firstArrayValue, isNil, isNotNil, isNotNilOrBlank, toBoolean, toNumber } from '@app/shared/functions'; import { TypePolicies } from '@apollo/client/core'; import { APP_GRAPHQL_FRAGMENTS, @@ -22,8 +22,8 @@ import { OrderBy, TransferFragment, } from './indexer-types.generated'; -import { firstValueFrom, Observable } from 'rxjs'; -import { map } from 'rxjs/operators'; +import { firstValueFrom, mergeMap, Observable } from 'rxjs'; +import { filter, map } from 'rxjs/operators'; import { Transfer, TransferConverter, TransferSearchFilter } from '@app/transfer/transfer.model'; import { WotSearchFilter } from '@app/wot/wot.model'; import { Block, BlockConverter, BlockSearchFilter } from '@app/block/block.model'; @@ -42,6 +42,7 @@ import { AccountConverter } from '@app/account/account.converter'; export interface IndexerState extends GraphqlServiceState { currency: Currency; + minBlockHeight: number; } @Injectable({ providedIn: 'root' }) @@ -49,10 +50,13 @@ export class IndexerService extends GraphqlService<IndexerState> { @RxStateSelect() currency$: Observable<Currency>; @RxStateProperty() currency: Currency; + @RxStateSelect() minBlockHeight$: Observable<number>; + @RxStateProperty() minBlockHeight: number; + constructor( storage: StorageService, private settings: SettingsService, - private indexerGraphqlService: IndexerGraphqlService, + private graphqlService: IndexerGraphqlService, @Optional() @Inject(APP_GRAPHQL_TYPE_POLICIES) typePolicies: TypePolicies, @Optional() @Inject(APP_GRAPHQL_FRAGMENTS) fragments: DocumentNode[] ) { @@ -60,6 +64,24 @@ export class IndexerService extends GraphqlService<IndexerState> { name: 'indexer-service', startByReadyFunction: false, // Need an explicit call to start() }); + + this.connect( + 'minBlockHeight', + this.currency$.pipe( + filter(isNotNil), + mergeMap(async (currency) => { + let result = currency?.minBlockHeight; + if (isNil(result)) { + await this.ready(); + const firstIndexedBlock = ( + await firstValueFrom(this.blockSearch({ where: { height: { _lt: 0 } } }, { after: null, first: 1, orderBy: { height: OrderBy.Asc } })) + )?.[0]; + result = firstIndexedBlock?.height; + } + return result; + }) + ) + ); } wotSearch(filter: WotSearchFilter, options: { after?: string; first?: number; fetchPolicy?: FetchPolicy }): Observable<LoadResult<Account>> { @@ -73,7 +95,7 @@ export class IndexerService extends GraphqlService<IndexerState> { let data$: Observable<LightAccountConnectionFragment>; if (isNotNilOrBlank(filter.address)) { - data$ = this.indexerGraphqlService + data$ = this.graphqlService .wotSearchByAddress( { address: filter.address, @@ -87,7 +109,7 @@ export class IndexerService extends GraphqlService<IndexerState> { ) .pipe(map(({ data }) => data.accountConnection as LightAccountConnectionFragment)); } else if (isNotNilOrBlank(filter.searchText)) { - data$ = this.indexerGraphqlService + data$ = this.graphqlService .wotSearchByText( { searchText: `%${filter.searchText}%`, @@ -101,8 +123,8 @@ export class IndexerService extends GraphqlService<IndexerState> { ) .pipe(map(({ data }) => data.accountConnection as LightAccountConnectionFragment)); } else { - data$ = this.indexerGraphqlService - .wotSearchLastWatch( + data$ = this.graphqlService + .wotSearchLast( { after: options.after, first: options.first, @@ -113,12 +135,12 @@ export class IndexerService extends GraphqlService<IndexerState> { fetchPolicy: options.fetchPolicy || 'cache-first', } ) - .valueChanges.pipe(map(({ data }) => data.accountConnection as LightAccountConnectionFragment)); + .pipe(map(({ data }) => data.accountConnection as LightAccountConnectionFragment)); } return data$.pipe( map((connection: LightAccountConnectionFragment) => { - const data = AccountConverter.connectionToAccounts(connection); + const data = AccountConverter.squidConnectionToAccounts(connection); const result: LoadResult<Account> = { data }; if (connection.pageInfo.hasNextPage) { const endCursor = connection.pageInfo.endCursor; @@ -144,7 +166,7 @@ export class IndexerService extends GraphqlService<IndexerState> { }; if (filter?.address) { - return this.indexerGraphqlService + return this.graphqlService .transferConnectionByAddress( { address: filter.address, @@ -187,7 +209,7 @@ export class IndexerService extends GraphqlService<IndexerState> { address: filter.issuer || filter.receiver, first: options.first, after: options.after, - orderBy: [{ createdOn: OrderBy.AscNullsFirst }, { expireOn: OrderBy.DescNullsLast }], + orderBy: [{ expireOn: OrderBy.DescNullsFirst }, { updatedOn: OrderBy.DescNullsLast }], }; const fetchOptions = { fetchPolicy: options?.fetchPolicy }; const toEntities = (connection: CertConnection, total: number) => { @@ -202,14 +224,14 @@ export class IndexerService extends GraphqlService<IndexerState> { return result; }; if (isNotNilOrBlank(filter.issuer)) { - return this.indexerGraphqlService.certsConnectionByIssuer(variables, fetchOptions).pipe( + return this.graphqlService.certsConnectionByIssuer(variables, fetchOptions).pipe( map(({ data }) => { const res = data.identityConnection.edges[0]?.node; return toEntities(res?.connection as CertConnection, res?.aggregate.aggregate.count || 0); }) ); } else { - return this.indexerGraphqlService.certsConnectionByReceiver(variables, fetchOptions).pipe( + return this.graphqlService.certsConnectionByReceiver(variables, fetchOptions).pipe( map(({ data }) => { const res = data.identityConnection.edges[0]?.node; return toEntities(res?.connection as CertConnection, res?.aggregate.aggregate.count || 0); @@ -228,12 +250,12 @@ export class IndexerService extends GraphqlService<IndexerState> { ...options, }; - if (isNotNilOrBlank(filter.id)) { + if (isNotNilOrBlank(filter?.id)) { return this.blockById(filter.id).pipe(map((block) => [block])); } - if (isNotNilOrBlank(filter.height)) { - return this.indexerGraphqlService + if (isNotNilOrBlank(filter?.height)) { + return this.graphqlService .blocks({ ...options, after: null, @@ -243,12 +265,17 @@ export class IndexerService extends GraphqlService<IndexerState> { .pipe(map(({ data: { blockConnection } }) => BlockConverter.toBlocks(blockConnection.edges as BlockEdge[], true))); } - throw new Error('Invalid block filter'); + return this.graphqlService + .blocks({ + ...options, + where: filter?.where, + }) + .pipe(map(({ data: { blockConnection } }) => BlockConverter.toBlocks(blockConnection.edges as BlockEdge[], true))); } blockById(id: string): Observable<Block> { console.info(`${this._logPrefix}Loading block #${id}`); - return this.indexerGraphqlService + return this.graphqlService .blockById({ id }) .pipe(map(({ data: { blockConnection } }) => BlockConverter.toBlock(blockConnection.edges[0] as BlockEdge))); } @@ -278,42 +305,7 @@ export class IndexerService extends GraphqlService<IndexerState> { currency, offline: false, fetchSize: this.defaultFetchSize, + minBlockHeight: currency?.minBlockHeight, }; } - - protected async ngOnStop(): Promise<void> { - super.ngOnStop(); - } - - protected async filterAlivePeers( - peers: string[], - opts?: { - timeout?: number; - } - ): Promise<Peer[]> { - const result: Peer[] = []; - await Promise.all( - peers - .map((peer) => Peers.fromUri(peer)) - .map((peer) => - this.isPeerAlive(peer, opts).then((alive) => { - if (!alive) return; - result.push(peer); - }) - ) - ); - return result; - } - - protected async isPeerAlive( - // eslint-disable-next-line @typescript-eslint/no-unused-vars - peer: Peer, - // eslint-disable-next-line @typescript-eslint/no-unused-vars - opts?: { - timeout?: number; - } - ): Promise<boolean> { - // TODO - return Promise.resolve(true); - } } diff --git a/src/app/network/ipfs/ipfs.service.ts b/src/app/network/ipfs/ipfs.service.ts new file mode 100644 index 0000000000000000000000000000000000000000..dbcfb3b1993f75fec4a0683bf6df51d6c1515cb1 --- /dev/null +++ b/src/app/network/ipfs/ipfs.service.ts @@ -0,0 +1,86 @@ +import { Injectable } from '@angular/core'; +import { Peer, Peers } from '@app/shared/services/network/peer.model'; +import { Promise } from '@rx-angular/cdk/zone-less/browser'; +import { SettingsService } from '@app/settings/settings.service'; +import { arrayRandomPick, isNotNil } from '@app/shared/functions'; +import { StorageService } from '@app/shared/services/storage/storage.service'; +import { Observable } from 'rxjs'; +import { RxStateProperty, RxStateSelect } from '@app/shared/decorator/state.decorator'; +import { RxStartableService } from '@app/shared/services/rx-startable-service.class'; + +export interface IpfsState { + peer: Peer; + gatewayBaseUrl: string; + offline: boolean; +} + +@Injectable({ providedIn: 'root' }) +export class IpfsService extends RxStartableService<IpfsState> { + @RxStateSelect() peer$: Observable<Peer>; + @RxStateProperty() peer: Peer; + @RxStateProperty() gatewayBaseUrl: string; + + constructor( + storage: StorageService, + private settings: SettingsService + ) { + super(storage, { + name: 'ipfs-service', + startByReadyFunction: false, // Need an explicit call to start() + }); + } + + getGatewayUrl(cid: string): string { + return this.gatewayBaseUrl + cid; + } + + /* -- protected functions -- */ + + protected async ngOnStart(): Promise<IpfsState> { + // Wait settings and storage + const settings = await this.settings.ready(); + + let peer = Peers.fromUri(settings.ipfsGateway); + if (!peer) { + const peers = await this.filterAlivePeers(settings.preferredIpfsGateways || []); + if (!peers.length) { + throw { message: 'ERROR.CHECK_NETWORK_CONNECTION' }; + } + peer = arrayRandomPick(peers); + } + + const gatewayBaseUrl = Peers.getHttpUri(peer) + '/ipfs/'; + + return { + peer, + gatewayBaseUrl, + offline: false, + }; + } + + protected async filterAlivePeers( + peers: string[], + opts?: { + timeout?: number; + } + ): Promise<Peer[]> { + return ( + await Promise.all( + peers.map((peer) => Peers.fromUri(peer)).map((peer) => this.isPeerAlive(peer, opts).then((alive) => (alive ? peer : undefined))) + ) + ).filter(isNotNil); + } + + protected async isPeerAlive( + // eslint-disable-next-line @typescript-eslint/no-unused-vars + peer: Peer, + // eslint-disable-next-line @typescript-eslint/no-unused-vars + opts?: { + timeout?: number; + } + ): Promise<boolean> { + // TODO + console.log(`${this._logPrefix}TODO: implement ${this.constructor.name}.isPeerAlive()`, peer); + return Promise.resolve(true); + } +} diff --git a/src/app/network/network.service.ts b/src/app/network/network.service.ts index 57be88c1e7db80a203f2f54d2d4dcdaa6bce924d..dc844e40f6b7974397b9e8d8921aa7a103614c4d 100644 --- a/src/app/network/network.service.ts +++ b/src/app/network/network.service.ts @@ -6,31 +6,36 @@ import { abbreviate, WELL_KNOWN_CURRENCIES } from '@app/shared/currencies'; import { Currency } from '../currency/currency.model'; import { RxStartableService } from '@app/shared/services/rx-startable-service.class'; import { RxStateProperty, RxStateSelect } from '@app/shared/decorator/state.decorator'; -import { Observable } from 'rxjs'; +import { mergeMap, Observable, tap } from 'rxjs'; import { filter, map } from 'rxjs/operators'; -import { arrayRandomPick, isNotNilOrBlank } from '@app/shared/functions'; -import { IndexerService } from './indexer.service'; +import { arrayRandomPick, isNotNil, isNotNilOrBlank, toNumber } from '@app/shared/functions'; +import { IndexerService } from './indexer/indexer.service'; import { fromDateISOString } from '@app/shared/dates'; import { ContextService } from '@app/shared/services/storage/context.service'; +import { PodService } from '@app/network/pod/pod.service'; export interface NetworkState { peer: Peer; currency: Currency; currencySymbol: string; + currentUd?: number; api: ApiPromise; } @Injectable({ providedIn: 'root' }) export class NetworkService extends RxStartableService<NetworkState> { indexer = inject(IndexerService); + pod = inject(PodService); @RxStateProperty() peer: Peer; @RxStateProperty() currency: Currency; @RxStateProperty() currencySymbol: string; + @RxStateProperty() currentUd: number; @RxStateProperty() api: ApiPromise; @RxStateSelect() peer$: Observable<Peer>; @RxStateSelect() currency$: Observable<Currency>; + @RxStateSelect() currentUd$: Observable<number>; constructor( private settings: SettingsService, @@ -53,6 +58,17 @@ export class NetworkService extends RxStartableService<NetworkState> { ); this.hold(this.currency$, (currency) => (this.context.currency = currency)); + + this.connect( + 'currentUd', + this.select('currency').pipe( + mergeMap(async (currency) => { + const ud = await this.api.query.universalDividend.currentUd(); + return toNumber(ud) / currency.powBase; + }), + tap((currentUd) => console.info(`${this._logPrefix}Current UD: ${currentUd}`)) + ) + ); } protected async ngOnStart(): Promise<NetworkState> { @@ -131,14 +147,19 @@ export class NetworkService extends RxStartableService<NetworkState> { const lastHeader = await api.rpc.chain.getHeader(); console.info(`${this._logPrefix}Last block: #${lastHeader.number} - hash ${lastHeader.hash}`); + const ud0 = toNumber(api.consts.universalDividend.unitsPerUd) / currency.powBase; + + // Configure and start indexer and pod this.indexer.currency = currency; - await this.indexer.start(); + this.pod.currency = currency; + await Promise.all([this.indexer.start(), this.pod.start()]); return { + api, peer, currency, currencySymbol: currency?.symbol, - api, + currentUd: ud0, }; } @@ -155,18 +176,11 @@ export class NetworkService extends RxStartableService<NetworkState> { timeout?: number; } ): Promise<Peer[]> { - const result: Peer[] = []; - await Promise.all( - peers - .map((peer) => Peers.fromUri(peer)) - .map((peer) => - this.isPeerAlive(peer).then((alive) => { - if (!alive) return; - result.push(peer); - }) - ) - ); - return result; + return ( + await Promise.all( + peers.map((peer) => Peers.fromUri(peer)).map((peer) => this.isPeerAlive(peer, opts).then((alive) => (alive ? peer : undefined))) + ) + ).filter(isNotNil); } protected async isPeerAlive( diff --git a/src/app/network/pod/pod-helpers.generated.ts b/src/app/network/pod/pod-helpers.generated.ts new file mode 100644 index 0000000000000000000000000000000000000000..04cd4a4992a0f5e23cf7ef3c80b0a326427e53a5 --- /dev/null +++ b/src/app/network/pod/pod-helpers.generated.ts @@ -0,0 +1,140 @@ +// Auto-generated via `npx graphql-codegen`, do not edit +/* eslint-disable */ +import { FieldPolicy, FieldReadFunction, TypePolicies, TypePolicy } from '@apollo/client/cache'; +export type AddTransactionResponseKeySpecifier = ('message' | 'success' | AddTransactionResponseKeySpecifier)[]; +export type AddTransactionResponseFieldPolicy = { + message?: FieldPolicy<any> | FieldReadFunction<any>, + success?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type DeleteProfileResponseKeySpecifier = ('message' | 'success' | DeleteProfileResponseKeySpecifier)[]; +export type DeleteProfileResponseFieldPolicy = { + message?: FieldPolicy<any> | FieldReadFunction<any>, + success?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type MigrateProfileResponseKeySpecifier = ('message' | 'success' | MigrateProfileResponseKeySpecifier)[]; +export type MigrateProfileResponseFieldPolicy = { + message?: FieldPolicy<any> | FieldReadFunction<any>, + success?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type UpdateProfileResponseKeySpecifier = ('message' | 'success' | UpdateProfileResponseKeySpecifier)[]; +export type UpdateProfileResponseFieldPolicy = { + message?: FieldPolicy<any> | FieldReadFunction<any>, + success?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type mutation_rootKeySpecifier = ('addTransaction' | 'deleteProfile' | 'migrateProfile' | 'updateProfile' | mutation_rootKeySpecifier)[]; +export type mutation_rootFieldPolicy = { + addTransaction?: FieldPolicy<any> | FieldReadFunction<any>, + deleteProfile?: FieldPolicy<any> | FieldReadFunction<any>, + migrateProfile?: FieldPolicy<any> | FieldReadFunction<any>, + updateProfile?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type profilesKeySpecifier = ('avatar' | 'city' | 'data_cid' | 'description' | 'geoloc' | 'index_request_cid' | 'pubkey' | 'socials' | 'time' | 'title' | profilesKeySpecifier)[]; +export type profilesFieldPolicy = { + avatar?: FieldPolicy<any> | FieldReadFunction<any>, + city?: FieldPolicy<any> | FieldReadFunction<any>, + data_cid?: FieldPolicy<any> | FieldReadFunction<any>, + description?: FieldPolicy<any> | FieldReadFunction<any>, + geoloc?: FieldPolicy<any> | FieldReadFunction<any>, + index_request_cid?: FieldPolicy<any> | FieldReadFunction<any>, + pubkey?: FieldPolicy<any> | FieldReadFunction<any>, + socials?: FieldPolicy<any> | FieldReadFunction<any>, + time?: FieldPolicy<any> | FieldReadFunction<any>, + title?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type profiles_aggregateKeySpecifier = ('aggregate' | 'nodes' | profiles_aggregateKeySpecifier)[]; +export type profiles_aggregateFieldPolicy = { + aggregate?: FieldPolicy<any> | FieldReadFunction<any>, + nodes?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type profiles_aggregate_fieldsKeySpecifier = ('count' | 'max' | 'min' | profiles_aggregate_fieldsKeySpecifier)[]; +export type profiles_aggregate_fieldsFieldPolicy = { + count?: FieldPolicy<any> | FieldReadFunction<any>, + max?: FieldPolicy<any> | FieldReadFunction<any>, + min?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type profiles_max_fieldsKeySpecifier = ('avatar' | 'city' | 'data_cid' | 'description' | 'index_request_cid' | 'pubkey' | 'time' | 'title' | profiles_max_fieldsKeySpecifier)[]; +export type profiles_max_fieldsFieldPolicy = { + avatar?: FieldPolicy<any> | FieldReadFunction<any>, + city?: FieldPolicy<any> | FieldReadFunction<any>, + data_cid?: FieldPolicy<any> | FieldReadFunction<any>, + description?: FieldPolicy<any> | FieldReadFunction<any>, + index_request_cid?: FieldPolicy<any> | FieldReadFunction<any>, + pubkey?: FieldPolicy<any> | FieldReadFunction<any>, + time?: FieldPolicy<any> | FieldReadFunction<any>, + title?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type profiles_min_fieldsKeySpecifier = ('avatar' | 'city' | 'data_cid' | 'description' | 'index_request_cid' | 'pubkey' | 'time' | 'title' | profiles_min_fieldsKeySpecifier)[]; +export type profiles_min_fieldsFieldPolicy = { + avatar?: FieldPolicy<any> | FieldReadFunction<any>, + city?: FieldPolicy<any> | FieldReadFunction<any>, + data_cid?: FieldPolicy<any> | FieldReadFunction<any>, + description?: FieldPolicy<any> | FieldReadFunction<any>, + index_request_cid?: FieldPolicy<any> | FieldReadFunction<any>, + pubkey?: FieldPolicy<any> | FieldReadFunction<any>, + time?: FieldPolicy<any> | FieldReadFunction<any>, + title?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type query_rootKeySpecifier = ('profiles' | 'profiles_aggregate' | 'profiles_by_pk' | query_rootKeySpecifier)[]; +export type query_rootFieldPolicy = { + profiles?: FieldPolicy<any> | FieldReadFunction<any>, + profiles_aggregate?: FieldPolicy<any> | FieldReadFunction<any>, + profiles_by_pk?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type subscription_rootKeySpecifier = ('profiles' | 'profiles_aggregate' | 'profiles_by_pk' | 'profiles_stream' | subscription_rootKeySpecifier)[]; +export type subscription_rootFieldPolicy = { + profiles?: FieldPolicy<any> | FieldReadFunction<any>, + profiles_aggregate?: FieldPolicy<any> | FieldReadFunction<any>, + profiles_by_pk?: FieldPolicy<any> | FieldReadFunction<any>, + profiles_stream?: FieldPolicy<any> | FieldReadFunction<any> +}; +export type StrictTypedTypePolicies = { + AddTransactionResponse?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | AddTransactionResponseKeySpecifier | (() => undefined | AddTransactionResponseKeySpecifier), + fields?: AddTransactionResponseFieldPolicy, + }, + DeleteProfileResponse?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | DeleteProfileResponseKeySpecifier | (() => undefined | DeleteProfileResponseKeySpecifier), + fields?: DeleteProfileResponseFieldPolicy, + }, + MigrateProfileResponse?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | MigrateProfileResponseKeySpecifier | (() => undefined | MigrateProfileResponseKeySpecifier), + fields?: MigrateProfileResponseFieldPolicy, + }, + UpdateProfileResponse?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | UpdateProfileResponseKeySpecifier | (() => undefined | UpdateProfileResponseKeySpecifier), + fields?: UpdateProfileResponseFieldPolicy, + }, + mutation_root?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | mutation_rootKeySpecifier | (() => undefined | mutation_rootKeySpecifier), + fields?: mutation_rootFieldPolicy, + }, + profiles?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | profilesKeySpecifier | (() => undefined | profilesKeySpecifier), + fields?: profilesFieldPolicy, + }, + profiles_aggregate?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | profiles_aggregateKeySpecifier | (() => undefined | profiles_aggregateKeySpecifier), + fields?: profiles_aggregateFieldPolicy, + }, + profiles_aggregate_fields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | profiles_aggregate_fieldsKeySpecifier | (() => undefined | profiles_aggregate_fieldsKeySpecifier), + fields?: profiles_aggregate_fieldsFieldPolicy, + }, + profiles_max_fields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | profiles_max_fieldsKeySpecifier | (() => undefined | profiles_max_fieldsKeySpecifier), + fields?: profiles_max_fieldsFieldPolicy, + }, + profiles_min_fields?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | profiles_min_fieldsKeySpecifier | (() => undefined | profiles_min_fieldsKeySpecifier), + fields?: profiles_min_fieldsFieldPolicy, + }, + query_root?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | query_rootKeySpecifier | (() => undefined | query_rootKeySpecifier), + fields?: query_rootFieldPolicy, + }, + subscription_root?: Omit<TypePolicy, "fields" | "keyFields"> & { + keyFields?: false | subscription_rootKeySpecifier | (() => undefined | subscription_rootKeySpecifier), + fields?: subscription_rootFieldPolicy, + } +}; +export type TypedTypePolicies = StrictTypedTypePolicies & TypePolicies; \ No newline at end of file diff --git a/src/app/network/pod/pod-profile.gql b/src/app/network/pod/pod-profile.gql new file mode 100644 index 0000000000000000000000000000000000000000..8fa6369250d854880f4d7c8b86729ae126ab5062 --- /dev/null +++ b/src/app/network/pod/pod-profile.gql @@ -0,0 +1,52 @@ +fragment LightProfile on profiles { + id: data_cid + __typename + address: pubkey + title + avatar_cid: avatar + time +} + +fragment Profile on profiles { + ...LightProfile + description + city + geoloc + socials + index_request_cid +} + +query ProfileSearchByText( + $searchText: String!, + $limit: Int!, + $offset: Int!, + $orderBy: [profiles_order_by!], + $withTotal: Boolean! +) { + profiles( + offset: $offset, + limit: $limit, + where: { title: { _ilike: $searchText } }, + order_by: $orderBy + ) { + ...LightProfile + } + + profiles_aggregate(where: { title: { _ilike: $searchText } }) @include (if: $withTotal) { + aggregate { + count + } + } +} + +query ProfileByAddress($address: String!) { + profiles_by_pk(pubkey: $address) { + ...Profile + } +} + +query ProfileSearchByAddresses($addresses: [String!]!) { + profiles(where: {pubkey: { _in: $addresses}}) { + ...LightProfile + } +} diff --git a/src/app/network/pod/pod-schema.graphql b/src/app/network/pod/pod-schema.graphql new file mode 100644 index 0000000000000000000000000000000000000000..8273276d3ca437130e48ed19b0e410b3594f5e28 --- /dev/null +++ b/src/app/network/pod/pod-schema.graphql @@ -0,0 +1,406 @@ +# This file was generated. Do not edit manually. + +schema { + query: query_root + mutation: mutation_root + subscription: subscription_root +} + +"whether this query should be cached (Hasura Cloud only)" +directive @cached( + "refresh the cache entry" + refresh: Boolean! = false, + "measured in seconds" + ttl: Int! = 60 +) on QUERY + +type AddTransactionResponse { + message: String! + success: Boolean! +} + +type DeleteProfileResponse { + message: String! + success: Boolean! +} + +type MigrateProfileResponse { + message: String! + success: Boolean! +} + +type UpdateProfileResponse { + message: String! + success: Boolean! +} + +"mutation root" +type mutation_root { + "addTransaction" + addTransaction(address: String!, comment: String!, hash: String!, id: String!, signature: String!): AddTransactionResponse + "deleteProfile" + deleteProfile(address: String!, hash: String!, signature: String!): DeleteProfileResponse + "migrateProfile" + migrateProfile(addressNew: String!, addressOld: String!, hash: String!, signature: String!): MigrateProfileResponse + "updateProfile" + updateProfile(address: String!, avatarBase64: String, city: String, description: String, geoloc: GeolocInput, hash: String!, signature: String!, socials: [SocialInput!], title: String): UpdateProfileResponse +} + +"columns and relationships of \"profiles\"" +type profiles { + "cid of avatar" + avatar: String + city: String + "CID of the latest data from which this document comes from" + data_cid: String + description: String + geoloc: point + "CID of the latest index request that modified this document" + index_request_cid: String! + "base58 pubkey of profile owner" + pubkey: String! + socials( + "JSON select path" + path: String + ): jsonb + "timestamp of the latest index request that modified this document" + time: timestamptz! + "title of c+ profile" + title: String +} + +"aggregated selection of \"profiles\"" +type profiles_aggregate { + aggregate: profiles_aggregate_fields + nodes: [profiles!]! +} + +"aggregate fields of \"profiles\"" +type profiles_aggregate_fields { + count(columns: [profiles_select_column!], distinct: Boolean): Int! + max: profiles_max_fields + min: profiles_min_fields +} + +"aggregate max on columns" +type profiles_max_fields { + "cid of avatar" + avatar: String + city: String + "CID of the latest data from which this document comes from" + data_cid: String + description: String + "CID of the latest index request that modified this document" + index_request_cid: String + "base58 pubkey of profile owner" + pubkey: String + "timestamp of the latest index request that modified this document" + time: timestamptz + "title of c+ profile" + title: String +} + +"aggregate min on columns" +type profiles_min_fields { + "cid of avatar" + avatar: String + city: String + "CID of the latest data from which this document comes from" + data_cid: String + description: String + "CID of the latest index request that modified this document" + index_request_cid: String + "base58 pubkey of profile owner" + pubkey: String + "timestamp of the latest index request that modified this document" + time: timestamptz + "title of c+ profile" + title: String +} + +type query_root { + "fetch data from the table: \"profiles\"" + profiles( + "distinct select on columns" + distinct_on: [profiles_select_column!], + "limit the number of rows returned" + limit: Int, + "skip the first n rows. Use only with order_by" + offset: Int, + "sort the rows by one or more columns" + order_by: [profiles_order_by!], + "filter the rows returned" + where: profiles_bool_exp + ): [profiles!]! + "fetch aggregated fields from the table: \"profiles\"" + profiles_aggregate( + "distinct select on columns" + distinct_on: [profiles_select_column!], + "limit the number of rows returned" + limit: Int, + "skip the first n rows. Use only with order_by" + offset: Int, + "sort the rows by one or more columns" + order_by: [profiles_order_by!], + "filter the rows returned" + where: profiles_bool_exp + ): profiles_aggregate! + "fetch data from the table: \"profiles\" using primary key columns" + profiles_by_pk( + "base58 pubkey of profile owner" + pubkey: String! + ): profiles +} + +type subscription_root { + "fetch data from the table: \"profiles\"" + profiles( + "distinct select on columns" + distinct_on: [profiles_select_column!], + "limit the number of rows returned" + limit: Int, + "skip the first n rows. Use only with order_by" + offset: Int, + "sort the rows by one or more columns" + order_by: [profiles_order_by!], + "filter the rows returned" + where: profiles_bool_exp + ): [profiles!]! + "fetch aggregated fields from the table: \"profiles\"" + profiles_aggregate( + "distinct select on columns" + distinct_on: [profiles_select_column!], + "limit the number of rows returned" + limit: Int, + "skip the first n rows. Use only with order_by" + offset: Int, + "sort the rows by one or more columns" + order_by: [profiles_order_by!], + "filter the rows returned" + where: profiles_bool_exp + ): profiles_aggregate! + "fetch data from the table: \"profiles\" using primary key columns" + profiles_by_pk( + "base58 pubkey of profile owner" + pubkey: String! + ): profiles + "fetch data from the table in a streaming manner: \"profiles\"" + profiles_stream( + "maximum number of rows returned in a single batch" + batch_size: Int!, + "cursor to stream the results returned by the query" + cursor: [profiles_stream_cursor_input]!, + "filter the rows returned" + where: profiles_bool_exp + ): [profiles!]! +} + +"ordering argument of a cursor" +enum cursor_ordering { + "ascending ordering of the cursor" + ASC + "descending ordering of the cursor" + DESC +} + +"column ordering options" +enum order_by { + "in ascending order, nulls last" + asc + "in ascending order, nulls first" + asc_nulls_first + "in ascending order, nulls last" + asc_nulls_last + "in descending order, nulls first" + desc + "in descending order, nulls first" + desc_nulls_first + "in descending order, nulls last" + desc_nulls_last +} + +"select columns of table \"profiles\"" +enum profiles_select_column { + "column name" + avatar + "column name" + city + "column name" + data_cid + "column name" + description + "column name" + geoloc + "column name" + index_request_cid + "column name" + pubkey + "column name" + socials + "column name" + time + "column name" + title +} + +scalar jsonb + +scalar point + +scalar timestamptz + +input GeolocInput { + latitude: Float! + longitude: Float! +} + +input SocialInput { + type: String + url: String! +} + +"Boolean expression to compare columns of type \"String\". All fields are combined with logical 'AND'." +input String_comparison_exp { + _eq: String + _gt: String + _gte: String + "does the column match the given case-insensitive pattern" + _ilike: String + _in: [String!] + "does the column match the given POSIX regular expression, case insensitive" + _iregex: String + _is_null: Boolean + "does the column match the given pattern" + _like: String + _lt: String + _lte: String + _neq: String + "does the column NOT match the given case-insensitive pattern" + _nilike: String + _nin: [String!] + "does the column NOT match the given POSIX regular expression, case insensitive" + _niregex: String + "does the column NOT match the given pattern" + _nlike: String + "does the column NOT match the given POSIX regular expression, case sensitive" + _nregex: String + "does the column NOT match the given SQL regular expression" + _nsimilar: String + "does the column match the given POSIX regular expression, case sensitive" + _regex: String + "does the column match the given SQL regular expression" + _similar: String +} + +input jsonb_cast_exp { + String: String_comparison_exp +} + +"Boolean expression to compare columns of type \"jsonb\". All fields are combined with logical 'AND'." +input jsonb_comparison_exp { + _cast: jsonb_cast_exp + "is the column contained in the given json value" + _contained_in: jsonb + "does the column contain the given json value at the top level" + _contains: jsonb + _eq: jsonb + _gt: jsonb + _gte: jsonb + "does the string exist as a top-level key in the column" + _has_key: String + "do all of these strings exist as top-level keys in the column" + _has_keys_all: [String!] + "do any of these strings exist as top-level keys in the column" + _has_keys_any: [String!] + _in: [jsonb!] + _is_null: Boolean + _lt: jsonb + _lte: jsonb + _neq: jsonb + _nin: [jsonb!] +} + +"Boolean expression to compare columns of type \"point\". All fields are combined with logical 'AND'." +input point_comparison_exp { + _eq: point + _gt: point + _gte: point + _in: [point!] + _is_null: Boolean + _lt: point + _lte: point + _neq: point + _nin: [point!] +} + +"Boolean expression to filter rows from the table \"profiles\". All fields are combined with a logical 'AND'." +input profiles_bool_exp { + _and: [profiles_bool_exp!] + _not: profiles_bool_exp + _or: [profiles_bool_exp!] + avatar: String_comparison_exp + city: String_comparison_exp + data_cid: String_comparison_exp + description: String_comparison_exp + geoloc: point_comparison_exp + index_request_cid: String_comparison_exp + pubkey: String_comparison_exp + socials: jsonb_comparison_exp + time: timestamptz_comparison_exp + title: String_comparison_exp +} + +"Ordering options when selecting data from \"profiles\"." +input profiles_order_by { + avatar: order_by + city: order_by + data_cid: order_by + description: order_by + geoloc: order_by + index_request_cid: order_by + pubkey: order_by + socials: order_by + time: order_by + title: order_by +} + +"Streaming cursor of the table \"profiles\"" +input profiles_stream_cursor_input { + "Stream column input with initial value" + initial_value: profiles_stream_cursor_value_input! + "cursor ordering" + ordering: cursor_ordering +} + +"Initial value of the column from where the streaming should start" +input profiles_stream_cursor_value_input { + "cid of avatar" + avatar: String + city: String + "CID of the latest data from which this document comes from" + data_cid: String + description: String + geoloc: point + "CID of the latest index request that modified this document" + index_request_cid: String + "base58 pubkey of profile owner" + pubkey: String + socials: jsonb + "timestamp of the latest index request that modified this document" + time: timestamptz + "title of c+ profile" + title: String +} + +"Boolean expression to compare columns of type \"timestamptz\". All fields are combined with logical 'AND'." +input timestamptz_comparison_exp { + _eq: timestamptz + _gt: timestamptz + _gte: timestamptz + _in: [timestamptz!] + _is_null: Boolean + _lt: timestamptz + _lte: timestamptz + _neq: timestamptz + _nin: [timestamptz!] +} diff --git a/src/app/network/pod/pod-types.generated.ts b/src/app/network/pod/pod-types.generated.ts new file mode 100644 index 0000000000000000000000000000000000000000..67cf3a2c058f1b4bf4fae30d895815712b8b6ec9 --- /dev/null +++ b/src/app/network/pod/pod-types.generated.ts @@ -0,0 +1,734 @@ +// Auto-generated via `npx graphql-codegen`, do not edit +/* eslint-disable */ +import { gql } from 'apollo-angular'; +import { Injectable } from '@angular/core'; +import * as Apollo from 'apollo-angular'; +import * as ApolloCore from '@apollo/client/core'; +export type Maybe<T> = T | null; +export type InputMaybe<T> = Maybe<T>; +export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] }; +export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> }; +export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> }; +export type MakeEmpty<T extends { [key: string]: unknown }, K extends keyof T> = { [_ in K]?: never }; +export type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never }; +/** All built-in and custom scalars, mapped to their actual values */ +export type Scalars = { + ID: { input: string; output: string; } + String: { input: string; output: string; } + Boolean: { input: boolean; output: boolean; } + Int: { input: number; output: number; } + Float: { input: number; output: number; } + jsonb: { input: any; output: any; } + point: { input: any; output: any; } + timestamptz: { input: any; output: any; } +}; + +export type AddTransactionResponse = { + __typename?: 'AddTransactionResponse'; + message: Scalars['String']['output']; + success: Scalars['Boolean']['output']; +}; + +export type DeleteProfileResponse = { + __typename?: 'DeleteProfileResponse'; + message: Scalars['String']['output']; + success: Scalars['Boolean']['output']; +}; + +export type GeolocInput = { + latitude: Scalars['Float']['input']; + longitude: Scalars['Float']['input']; +}; + +export type MigrateProfileResponse = { + __typename?: 'MigrateProfileResponse'; + message: Scalars['String']['output']; + success: Scalars['Boolean']['output']; +}; + +export type SocialInput = { + type?: InputMaybe<Scalars['String']['input']>; + url: Scalars['String']['input']; +}; + +/** Boolean expression to compare columns of type "String". All fields are combined with logical 'AND'. */ +export type String_Comparison_Exp = { + _eq?: InputMaybe<Scalars['String']['input']>; + _gt?: InputMaybe<Scalars['String']['input']>; + _gte?: InputMaybe<Scalars['String']['input']>; + /** does the column match the given case-insensitive pattern */ + _ilike?: InputMaybe<Scalars['String']['input']>; + _in?: InputMaybe<Array<Scalars['String']['input']>>; + /** does the column match the given POSIX regular expression, case insensitive */ + _iregex?: InputMaybe<Scalars['String']['input']>; + _is_null?: InputMaybe<Scalars['Boolean']['input']>; + /** does the column match the given pattern */ + _like?: InputMaybe<Scalars['String']['input']>; + _lt?: InputMaybe<Scalars['String']['input']>; + _lte?: InputMaybe<Scalars['String']['input']>; + _neq?: InputMaybe<Scalars['String']['input']>; + /** does the column NOT match the given case-insensitive pattern */ + _nilike?: InputMaybe<Scalars['String']['input']>; + _nin?: InputMaybe<Array<Scalars['String']['input']>>; + /** does the column NOT match the given POSIX regular expression, case insensitive */ + _niregex?: InputMaybe<Scalars['String']['input']>; + /** does the column NOT match the given pattern */ + _nlike?: InputMaybe<Scalars['String']['input']>; + /** does the column NOT match the given POSIX regular expression, case sensitive */ + _nregex?: InputMaybe<Scalars['String']['input']>; + /** does the column NOT match the given SQL regular expression */ + _nsimilar?: InputMaybe<Scalars['String']['input']>; + /** does the column match the given POSIX regular expression, case sensitive */ + _regex?: InputMaybe<Scalars['String']['input']>; + /** does the column match the given SQL regular expression */ + _similar?: InputMaybe<Scalars['String']['input']>; +}; + +export type UpdateProfileResponse = { + __typename?: 'UpdateProfileResponse'; + message: Scalars['String']['output']; + success: Scalars['Boolean']['output']; +}; + +/** ordering argument of a cursor */ +export enum Cursor_Ordering { + /** ascending ordering of the cursor */ + Asc = 'ASC', + /** descending ordering of the cursor */ + Desc = 'DESC' +} + +export type Jsonb_Cast_Exp = { + String?: InputMaybe<String_Comparison_Exp>; +}; + +/** Boolean expression to compare columns of type "jsonb". All fields are combined with logical 'AND'. */ +export type Jsonb_Comparison_Exp = { + _cast?: InputMaybe<Jsonb_Cast_Exp>; + /** is the column contained in the given json value */ + _contained_in?: InputMaybe<Scalars['jsonb']['input']>; + /** does the column contain the given json value at the top level */ + _contains?: InputMaybe<Scalars['jsonb']['input']>; + _eq?: InputMaybe<Scalars['jsonb']['input']>; + _gt?: InputMaybe<Scalars['jsonb']['input']>; + _gte?: InputMaybe<Scalars['jsonb']['input']>; + /** does the string exist as a top-level key in the column */ + _has_key?: InputMaybe<Scalars['String']['input']>; + /** do all of these strings exist as top-level keys in the column */ + _has_keys_all?: InputMaybe<Array<Scalars['String']['input']>>; + /** do any of these strings exist as top-level keys in the column */ + _has_keys_any?: InputMaybe<Array<Scalars['String']['input']>>; + _in?: InputMaybe<Array<Scalars['jsonb']['input']>>; + _is_null?: InputMaybe<Scalars['Boolean']['input']>; + _lt?: InputMaybe<Scalars['jsonb']['input']>; + _lte?: InputMaybe<Scalars['jsonb']['input']>; + _neq?: InputMaybe<Scalars['jsonb']['input']>; + _nin?: InputMaybe<Array<Scalars['jsonb']['input']>>; +}; + +/** mutation root */ +export type Mutation_Root = { + __typename?: 'mutation_root'; + /** addTransaction */ + addTransaction?: Maybe<AddTransactionResponse>; + /** deleteProfile */ + deleteProfile?: Maybe<DeleteProfileResponse>; + /** migrateProfile */ + migrateProfile?: Maybe<MigrateProfileResponse>; + /** updateProfile */ + updateProfile?: Maybe<UpdateProfileResponse>; +}; + + +/** mutation root */ +export type Mutation_RootAddTransactionArgs = { + address: Scalars['String']['input']; + comment: Scalars['String']['input']; + hash: Scalars['String']['input']; + id: Scalars['String']['input']; + signature: Scalars['String']['input']; +}; + + +/** mutation root */ +export type Mutation_RootDeleteProfileArgs = { + address: Scalars['String']['input']; + hash: Scalars['String']['input']; + signature: Scalars['String']['input']; +}; + + +/** mutation root */ +export type Mutation_RootMigrateProfileArgs = { + addressNew: Scalars['String']['input']; + addressOld: Scalars['String']['input']; + hash: Scalars['String']['input']; + signature: Scalars['String']['input']; +}; + + +/** mutation root */ +export type Mutation_RootUpdateProfileArgs = { + address: Scalars['String']['input']; + avatarBase64?: InputMaybe<Scalars['String']['input']>; + city?: InputMaybe<Scalars['String']['input']>; + description?: InputMaybe<Scalars['String']['input']>; + geoloc?: InputMaybe<GeolocInput>; + hash: Scalars['String']['input']; + signature: Scalars['String']['input']; + socials?: InputMaybe<Array<SocialInput>>; + title?: InputMaybe<Scalars['String']['input']>; +}; + +/** column ordering options */ +export enum Order_By { + /** in ascending order, nulls last */ + Asc = 'asc', + /** in ascending order, nulls first */ + AscNullsFirst = 'asc_nulls_first', + /** in ascending order, nulls last */ + AscNullsLast = 'asc_nulls_last', + /** in descending order, nulls first */ + Desc = 'desc', + /** in descending order, nulls first */ + DescNullsFirst = 'desc_nulls_first', + /** in descending order, nulls last */ + DescNullsLast = 'desc_nulls_last' +} + +/** Boolean expression to compare columns of type "point". All fields are combined with logical 'AND'. */ +export type Point_Comparison_Exp = { + _eq?: InputMaybe<Scalars['point']['input']>; + _gt?: InputMaybe<Scalars['point']['input']>; + _gte?: InputMaybe<Scalars['point']['input']>; + _in?: InputMaybe<Array<Scalars['point']['input']>>; + _is_null?: InputMaybe<Scalars['Boolean']['input']>; + _lt?: InputMaybe<Scalars['point']['input']>; + _lte?: InputMaybe<Scalars['point']['input']>; + _neq?: InputMaybe<Scalars['point']['input']>; + _nin?: InputMaybe<Array<Scalars['point']['input']>>; +}; + +/** columns and relationships of "profiles" */ +export type Profiles = { + __typename?: 'profiles'; + /** cid of avatar */ + avatar?: Maybe<Scalars['String']['output']>; + city?: Maybe<Scalars['String']['output']>; + /** CID of the latest data from which this document comes from */ + data_cid?: Maybe<Scalars['String']['output']>; + description?: Maybe<Scalars['String']['output']>; + geoloc?: Maybe<Scalars['point']['output']>; + /** CID of the latest index request that modified this document */ + index_request_cid: Scalars['String']['output']; + /** base58 pubkey of profile owner */ + pubkey: Scalars['String']['output']; + socials?: Maybe<Scalars['jsonb']['output']>; + /** timestamp of the latest index request that modified this document */ + time: Scalars['timestamptz']['output']; + /** title of c+ profile */ + title?: Maybe<Scalars['String']['output']>; +}; + + +/** columns and relationships of "profiles" */ +export type ProfilesSocialsArgs = { + path?: InputMaybe<Scalars['String']['input']>; +}; + +/** aggregated selection of "profiles" */ +export type Profiles_Aggregate = { + __typename?: 'profiles_aggregate'; + aggregate?: Maybe<Profiles_Aggregate_Fields>; + nodes: Array<Profiles>; +}; + +/** aggregate fields of "profiles" */ +export type Profiles_Aggregate_Fields = { + __typename?: 'profiles_aggregate_fields'; + count: Scalars['Int']['output']; + max?: Maybe<Profiles_Max_Fields>; + min?: Maybe<Profiles_Min_Fields>; +}; + + +/** aggregate fields of "profiles" */ +export type Profiles_Aggregate_FieldsCountArgs = { + columns?: InputMaybe<Array<Profiles_Select_Column>>; + distinct?: InputMaybe<Scalars['Boolean']['input']>; +}; + +/** Boolean expression to filter rows from the table "profiles". All fields are combined with a logical 'AND'. */ +export type Profiles_Bool_Exp = { + _and?: InputMaybe<Array<Profiles_Bool_Exp>>; + _not?: InputMaybe<Profiles_Bool_Exp>; + _or?: InputMaybe<Array<Profiles_Bool_Exp>>; + avatar?: InputMaybe<String_Comparison_Exp>; + city?: InputMaybe<String_Comparison_Exp>; + data_cid?: InputMaybe<String_Comparison_Exp>; + description?: InputMaybe<String_Comparison_Exp>; + geoloc?: InputMaybe<Point_Comparison_Exp>; + index_request_cid?: InputMaybe<String_Comparison_Exp>; + pubkey?: InputMaybe<String_Comparison_Exp>; + socials?: InputMaybe<Jsonb_Comparison_Exp>; + time?: InputMaybe<Timestamptz_Comparison_Exp>; + title?: InputMaybe<String_Comparison_Exp>; +}; + +/** aggregate max on columns */ +export type Profiles_Max_Fields = { + __typename?: 'profiles_max_fields'; + /** cid of avatar */ + avatar?: Maybe<Scalars['String']['output']>; + city?: Maybe<Scalars['String']['output']>; + /** CID of the latest data from which this document comes from */ + data_cid?: Maybe<Scalars['String']['output']>; + description?: Maybe<Scalars['String']['output']>; + /** CID of the latest index request that modified this document */ + index_request_cid?: Maybe<Scalars['String']['output']>; + /** base58 pubkey of profile owner */ + pubkey?: Maybe<Scalars['String']['output']>; + /** timestamp of the latest index request that modified this document */ + time?: Maybe<Scalars['timestamptz']['output']>; + /** title of c+ profile */ + title?: Maybe<Scalars['String']['output']>; +}; + +/** aggregate min on columns */ +export type Profiles_Min_Fields = { + __typename?: 'profiles_min_fields'; + /** cid of avatar */ + avatar?: Maybe<Scalars['String']['output']>; + city?: Maybe<Scalars['String']['output']>; + /** CID of the latest data from which this document comes from */ + data_cid?: Maybe<Scalars['String']['output']>; + description?: Maybe<Scalars['String']['output']>; + /** CID of the latest index request that modified this document */ + index_request_cid?: Maybe<Scalars['String']['output']>; + /** base58 pubkey of profile owner */ + pubkey?: Maybe<Scalars['String']['output']>; + /** timestamp of the latest index request that modified this document */ + time?: Maybe<Scalars['timestamptz']['output']>; + /** title of c+ profile */ + title?: Maybe<Scalars['String']['output']>; +}; + +/** Ordering options when selecting data from "profiles". */ +export type Profiles_Order_By = { + avatar?: InputMaybe<Order_By>; + city?: InputMaybe<Order_By>; + data_cid?: InputMaybe<Order_By>; + description?: InputMaybe<Order_By>; + geoloc?: InputMaybe<Order_By>; + index_request_cid?: InputMaybe<Order_By>; + pubkey?: InputMaybe<Order_By>; + socials?: InputMaybe<Order_By>; + time?: InputMaybe<Order_By>; + title?: InputMaybe<Order_By>; +}; + +/** select columns of table "profiles" */ +export enum Profiles_Select_Column { + /** column name */ + Avatar = 'avatar', + /** column name */ + City = 'city', + /** column name */ + DataCid = 'data_cid', + /** column name */ + Description = 'description', + /** column name */ + Geoloc = 'geoloc', + /** column name */ + IndexRequestCid = 'index_request_cid', + /** column name */ + Pubkey = 'pubkey', + /** column name */ + Socials = 'socials', + /** column name */ + Time = 'time', + /** column name */ + Title = 'title' +} + +/** Streaming cursor of the table "profiles" */ +export type Profiles_Stream_Cursor_Input = { + /** Stream column input with initial value */ + initial_value: Profiles_Stream_Cursor_Value_Input; + /** cursor ordering */ + ordering?: InputMaybe<Cursor_Ordering>; +}; + +/** Initial value of the column from where the streaming should start */ +export type Profiles_Stream_Cursor_Value_Input = { + /** cid of avatar */ + avatar?: InputMaybe<Scalars['String']['input']>; + city?: InputMaybe<Scalars['String']['input']>; + /** CID of the latest data from which this document comes from */ + data_cid?: InputMaybe<Scalars['String']['input']>; + description?: InputMaybe<Scalars['String']['input']>; + geoloc?: InputMaybe<Scalars['point']['input']>; + /** CID of the latest index request that modified this document */ + index_request_cid?: InputMaybe<Scalars['String']['input']>; + /** base58 pubkey of profile owner */ + pubkey?: InputMaybe<Scalars['String']['input']>; + socials?: InputMaybe<Scalars['jsonb']['input']>; + /** timestamp of the latest index request that modified this document */ + time?: InputMaybe<Scalars['timestamptz']['input']>; + /** title of c+ profile */ + title?: InputMaybe<Scalars['String']['input']>; +}; + +export type Query_Root = { + __typename?: 'query_root'; + /** fetch data from the table: "profiles" */ + profiles: Array<Profiles>; + /** fetch aggregated fields from the table: "profiles" */ + profiles_aggregate: Profiles_Aggregate; + /** fetch data from the table: "profiles" using primary key columns */ + profiles_by_pk?: Maybe<Profiles>; +}; + + +export type Query_RootProfilesArgs = { + distinct_on?: InputMaybe<Array<Profiles_Select_Column>>; + limit?: InputMaybe<Scalars['Int']['input']>; + offset?: InputMaybe<Scalars['Int']['input']>; + order_by?: InputMaybe<Array<Profiles_Order_By>>; + where?: InputMaybe<Profiles_Bool_Exp>; +}; + + +export type Query_RootProfiles_AggregateArgs = { + distinct_on?: InputMaybe<Array<Profiles_Select_Column>>; + limit?: InputMaybe<Scalars['Int']['input']>; + offset?: InputMaybe<Scalars['Int']['input']>; + order_by?: InputMaybe<Array<Profiles_Order_By>>; + where?: InputMaybe<Profiles_Bool_Exp>; +}; + + +export type Query_RootProfiles_By_PkArgs = { + pubkey: Scalars['String']['input']; +}; + +export type Subscription_Root = { + __typename?: 'subscription_root'; + /** fetch data from the table: "profiles" */ + profiles: Array<Profiles>; + /** fetch aggregated fields from the table: "profiles" */ + profiles_aggregate: Profiles_Aggregate; + /** fetch data from the table: "profiles" using primary key columns */ + profiles_by_pk?: Maybe<Profiles>; + /** fetch data from the table in a streaming manner: "profiles" */ + profiles_stream: Array<Profiles>; +}; + + +export type Subscription_RootProfilesArgs = { + distinct_on?: InputMaybe<Array<Profiles_Select_Column>>; + limit?: InputMaybe<Scalars['Int']['input']>; + offset?: InputMaybe<Scalars['Int']['input']>; + order_by?: InputMaybe<Array<Profiles_Order_By>>; + where?: InputMaybe<Profiles_Bool_Exp>; +}; + + +export type Subscription_RootProfiles_AggregateArgs = { + distinct_on?: InputMaybe<Array<Profiles_Select_Column>>; + limit?: InputMaybe<Scalars['Int']['input']>; + offset?: InputMaybe<Scalars['Int']['input']>; + order_by?: InputMaybe<Array<Profiles_Order_By>>; + where?: InputMaybe<Profiles_Bool_Exp>; +}; + + +export type Subscription_RootProfiles_By_PkArgs = { + pubkey: Scalars['String']['input']; +}; + + +export type Subscription_RootProfiles_StreamArgs = { + batch_size: Scalars['Int']['input']; + cursor: Array<InputMaybe<Profiles_Stream_Cursor_Input>>; + where?: InputMaybe<Profiles_Bool_Exp>; +}; + +/** Boolean expression to compare columns of type "timestamptz". All fields are combined with logical 'AND'. */ +export type Timestamptz_Comparison_Exp = { + _eq?: InputMaybe<Scalars['timestamptz']['input']>; + _gt?: InputMaybe<Scalars['timestamptz']['input']>; + _gte?: InputMaybe<Scalars['timestamptz']['input']>; + _in?: InputMaybe<Array<Scalars['timestamptz']['input']>>; + _is_null?: InputMaybe<Scalars['Boolean']['input']>; + _lt?: InputMaybe<Scalars['timestamptz']['input']>; + _lte?: InputMaybe<Scalars['timestamptz']['input']>; + _neq?: InputMaybe<Scalars['timestamptz']['input']>; + _nin?: InputMaybe<Array<Scalars['timestamptz']['input']>>; +}; + +export type LightProfileFragment = { __typename: 'profiles', title?: string | null, time: any, id?: string | null, address: string, avatar_cid?: string | null }; + +export type ProfileFragment = { __typename: 'profiles', description?: string | null, city?: string | null, geoloc?: any | null, socials?: any | null, index_request_cid: string, title?: string | null, time: any, id?: string | null, address: string, avatar_cid?: string | null }; + +export type ProfileSearchByTextQueryVariables = Exact<{ + searchText: Scalars['String']['input']; + limit: Scalars['Int']['input']; + offset: Scalars['Int']['input']; + orderBy?: InputMaybe<Array<Profiles_Order_By> | Profiles_Order_By>; + withTotal: Scalars['Boolean']['input']; +}>; + + +export type ProfileSearchByTextQuery = { __typename?: 'query_root', profiles: Array<{ __typename: 'profiles', title?: string | null, time: any, id?: string | null, address: string, avatar_cid?: string | null }>, profiles_aggregate?: { __typename?: 'profiles_aggregate', aggregate?: { __typename?: 'profiles_aggregate_fields', count: number } | null } }; + +export type ProfileByAddressQueryVariables = Exact<{ + address: Scalars['String']['input']; +}>; + + +export type ProfileByAddressQuery = { __typename?: 'query_root', profiles_by_pk?: { __typename: 'profiles', description?: string | null, city?: string | null, geoloc?: any | null, socials?: any | null, index_request_cid: string, title?: string | null, time: any, id?: string | null, address: string, avatar_cid?: string | null } | null }; + +export type ProfileSearchByAddressesQueryVariables = Exact<{ + addresses: Array<Scalars['String']['input']> | Scalars['String']['input']; +}>; + + +export type ProfileSearchByAddressesQuery = { __typename?: 'query_root', profiles: Array<{ __typename: 'profiles', title?: string | null, time: any, id?: string | null, address: string, avatar_cid?: string | null }> }; + +export type ProfileSearchByAddressQueryVariables = Exact<{ + address: Scalars['String']['input']; +}>; + + +export type ProfileSearchByAddressQuery = { __typename?: 'query_root', profiles_by_pk?: { __typename: 'profiles', description?: string | null, city?: string | null, geoloc?: any | null, socials?: any | null, index_request_cid: string, title?: string | null, time: any, id?: string | null, address: string, avatar_cid?: string | null } | null }; + +export type LightProfileByAddressesQueryVariables = Exact<{ + addresses: Array<Scalars['String']['input']> | Scalars['String']['input']; +}>; + + +export type LightProfileByAddressesQuery = { __typename?: 'query_root', profiles: Array<{ __typename: 'profiles', title?: string | null, time: any, id?: string | null, address: string, avatar_cid?: string | null }> }; + +export type LightProfileByAddressQueryVariables = Exact<{ + address: Scalars['String']['input']; +}>; + + +export type LightProfileByAddressQuery = { __typename?: 'query_root', profiles_by_pk?: { __typename: 'profiles', title?: string | null, time: any, id?: string | null, address: string, avatar_cid?: string | null } | null }; + +export const LightProfileFragmentDoc = gql` + fragment LightProfile on profiles { + id: data_cid + __typename + address: pubkey + title + avatar_cid: avatar + time +} + `; +export const ProfileFragmentDoc = gql` + fragment Profile on profiles { + ...LightProfile + description + city + geoloc + socials + index_request_cid +} + ${LightProfileFragmentDoc}`; +export const ProfileSearchByTextDocument = gql` + query ProfileSearchByText($searchText: String!, $limit: Int!, $offset: Int!, $orderBy: [profiles_order_by!], $withTotal: Boolean!) { + profiles( + offset: $offset + limit: $limit + where: {title: {_ilike: $searchText}} + order_by: $orderBy + ) { + ...LightProfile + } + profiles_aggregate(where: {title: {_ilike: $searchText}}) @include(if: $withTotal) { + aggregate { + count + } + } +} + ${LightProfileFragmentDoc}`; + + @Injectable({ + providedIn: 'root' + }) + export class ProfileSearchByTextGQL extends Apollo.Query<ProfileSearchByTextQuery, ProfileSearchByTextQueryVariables> { + document = ProfileSearchByTextDocument; + client = 'pod'; + constructor(apollo: Apollo.Apollo) { + super(apollo); + } + } +export const ProfileByAddressDocument = gql` + query ProfileByAddress($address: String!) { + profiles_by_pk(pubkey: $address) { + ...Profile + } +} + ${ProfileFragmentDoc}`; + + @Injectable({ + providedIn: 'root' + }) + export class ProfileByAddressGQL extends Apollo.Query<ProfileByAddressQuery, ProfileByAddressQueryVariables> { + document = ProfileByAddressDocument; + client = 'pod'; + constructor(apollo: Apollo.Apollo) { + super(apollo); + } + } +export const ProfileSearchByAddressesDocument = gql` + query ProfileSearchByAddresses($addresses: [String!]!) { + profiles(where: {pubkey: {_in: $addresses}}) { + ...LightProfile + } +} + ${LightProfileFragmentDoc}`; + + @Injectable({ + providedIn: 'root' + }) + export class ProfileSearchByAddressesGQL extends Apollo.Query<ProfileSearchByAddressesQuery, ProfileSearchByAddressesQueryVariables> { + document = ProfileSearchByAddressesDocument; + client = 'pod'; + constructor(apollo: Apollo.Apollo) { + super(apollo); + } + } +export const ProfileSearchByAddressDocument = gql` + query ProfileSearchByAddress($address: String!) { + profiles_by_pk(pubkey: $address) { + ...Profile + } +} + ${ProfileFragmentDoc}`; + + @Injectable({ + providedIn: 'root' + }) + export class ProfileSearchByAddressGQL extends Apollo.Query<ProfileSearchByAddressQuery, ProfileSearchByAddressQueryVariables> { + document = ProfileSearchByAddressDocument; + client = 'pod'; + constructor(apollo: Apollo.Apollo) { + super(apollo); + } + } +export const LightProfileByAddressesDocument = gql` + query LightProfileByAddresses($addresses: [String!]!) { + profiles(where: {pubkey: {_in: $addresses}}) { + ...LightProfile + } +} + ${LightProfileFragmentDoc}`; + + @Injectable({ + providedIn: 'root' + }) + export class LightProfileByAddressesGQL extends Apollo.Query<LightProfileByAddressesQuery, LightProfileByAddressesQueryVariables> { + document = LightProfileByAddressesDocument; + client = 'pod'; + constructor(apollo: Apollo.Apollo) { + super(apollo); + } + } +export const LightProfileByAddressDocument = gql` + query LightProfileByAddress($address: String!) { + profiles_by_pk(pubkey: $address) { + ...LightProfile + } +} + ${LightProfileFragmentDoc}`; + + @Injectable({ + providedIn: 'root' + }) + export class LightProfileByAddressGQL extends Apollo.Query<LightProfileByAddressQuery, LightProfileByAddressQueryVariables> { + document = LightProfileByAddressDocument; + client = 'pod'; + constructor(apollo: Apollo.Apollo) { + super(apollo); + } + } + + type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>; + + interface WatchQueryOptionsAlone<V> extends Omit<ApolloCore.WatchQueryOptions<V>, 'query' | 'variables'> {} + + interface QueryOptionsAlone<V> extends Omit<ApolloCore.QueryOptions<V>, 'query' | 'variables'> {} + + @Injectable({ providedIn: 'root' }) + export class PodGraphqlService { + constructor( + private profileSearchByTextGql: ProfileSearchByTextGQL, + private profileByAddressGql: ProfileByAddressGQL, + private profileSearchByAddressesGql: ProfileSearchByAddressesGQL, + private profileSearchByAddressGql: ProfileSearchByAddressGQL, + private lightProfileByAddressesGql: LightProfileByAddressesGQL, + private lightProfileByAddressGql: LightProfileByAddressGQL + ) {} + + profileSearchByText(variables: ProfileSearchByTextQueryVariables, options?: QueryOptionsAlone<ProfileSearchByTextQueryVariables>) { + return this.profileSearchByTextGql.fetch(variables, options) + } + + profileSearchByTextWatch(variables: ProfileSearchByTextQueryVariables, options?: WatchQueryOptionsAlone<ProfileSearchByTextQueryVariables>) { + return this.profileSearchByTextGql.watch(variables, options) + } + + profileByAddress(variables: ProfileByAddressQueryVariables, options?: QueryOptionsAlone<ProfileByAddressQueryVariables>) { + return this.profileByAddressGql.fetch(variables, options) + } + + profileByAddressWatch(variables: ProfileByAddressQueryVariables, options?: WatchQueryOptionsAlone<ProfileByAddressQueryVariables>) { + return this.profileByAddressGql.watch(variables, options) + } + + profileSearchByAddresses(variables: ProfileSearchByAddressesQueryVariables, options?: QueryOptionsAlone<ProfileSearchByAddressesQueryVariables>) { + return this.profileSearchByAddressesGql.fetch(variables, options) + } + + profileSearchByAddressesWatch(variables: ProfileSearchByAddressesQueryVariables, options?: WatchQueryOptionsAlone<ProfileSearchByAddressesQueryVariables>) { + return this.profileSearchByAddressesGql.watch(variables, options) + } + + profileSearchByAddress(variables: ProfileSearchByAddressQueryVariables, options?: QueryOptionsAlone<ProfileSearchByAddressQueryVariables>) { + return this.profileSearchByAddressGql.fetch(variables, options) + } + + profileSearchByAddressWatch(variables: ProfileSearchByAddressQueryVariables, options?: WatchQueryOptionsAlone<ProfileSearchByAddressQueryVariables>) { + return this.profileSearchByAddressGql.watch(variables, options) + } + + lightProfileByAddresses(variables: LightProfileByAddressesQueryVariables, options?: QueryOptionsAlone<LightProfileByAddressesQueryVariables>) { + return this.lightProfileByAddressesGql.fetch(variables, options) + } + + lightProfileByAddressesWatch(variables: LightProfileByAddressesQueryVariables, options?: WatchQueryOptionsAlone<LightProfileByAddressesQueryVariables>) { + return this.lightProfileByAddressesGql.watch(variables, options) + } + + lightProfileByAddress(variables: LightProfileByAddressQueryVariables, options?: QueryOptionsAlone<LightProfileByAddressQueryVariables>) { + return this.lightProfileByAddressGql.fetch(variables, options) + } + + lightProfileByAddressWatch(variables: LightProfileByAddressQueryVariables, options?: WatchQueryOptionsAlone<LightProfileByAddressQueryVariables>) { + return this.lightProfileByAddressGql.watch(variables, options) + } + } + + export interface PossibleTypesResultData { + possibleTypes: { + [key: string]: string[] + } + } + const result: PossibleTypesResultData = { + "possibleTypes": {} +}; + export default result; + \ No newline at end of file diff --git a/src/app/network/pod/pod.config.ts b/src/app/network/pod/pod.config.ts new file mode 100644 index 0000000000000000000000000000000000000000..f69ba56ebcf8e774c92946ab0145b5b5ed992b8d --- /dev/null +++ b/src/app/network/pod/pod.config.ts @@ -0,0 +1,3 @@ +import { StrictTypedTypePolicies } from './pod-helpers.generated'; + +export const POD_GRAPHQL_TYPE_POLICIES = <StrictTypedTypePolicies>{}; diff --git a/src/app/network/pod/pod.service.ts b/src/app/network/pod/pod.service.ts new file mode 100644 index 0000000000000000000000000000000000000000..a27a24bd157bcac5ad1077ddc55a952db7d680a7 --- /dev/null +++ b/src/app/network/pod/pod.service.ts @@ -0,0 +1,165 @@ +import { Inject, Injectable, Optional } from '@angular/core'; +import { Peers } from '@app/shared/services/network/peer.model'; +import { Promise } from '@rx-angular/cdk/zone-less/browser'; +import { SettingsService } from '@app/settings/settings.service'; +import { arrayRandomPick, isNil, isNotEmptyArray, isNotNil, isNotNilOrBlank, toNumber } from '@app/shared/functions'; +import { TypePolicies } from '@apollo/client/core'; +import { + APP_GRAPHQL_FRAGMENTS, + APP_GRAPHQL_TYPE_POLICIES, + GraphqlService, + GraphqlServiceState, +} from '@app/shared/services/network/graphql/graphql.service'; +import { DocumentNode } from 'graphql/index'; +import { StorageService } from '@app/shared/services/storage/storage.service'; +import { firstValueFrom, Observable, of } from 'rxjs'; +import { map } from 'rxjs/operators'; +import { Currency } from '@app/currency/currency.model'; +import { RxStateProperty, RxStateSelect } from '@app/shared/decorator/state.decorator'; +import { firstNotNilPromise } from '@app/shared/observables'; +import { Order_By, PodGraphqlService, ProfileFragment } from './pod-types.generated'; +import { WotSearchFilter } from '@app/wot/wot.model'; +import { LoadResult } from '@app/shared/services/service.model'; +import { Account } from '@app/account/account.model'; +import { FetchPolicy } from '@apollo/client'; +import { AccountConverter } from '@app/account/account.converter'; +import { IpfsService } from '@app/network/ipfs/ipfs.service'; + +export interface PodState extends GraphqlServiceState { + currency: Currency; +} + +@Injectable({ providedIn: 'root' }) +export class PodService extends GraphqlService<PodState> { + @RxStateSelect() currency$: Observable<Currency>; + @RxStateProperty() currency: Currency; + + @RxStateSelect() minBlockHeight$: Observable<number>; + @RxStateProperty() minBlockHeight: number; + + constructor( + storage: StorageService, + private settings: SettingsService, + private graphqlService: PodGraphqlService, + private ipfsService: IpfsService, + @Optional() @Inject(APP_GRAPHQL_TYPE_POLICIES) typePolicies: TypePolicies, + @Optional() @Inject(APP_GRAPHQL_FRAGMENTS) fragments: DocumentNode[] + ) { + super(storage, typePolicies, fragments, { + name: 'pod-service', + startByReadyFunction: false, // Need an explicit call to start() + }); + } + + profileSearch( + filter: WotSearchFilter, + options: { after?: string; first?: number; fetchPolicy?: FetchPolicy; total?: number; withTotal?: boolean } + ): Observable<LoadResult<Account>> { + console.info(`${this._logPrefix}Searching profile by filter...`, filter); + + const offset = toNumber(+options?.after, 0); + const limit = toNumber(+options?.first, this.fetchSize); + const withTotal = offset === 0 && options?.withTotal !== false; + let data$: Observable<LoadResult<ProfileFragment>>; + + // Load by unique address + if (isNotNilOrBlank(filter.address)) { + data$ = this.graphqlService + .profileByAddress( + { + address: filter.address, + }, + options + ) + .pipe( + map(({ data }) => { + return { + data: [data.profiles_by_pk as ProfileFragment], + total: isNil(data.profiles_by_pk) ? 0 : 1, + }; + }) + ); + } + + // Load by adresses + else if (isNotEmptyArray(filter.addresses)) { + data$ = this.graphqlService + .profileSearchByAddresses( + { + addresses: filter.addresses, + }, + options + ) + .pipe( + map(({ data }) => { + return { + data: data.profiles as ProfileFragment[], + }; + }) + ); + } else if (isNotNilOrBlank(filter.searchText)) { + data$ = this.graphqlService + .profileSearchByText({ + offset, + limit, + searchText: `%${filter.searchText}%`, + orderBy: [{ time: Order_By.Asc }, { title: Order_By.Asc }], + withTotal, + }) + .pipe( + map(({ data }) => { + return { + data: data.profiles as ProfileFragment[], + total: data.profiles_aggregate?.aggregate.count, + }; + }) + ); + } else { + return of(<LoadResult<Account>>{}); + } + + return data$.pipe( + map((res) => { + const data = AccountConverter.profileToAccounts(res.data, { ipfsGateway: this.ipfsService.gatewayBaseUrl }); + const total = toNumber(res?.total, options?.total); + const result: LoadResult<Account> = { data, total }; + const nextOffset = offset + limit; + if (isNotNil(total) && nextOffset < total) { + result.fetchMore = (first) => { + console.debug(`${this._logPrefix}Fetching more profiles - offset: ${nextOffset}`); + return firstValueFrom( + this.profileSearch(filter, { ...options, after: nextOffset.toString(), first: toNumber(first, options.first), total }) + ); + }; + } + return result; + }) + ); + } + + protected async ngOnStart(): Promise<PodState> { + if (!this.ipfsService.started) this.ipfsService.start(); + + // Wait settings and ipfs service + const [settings, currency] = await Promise.all([this.settings.ready(), firstNotNilPromise(this.currency$)]); + + let peer = Peers.fromUri(settings.pod); + if (!peer) { + const peers = await this.filterAlivePeers(settings.preferredPods); + if (!peers.length) { + throw { message: 'ERROR.CHECK_NETWORK_CONNECTION' }; + } + peer = arrayRandomPick(peers); + } + + const client = await super.createClient(peer, 'pod'); + + return { + peer, + client, + currency, + offline: false, + fetchSize: this.defaultFetchSize, + }; + } +} diff --git a/src/app/settings/settings.model.ts b/src/app/settings/settings.model.ts index ad30ef533f538e79552e8a54cfc1b27201302ab6..2414d4cac4b772433c903847aa7ebdec2e347b17 100644 --- a/src/app/settings/settings.model.ts +++ b/src/app/settings/settings.model.ts @@ -7,16 +7,23 @@ export declare interface LocaleConfig extends Property { export const APP_LOCALES = new InjectionToken<LocaleConfig[]>('locales'); -export declare interface Settings { +export type CurrencyDisplayUnit = 'base' | 'du'; + +export interface Settings { peer: string; currency?: string; preferredPeers?: string[]; indexer: string; preferredIndexers?: string[]; + pod: string; + preferredPods?: string[]; + ipfsGateway: string; + preferredIpfsGateways?: string[]; pages?: any; locale?: string; mobile?: boolean; properties?: PropertiesMap; unAuthDelayMs?: number; darkMode: boolean; + displayUnit: CurrencyDisplayUnit; } diff --git a/src/app/settings/settings.page.html b/src/app/settings/settings.page.html index 4387f6d92da146adf2f7f59b9e698457150b79ac..1f3f12b4de7ec3d6eceefa33073642a11628fa2f 100644 --- a/src/app/settings/settings.page.html +++ b/src/app/settings/settings.page.html @@ -38,6 +38,12 @@ </ion-select> </ion-item> + <ion-item> + <ion-toggle [(ngModel)]="useRelativeUnit" justify="end"> + <ion-label color="medium" translate>COMMON.BTN_RELATIVE_UNIT</ion-label> + </ion-toggle> + </ion-item> + <ion-item-divider translate>SETTINGS.NETWORK_SETTINGS</ion-item-divider> <ion-item> @@ -54,6 +60,7 @@ </ion-button> </ion-item> + <!-- indexer --> <ion-item> <ion-icon slot="start" name="cloud-done"></ion-icon> <ion-label> @@ -68,6 +75,36 @@ </ion-button> </ion-item> + <!-- pod --> + <ion-item> + <ion-icon slot="start" name="cloud-done"></ion-icon> + <ion-label> + <h2 color="dark" translate>SETTINGS.POD</h2> + <p> + {{ pod }} + </p> + </ion-label> + + <ion-button slot="end" (click)="selectPodModal.present()" [title]="'SETTINGS.POPUP_PEER.BTN_SHOW_LIST' | translate"> + <ion-label>...</ion-label> + </ion-button> + </ion-item> + + <!-- ipfs --> + <ion-item> + <ion-icon slot="start" name="cloud-done"></ion-icon> + <ion-label> + <h2 color="dark" translate>SETTINGS.IPFS</h2> + <p> + {{ ipfsGateway }} + </p> + </ion-label> + + <ion-button slot="end" (click)="selectIpfsGatewayModal.present()" [title]="'SETTINGS.POPUP_PEER.BTN_SHOW_LIST' | translate"> + <ion-label>...</ion-label> + </ion-button> + </ion-item> + <ion-item-divider translate>SETTINGS.AUTHENTICATION_SETTINGS</ion-item-divider> <ion-item> @@ -106,47 +143,76 @@ <!-- Select peers modal --> <ion-modal #selectPeerModal [backdropDismiss]="true"> <ng-template> - <ion-header> - <ion-toolbar color="secondary"> - <ion-buttons slot="start"> - <ion-button (click)="selectPeerModal.dismiss()" *ngIf="mobile"> - <ion-icon slot="icon-only" name="arrow-back"></ion-icon> - </ion-button> - </ion-buttons> - - <ion-title translate>SETTINGS.POPUP_PEER.BTN_SHOW_LIST</ion-title> - </ion-toolbar> - </ion-header> - <ion-content> - <ion-list> - <ion-item *rxFor="let peer of preferredPeers$" tappable (click)="selectPeer(peer)"> - <ion-label>{{ peer }}</ion-label> - </ion-item> - </ion-list> - </ion-content> + <ng-container *ngTemplateOutlet="peerList; context: { $implicit: preferredPeers$, modal: selectPeerModal, property: 'peer' }"></ng-container> </ng-template> </ion-modal> <!-- select indexer modal --> <ion-modal #selectIndexerModal [backdropDismiss]="true"> <ng-template> - <ion-header> - <ion-toolbar color="secondary"> - <ion-buttons slot="start"> - <ion-button (click)="selectIndexerModal.dismiss()" *ngIf="mobile"> - <ion-icon slot="icon-only" name="arrow-back"></ion-icon> - </ion-button> - </ion-buttons> - - <ion-title translate>SETTINGS.POPUP_PEER.BTN_SHOW_LIST</ion-title> - </ion-toolbar> - </ion-header> - <ion-content> - <ion-list> - <ion-item *rxFor="let peer of preferredIndexers$" tappable (click)="selectIndexer(peer)"> - <ion-label>{{ peer }}</ion-label> - </ion-item> - </ion-list> - </ion-content> + <ng-container + *ngTemplateOutlet="peerList; context: { $implicit: preferredIndexers$, modal: selectIndexerModal, property: 'indexer' }" + ></ng-container> + </ng-template> +</ion-modal> + +<!-- select pod modal --> +<ion-modal #selectPodModal [backdropDismiss]="true"> + <ng-template> + <ng-container *ngTemplateOutlet="peerList; context: { $implicit: preferredPods$, modal: selectPodModal, property: 'pod' }"></ng-container> + </ng-template> +</ion-modal> + +<!-- select IPFS modal --> +<ion-modal #selectIpfsGatewayModal [backdropDismiss]="true"> + <ng-template> + <ng-container + *ngTemplateOutlet="peerList; context: { $implicit: preferredIpfsGateways$, modal: selectIpfsGatewayModal, property: 'ipfsGateway' }" + ></ng-container> </ng-template> </ion-modal> + +<ng-template #peerList let-peers$ let-property="property" let-modal="modal"> + <ion-header> + <ion-toolbar color="secondary"> + <ion-buttons slot="start"> + <ion-button (click)="modal.dismiss()" *ngIf="mobile"> + <ion-icon slot="icon-only" name="arrow-back"></ion-icon> + </ion-button> + </ion-buttons> + + <ion-title translate>SETTINGS.POPUP_PEER.BTN_SHOW_LIST</ion-title> + </ion-toolbar> + </ion-header> + <ion-content> + <ion-list> + <ion-item + *rxFor="let peer of peers$" + tappable + (click)="setStateValue(peer, property) && modal.dismiss()" + [class.selected]="peer === this[property]" + > + <ion-label>{{ peer }}</ion-label> + @if (property && peer === this[property]) { + <ion-icon slot="end" name="checkmark"></ion-icon> + } + </ion-item> + </ion-list> + </ion-content> + @if (!mobile) { + <ion-footer> + <ion-toolbar> + <ion-row class="ion-no-padding"> + <ion-col></ion-col> + + <!-- buttons --> + <ion-col size="auto"> + <ion-button fill="clear" color="dark" (click)="modal.dismiss()"> + <ion-label translate>COMMON.BTN_CANCEL</ion-label> + </ion-button> + </ion-col> + </ion-row> + </ion-toolbar> + </ion-footer> + } +</ng-template> diff --git a/src/app/settings/settings.page.scss b/src/app/settings/settings.page.scss index 5fdf1824ec6e13554ebc39e3cb271dff7e57ea7b..77f11754471800b8d00ca8c3b3adbc6d34e0b919 100644 --- a/src/app/settings/settings.page.scss +++ b/src/app/settings/settings.page.scss @@ -1,2 +1,9 @@ #container { } + +ion-list { + ion-item.selected { + --background: rgba(var(--ion-color-primary-rgb), 0.14); + --color: var(--ion-color-primary); + } +} diff --git a/src/app/settings/settings.page.ts b/src/app/settings/settings.page.ts index 57567bdad6523f931532ebf9d47f27f60ba7eca0..dc8ac6326b1bd1932c217011a2367d016bc2086e 100644 --- a/src/app/settings/settings.page.ts +++ b/src/app/settings/settings.page.ts @@ -6,8 +6,10 @@ import { RxStateProperty, RxStateSelect } from '@app/shared/decorator/state.deco import { Observable, skip } from 'rxjs'; import { IonModal } from '@ionic/angular'; import { NetworkService } from '@app/network/network.service'; +import { map } from 'rxjs/operators'; export interface SettingsPageState extends Settings, AppPageState { + useRelativeUnit: boolean; dirty: boolean; } @@ -53,17 +55,26 @@ export class SettingsPage extends AppPage<SettingsPageState> implements OnInit { @RxStateSelect() peer$: Observable<string>; @RxStateSelect() preferredIndexers$: Observable<string[]>; @RxStateSelect() indexer$: Observable<string>; + @RxStateSelect() preferredPods$: Observable<string[]>; + @RxStateSelect() pod$: Observable<string>; + @RxStateSelect() preferredIpfsGateways$: Observable<string[]>; + @RxStateSelect() ipfsGateway$: Observable<string>; @RxStateSelect() dirty$: Observable<boolean>; @RxStateProperty() darkMode: boolean; @RxStateProperty() locale: string; + @RxStateProperty() useRelativeUnit: boolean; @RxStateProperty() peer: string; @RxStateProperty() indexer: string; + @RxStateProperty() pod: string; + @RxStateProperty() ipfsGateway: string; @RxStateProperty() unAuthDelayMs: number; @RxStateProperty() dirty: boolean; @ViewChild('selectPeerModal') selectPeerModal: IonModal; @ViewChild('selectIndexerModal') selectIndexerModal: IonModal; + @ViewChild('selectPodModal') selectPodModal: IonModal; + @ViewChild('selectIpfsGatewayModal') selectIpfsGatewayModal: IonModal; constructor( protected networkService: NetworkService, @@ -71,14 +82,21 @@ export class SettingsPage extends AppPage<SettingsPageState> implements OnInit { ) { super({ name: 'settings' }); + // Conversion displayUnit <--> useRelativeUnit + this._state.connect('displayUnit', this._state.select('useRelativeUnit').pipe(map((useRelativeUnit) => (useRelativeUnit ? 'du' : 'base')))); + this._state.connect('useRelativeUnit', this._state.select('displayUnit').pipe(map((unit) => unit === 'du'))); + // Detect changes - this._state.hold(this._state.select(['locale', 'peer', 'indexer', 'unAuthDelayMs'], (s) => s).pipe(skip(1)), () => { - if (this.mobile) { - this.save(); - } else { - this.markAsDirty(); + this._state.hold( + this._state.select(['locale', 'peer', 'indexer', 'pod', 'ipfsGateway', 'unAuthDelayMs', 'displayUnit'], (s) => s).pipe(skip(1)), + () => { + if (this.mobile) { + this.save(); + } else { + this.markAsDirty(); + } } - }); + ); } protected async ngOnLoad() { @@ -99,14 +117,9 @@ export class SettingsPage extends AppPage<SettingsPageState> implements OnInit { this.dirty = false; } - selectPeer(peer: string) { - this.peer = peer; - this.selectPeerModal.dismiss(); - } - - selectIndexer(peer: string) { - this.indexer = peer; - this.selectIndexerModal.dismiss(); + setStateValue(value: string, property: keyof Settings) { + this._state.set(property, () => value); + return true; } markAsDirty() { diff --git a/src/app/settings/settings.service.ts b/src/app/settings/settings.service.ts index 118e07f99088cd6d83a4605284b0ff5dc2da063f..caced262851f9a5a5168f94f42ef9979d5c16011 100644 --- a/src/app/settings/settings.service.ts +++ b/src/app/settings/settings.service.ts @@ -1,32 +1,44 @@ import { Inject, Injectable, Optional } from '@angular/core'; -import { Settings } from './settings.model'; +import { CurrencyDisplayUnit, Settings } from './settings.model'; import { environment } from '@environments/environment'; import { Platform } from '@ionic/angular'; -import { Observable, Subject } from 'rxjs'; +import { debounceTime, Observable, Subject } from 'rxjs'; import { APP_STORAGE, IStorage } from '@app/shared/services/storage/storage.utils'; import { RxStartableService } from '@app/shared/services/rx-startable-service.class'; import { setTimeout } from '@rx-angular/cdk/zone-less/browser'; import { arrayDistinct } from '@app/shared/functions'; import { RxStateProperty, RxStateSelect } from '@app/shared/decorator/state.decorator'; import { isMobile } from '@app/shared/platforms'; +import { distinctUntilChanged, map } from 'rxjs/operators'; const SETTINGS_STORAGE_KEY = 'settings'; +export interface SettingsState extends Settings { + localesArgument?: Intl.LocalesArgument; + numberFormatOptions?: Intl.NumberFormatOptions; +} + @Injectable({ providedIn: 'root' }) -export class SettingsService extends RxStartableService<Settings> { - changes = new Subject<Settings>(); +export class SettingsService extends RxStartableService<SettingsState> { + changes = new Subject<SettingsState>(); get mobile() { return this.get('mobile'); } + @RxStateSelect() locale$: Observable<string>; @RxStateSelect() darkMode$: Observable<boolean>; @RxStateSelect() peer$: Observable<string>; @RxStateSelect() indexer$: Observable<string>; + @RxStateSelect() displayUnit$: Observable<CurrencyDisplayUnit>; + @RxStateProperty() locale: string; + @RxStateProperty() localesArgument: Intl.LocalesArgument; + @RxStateProperty() numberFormatOptions: Intl.NumberFormatOptions; @RxStateProperty() darkMode: boolean; @RxStateProperty() peer: string; @RxStateProperty() indexer: string; + @RxStateProperty() displayUnit: CurrencyDisplayUnit; constructor( protected ionicPlatform: Platform, @@ -36,11 +48,18 @@ export class SettingsService extends RxStartableService<Settings> { name: 'settings-service', initialState: { mobile: isMobile(window), + displayUnit: 'base', }, }); // Emit changes event - this.hold(this.$, (value) => this.changes.next(value)); + this.hold(this.$.pipe(debounceTime(100), distinctUntilChanged()), (value) => this.changes.next(value)); + + // Compute number options + this.connect('numberFormatOptions', this.locale$.pipe(map((locale) => this.getNumberFormatOptions(locale)))); + + // Compute number options + //this.connect('localesArgument', this.locale$.pipe(map((locale) => this.getLocalesArgument(locale)))); } protected async ngOnStart(): Promise<Settings> { @@ -57,13 +76,18 @@ export class SettingsService extends RxStartableService<Settings> { } clone(): Settings { + const data = this.get(); return <Settings>{ locale: environment.defaultLocale, - defaultPeers: environment.defaultPeers || [], - peer: environment.defaultPeers?.[0], - defaultIndexers: environment.defaultIndexers || [], - indexer: environment.defaultIndexers?.[0], + peer: environment.dev?.peer || environment.defaultPeers?.[0], + indexer: environment.dev?.indexer || environment.defaultIndexers?.[0], + pod: environment.dev?.pod || environment.defaultPods?.[0], + ipfsGateway: environment.dev?.ipfsGateway || environment.defaultIfpsGateways?.[0], ...this.get(), + preferredPeers: arrayDistinct([...environment.defaultPeers, ...(data?.preferredPeers || [])]), + preferredIndexers: arrayDistinct([...environment.defaultIndexers, ...(data?.preferredIndexers || [])]), + preferredPods: arrayDistinct([...environment.defaultPods, ...(data?.preferredPods || [])]), + preferredIpfsGateways: arrayDistinct([...environment.defaultIfpsGateways, ...(data?.preferredIpfsGateways || [])]), }; } @@ -71,12 +95,15 @@ export class SettingsService extends RxStartableService<Settings> { const data = await this.storage.get(SETTINGS_STORAGE_KEY); return <Settings>{ // Default values - preferredPeers: arrayDistinct([...environment.defaultPeers, ...(data?.preferredPeers || [])]), - preferredIndexers: arrayDistinct([...environment.defaultIndexers, ...(data?.preferredIndexers || [])]), unAuthDelayMs: 15 * 60_000, // 15 min darkMode: window.matchMedia('(prefers-color-scheme: dark)').matches, // Restored data ...data, + // Merge default and restored data + preferredPeers: arrayDistinct([...environment.defaultPeers, ...(data?.preferredPeers || [])]), + preferredIndexers: arrayDistinct([...environment.defaultIndexers, ...(data?.preferredIndexers || [])]), + preferredPods: arrayDistinct([...environment.defaultPods, ...(data?.preferredPods || [])]), + preferredIpfsGateways: arrayDistinct([...environment.defaultIfpsGateways, ...(data?.preferredIpfsGateways || [])]), }; } @@ -95,4 +122,15 @@ export class SettingsService extends RxStartableService<Settings> { const data = this.clone(); await this.storage.set('settings', data); } + + private getNumberFormatOptions(locale: string): Intl.NumberFormatOptions { + const defaultOptions: Intl.NumberFormatOptions = { useGrouping: true, maximumFractionDigits: 3 }; + switch (locale) { + case 'fr-FR': + return <Intl.NumberFormatOptions>{ ...defaultOptions }; + case 'en-US': + case 'en-GB': + return defaultOptions; + } + } } diff --git a/src/app/shared/currencies.ts b/src/app/shared/currencies.ts index 079acc48d2a947026eae43da591181f45b7a5f21..d37df3dacb4312ea2d1419cf6315c74f82ccb780 100644 --- a/src/app/shared/currencies.ts +++ b/src/app/shared/currencies.ts @@ -85,6 +85,7 @@ export const WELL_KNOWN_CURRENCIES = Object.freeze({ fees: { identity: 300, // = 3 Gdev tx: 2, // = 0.02 Gdev + cert: 2, // = 0.02 Gdev }, decimals: 2, }, @@ -98,6 +99,7 @@ export const WELL_KNOWN_CURRENCIES = Object.freeze({ fees: { identity: 300, // = 3G1 - FIXME tx: 1, // = 0.01 G1 - FIXME + cert: 1, // = 0.01 G1 - FIXME }, decimals: 2, // FIXME remove for autodetection }, diff --git a/src/app/shared/functions.ts b/src/app/shared/functions.ts index ae7956658e0c6ab7aaa5543b240a83d849d282e4..a61324f76a7dbc08940986ea3b4589a8abbb4eeb 100644 --- a/src/app/shared/functions.ts +++ b/src/app/shared/functions.ts @@ -1,5 +1,7 @@ import { KeysEnum, KeyValueType } from '@app/shared/types'; import { setTimeout } from '@rx-angular/cdk/zone-less/browser'; +import { u32, u64 } from '@polkadot/types-codec'; +import { Codec } from '@polkadot/types-codec/types'; export function isNil<T>(obj: T | null | undefined): boolean { return obj === undefined || obj === null; @@ -77,7 +79,9 @@ export function trimEmptyToNull(str: string | null | undefined): string | null { export function toBoolean(obj: boolean | null | undefined | string, defaultValue?: boolean): boolean { return obj !== undefined && obj !== null ? (obj !== 'false' ? !!obj : false) : defaultValue; } -export function toNumber(obj: number | null | undefined, defaultValue?: number): number { +export function toNumber(obj: number | u32 | u64 | Codec | null | undefined, defaultValue?: number): number { + if (obj instanceof u32) return obj.toNumber(); + if (obj instanceof u64) return obj.toNumber(); return obj !== undefined && obj !== null ? +obj : defaultValue; } export function toFloat(obj: string | null | undefined, defaultValue?: number): number | null { diff --git a/src/app/shared/pages/base-page.class.ts b/src/app/shared/pages/base-page.class.ts index 782a1818c3f8170e52edb9ee8f36bc28ba7056cd..2ce90a80ecdd6d9980feff161a85ec7411d5e5e3 100644 --- a/src/app/shared/pages/base-page.class.ts +++ b/src/app/shared/pages/base-page.class.ts @@ -11,6 +11,7 @@ import { RxState } from '@rx-angular/state'; import { RxStateProperty, RxStateRegister, RxStateSelect } from '@app/shared/decorator/state.decorator'; import { FormGroup } from '@angular/forms'; import { ContextService } from '@app/shared/services/storage/context.service'; +import { AppError } from '@app/shared/types'; export interface AppPageState { error: string; @@ -29,6 +30,7 @@ export abstract class AppPage<S extends AppPageState = AppPageState, O extends A private _subscription = new Subscription(); private _form: FormGroup; private _cd = inject(ChangeDetectorRef, { optional: true }); + private _toastById = new Map<string, HTMLIonToastElement>(); protected translate = inject(TranslateService); protected settings = inject(SettingsService); @@ -162,12 +164,7 @@ export abstract class AppPage<S extends AppPageState = AppPageState, O extends A } protected setError(err: string | { message: string }, opts = { emitEvent: true }) { - let message = (typeof err === 'object' ? err.message : err) || 'ERROR.UNKNOWN_ERROR'; - if (!message) { - console.error(err); - message = 'ERROR.UNKNOWN_ERROR'; - } - this.error = message; + this.error = (typeof err === 'object' ? err.message : err) || 'ERROR.UNKNOWN_ERROR'; if (opts.emitEvent !== false) this.markForCheck(); } @@ -200,14 +197,39 @@ export abstract class AppPage<S extends AppPageState = AppPageState, O extends A this._cd?.markForCheck(); } - protected async showToast(opts: ToastOptions & { messageParams?: Object }) { + protected async showToast(opts: ToastOptions & { messageParams?: Object; type?: 'error' | 'info' }) { const message = isNotNilOrBlank(opts?.message) ? this.translate.instant(opts.message as string, opts.messageParams) : undefined; + const color = opts?.type === 'error' ? 'danger' : opts?.type === 'info' ? 'secondary' : undefined; + if (opts?.id && this._toastById[opts.id]) { + this._toastById[opts.id].dismiss(); + } const toast = await this.toastController.create({ duration: 2000, + color, ...opts, message, }); - return toast.present(); + if (opts?.id) this._toastById[opts.id] = toast; + await toast.present(); + + if (opts?.id) { + toast.onDidDismiss().then(() => { + // Forget the toast + if (this._toastById[opts.id] === toast) { + this._toastById[opts.id] = null; + } + }); + } + } + + protected async showErrorToast(err: AppError, opts: ToastOptions) { + await this.showToast({ + message: err?.message, + type: 'error', + icon: 'alert', + swipeGesture: 'vertical', + ...opts, + }); } protected registerSubscription(sub: Subscription) { diff --git a/src/app/shared/pipes/account.pipes.ts b/src/app/shared/pipes/account.pipes.ts index db2c22e1186562d175ba87baf82c1f555354a46b..3ab04af15ee050f48c089c0f47f4e0802058a4f9 100644 --- a/src/app/shared/pipes/account.pipes.ts +++ b/src/app/shared/pipes/account.pipes.ts @@ -4,12 +4,15 @@ import { equals, getPropertyByPath } from '@app/shared/functions'; import { Subscription } from 'rxjs'; import { AccountsService, LoadAccountDataOptions } from '@app/account/accounts.service'; +export interface AccountAbstractPipeOptions { + listenChanges?: boolean; +} // @dynamic /** * A common pipe, that will subscribe to all account changes, to refresh its value */ @Injectable() -export abstract class AccountAbstractPipe<T, O> implements PipeTransform { +export abstract class AccountAbstractPipe<T, O extends Object = AccountAbstractPipeOptions> implements PipeTransform { private value: T = null; private _lastAccount: Partial<Account> | null = null; private _lastOptions: O = null; @@ -22,11 +25,11 @@ export abstract class AccountAbstractPipe<T, O> implements PipeTransform { private _watchOptions?: LoadAccountDataOptions ) {} - transform(account: Partial<Account>, opts: O): T { + transform(account: Partial<Account>, opts?: O): T { // Not a user account (e.g. any wot identity) if (!account?.address) { this._dispose(); - return this._transform(account); + return this._transform(account, opts); } // if we ask another time for the same account and opts, return the last value @@ -46,8 +49,8 @@ export abstract class AccountAbstractPipe<T, O> implements PipeTransform { // if there is a subscription to onLangChange, clean it this._dispose(); - // subscribe to onTranslationChange event, in case the translations change - if (!this._changesSubscription) { + // subscribe to account changes + if (!this._changesSubscription && opts?.['listenChanges'] !== false) { this._changesSubscription = this._accountsService.watchByAddress(account.address, this._watchOptions).subscribe((updatedAccount) => { this.value = this._transform(updatedAccount, opts); this._cd.markForCheck(); @@ -76,7 +79,7 @@ export abstract class AccountAbstractPipe<T, O> implements PipeTransform { } } -export declare type AccountPropertyPipeOptions<T> = string | { key?: string; defaultValue?: T }; +export declare type AccountPropertyPipeOptions<T> = string | (AccountAbstractPipeOptions & { key?: string; defaultValue?: T }); @Pipe({ name: 'accountProperty', @@ -106,7 +109,7 @@ export class AccountPropertyPipe<T = never, O extends AccountPropertyPipeOptions name: 'balance', pure: false, }) -export class AccountBalancePipe extends AccountAbstractPipe<number, void> implements PipeTransform { +export class AccountBalancePipe extends AccountAbstractPipe<number> implements PipeTransform { constructor(cd: ChangeDetectorRef) { super(cd, { withBalance: true }); } @@ -120,7 +123,7 @@ export class AccountBalancePipe extends AccountAbstractPipe<number, void> implem name: 'accountName', pure: false, }) -export class AccountNamePipe extends AccountAbstractPipe<string, void> implements PipeTransform { +export class AccountNamePipe extends AccountAbstractPipe<string> implements PipeTransform { constructor(cd: ChangeDetectorRef) { super(cd, { withBalance: false }); } @@ -134,13 +137,13 @@ export class AccountNamePipe extends AccountAbstractPipe<string, void> implement name: 'isMemberAccount', pure: false, }) -export class IsMemberAccountPipe extends AccountAbstractPipe<boolean, void> implements PipeTransform { +export class IsMemberAccountPipe extends AccountAbstractPipe<boolean> implements PipeTransform { constructor(cd: ChangeDetectorRef) { super(cd, { withBalance: false, withMembership: true }); } protected _transform(account: Partial<Account>): boolean { - return (account && account.meta && account.meta.isMember === true) || false; + return (account?.meta && account.meta.isMember === true) || false; } } diff --git a/src/app/shared/pipes/amount.pipe.ts b/src/app/shared/pipes/amount.pipe.ts index 71ada7a2b6dfb48c6ede219aa3f61f827d85c769..a32905ee4703736c0ed4595c0ecc332bc1b90de6 100644 --- a/src/app/shared/pipes/amount.pipe.ts +++ b/src/app/shared/pipes/amount.pipe.ts @@ -1,7 +1,10 @@ import { Pipe, PipeTransform } from '@angular/core'; import { NumberFormatPipe } from '@app/shared/pipes/number-format.pipe'; import { NetworkService } from '@app/network/network.service'; -import { isNil } from '@app/shared/functions'; +import { isNilOrNaN } from '@app/shared/functions'; +import { DomSanitizer, SafeHtml } from '@angular/platform-browser'; +import { SettingsService } from '@app/settings/settings.service'; +import { TranslateService } from '@ngx-translate/core'; @Pipe({ name: 'amountFormat', @@ -10,13 +13,33 @@ export class AmountFormatPipe extends NumberFormatPipe implements PipeTransform private currencySymbol = this.networkService.currency?.symbol; private powBase = this.networkService.currency?.powBase; private decimals = this.networkService.currency?.decimals; - - constructor(private networkService: NetworkService) { + private currentUd: number = this.networkService.currentUd; + constructor( + private networkService: NetworkService, + private settings: SettingsService, + private translate: TranslateService, + private sanitizer: DomSanitizer + ) { super(); } - transform(val: number, opts?: Intl.NumberFormatOptions & { fixedDecimals?: number }): string { - if (isNil(val)) return ''; - return super.transform(val / this.powBase, { fixedDecimals: this.decimals, ...opts }) + (' ' + this.currencySymbol); + transform(amount: number, opts?: Intl.NumberFormatOptions & { fixedDecimals?: number; html?: boolean }): SafeHtml { + if (isNilOrNaN(amount)) return ''; + switch (this.settings.displayUnit) { + case 'du': { + if (opts?.html === false) { + return ( + super.transform((amount / this.powBase) | this.currentUd, { fixedDecimals: this.decimals + 1, ...opts }) + + ` ${this.translate.instant('COMMON.UD')}(${this.currencySymbol})` + ); + } + return this.sanitizer.bypassSecurityTrustHtml( + super.transform(amount / this.powBase / this.currentUd, { fixedDecimals: this.decimals + 1, ...opts }) + + ` ${this.translate.instant('COMMON.UD')}<sub>${this.currencySymbol}</sub>` + ); + } + default: + return super.transform(amount / this.powBase, { fixedDecimals: this.decimals, ...opts }) + (' ' + this.currencySymbol); + } } } diff --git a/src/app/shared/pipes/block-number.pipe.ts b/src/app/shared/pipes/block-number.pipe.ts new file mode 100644 index 0000000000000000000000000000000000000000..45d249b8dcbb0b1214c1c0b8e5671307a5641e0e --- /dev/null +++ b/src/app/shared/pipes/block-number.pipe.ts @@ -0,0 +1,28 @@ +import { Pipe, PipeTransform } from '@angular/core'; +import { IndexerService } from '@app/network/indexer/indexer.service'; +import { isNil } from '@app/shared/functions'; +import { SettingsService } from '@app/settings/settings.service'; + +@Pipe({ + name: 'blockNumber', +}) +export class BlockNumberPipe implements PipeTransform { + constructor( + private indexer: IndexerService, + private settings: SettingsService + ) {} + + transform(blockNumber: number, opts?: { allowSuffix: boolean } & Intl.NumberFormatOptions): string { + if (isNil(blockNumber)) return null; + + // Convert V1 block number (cf CRR https://pad.p2p.legal/Visio_2024-04-29) + if (blockNumber < 0 && this.indexer.minBlockHeight) { + blockNumber = -1 * this.indexer.minBlockHeight + blockNumber; + if (opts?.allowSuffix !== false) { + return `${blockNumber.toLocaleString(this.settings.locale, { ...this.settings.numberFormatOptions, ...opts })} (v1)`; + } + } + + return blockNumber.toLocaleString(this.settings.locale, { ...this.settings.numberFormatOptions, ...opts }); + } +} diff --git a/src/app/shared/pipes/block-timestamp.pipe.ts b/src/app/shared/pipes/block-timestamp.pipe.ts index 89a872770964b637d8a2756db59a42f37acaf7db..1c2c5d42df246bd5a84c8cd71d850c78ec3507cb 100644 --- a/src/app/shared/pipes/block-timestamp.pipe.ts +++ b/src/app/shared/pipes/block-timestamp.pipe.ts @@ -1,22 +1,56 @@ import { Pipe, PipeTransform } from '@angular/core'; import { Moment } from 'moment'; -import { DateUtils, fromDateISOString } from '@app/shared/dates'; +import { DateUtils } from '@app/shared/dates'; +import { NetworkService } from '@app/network/network.service'; +import { isNil } from '@app/shared/functions'; +import { IndexerService } from '@app/network/indexer/indexer.service'; @Pipe({ name: 'blockTime', }) export class BlockTimePipe implements PipeTransform { - constructor() {} + constructor( + private networkService: NetworkService, + private indexer: IndexerService + ) {} - transform(blockNumber: number): Moment { - if (!blockNumber) return null; + transform(blockNumber: number, defaultValue?: Moment): Moment { + if (isNil(blockNumber)) return defaultValue; - // TODO: get from network service - const blockDate = fromDateISOString('2023-11-29T21:39:00.00Z'); + const startTime = DateUtils.fromDateISOString(this.networkService.currency.startTime); + + // block V1 + if (blockNumber < 0 && this.indexer.minBlockHeight) { + // FIXME BLA: find a better way to get V1 block time + /*blockNumber = -1 * this.indexer.minBlockHeight + blockNumber; + const blockDuration = 5; + + const duration = DateUtils.toDuration(blockNumber * blockDuration, 'minute'); + return startTime.clone().subtract(duration);*/ + + return null; + } else { + // TODO: estimate only for future date + + // TODO: get from network service + const blockDuration = 6; + const duration = DateUtils.toDuration(blockNumber * blockDuration, 'seconds'); + return startTime.clone().add(duration); + } + } +} + +@Pipe({ + name: 'blocksToDuration', +}) +export class BlocksToDurationPipe implements PipeTransform { + constructor(private networkService: NetworkService) {} + + transform(blocks: number): String { + if (!blocks) return null; const blockDuration = 6; - const duration = DateUtils.toDuration(blockNumber * blockDuration, 'seconds'); - blockDate.add(duration); - return blockDate; + const duration = DateUtils.toDuration(blocks * blockDuration, 'seconds'); + return duration.humanize(); } } diff --git a/src/app/shared/pipes/duration.pipe.ts b/src/app/shared/pipes/duration.pipe.ts index 58a212abfea234959a34671f335ae8fd21abf46b..a5c214177739e7aa5886c444aab8e64e337c2c8b 100644 --- a/src/app/shared/pipes/duration.pipe.ts +++ b/src/app/shared/pipes/duration.pipe.ts @@ -17,10 +17,6 @@ export class DurationPipe implements PipeTransform { // try with moment const duration = toDuration(value, unit); - const days = duration.days(); - const hour = duration.hours().toString().padStart(2, '0'); - const minute = duration.minutes().toString().padStart(2, '0'); - - return (days > 0 ? days.toString() + (this.dayUnit + ' ') : '') + hour + ':' + minute; + return duration.humanize(); } } diff --git a/src/app/shared/pipes/number-format.pipe.ts b/src/app/shared/pipes/number-format.pipe.ts index 8ce2cc9540072dc51668b17d5f941a9b187ebe64..0c32054d106acb28953c11e92f9e7a1b0ceb127e 100644 --- a/src/app/shared/pipes/number-format.pipe.ts +++ b/src/app/shared/pipes/number-format.pipe.ts @@ -1,10 +1,11 @@ import { Pipe, PipeTransform } from '@angular/core'; +import { SafeHtml } from '@angular/platform-browser'; @Pipe({ name: 'numberFormat', }) export class NumberFormatPipe implements PipeTransform { - transform(val: number, opts?: Intl.NumberFormatOptions & { fixedDecimals?: number }): string { + transform(val: number, opts?: Intl.NumberFormatOptions & { fixedDecimals?: number }): string | SafeHtml { // Format the output to display any way you want here. // For instance: if (val !== undefined && val !== null) { diff --git a/src/app/shared/pipes/pipes.module.ts b/src/app/shared/pipes/pipes.module.ts index 7df0ab01bdc8f36339ad31a66985f61b8f33be47..2ada7bbd893e2a6e4487edb17d50f9c6d79b0994 100644 --- a/src/app/shared/pipes/pipes.module.ts +++ b/src/app/shared/pipes/pipes.module.ts @@ -2,7 +2,7 @@ import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { TranslateModule } from '@ngx-translate/core'; import { IonicModule } from '@ionic/angular'; -import { BlockTimePipe } from './block-timestamp.pipe'; +import { BlockTimePipe, BlocksToDurationPipe } from './block-timestamp.pipe'; import { DateFormatPipe } from './date-format.pipe'; import { DateDiffDurationPipe } from './date-diff-duration.pipe'; import { DateFromNowPipe } from './date-from-now.pipe'; @@ -44,11 +44,13 @@ import { IsUserAccountPipePipe, } from '@app/shared/pipes/account.pipes'; import { PubkeyFormatPipe } from '@app/shared/pipes/pubkey.pipes'; +import { BlockNumberPipe } from '@app/shared/pipes/block-number.pipe'; @NgModule({ declarations: [ PropertyGetPipe, BlockTimePipe, + BlocksToDurationPipe, DateFormatPipe, DateDiffDurationPipe, DurationPipe, @@ -82,6 +84,9 @@ import { PubkeyFormatPipe } from '@app/shared/pipes/pubkey.pipes'; FormGetArrayPipe, FormGetGroupPipe, FormGetValuePipe, + // Block + BlockTimePipe, + BlockNumberPipe, // Currency pipes AmountFormatPipe, AddressFormatPipe, @@ -99,6 +104,7 @@ import { PubkeyFormatPipe } from '@app/shared/pipes/pubkey.pipes'; exports: [ PropertyGetPipe, BlockTimePipe, + BlocksToDurationPipe, DateFormatPipe, DateFromNowPipe, DateDiffDurationPipe, @@ -132,6 +138,10 @@ import { PubkeyFormatPipe } from '@app/shared/pipes/pubkey.pipes'; FormGetArrayPipe, FormGetGroupPipe, FormGetValuePipe, + + // Block + BlockTimePipe, + BlockNumberPipe, // Currency pipes AmountFormatPipe, AddressFormatPipe, diff --git a/src/app/shared/popover/list.popover.html b/src/app/shared/popover/list.popover.html index 215fe8bda54a6afdb1e4e03514bef0b1da5a0a24..737d2339ed212a30f754cc501dd47f96ed149b5d 100644 --- a/src/app/shared/popover/list.popover.html +++ b/src/app/shared/popover/list.popover.html @@ -1,8 +1,13 @@ <ion-content> <ion-list> <ion-list-header *ngIf="title">{{ title | translate }}</ion-list-header> - <ion-item *ngFor="let item of items" [disabled]="item.disabled" (click)="click(item.value)" tappable> - {{ item.label | translate }} - </ion-item> + @for (item of items; track item.value) { + <ion-item [disabled]="item.disabled" (click)="click(item.value)" tappable> + @if (item.icon) { + <ion-icon slot="start" [name]="item.icon"></ion-icon> + } + {{ item.label | translate }} + </ion-item> + } </ion-list> </ion-content> diff --git a/src/app/shared/popover/list.popover.ts b/src/app/shared/popover/list.popover.ts index 8d975eaddb6c73d625cec8888ff4b66011eb1126..a8876297874f6e3d8f17b6903e75e9770304e75e 100644 --- a/src/app/shared/popover/list.popover.ts +++ b/src/app/shared/popover/list.popover.ts @@ -5,6 +5,7 @@ export interface ListItem { value: string; label: string; disabled?: boolean; + icon?: string; } export interface ListPopoverOptions { diff --git a/src/app/shared/services/network/graphql/graphql.service.ts b/src/app/shared/services/network/graphql/graphql.service.ts index 2997ae12f6cc5732215f538e288ad3cfc8fd4529..3578345b8f43ce9b702b0659a5d13240a55baf17 100644 --- a/src/app/shared/services/network/graphql/graphql.service.ts +++ b/src/app/shared/services/network/graphql/graphql.service.ts @@ -52,6 +52,7 @@ import { environment } from '@environments/environment'; import { RxStartableService, RxStartableServiceOptions } from '@app/shared/services/rx-startable-service.class'; import { Peer, Peers } from '../peer.model'; import { RxStateProperty, RxStateSelect } from '@app/shared/decorator/state.decorator'; +import { Promise } from '@rx-angular/cdk/zone-less/browser'; // Workaround for issue https://github.com/ng-packagr/ng-packagr/issues/2215 const QueueLink = unwrapESModule(queueLinkImported); const SerializingLink = unwrapESModule(serializingLinkImported); @@ -929,4 +930,30 @@ export abstract class GraphqlService< } return undefined; } + + protected async filterAlivePeers( + peers: string[], + opts?: { + timeout?: number; + } + ): Promise<Peer[]> { + return ( + await Promise.all( + peers.map((peer) => Peers.fromUri(peer)).map((peer) => this.isPeerAlive(peer, opts).then((alive) => (alive ? peer : undefined))) + ) + ).filter(isNotNil); + } + + protected async isPeerAlive( + // eslint-disable-next-line @typescript-eslint/no-unused-vars + peer: Peer, + // eslint-disable-next-line @typescript-eslint/no-unused-vars + opts?: { + timeout?: number; + } + ): Promise<boolean> { + // TODO + console.log(`${this._logPrefix}TODO: implement ${this.constructor.name}.isPeerAlive()`, peer); + return Promise.resolve(true); + } } diff --git a/src/app/shared/services/service.model.ts b/src/app/shared/services/service.model.ts index 185beeb51b2b69f3378937259f39162a0f05b150..5cd1fa151e38d56a5ddff2277e71c12bd4773d68 100644 --- a/src/app/shared/services/service.model.ts +++ b/src/app/shared/services/service.model.ts @@ -1,4 +1,5 @@ import { getPropertyByPathAsString, isNotNil, isNotNilOrBlank, matchUpperCase, startsWithUpperCase } from '../functions'; +import { Promise } from '@rx-angular/cdk/zone-less/browser'; // eslint-disable-next-line @typescript-eslint/no-explicit-any export declare type ReadyAsyncFunction<T = any> = () => Promise<T>; @@ -64,6 +65,59 @@ export function suggestFromArray<T = any>( }; } +export function combineLoadResults<T>( + results: LoadResult<T>[], + options?: { + reduce: (value: T[]) => T[]; + data?: T[]; + total?: number; + } +): LoadResult<T> { + let data = options?.data || []; + const offset = data?.length || 0; + + // Compute data + data = data.concat(results.map((r) => r?.data || []).flat()); + + // Reduce (e.g. remove duplicated) + if (typeof options?.reduce === 'function') { + data = options.reduce(data); + } + + // Truncate data + const newData = offset > 0 ? data.slice(offset) : data; + + // Compute total + let total = isNotNil(options?.total) + ? options.total + : results + .map((r) => r?.total) + .filter(isNotNil) + .reduce((max, total) => Math.max(max || 0, total), -1); + if (total === -1) total = undefined; + + // Compute fetch more + const fetchMoreFns = results.map((r) => r?.fetchMore).filter(isNotNil); + const fetchMore = combineFetchMore(fetchMoreFns, { ...options, data, total }); + + return { data: newData, total, fetchMore }; +} + +export function combineFetchMore<T>( + fetchMoreFns: FetchMoreFn<LoadResult<T>>[], + options?: { + reduce: (value: T[]) => T[]; + data?: T[]; + total?: number; + } +): FetchMoreFn<LoadResult<T>> { + if (!fetchMoreFns?.length || (options?.data && !options.data.length)) return undefined; + return async (first) => { + const results = await Promise.all(fetchMoreFns.map((fetchMoreFn) => fetchMoreFn(first))); + return combineLoadResults(results, options); + }; +} + export interface IStartableService<T> { started: boolean; diff --git a/src/app/shared/substrate/extrinsic.utils.ts b/src/app/shared/substrate/extrinsic.utils.ts new file mode 100644 index 0000000000000000000000000000000000000000..44fc6979ccb66f86c7ac007abf36458cdb2ff874 --- /dev/null +++ b/src/app/shared/substrate/extrinsic.utils.ts @@ -0,0 +1,72 @@ +import { Event, EventRecord } from '@polkadot/types/interfaces/system/types'; +import { ISubmittableResult } from '@polkadot/types/types/extrinsic'; +import { AddressOrPair, SubmittableExtrinsic } from '@polkadot/api-base/types/submittable'; +import type { ApiTypes } from '@polkadot/api-base/types/base'; +import { DispatchError } from '@polkadot/types/interfaces/system'; +import { ApiPromise } from '@polkadot/api'; + +export class ExtrinsicError extends Error { + private readonly failedEvent: Event; + readonly code: string; + + constructor(api: ApiPromise, events?: EventRecord[] | Event, message?: string) { + super(); + this.failedEvent = Array.isArray(events) ? ExtrinsicUtils.getFailedEvent(events as EventRecord[]) : (events as Event); + + if (this.failedEvent) { + const error = this.failedEvent?.data?.[0] as DispatchError; + if (error.isModule) { + // for module errors, we have the section indexed, lookup + const decoded = api.registry.findMetaError(error.asModule); + const { docs, section, method } = decoded; + this.message = docs.join(' '); + this.code = `${section}.${method}`; + } else { + // Other, CannotLookup, BadOrigin, no extra info + console.log(error.toString()); + this.code = 'system.ExtrinsicFailed'; + this.message = message || 'ERROR.UNKNOWN_ERROR'; + } + } + } +} + +export abstract class ExtrinsicUtils { + static getFailedEvent(records: EventRecord[]): Event { + return records?.map((record) => record.event).find(ExtrinsicUtils.isExtrinsicFailedEvent); + } + static isExtrinsicFailedEvent(event: Event) { + return event?.section === 'system' && event.method === 'ExtrinsicFailed'; + } + + static submit<T extends ApiTypes, R extends ISubmittableResult>(extrinsic: SubmittableExtrinsic<T, R>, issuerPair: AddressOrPair): Promise<R> { + return new Promise<R>((resolve, reject) => + extrinsic.signAndSend(issuerPair, (result: R) => { + if (result.status?.isInBlock) { + const failedEvent = this.getFailedEvent(result.events); + if (!failedEvent) { + resolve(result); + } else { + reject(failedEvent); + } + } + }) + ); + } + + static createIsInBlockCallback( + resolve: (result: ISubmittableResult) => void, + reject?: (event: Event) => void + ): (result: ISubmittableResult) => void { + return (result: ISubmittableResult) => { + if (result.status.isInBlock) { + const failedEvent = this.getFailedEvent(result.events); + if (!failedEvent || !reject) { + resolve(result); + } else { + reject(failedEvent); + } + } + }; + } +} diff --git a/src/app/transfer/history/transfer-history.page.html b/src/app/transfer/history/transfer-history.page.html index 3e269f7539dcacabc498c0e83cea15c46be93e19..d66823d551b1fb3bb571441869b91fd76d0d30ed 100644 --- a/src/app/transfer/history/transfer-history.page.html +++ b/src/app/transfer/history/transfer-history.page.html @@ -47,7 +47,7 @@ <ion-label class="ion-text-end"> <p translate>ACCOUNT.BALANCE</p> <h2> - <b *rxIf="account$; let account">{{ account | balance | amountFormat }}</b> + <b *rxIf="account$; let account" [innerHtml]="account | balance | amountFormat"></b> </h2> </ion-label> </div> @@ -108,7 +108,7 @@ </p> </ion-label> - <ion-badge [color]="item.amount > 0 ? 'secondary' : 'light'" slot="end">{{ item.amount | amountFormat }}</ion-badge> + <ion-badge [color]="item.amount > 0 ? 'secondary' : 'light'" slot="end" [innerHtml]="item.amount | amountFormat"></ion-badge> </ion-item> <!-- loading spinner --> diff --git a/src/app/transfer/history/transfer-history.page.ts b/src/app/transfer/history/transfer-history.page.ts index cc60c09aec194979f0fa7782c80b3f78312ac6eb..f4e421c66e766de7f1b6d7ebe81a0774a0a182a6 100644 --- a/src/app/transfer/history/transfer-history.page.ts +++ b/src/app/transfer/history/transfer-history.page.ts @@ -18,7 +18,7 @@ import { TransferSearchFilter, TransferSearchFilterUtils, } from '@app/transfer/transfer.model'; -import { IndexerService } from '@app/network/indexer.service'; +import { IndexerService } from '@app/network/indexer/indexer.service'; import { FetchMoreFn, LoadResult } from '@app/shared/services/service.model'; export interface TransferHistoryPageState extends AppPageState { diff --git a/src/app/transfer/transfer.model.ts b/src/app/transfer/transfer.model.ts index a00ad97e0649f4f64999898430d2d0e26b77cc95..b214e87da01c58fbb8f1992fc67055df1c26d463 100644 --- a/src/app/transfer/transfer.model.ts +++ b/src/app/transfer/transfer.model.ts @@ -2,7 +2,7 @@ import { InjectionToken } from '@angular/core'; import { Account, parseAddressSquid } from '@app/account/account.model'; import { Moment } from 'moment/moment'; import { equals, isNil, isNilOrBlank } from '@app/shared/functions'; -import { TransferFragment } from '@app/network/indexer-types.generated'; +import { TransferFragment } from '@app/network/indexer/indexer-types.generated'; import { fromDateISOString } from '@app/shared/dates'; import { AccountConverter } from '@app/account/account.converter'; @@ -53,10 +53,10 @@ export class TransferConverter { const toAddress = parseAddressSquid(item.to?.id).address; // Account is the issuer if (fromAddress === accountAddress) { - to = AccountConverter.toAccount(item.to); + to = AccountConverter.squidToAccount(item.to); amount = -1 * item.amount; } else if (toAddress === accountAddress) { - from = AccountConverter.toAccount(item.from); + from = AccountConverter.squidToAccount(item.from); amount = item.amount; } return <Transfer>{ diff --git a/src/app/wot/wot-details.page.html b/src/app/wot/wot-details.page.html index 12d604af0b0f7418a86697069e85c4ea2c208f91..d0c735d5dbe1fe173a4b0eee71aca3c26cf9281b 100644 --- a/src/app/wot/wot-details.page.html +++ b/src/app/wot/wot-details.page.html @@ -27,7 +27,7 @@ <ion-label class="ion-text-end"> <p translate>ACCOUNT.BALANCE</p> <h2 *rxIf="loaded$; else loadingText"> - <b>{{ account$ | push | balance | amountFormat }}</b> + <b [innerHtml]="account$ | push | balance | amountFormat"></b> </h2> <ng-template #loadingText> <p translate>COMMON.LOADING</p> @@ -52,6 +52,11 @@ </div> <ion-list> + <ion-item *rxIf="error$; let error" lines="none" color="light"> + <ion-icon slot="start" name="alert-circle" color="danger"></ion-icon> + <ion-label color="danger">{{ error | translate }}</ion-label> + </ion-item> + <ng-container *rxIf="account$; let account; suspense: skeletons"> <!-- pubkey --> <ion-item *ngIf="account.address | addressToPubkeyV1; let pubkey" (click)="copyPubkey($event, pubkey)" tappable> diff --git a/src/app/wot/wot-details.page.ts b/src/app/wot/wot-details.page.ts index b0d6390be055fc69cd3bf6c68bcfedc2d65f3028..5dd7ec3b281c3939f073dd1aa15f8b6c2d080bcc 100644 --- a/src/app/wot/wot-details.page.ts +++ b/src/app/wot/wot-details.page.ts @@ -10,7 +10,7 @@ import { RxState } from '@rx-angular/state'; import { APP_TRANSFER_CONTROLLER, ITransferController } from '@app/transfer/transfer.model'; import { filter, map } from 'rxjs/operators'; import { firstArrayValue, isNotNilOrBlank } from '@app/shared/functions'; -import { IndexerService } from '@app/network/indexer.service'; +import { IndexerService } from '@app/network/indexer/indexer.service'; import { address2PubkeyV1, pubkeyV1Checksum } from '@app/shared/currencies'; export interface WotDetailsPageState extends AppPageState { @@ -143,15 +143,15 @@ export class WotDetailsPage extends AppPage<WotDetailsPageState> implements OnIn this.resetError(); try { + if (this.showToastOnCertify) await this.showToast({ id: 'cert', message: 'INFO.CERTIFICATION_PENDING', duration: -1 }); const certHash = await this.accountsService.cert(issuer, this.account); - if (this.showToastOnCertify) { - await this.showToast({ message: 'INFO.CERTIFICATION_DONE' }); - } + if (this.showToastOnCertify) + await this.showToast({ id: 'cert', message: 'INFO.CERTIFICATION_DONE', swipeGesture: 'vertical', color: 'secondary' }); return certHash; } catch (err) { - this.setError(err); + this.showErrorToast(err, { id: 'cert' }); this.markAsLoaded(); } } diff --git a/src/app/wot/wot-lookup.page.html b/src/app/wot/wot-lookup.page.html index 0cdc591d1228e5728ebe58b24f47f1ebbbc93d59..68df96ce6a3f822281805046b1a6f42f86da3d93 100644 --- a/src/app/wot/wot-lookup.page.html +++ b/src/app/wot/wot-lookup.page.html @@ -112,18 +112,37 @@ </ion-avatar> <ion-label> <h2> - <ion-text [color]="item.meta?.isMember ? 'primary' : 'dark'"> - <small><ion-icon name="person"></ion-icon></small> + <ion-text [color]="item.meta?.isMember && !item.meta.name ? 'primary' : 'dark'"> + @if (!item.meta?.name) { + <ion-icon name="person"></ion-icon> + } @if (filter?.last) { - {{ item.meta?.uid }} + <span>{{ item | accountName: { listenChanges: false } }}</span> } @else { - <span [innerHTML]="item.meta?.uid | highlight: { search: searchText }"></span> + <span [innerHTML]="item | accountName: { listenChanges: false } | highlight: { search: searchText }"></span> } </ion-text> </h2> <p> - <ion-icon name="key"></ion-icon> - {{ item.address | addressFormat }} + @if (item.meta.name && item.meta.uid) { + <ion-text [color]="item.meta?.isMember ? 'primary' : 'dark'"> + <ion-icon name="person"></ion-icon> + @if (filter?.last) { + <span>{{ item.meta.uid }}</span> + } @else { + <span [innerHTML]="item.meta.uid | highlight: { search: searchText }"></span> + } + </ion-text> + } + <!-- address --> + <ion-text> + <ion-icon name="key"></ion-icon> + <span>{{ item.address | addressFormat }}</span> + </ion-text> + <!-- not member --> + @if (!item.meta?.isMember) { + <ion-text color="danger" translate>WOT.NOT_MEMBER_PARENTHESIS</ion-text> + } </p> </ion-label> <ion-button diff --git a/src/app/wot/wot-lookup.page.scss b/src/app/wot/wot-lookup.page.scss index 3fa413da5fcdc18866f08a19a23a7d1dc876e549..068b4d1217b51e524c6c4c84c47123b94ac80ba8 100644 --- a/src/app/wot/wot-lookup.page.scss +++ b/src/app/wot/wot-lookup.page.scss @@ -1,3 +1,25 @@ -ion-list.list-md { - padding-top: 0; +ion-list { + &.list-md { + padding-top: 0; + } + + --text-padding: 4px; + p { + --text-padding: 2px; + } + + ion-item { + ion-text { + ion-icon { + width: 0.9em; + height: 0.9em; + vertical-align: baseline; + } + padding-inline-end: calc(var(--text-padding) * 2); + } + + ion-text:has(ion-icon) span { + margin-inline-start: var(--text-padding); + } + } } diff --git a/src/app/wot/wot-lookup.page.ts b/src/app/wot/wot-lookup.page.ts index 1cf4cea6b422ad49f0176850a3c9c35026d88c90..9debd33cb377488421282c1162f2c802cb90005b 100644 --- a/src/app/wot/wot-lookup.page.ts +++ b/src/app/wot/wot-lookup.page.ts @@ -13,9 +13,10 @@ import { RxState } from '@rx-angular/state'; import { InfiniteScrollCustomEvent, IonPopover, ModalController } from '@ionic/angular'; import { APP_TRANSFER_CONTROLLER, ITransferController } from '@app/transfer/transfer.model'; -import { IndexerService } from '@app/network/indexer.service'; +import { IndexerService } from '@app/network/indexer/indexer.service'; import { FetchMoreFn, LoadResult } from '@app/shared/services/service.model'; import { environment } from '@environments/environment'; +import { WotService } from '@app/wot/wot.service'; export interface WotLookupState extends AppPageState { searchText: string; @@ -70,6 +71,7 @@ export class WotLookupPage extends AppPage<WotLookupState> implements OnInit, Wo constructor( private indexerService: IndexerService, + private wotService: WotService, private modalCtrl: ModalController, @Inject(APP_TRANSFER_CONTROLLER) private transferController: ITransferController ) { @@ -149,7 +151,7 @@ export class WotLookupPage extends AppPage<WotLookupState> implements OnInit, Wo search(searchFilter?: WotSearchFilter, options?: { first: number; after: string }): Observable<LoadResult<Account>> { try { - return this.indexerService.wotSearch(searchFilter, options).pipe( + return this.wotService.wotSearch(searchFilter, options).pipe( filter(() => WotSearchFilterUtils.isEquals(this.filter, searchFilter)), tap(() => this.markAsLoaded()) ); @@ -202,7 +204,9 @@ export class WotLookupPage extends AppPage<WotLookupState> implements OnInit, Wo await this.waitIdle(); if (this.canFetchMore) { - console.debug(this._logPrefix + 'Fetching more items, from offset: ' + this.count, event); + // DEBUG + //console.debug(this._logPrefix + 'Fetching more items, from offset: ' + this.count, event); + const { data, fetchMore } = await this.fetchMoreFn(); if (data?.length) { diff --git a/src/app/wot/wot.model.ts b/src/app/wot/wot.model.ts index 61a70e22df77d01a36ca1d52c6a29d07ba4f3bd6..2e1b5ebf5c364960ff3d8959b80e46654f8f6967 100644 --- a/src/app/wot/wot.model.ts +++ b/src/app/wot/wot.model.ts @@ -14,6 +14,7 @@ export interface WotLookupOptions { export interface WotSearchFilter { address?: string; + addresses?: string[]; searchText?: string; last?: boolean; pending?: boolean; diff --git a/src/app/wot/wot.service.ts b/src/app/wot/wot.service.ts new file mode 100644 index 0000000000000000000000000000000000000000..33cf2846b18f30893054112c24830332db4399b3 --- /dev/null +++ b/src/app/wot/wot.service.ts @@ -0,0 +1,65 @@ +import { Injectable } from '@angular/core'; +import { StartableService } from '@app/shared/services/startable-service.class'; +import { IndexerService } from '@app/network/indexer/indexer.service'; +import { PodService } from '@app/network/pod/pod.service'; +import { WotSearchFilter } from '@app/wot/wot.model'; +import { FetchPolicy } from '@apollo/client'; +import { Promise } from '@rx-angular/cdk/zone-less/browser'; +import { combineLatestAll, concat, firstValueFrom, mergeMap, Observable, toArray } from 'rxjs'; +import { LoadResult } from '@app/shared/services/service.model'; +import { Account, AccountUtils } from '@app/account/account.model'; +import { map } from 'rxjs/operators'; +import { isNotEmptyArray, isNotNil } from '@app/shared/functions'; + +@Injectable({ providedIn: 'root' }) +export class WotService extends StartableService { + constructor( + private indexer: IndexerService, + private pod: PodService + ) { + super(); + } + + protected async ngOnStart(): Promise<void> { + await Promise.all([this.indexer.ready(), this.pod.ready()]); + } + + wotSearch(filter: WotSearchFilter, options: { after?: string; first?: number; fetchPolicy?: FetchPolicy }): Observable<LoadResult<Account>> { + const search1$ = this.indexer.wotSearch(filter, options).pipe(toArray()); + const search2$ = this.pod.profileSearch(filter, options).pipe(toArray()); + + return concat(search1$, search2$).pipe( + combineLatestAll(), + map(AccountUtils.combineAccountLoadResults), + mergeMap((res) => this.decorateWithProfiles(res)) + ); + } + + async decorateWithProfiles(result: LoadResult<Account>): Promise<LoadResult<Account>> { + // Get addresses without profiles + const noProfilesAddresses = (result?.data || []) + .filter((account) => !account.meta?.name) + .map((account) => account.address) + .filter(isNotNil); + + // Load profiles from addresses + if (isNotEmptyArray(noProfilesAddresses)) { + console.debug(`${this._logPrefix}Loading profiles from ${noProfilesAddresses.length} account's addresses...`); + const profiles = (await firstValueFrom(this.pod.profileSearch({ addresses: noProfilesAddresses }, { withTotal: false })))?.data; + if (isNotEmptyArray(profiles)) { + AccountUtils.mergeAll(result.data.concat(profiles)); + } + } + + // Decorate fetchMore + if (result.fetchMore) { + const inheritedFetchMore = result.fetchMore; + result.fetchMore = async (first) => { + const moreResult = await inheritedFetchMore(first); + return this.decorateWithProfiles(moreResult); + }; + } + + return result; + } +} diff --git a/src/assets/i18n/fr.json b/src/assets/i18n/fr.json index 991a06f809e7069d70fed1437d1a6000f83b5607..7a405c784ab26dc9d48e3be544ffba33b3fe1247 100644 --- a/src/assets/i18n/fr.json +++ b/src/assets/i18n/fr.json @@ -146,6 +146,8 @@ "PEER": "Nœud Duniter", "PEER_SHORT": "Nœud Duniter", "INDEXER": "Indexeur de données", + "POD": "Serveur de données", + "IPFS": "Passerelle IPFS", "PEER_CHANGED_TEMPORARY": "Adresse utilisée temporairement", "PERSIST_CACHE": "Conserver les données de navigation (expérimental)", "PERSIST_CACHE_HELP": "Permet une navigation plus rapide, en conservant localement les données reçues, pour les utiliser d'une session à l'autre.", @@ -814,7 +816,8 @@ }, "INFO": { "POPUP_TITLE": "Information", - "CERTIFICATION_DONE": "Certification envoyée", + "CERTIFICATION_PENDING": "Certification envoyée. En attente de validation...", + "CERTIFICATION_DONE": "Certification validée", "NOT_ENOUGH_CREDIT": "Crédit insuffisant", "TRANSFER_SENT": "Virement envoyé", "COPY_TO_CLIPBOARD_DONE": "Copié dans le presse-papier", diff --git a/src/environments/environment.class.ts b/src/environments/environment.class.ts index 9621bf2bbd45b397d74d7c36a1f7a28fe778a59b..bf0a8c400c656a12aeba6b12e837be3b60050f09 100644 --- a/src/environments/environment.class.ts +++ b/src/environments/environment.class.ts @@ -15,6 +15,8 @@ export interface Environment { defaultPeers: string[]; defaultIndexers: string[]; + defaultPods: string[]; + defaultIfpsGateways: string[]; // GraphQL graphql: { @@ -36,6 +38,9 @@ export interface Environment { dev?: { // Default peer peer?: string; + indexer?: string; + pod?: string; + ipfsGateway?: string; // Load polkadot default account (alice, etc.) testingAccounts?: boolean; diff --git a/src/environments/environment.prod.ts b/src/environments/environment.prod.ts index cce196c9c0d0ccd3c4ce757e3be486ddee282ce7..744751cc6b9eb3565228e353126bf9b241e212cb 100644 --- a/src/environments/environment.prod.ts +++ b/src/environments/environment.prod.ts @@ -26,7 +26,9 @@ export const environment = <Environment>{ }, defaultPeers: [ - /* GDev public endpoints */ + /* Local endpoint */ + //'ws://127.0.0.1:9944', + /* GDev endpoints */ 'wss://gdev.coinduf.eu/ws', 'wss://vit.fdn.org/ws', 'wss://gdev.pini.fr/ws', @@ -36,7 +38,25 @@ export const environment = <Environment>{ ], defaultIndexers: [ + /* Local endpoint */ + //'http://localhost:8080/v1/graphql', + /* GDev endpoints */ 'https://gdev-squid.axiom-team.fr/v1beta1/relay', + 'https://squid.gdev.coinduf.eu/v1beta1/relay', //'https://gdev-squid.axiom-team.fr/graphql' ], + + defaultPods: [ + /* Local endpoint */ + // 'http://localhost:8081/v1/graphql' + /* GDev endpoints */ + 'https://datapod.coinduf.eu/v1/graphql', + ], + + defaultIfpsGateways: [ + /* Local endpoint */ + // 'http://localhost:8080' + /* GDev endpoints */ + 'https://pagu.re', + ], }; diff --git a/src/environments/environment.ts b/src/environments/environment.ts index 0e4011296fac40520526ecf659b0ca595fd4be17..7b72aa070c0fbb7eed114f044212a8e992deaa0d 100644 --- a/src/environments/environment.ts +++ b/src/environments/environment.ts @@ -35,6 +35,7 @@ export const environment = <Environment>{ //peer: 'ws://127.0.0.1:9944', peer: 'wss://gdev.coinduf.eu/ws', //peer: 'wss://gdev.cgeek.fr/ws', + indexer: 'https://squid.gdev.coinduf.eu/v1beta1/relay', auth: <AuthData>{ v1: { @@ -49,6 +50,7 @@ export const environment = <Environment>{ }, defaultPeers: [ + /* Local endpoint */ //'ws://127.0.0.1:9944', /* GDev endpoints */ 'wss://gdev.coinduf.eu/ws', @@ -60,7 +62,25 @@ export const environment = <Environment>{ ], defaultIndexers: [ + /* Local endpoint */ + //'http://localhost:8080/v1/graphql', + /* GDev endpoints */ 'https://gdev-squid.axiom-team.fr/v1beta1/relay', + 'https://squid.gdev.coinduf.eu/v1beta1/relay', //'https://gdev-squid.axiom-team.fr/graphql' ], + + defaultPods: [ + /* Local endpoint */ + // 'http://localhost:8081/v1/graphql' + /* GDev endpoints */ + 'https://datapod.coinduf.eu/v1/graphql', + ], + + defaultIfpsGateways: [ + /* Local endpoint */ + // 'http://localhost:8080' + /* GDev endpoints */ + 'https://pagu.re', + ], }; diff --git a/src/interfaces/augment-api-consts.ts b/src/interfaces/augment-api-consts.ts index 5cdb2eefcf6f7097bcdb3a6448f7b62df8a2c7bc..3c614617f99470889a81dbb2db85440d7ed94982 100644 --- a/src/interfaces/augment-api-consts.ts +++ b/src/interfaces/augment-api-consts.ts @@ -6,7 +6,7 @@ import '@polkadot/api-base/types/consts'; import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types'; -import type { Option, bool, u16, u32, u64, u8 } from '@polkadot/types-codec'; +import type { Option, u16, u32, u64, u8 } from '@polkadot/types-codec'; import type { Codec } from '@polkadot/types-codec/types'; import type { AccountId32, Perbill, Permill } from '@polkadot/types/interfaces/runtime'; @@ -14,23 +14,15 @@ export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType> declare module '@polkadot/api-base/types/consts' { interface AugmentedConsts<ApiType extends ApiTypes> { - account: { - maxNewAccountsPerBlock: u32 & AugmentedConst<ApiType>; - newAccountPrice: u64 & AugmentedConst<ApiType>; - /** - * Generic const - **/ - [key: string]: Codec; - }; atomicSwap: { /** * Limit of proof size. - * + * * Atomic swap is only atomic if once the proof is revealed, both parties can submit the * proofs on-chain. If A is the one that generates the proof, then it requires that either: * - A's blockchain has the same proof length limit as B's blockchain. * - Or A's blockchain has shorter proof length limit as B's blockchain. - * + * * If B sees A is on a blockchain with larger proof length limit, then it should kindly * refuse to accept the atomic swap request if A generates the proof, and asks that B * generates the proof instead. @@ -70,6 +62,10 @@ declare module '@polkadot/api-base/types/consts' { * Max number of authorities allowed **/ maxAuthorities: u32 & AugmentedConst<ApiType>; + /** + * The maximum number of nominators for each validator. + **/ + maxNominators: u32 & AugmentedConst<ApiType>; /** * Generic const **/ @@ -78,12 +74,12 @@ declare module '@polkadot/api-base/types/consts' { balances: { /** * The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO! - * + * * If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for * this pallet. However, you do so at your own risk: this will open up a major DoS vector. * In case you have multiple sources of provider references, you may also get unexpected * behaviour if you set this to zero. - * + * * Bottom line: Do yourself a favour and make it at least one! **/ existentialDeposit: u64 & AugmentedConst<ApiType>; @@ -109,22 +105,21 @@ declare module '@polkadot/api-base/types/consts' { **/ [key: string]: Codec; }; - cert: { + certification: { /** - * Minimum duration between two certifications issued by the same issuer + * Minimum duration between two certifications issued by the same issuer. **/ certPeriod: u32 & AugmentedConst<ApiType>; /** - * Maximum number of active certifications by issuer + * Maximum number of active certifications by issuer. **/ maxByIssuer: u32 & AugmentedConst<ApiType>; /** - * Minimum number of certifications that must be received to be able to issue - * certifications. + * Minimum number of certifications received to be allowed to issue a certification. **/ minReceivedCertToBeAbleToIssueCert: u32 & AugmentedConst<ApiType>; /** - * Duration of validity of a certification + * Duration of validity of a certification. **/ validityPeriod: u32 & AugmentedConst<ApiType>; /** @@ -137,6 +132,11 @@ declare module '@polkadot/api-base/types/consts' { * Amount reserved during evaluation **/ evaluationPrice: u64 & AugmentedConst<ApiType>; + /** + * Maximum distance used to define referee's accessibility + * Unused by runtime but needed by client distance oracle + **/ + maxRefereeDistance: u32 & AugmentedConst<ApiType>; /** * Minimum ratio of accessible referees **/ @@ -151,9 +151,13 @@ declare module '@polkadot/api-base/types/consts' { * Max Authorities in use **/ maxAuthorities: u32 & AugmentedConst<ApiType>; + /** + * The maximum number of nominators for each validator. + **/ + maxNominators: u32 & AugmentedConst<ApiType>; /** * The maximum number of entries to keep in the set id to session index mapping. - * + * * Since the `SetIdSession` map is only used for validating equivocations this * value should relate to the bonding duration of whatever staking system is * being used (if any). If equivocation handling is not enabled then this value @@ -167,7 +171,11 @@ declare module '@polkadot/api-base/types/consts' { }; identity: { /** - * Minimum duration between two owner key changes + * Period before which an identity who lost membership is automatically revoked. + **/ + autorevocationPeriod: u32 & AugmentedConst<ApiType>; + /** + * Minimum duration between two owner key changes. **/ changeOwnerKeyPeriod: u32 & AugmentedConst<ApiType>; /** @@ -175,9 +183,17 @@ declare module '@polkadot/api-base/types/consts' { **/ confirmPeriod: u32 & AugmentedConst<ApiType>; /** - * Minimum duration between the creation of 2 identities by the same creator + * Period after which a revoked identity is removed and the keys are freed. + **/ + deletionPeriod: u32 & AugmentedConst<ApiType>; + /** + * Minimum duration between the creation of 2 identities by the same creator. **/ idtyCreationPeriod: u32 & AugmentedConst<ApiType>; + /** + * Period before which the identity has to be validated (become member). + **/ + validationPeriod: u32 & AugmentedConst<ApiType>; /** * Generic const **/ @@ -186,7 +202,7 @@ declare module '@polkadot/api-base/types/consts' { imOnline: { /** * A configuration for base priority of unsigned transactions. - * + * * This is exposed so that it can be tuned for particular runtime, when * multiple pallets send unsigned transactions. **/ @@ -198,13 +214,13 @@ declare module '@polkadot/api-base/types/consts' { }; membership: { /** - * Maximum life span of a non-renewable membership (in number of blocks) + * Maximum life span of a single membership (in number of blocks) **/ membershipPeriod: u32 & AugmentedConst<ApiType>; /** - * Maximum period (in number of blocks), where an identity can remain pending subscription. + * Minimum delay to wait before renewing membership **/ - pendingMembershipPeriod: u32 & AugmentedConst<ApiType>; + membershipRenewalPeriod: u32 & AugmentedConst<ApiType>; /** * Generic const **/ @@ -214,7 +230,7 @@ declare module '@polkadot/api-base/types/consts' { /** * The base amount of currency needed to reserve for creating a multisig execution or to * store a dispatch call for later. - * + * * This is held for an additional storage item whose value size is * `4 + sizeof((BlockNumber, Balance, AccountId))` bytes and whose key size is * `32 + sizeof(AccountId)` bytes. @@ -222,7 +238,7 @@ declare module '@polkadot/api-base/types/consts' { depositBase: u64 & AugmentedConst<ApiType>; /** * The amount of currency needed per unit threshold when creating a multisig execution. - * + * * This is held for adding 32 bytes more into a pre-existing storage value. **/ depositFactor: u64 & AugmentedConst<ApiType>; @@ -252,14 +268,14 @@ declare module '@polkadot/api-base/types/consts' { proxy: { /** * The base amount of currency needed to reserve for creating an announcement. - * + * * This is held when a new storage item holding a `Balance` is created (typically 16 * bytes). **/ announcementDepositBase: u64 & AugmentedConst<ApiType>; /** * The amount of currency needed per announcement made. - * + * * This is held for adding an `AccountId`, `Hash` and `BlockNumber` (typically 68 bytes) * into a pre-existing storage value. **/ @@ -274,14 +290,14 @@ declare module '@polkadot/api-base/types/consts' { maxProxies: u32 & AugmentedConst<ApiType>; /** * The base amount of currency needed to reserve for creating a proxy. - * + * * This is held for an additional storage item whose value size is * `sizeof(Balance)` bytes and whose key size is `sizeof(AccountId)` bytes. **/ proxyDepositBase: u64 & AugmentedConst<ApiType>; /** * The amount of currency needed per proxy added. - * + * * This is held for adding 32 bytes plus an instance of `ProxyType` more into a * pre-existing storage value. Thus, when configuring `ProxyDepositFactor` one should take * into account `32 + proxy_type.encode().len()` bytes of data. @@ -309,7 +325,7 @@ declare module '@polkadot/api-base/types/consts' { maximumWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>; /** * The maximum number of scheduled calls in the queue for a single block. - * + * * NOTE: * + Dependent pallets' benchmarks might require a higher limit for the setting. Set a * higher limit under `runtime-benchmarks` feature. @@ -320,48 +336,19 @@ declare module '@polkadot/api-base/types/consts' { **/ [key: string]: Codec; }; - smithCert: { - /** - * Minimum duration between two certifications issued by the same issuer - **/ - certPeriod: u32 & AugmentedConst<ApiType>; + smithMembers: { /** * Maximum number of active certifications by issuer **/ maxByIssuer: u32 & AugmentedConst<ApiType>; /** - * Minimum number of certifications that must be received to be able to issue - * certifications. - **/ - minReceivedCertToBeAbleToIssueCert: u32 & AugmentedConst<ApiType>; - /** - * Duration of validity of a certification - **/ - validityPeriod: u32 & AugmentedConst<ApiType>; - /** - * Generic const - **/ - [key: string]: Codec; - }; - smithMembership: { - /** - * Maximum life span of a non-renewable membership (in number of blocks) - **/ - membershipPeriod: u32 & AugmentedConst<ApiType>; - /** - * Maximum period (in number of blocks), where an identity can remain pending subscription. + * Minimum number of certifications to become a Smith **/ - pendingMembershipPeriod: u32 & AugmentedConst<ApiType>; + minCertForMembership: u32 & AugmentedConst<ApiType>; /** - * Generic const + * Maximum duration of inactivity before a smith is removed **/ - [key: string]: Codec; - }; - smithSubWot: { - firstIssuableOn: u32 & AugmentedConst<ApiType>; - isSubWot: bool & AugmentedConst<ApiType>; - minCertForCreateIdtyRight: u32 & AugmentedConst<ApiType>; - minCertForMembership: u32 & AugmentedConst<ApiType>; + smithInactivityMaxDuration: u32 & AugmentedConst<ApiType>; /** * Generic const **/ @@ -386,7 +373,7 @@ declare module '@polkadot/api-base/types/consts' { dbWeight: SpWeightsRuntimeDbWeight & AugmentedConst<ApiType>; /** * The designated SS58 prefix of this chain. - * + * * This replaces the "ss58Format" property declared in the chain spec. Reason is * that the runtime should know about the prefix in order to make use of it as * an identifier of the chain. @@ -413,10 +400,12 @@ declare module '@polkadot/api-base/types/consts' { }; timestamp: { /** - * The minimum period between blocks. Beware that this is different to the *expected* - * period that the block production apparatus provides. Your chosen consensus system will - * generally work with this to determine a sensible block time. e.g. For Aura, it will be - * double this period on default settings. + * The minimum period between blocks. + * + * Be aware that this is different to the *expected* period that the block production + * apparatus provides. Your chosen consensus system will generally work with this to + * determine a sensible block time. For example, in the Aura pallet it will be double this + * period on default settings. **/ minimumPeriod: u64 & AugmentedConst<ApiType>; /** @@ -426,23 +415,23 @@ declare module '@polkadot/api-base/types/consts' { }; transactionPayment: { /** - * A fee mulitplier for `Operational` extrinsics to compute "virtual tip" to boost their + * A fee multiplier for `Operational` extrinsics to compute "virtual tip" to boost their * `priority` - * - * This value is multipled by the `final_fee` to obtain a "virtual tip" that is later + * + * This value is multiplied by the `final_fee` to obtain a "virtual tip" that is later * added to a tip component in regular `priority` calculations. * It means that a `Normal` transaction can front-run a similarly-sized `Operational` * extrinsic (with no tip), by including a tip value greater than the virtual tip. - * + * * ```rust,ignore * // For `Normal` * let priority = priority_calc(tip); - * + * * // For `Operational` * let virtual_tip = (inclusion_fee + tip) * OperationalFeeMultiplier; * let priority = priority_calc(tip + virtual_tip); * ``` - * + * * Note that since we use `final_fee` the multiplier applies also to the regular `tip` * sent with the transaction. So, not only does the transaction get a priority bump based * on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational` @@ -461,7 +450,7 @@ declare module '@polkadot/api-base/types/consts' { burn: Permill & AugmentedConst<ApiType>; /** * The maximum number of approvals that can wait in the spending queue. - * + * * NOTE: This parameter is also used within the Bounties Pallet extension if enabled. **/ maxApprovals: u32 & AugmentedConst<ApiType>; @@ -469,6 +458,10 @@ declare module '@polkadot/api-base/types/consts' { * The treasury's pallet id, used for deriving its sovereign account ID. **/ palletId: FrameSupportPalletId & AugmentedConst<ApiType>; + /** + * The period during which an approved treasury spend has to be claimed. + **/ + payoutPeriod: u32 & AugmentedConst<ApiType>; /** * Fraction of a proposal's value that should be bonded in order to place the proposal. * An accepted proposal gets these back. A rejected proposal does not. @@ -531,7 +524,6 @@ declare module '@polkadot/api-base/types/consts' { }; wot: { firstIssuableOn: u32 & AugmentedConst<ApiType>; - isSubWot: bool & AugmentedConst<ApiType>; minCertForCreateIdtyRight: u32 & AugmentedConst<ApiType>; minCertForMembership: u32 & AugmentedConst<ApiType>; /** diff --git a/src/interfaces/augment-api-errors.ts b/src/interfaces/augment-api-errors.ts index b025bd50e094401111f9cceb8c409d3e658a2ada..50c1a568d56f0ffd83d4146efeb8fa9ebd407113 100644 --- a/src/interfaces/augment-api-errors.ts +++ b/src/interfaces/augment-api-errors.ts @@ -51,51 +51,47 @@ declare module '@polkadot/api-base/types/errors' { }; authorityMembers: { /** - * Already incoming + * Member already incoming. **/ AlreadyIncoming: AugmentedError<ApiType>; /** - * Already online + * Member already online. **/ AlreadyOnline: AugmentedError<ApiType>; /** - * Already outgoing + * Member already outgoing. **/ AlreadyOutgoing: AugmentedError<ApiType>; /** - * Member is blacklisted + * Member is blacklisted. **/ - MemberIdBlackListed: AugmentedError<ApiType>; + MemberBlacklisted: AugmentedError<ApiType>; /** - * Not found owner key + * Owner key is invalid as a member. **/ MemberIdNotFound: AugmentedError<ApiType>; /** - * Member is not blacklisted + * Member is not blacklisted. **/ - MemberNotBlackListed: AugmentedError<ApiType>; + MemberNotBlacklisted: AugmentedError<ApiType>; /** - * Member not found + * Member not found. **/ MemberNotFound: AugmentedError<ApiType>; /** - * Not member + * Not member. **/ NotMember: AugmentedError<ApiType>; /** - * Neither online nor scheduled + * Neither online nor scheduled. **/ NotOnlineNorIncoming: AugmentedError<ApiType>; /** - * Not owner - **/ - NotOwner: AugmentedError<ApiType>; - /** - * Session keys not provided + * Session keys not provided. **/ SessionKeysNotProvided: AugmentedError<ApiType>; /** - * Too man aAuthorities + * Too many authorities. **/ TooManyAuthorities: AugmentedError<ApiType>; /** @@ -171,42 +167,89 @@ declare module '@polkadot/api-base/types/errors' { **/ [key: string]: AugmentedError<ApiType>; }; - cert: { + certification: { /** - * An identity cannot certify itself + * Identity cannot certify itself. **/ CannotCertifySelf: AugmentedError<ApiType>; /** - * This identity has already issued the maximum number of certifications + * Can not add an already-existing cert **/ - IssuedTooManyCert: AugmentedError<ApiType>; + CertAlreadyExists: AugmentedError<ApiType>; /** - * Issuer not found + * Can not renew a non-existing cert **/ - IssuerNotFound: AugmentedError<ApiType>; + CertDoesNotExist: AugmentedError<ApiType>; /** - * Not enough certifications received + * Identity has already issued the maximum number of certifications. + **/ + IssuedTooManyCert: AugmentedError<ApiType>; + /** + * Insufficient certifications received. **/ NotEnoughCertReceived: AugmentedError<ApiType>; /** - * This identity has already issued a certification too recently + * Identity has issued a certification too recently. **/ NotRespectCertPeriod: AugmentedError<ApiType>; + /** + * Issuer of a certification must have an identity + **/ + OriginMustHaveAnIdentity: AugmentedError<ApiType>; /** * Generic error **/ [key: string]: AugmentedError<ApiType>; }; distance: { + /** + * Distance is already under evaluation. + **/ AlreadyInEvaluation: AugmentedError<ApiType>; - CannotReserve: AugmentedError<ApiType>; - ManyEvaluationsByAuthor: AugmentedError<ApiType>; - ManyEvaluationsInBlock: AugmentedError<ApiType>; + /** + * Caller has no identity. + **/ + CallerHasNoIdentity: AugmentedError<ApiType>; + /** + * Caller identity not found. + **/ + CallerIdentityNotFound: AugmentedError<ApiType>; + /** + * Caller not member. + **/ + CallerNotMember: AugmentedError<ApiType>; + CallerStatusInvalid: AugmentedError<ApiType>; + /** + * No author for this block. + **/ NoAuthor: AugmentedError<ApiType>; - NoIdentity: AugmentedError<ApiType>; - NonEligibleForEvaluation: AugmentedError<ApiType>; + /** + * Evaluation queue is full. + **/ QueueFull: AugmentedError<ApiType>; + /** + * Target identity not found. + **/ + TargetIdentityNotFound: AugmentedError<ApiType>; + /** + * Targeted distance evaluation request is only possible for an unvalidated identity. + **/ + TargetMustBeUnvalidated: AugmentedError<ApiType>; + /** + * Too many evaluations requested by author. + **/ + TooManyEvaluationsByAuthor: AugmentedError<ApiType>; + /** + * Too many evaluations for this block. + **/ + TooManyEvaluationsInBlock: AugmentedError<ApiType>; + /** + * Too many evaluators in the current evaluation pool. + **/ TooManyEvaluators: AugmentedError<ApiType>; + /** + * Evaluation result has a wrong length. + **/ WrongResultLength: AugmentedError<ApiType>; /** * Generic error @@ -251,89 +294,73 @@ declare module '@polkadot/api-base/types/errors' { }; identity: { /** - * Identity already confirmed + * Cannot link to an inexisting account. **/ - IdtyAlreadyConfirmed: AugmentedError<ApiType>; + AccountNotExist: AugmentedError<ApiType>; /** - * Identity already created + * Already revoked. **/ - IdtyAlreadyCreated: AugmentedError<ApiType>; + AlreadyRevoked: AugmentedError<ApiType>; /** - * Identity already validated + * Can not revoke identity that never was member. **/ - IdtyAlreadyValidated: AugmentedError<ApiType>; + CanNotRevokeUnconfirmed: AugmentedError<ApiType>; /** - * You are not allowed to create a new identity now + * Can not revoke identity that never was member. **/ - IdtyCreationNotAllowed: AugmentedError<ApiType>; + CanNotRevokeUnvalidated: AugmentedError<ApiType>; /** - * Identity index not found + * Identity already confirmed. **/ - IdtyIndexNotFound: AugmentedError<ApiType>; - /** - * Identity name already exists - **/ - IdtyNameAlreadyExist: AugmentedError<ApiType>; - /** - * Invalid identity name - **/ - IdtyNameInvalid: AugmentedError<ApiType>; + IdtyAlreadyConfirmed: AugmentedError<ApiType>; /** - * Identity not confirmed by its owner + * Identity already created. **/ - IdtyNotConfirmedByOwner: AugmentedError<ApiType>; + IdtyAlreadyCreated: AugmentedError<ApiType>; /** - * Identity not found + * Identity index not found. **/ - IdtyNotFound: AugmentedError<ApiType>; + IdtyIndexNotFound: AugmentedError<ApiType>; /** - * Identity not member + * Identity name already exists. **/ - IdtyNotMember: AugmentedError<ApiType>; + IdtyNameAlreadyExist: AugmentedError<ApiType>; /** - * Identity not validated + * Invalid identity name. **/ - IdtyNotValidated: AugmentedError<ApiType>; + IdtyNameInvalid: AugmentedError<ApiType>; /** - * Identity not yet renewable + * Identity not found. **/ - IdtyNotYetRenewable: AugmentedError<ApiType>; + IdtyNotFound: AugmentedError<ApiType>; /** - * Revocation key is invalid + * Invalid revocation key. **/ InvalidRevocationKey: AugmentedError<ApiType>; /** - * payload signature is invalid + * Invalid payload signature. **/ InvalidSignature: AugmentedError<ApiType>; /** - * Identity creation period is not respected + * Issuer is not member and can not perform this action. **/ - NotRespectIdtyCreationPeriod: AugmentedError<ApiType>; + IssuerNotMember: AugmentedError<ApiType>; /** - * Not the same identity name + * Identity creation period is not respected. **/ - NotSameIdtyName: AugmentedError<ApiType>; + NotRespectIdtyCreationPeriod: AugmentedError<ApiType>; /** - * Owner key already recently changed + * Owner key already changed recently. **/ OwnerKeyAlreadyRecentlyChanged: AugmentedError<ApiType>; /** - * Owner key already used + * Owner key already used. **/ OwnerKeyAlreadyUsed: AugmentedError<ApiType>; /** - * Prohibited to revert to an old key + * Reverting to an old key is prohibited. **/ ProhibitedToRevertToAnOldKey: AugmentedError<ApiType>; - /** - * Right already added - **/ - RightAlreadyAdded: AugmentedError<ApiType>; - /** - * Right does not exist - **/ - RightNotExist: AugmentedError<ApiType>; /** * Generic error **/ @@ -355,29 +382,13 @@ declare module '@polkadot/api-base/types/errors' { }; membership: { /** - * Identity id not found - **/ - IdtyIdNotFound: AugmentedError<ApiType>; - /** - * Membership already acquired - **/ - MembershipAlreadyAcquired: AugmentedError<ApiType>; - /** - * Membership already requested + * Already member, can not add membership. **/ - MembershipAlreadyRequested: AugmentedError<ApiType>; + AlreadyMember: AugmentedError<ApiType>; /** - * Membership not found + * Membership not found, can not renew. **/ MembershipNotFound: AugmentedError<ApiType>; - /** - * Membership request not found - **/ - MembershipRequestNotFound: AugmentedError<ApiType>; - /** - * Origin not allowed to use this identity - **/ - OriginNotAllowedToUseIdty: AugmentedError<ApiType>; /** * Generic error **/ @@ -447,31 +458,31 @@ declare module '@polkadot/api-base/types/errors' { }; oneshotAccount: { /** - * Block height is in the future + * Block height is in the future. **/ BlockHeightInFuture: AugmentedError<ApiType>; /** - * Block height is too old + * Block height is too old. **/ BlockHeightTooOld: AugmentedError<ApiType>; /** - * Destination account does not exist + * Destination account does not exist. **/ DestAccountNotExist: AugmentedError<ApiType>; /** - * Destination account has balance less than existential deposit + * Destination account has a balance less than the existential deposit. **/ ExistentialDeposit: AugmentedError<ApiType>; /** - * Source account has insufficient balance + * Source account has insufficient balance. **/ InsufficientBalance: AugmentedError<ApiType>; /** - * Destination oneshot account already exists + * Destination oneshot account already exists. **/ OneshotAccountAlreadyCreated: AugmentedError<ApiType>; /** - * Source oneshot account does not exist + * Source oneshot account does not exist. **/ OneshotAccountNotExist: AugmentedError<ApiType>; /** @@ -504,6 +515,14 @@ declare module '@polkadot/api-base/types/errors' { * Preimage is too large to store on-chain. **/ TooBig: AugmentedError<ApiType>; + /** + * Too few hashes were requested to be upgraded (i.e. zero). + **/ + TooFew: AugmentedError<ApiType>; + /** + * More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once. + **/ + TooMany: AugmentedError<ApiType>; /** * Generic error **/ @@ -511,9 +530,9 @@ declare module '@polkadot/api-base/types/errors' { }; provideRandomness: { /** - * The queue is full, pleasy retry later + * Request randomness queue is full. **/ - FullQueue: AugmentedError<ApiType>; + QueueFull: AugmentedError<ApiType>; /** * Generic error **/ @@ -609,111 +628,67 @@ declare module '@polkadot/api-base/types/errors' { **/ [key: string]: AugmentedError<ApiType>; }; - smithCert: { - /** - * An identity cannot certify itself - **/ - CannotCertifySelf: AugmentedError<ApiType>; - /** - * This identity has already issued the maximum number of certifications - **/ - IssuedTooManyCert: AugmentedError<ApiType>; - /** - * Issuer not found - **/ - IssuerNotFound: AugmentedError<ApiType>; - /** - * Not enough certifications received - **/ - NotEnoughCertReceived: AugmentedError<ApiType>; - /** - * This identity has already issued a certification too recently - **/ - NotRespectCertPeriod: AugmentedError<ApiType>; - /** - * Generic error - **/ - [key: string]: AugmentedError<ApiType>; - }; - smithMembership: { + smithMembers: { /** - * Identity id not found + * Receiver must not already have this certification **/ - IdtyIdNotFound: AugmentedError<ApiType>; + CertificationAlreadyExists: AugmentedError<ApiType>; /** - * Membership already acquired + * Only online smiths can certify **/ - MembershipAlreadyAcquired: AugmentedError<ApiType>; + CertificationIsAOnlineSmithPrivilege: AugmentedError<ApiType>; /** - * Membership already requested + * Issuer must be a smith **/ - MembershipAlreadyRequested: AugmentedError<ApiType>; + CertificationIsASmithPrivilege: AugmentedError<ApiType>; /** - * Membership not found + * Certification cannot be made on someone who has not accepted an invitation **/ - MembershipNotFound: AugmentedError<ApiType>; + CertificationMustBeAgreed: AugmentedError<ApiType>; /** - * Membership request not found + * Smith cannot certify itself **/ - MembershipRequestNotFound: AugmentedError<ApiType>; + CertificationOfSelfIsForbidden: AugmentedError<ApiType>; /** - * Origin not allowed to use this identity + * Certification cannot be made on excluded **/ - OriginNotAllowedToUseIdty: AugmentedError<ApiType>; + CertificationOnExcludedIsForbidden: AugmentedError<ApiType>; /** - * Generic error + * Receiver must be invited by another smith **/ - [key: string]: AugmentedError<ApiType>; - }; - smithSubWot: { + CertificationReceiverMustHaveBeenInvited: AugmentedError<ApiType>; /** - * Can not issue cert to identity without membership or pending membership + * A smith has a limited stock of certifications **/ - CertToUndefined: AugmentedError<ApiType>; + CertificationStockFullyConsumed: AugmentedError<ApiType>; /** - * Distance has not been evaluated positively + * Invitation must not have been accepted yet **/ - DistanceNotOK: AugmentedError<ApiType>; + InvitationAlreadyAccepted: AugmentedError<ApiType>; /** - * Identity creation period not respected + * Invitation is reseverd to online smiths **/ - IdtyCreationPeriodNotRespected: AugmentedError<ApiType>; + InvitationIsAOnlineSmithPrivilege: AugmentedError<ApiType>; /** - * Identity not allowed to renew membership + * Invitation is reseverd to smiths **/ - IdtyNotAllowedToRenewMembership: AugmentedError<ApiType>; + InvitationIsASmithPrivilege: AugmentedError<ApiType>; /** - * Identity not allowed to request membership + * Invitation of an already known smith is forbidden except if it has been excluded **/ - IdtyNotAllowedToRequestMembership: AugmentedError<ApiType>; - /** - * Issuer or receiver not found - **/ - IdtyNotFound: AugmentedError<ApiType>; - /** - * Issuer can not emit cert because it is not validated - **/ - IssuerCanNotEmitCert: AugmentedError<ApiType>; - /** - * Max number of emitted certs reached - **/ - MaxEmittedCertsReached: AugmentedError<ApiType>; + InvitationOfExistingNonExcluded: AugmentedError<ApiType>; /** - * Not allowed to change identity address + * Invitation of a non-member (of the WoT) is forbidden **/ - NotAllowedToChangeIdtyAddress: AugmentedError<ApiType>; + InvitationOfNonMember: AugmentedError<ApiType>; /** - * Not allowed to remove identity + * Issuer must be known as a potential smith **/ - NotAllowedToRemoveIdty: AugmentedError<ApiType>; + OriginHasNeverBeenInvited: AugmentedError<ApiType>; /** - * Not enough certifications received to claim membership + * Issuer of anything (invitation, acceptance, certification) must have an identity ID **/ - NotEnoughCertsToClaimMembership: AugmentedError<ApiType>; - /** - * Not enough received certifications to create identity - **/ - NotEnoughReceivedCertsToCreateIdty: AugmentedError<ApiType>; + OriginMustHaveAnIdentity: AugmentedError<ApiType>; /** * Generic error **/ @@ -721,7 +696,7 @@ declare module '@polkadot/api-base/types/errors' { }; sudo: { /** - * Sender must be the Sudo account + * Sender must be the Sudo account. **/ RequireSudo: AugmentedError<ApiType>; /** @@ -736,7 +711,7 @@ declare module '@polkadot/api-base/types/errors' { CallFiltered: AugmentedError<ApiType>; /** * Failed to extract the runtime version from the new runtime. - * + * * Either calling `Core_version` or decoding `RuntimeVersion` failed. **/ FailedToExtractRuntimeVersion: AugmentedError<ApiType>; @@ -753,11 +728,19 @@ declare module '@polkadot/api-base/types/errors' { * There is a non-zero reference count preventing the account from being purged. **/ NonZeroRefCount: AugmentedError<ApiType>; + /** + * No upgrade authorized. + **/ + NothingAuthorized: AugmentedError<ApiType>; /** * The specification version is not allowed to decrease between the current runtime * and the new runtime. **/ SpecVersionNeedsToIncrease: AugmentedError<ApiType>; + /** + * The submitted code is not authorized. + **/ + Unauthorized: AugmentedError<ApiType>; /** * Generic error **/ @@ -780,6 +763,10 @@ declare module '@polkadot/api-base/types/errors' { * Account is not a member **/ NotMember: AugmentedError<ApiType>; + /** + * Prime account is not a member + **/ + PrimeAccountNotMember: AugmentedError<ApiType>; /** * Proposal must exist **/ @@ -810,6 +797,22 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError<ApiType>; }; treasury: { + /** + * The payment has already been attempted. + **/ + AlreadyAttempted: AugmentedError<ApiType>; + /** + * The spend is not yet eligible for payout. + **/ + EarlyPayout: AugmentedError<ApiType>; + /** + * The balance of the asset kind is not convertible to the balance of the native asset. + **/ + FailedToConvertBalance: AugmentedError<ApiType>; + /** + * The payment has neither failed nor succeeded yet. + **/ + Inconclusive: AugmentedError<ApiType>; /** * The spend origin is valid but the amount it is allowed to spend is lower than the * amount to be spent. @@ -820,13 +823,25 @@ declare module '@polkadot/api-base/types/errors' { **/ InsufficientProposersBalance: AugmentedError<ApiType>; /** - * No proposal or bounty at that index. + * No proposal, bounty or spend at that index. **/ InvalidIndex: AugmentedError<ApiType>; + /** + * The payout was not yet attempted/claimed. + **/ + NotAttempted: AugmentedError<ApiType>; + /** + * There was some issue with the mechanism of payment. + **/ + PayoutError: AugmentedError<ApiType>; /** * Proposal has not been approved. **/ ProposalNotApproved: AugmentedError<ApiType>; + /** + * The spend has expired and cannot be claimed. + **/ + SpendExpired: AugmentedError<ApiType>; /** * Too many approvals in the queue. **/ @@ -858,53 +873,37 @@ declare module '@polkadot/api-base/types/errors' { }; wot: { /** - * Can not issue cert to identity without membership or pending membership - **/ - CertToUndefined: AugmentedError<ApiType>; - /** - * Distance has not been evaluated positively - **/ - DistanceNotOK: AugmentedError<ApiType>; - /** - * Identity creation period not respected + * Identity creation period not respected. **/ IdtyCreationPeriodNotRespected: AugmentedError<ApiType>; /** - * Identity not allowed to renew membership - **/ - IdtyNotAllowedToRenewMembership: AugmentedError<ApiType>; - /** - * Identity not allowed to request membership - **/ - IdtyNotAllowedToRequestMembership: AugmentedError<ApiType>; - /** - * Issuer or receiver not found + * Issuer or receiver not found. **/ IdtyNotFound: AugmentedError<ApiType>; /** - * Issuer can not emit cert because it is not validated + * Issuer cannot emit a certification because it is not member. **/ - IssuerCanNotEmitCert: AugmentedError<ApiType>; + IssuerNotMember: AugmentedError<ApiType>; /** - * Max number of emitted certs reached + * Maximum number of emitted certifications reached. **/ MaxEmittedCertsReached: AugmentedError<ApiType>; /** - * Not allowed to change identity address + * Membership can only be renewed after an antispam delay. **/ - NotAllowedToChangeIdtyAddress: AugmentedError<ApiType>; + MembershipRenewalPeriodNotRespected: AugmentedError<ApiType>; /** - * Not allowed to remove identity + * Insufficient certifications received. **/ - NotAllowedToRemoveIdty: AugmentedError<ApiType>; + NotEnoughCerts: AugmentedError<ApiType>; /** - * Not enough certifications received to claim membership + * Insufficient received certifications to create identity. **/ - NotEnoughCertsToClaimMembership: AugmentedError<ApiType>; + NotEnoughReceivedCertsToCreateIdty: AugmentedError<ApiType>; /** - * Not enough received certifications to create identity + * Target status is incompatible with this operation. **/ - NotEnoughReceivedCertsToCreateIdty: AugmentedError<ApiType>; + TargetStatusInvalid: AugmentedError<ApiType>; /** * Generic error **/ diff --git a/src/interfaces/augment-api-events.ts b/src/interfaces/augment-api-events.ts index 0f82e34be882779126a24086c78a557ee5460af4..0ce0746229683bd813c9ad5ad02d84aa41bafccb 100644 --- a/src/interfaces/augment-api-events.ts +++ b/src/interfaces/augment-api-events.ts @@ -6,7 +6,7 @@ import '@polkadot/api-base/types/events'; import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types'; -import type { Bytes, Null, Option, Result, Text, U8aFixed, Vec, bool, u16, u32, u64 } from '@polkadot/types-codec'; +import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u16, u32, u64 } from '@polkadot/types-codec'; import type { ITuple } from '@polkadot/types-codec/types'; import type { AccountId32, H256 } from '@polkadot/types/interfaces/runtime'; @@ -18,22 +18,11 @@ declare module '@polkadot/api-base/types/events' { /** * account linked to identity **/ - AccountLinked: AugmentedEvent<ApiType, [who: AccountId32, identity: u32], { who: AccountId32; identity: u32 }>; + AccountLinked: AugmentedEvent<ApiType, [who: AccountId32, identity: u32], { who: AccountId32, identity: u32 }>; /** - * account unlinked from identity + * The account was unlinked from its identity. **/ AccountUnlinked: AugmentedEvent<ApiType, [AccountId32]>; - /** - * Force the destruction of an account because its free balance is insufficient to pay - * the account creation price. - * [who, balance] - **/ - ForceDestroy: AugmentedEvent<ApiType, [who: AccountId32, balance: u64], { who: AccountId32; balance: u64 }>; - /** - * Random id assigned - * [account_id, random_id] - **/ - RandomIdAssigned: AugmentedEvent<ApiType, [who: AccountId32, randomId: H256], { who: AccountId32; randomId: H256 }>; /** * Generic event **/ @@ -43,23 +32,15 @@ declare module '@polkadot/api-base/types/events' { /** * Swap created. **/ - NewSwap: AugmentedEvent< - ApiType, - [account: AccountId32, proof: U8aFixed, swap: PalletAtomicSwapPendingSwap], - { account: AccountId32; proof: U8aFixed; swap: PalletAtomicSwapPendingSwap } - >; + NewSwap: AugmentedEvent<ApiType, [account: AccountId32, proof: U8aFixed, swap: PalletAtomicSwapPendingSwap], { account: AccountId32, proof: U8aFixed, swap: PalletAtomicSwapPendingSwap }>; /** * Swap cancelled. **/ - SwapCancelled: AugmentedEvent<ApiType, [account: AccountId32, proof: U8aFixed], { account: AccountId32; proof: U8aFixed }>; + SwapCancelled: AugmentedEvent<ApiType, [account: AccountId32, proof: U8aFixed], { account: AccountId32, proof: U8aFixed }>; /** * Swap claimed. The last parameter indicates whether the execution succeeds. **/ - SwapClaimed: AugmentedEvent< - ApiType, - [account: AccountId32, proof: U8aFixed, success: bool], - { account: AccountId32; proof: U8aFixed; success: bool } - >; + SwapClaimed: AugmentedEvent<ApiType, [account: AccountId32, proof: U8aFixed, success: bool], { account: AccountId32, proof: U8aFixed, success: bool }>; /** * Generic event **/ @@ -67,36 +48,33 @@ declare module '@polkadot/api-base/types/events' { }; authorityMembers: { /** - * List of members who will enter the set of authorities at the next session. - * [Vec<member_id>] + * List of members scheduled to join the set of authorities in the next session. **/ - IncomingAuthorities: AugmentedEvent<ApiType, [Vec<u32>]>; + IncomingAuthorities: AugmentedEvent<ApiType, [members: Vec<u32>], { members: Vec<u32> }>; + /** + * A member has been blacklisted. + **/ + MemberAddedToBlacklist: AugmentedEvent<ApiType, [member: u32], { member: u32 }>; /** * A member will leave the set of authorities in 2 sessions. - * [member_id] **/ - MemberGoOffline: AugmentedEvent<ApiType, [u32]>; + MemberGoOffline: AugmentedEvent<ApiType, [member: u32], { member: u32 }>; /** - * A member will enter the set of authorities in 2 sessions. - * [member_id] + * A member will join the set of authorities in 2 sessions. **/ - MemberGoOnline: AugmentedEvent<ApiType, [u32]>; + MemberGoOnline: AugmentedEvent<ApiType, [member: u32], { member: u32 }>; /** - * A member has lost the right to be part of the authorities, - * this member will be removed from the authority set in 2 sessions. - * [member_id] + * A member, who no longer has authority rights, will be removed from the authority set in 2 sessions. **/ - MemberRemoved: AugmentedEvent<ApiType, [u32]>; + MemberRemoved: AugmentedEvent<ApiType, [member: u32], { member: u32 }>; /** * A member has been removed from the blacklist. - * [member_id] **/ - MemberRemovedFromBlackList: AugmentedEvent<ApiType, [u32]>; + MemberRemovedFromBlacklist: AugmentedEvent<ApiType, [member: u32], { member: u32 }>; /** - * List of members who will leave the set of authorities at the next session. - * [Vec<member_id>] + * List of members leaving the set of authorities in the next session. **/ - OutgoingAuthorities: AugmentedEvent<ApiType, [Vec<u32>]>; + OutgoingAuthorities: AugmentedEvent<ApiType, [members: Vec<u32>], { members: Vec<u32> }>; /** * Generic event **/ @@ -106,28 +84,28 @@ declare module '@polkadot/api-base/types/events' { /** * A balance was set by root. **/ - BalanceSet: AugmentedEvent<ApiType, [who: AccountId32, free: u64], { who: AccountId32; free: u64 }>; + BalanceSet: AugmentedEvent<ApiType, [who: AccountId32, free: u64], { who: AccountId32, free: u64 }>; /** * Some amount was burned from an account. **/ - Burned: AugmentedEvent<ApiType, [who: AccountId32, amount: u64], { who: AccountId32; amount: u64 }>; + Burned: AugmentedEvent<ApiType, [who: AccountId32, amount: u64], { who: AccountId32, amount: u64 }>; /** * Some amount was deposited (e.g. for transaction fees). **/ - Deposit: AugmentedEvent<ApiType, [who: AccountId32, amount: u64], { who: AccountId32; amount: u64 }>; + Deposit: AugmentedEvent<ApiType, [who: AccountId32, amount: u64], { who: AccountId32, amount: u64 }>; /** * An account was removed whose balance was non-zero but below ExistentialDeposit, * resulting in an outright loss. **/ - DustLost: AugmentedEvent<ApiType, [account: AccountId32, amount: u64], { account: AccountId32; amount: u64 }>; + DustLost: AugmentedEvent<ApiType, [account: AccountId32, amount: u64], { account: AccountId32, amount: u64 }>; /** * An account was created with some free balance. **/ - Endowed: AugmentedEvent<ApiType, [account: AccountId32, freeBalance: u64], { account: AccountId32; freeBalance: u64 }>; + Endowed: AugmentedEvent<ApiType, [account: AccountId32, freeBalance: u64], { account: AccountId32, freeBalance: u64 }>; /** * Some balance was frozen. **/ - Frozen: AugmentedEvent<ApiType, [who: AccountId32, amount: u64], { who: AccountId32; amount: u64 }>; + Frozen: AugmentedEvent<ApiType, [who: AccountId32, amount: u64], { who: AccountId32, amount: u64 }>; /** * Total issuance was increased by `amount`, creating a credit to be balanced. **/ @@ -135,11 +113,11 @@ declare module '@polkadot/api-base/types/events' { /** * Some balance was locked. **/ - Locked: AugmentedEvent<ApiType, [who: AccountId32, amount: u64], { who: AccountId32; amount: u64 }>; + Locked: AugmentedEvent<ApiType, [who: AccountId32, amount: u64], { who: AccountId32, amount: u64 }>; /** * Some amount was minted into an account. **/ - Minted: AugmentedEvent<ApiType, [who: AccountId32, amount: u64], { who: AccountId32; amount: u64 }>; + Minted: AugmentedEvent<ApiType, [who: AccountId32, amount: u64], { who: AccountId32, amount: u64 }>; /** * Total issuance was decreased by `amount`, creating a debt to be balanced. **/ @@ -147,44 +125,40 @@ declare module '@polkadot/api-base/types/events' { /** * Some balance was reserved (moved from free to reserved). **/ - Reserved: AugmentedEvent<ApiType, [who: AccountId32, amount: u64], { who: AccountId32; amount: u64 }>; + Reserved: AugmentedEvent<ApiType, [who: AccountId32, amount: u64], { who: AccountId32, amount: u64 }>; /** * Some balance was moved from the reserve of the first account to the second account. * Final argument indicates the destination balance type. **/ - ReserveRepatriated: AugmentedEvent< - ApiType, - [from: AccountId32, to: AccountId32, amount: u64, destinationStatus: FrameSupportTokensMiscBalanceStatus], - { from: AccountId32; to: AccountId32; amount: u64; destinationStatus: FrameSupportTokensMiscBalanceStatus } - >; + ReserveRepatriated: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, amount: u64, destinationStatus: FrameSupportTokensMiscBalanceStatus], { from: AccountId32, to: AccountId32, amount: u64, destinationStatus: FrameSupportTokensMiscBalanceStatus }>; /** * Some amount was restored into an account. **/ - Restored: AugmentedEvent<ApiType, [who: AccountId32, amount: u64], { who: AccountId32; amount: u64 }>; + Restored: AugmentedEvent<ApiType, [who: AccountId32, amount: u64], { who: AccountId32, amount: u64 }>; /** * Some amount was removed from the account (e.g. for misbehavior). **/ - Slashed: AugmentedEvent<ApiType, [who: AccountId32, amount: u64], { who: AccountId32; amount: u64 }>; + Slashed: AugmentedEvent<ApiType, [who: AccountId32, amount: u64], { who: AccountId32, amount: u64 }>; /** * Some amount was suspended from an account (it can be restored later). **/ - Suspended: AugmentedEvent<ApiType, [who: AccountId32, amount: u64], { who: AccountId32; amount: u64 }>; + Suspended: AugmentedEvent<ApiType, [who: AccountId32, amount: u64], { who: AccountId32, amount: u64 }>; /** * Some balance was thawed. **/ - Thawed: AugmentedEvent<ApiType, [who: AccountId32, amount: u64], { who: AccountId32; amount: u64 }>; + Thawed: AugmentedEvent<ApiType, [who: AccountId32, amount: u64], { who: AccountId32, amount: u64 }>; /** * Transfer succeeded. **/ - Transfer: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, amount: u64], { from: AccountId32; to: AccountId32; amount: u64 }>; + Transfer: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, amount: u64], { from: AccountId32, to: AccountId32, amount: u64 }>; /** * Some balance was unlocked. **/ - Unlocked: AugmentedEvent<ApiType, [who: AccountId32, amount: u64], { who: AccountId32; amount: u64 }>; + Unlocked: AugmentedEvent<ApiType, [who: AccountId32, amount: u64], { who: AccountId32, amount: u64 }>; /** * Some balance was unreserved (moved from reserved to free). **/ - Unreserved: AugmentedEvent<ApiType, [who: AccountId32, amount: u64], { who: AccountId32; amount: u64 }>; + Unreserved: AugmentedEvent<ApiType, [who: AccountId32, amount: u64], { who: AccountId32, amount: u64 }>; /** * An account was upgraded. **/ @@ -192,36 +166,43 @@ declare module '@polkadot/api-base/types/events' { /** * Some amount was withdrawn from the account (e.g. for transaction fees). **/ - Withdraw: AugmentedEvent<ApiType, [who: AccountId32, amount: u64], { who: AccountId32; amount: u64 }>; + Withdraw: AugmentedEvent<ApiType, [who: AccountId32, amount: u64], { who: AccountId32, amount: u64 }>; + /** + * Generic event + **/ + [key: string]: AugmentedEvent<ApiType>; + }; + certification: { + /** + * A new certification was added. + **/ + CertAdded: AugmentedEvent<ApiType, [issuer: u32, receiver: u32], { issuer: u32, receiver: u32 }>; + /** + * A certification was removed. + **/ + CertRemoved: AugmentedEvent<ApiType, [issuer: u32, receiver: u32, expiration: bool], { issuer: u32, receiver: u32, expiration: bool }>; + /** + * A certification was renewed. + **/ + CertRenewed: AugmentedEvent<ApiType, [issuer: u32, receiver: u32], { issuer: u32, receiver: u32 }>; /** * Generic event **/ [key: string]: AugmentedEvent<ApiType>; }; - cert: { + distance: { /** - * New certification - * [issuer, issuer_issued_count, receiver, receiver_received_count] + * Distance rule was found invalid. **/ - NewCert: AugmentedEvent< - ApiType, - [issuer: u32, issuerIssuedCount: u32, receiver: u32, receiverReceivedCount: u32], - { issuer: u32; issuerIssuedCount: u32; receiver: u32; receiverReceivedCount: u32 } - >; + EvaluatedInvalid: AugmentedEvent<ApiType, [idtyIndex: u32], { idtyIndex: u32 }>; /** - * Removed certification - * [issuer, issuer_issued_count, receiver, receiver_received_count, expiration] + * Distance rule was found valid. **/ - RemovedCert: AugmentedEvent< - ApiType, - [issuer: u32, issuerIssuedCount: u32, receiver: u32, receiverReceivedCount: u32, expiration: bool], - { issuer: u32; issuerIssuedCount: u32; receiver: u32; receiverReceivedCount: u32; expiration: bool } - >; + EvaluatedValid: AugmentedEvent<ApiType, [idtyIndex: u32], { idtyIndex: u32 }>; /** - * Renewed certification - * [issuer, receiver] + * A distance evaluation was requested. **/ - RenewedCert: AugmentedEvent<ApiType, [issuer: u32, receiver: u32], { issuer: u32; receiver: u32 }>; + EvaluationRequested: AugmentedEvent<ApiType, [idtyIndex: u32, who: AccountId32], { idtyIndex: u32, who: AccountId32 }>; /** * Generic event **/ @@ -231,11 +212,7 @@ declare module '@polkadot/api-base/types/events' { /** * New authority set has been applied. **/ - NewAuthorities: AugmentedEvent< - ApiType, - [authoritySet: Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>], - { authoritySet: Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>> } - >; + NewAuthorities: AugmentedEvent<ApiType, [authoritySet: Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>], { authoritySet: Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>> }>; /** * Current authority set has been paused. **/ @@ -250,33 +227,25 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent<ApiType>; }; identity: { - IdtyChangedOwnerKey: AugmentedEvent<ApiType, [idtyIndex: u32, newOwnerKey: AccountId32], { idtyIndex: u32; newOwnerKey: AccountId32 }>; + IdtyChangedOwnerKey: AugmentedEvent<ApiType, [idtyIndex: u32, newOwnerKey: AccountId32], { idtyIndex: u32, newOwnerKey: AccountId32 }>; /** - * An identity has been confirmed by its owner - * [idty_index, owner_key, name] + * An identity has been confirmed by its owner. **/ - IdtyConfirmed: AugmentedEvent< - ApiType, - [idtyIndex: u32, ownerKey: AccountId32, name: Text], - { idtyIndex: u32; ownerKey: AccountId32; name: Text } - >; + IdtyConfirmed: AugmentedEvent<ApiType, [idtyIndex: u32, ownerKey: AccountId32, name: Bytes], { idtyIndex: u32, ownerKey: AccountId32, name: Bytes }>; /** - * A new identity has been created - * [idty_index, owner_key] + * A new identity has been created. **/ - IdtyCreated: AugmentedEvent<ApiType, [idtyIndex: u32, ownerKey: AccountId32], { idtyIndex: u32; ownerKey: AccountId32 }>; + IdtyCreated: AugmentedEvent<ApiType, [idtyIndex: u32, ownerKey: AccountId32], { idtyIndex: u32, ownerKey: AccountId32 }>; /** - * An identity has been removed - * [idty_index] + * An identity has been removed. **/ - IdtyRemoved: AugmentedEvent< - ApiType, - [idtyIndex: u32, reason: PalletIdentityIdtyRemovalReason], - { idtyIndex: u32; reason: PalletIdentityIdtyRemovalReason } - >; + IdtyRemoved: AugmentedEvent<ApiType, [idtyIndex: u32, reason: PalletIdentityRemovalReason], { idtyIndex: u32, reason: PalletIdentityRemovalReason }>; /** - * An identity has been validated - * [idty_index] + * An identity has been revoked. + **/ + IdtyRevoked: AugmentedEvent<ApiType, [idtyIndex: u32, reason: PalletIdentityRevocationReason], { idtyIndex: u32, reason: PalletIdentityRevocationReason }>; + /** + * An identity has been validated. **/ IdtyValidated: AugmentedEvent<ApiType, [idtyIndex: u32], { idtyIndex: u32 }>; /** @@ -292,19 +261,11 @@ declare module '@polkadot/api-base/types/events' { /** * A new heartbeat was received from `AuthorityId`. **/ - HeartbeatReceived: AugmentedEvent< - ApiType, - [authorityId: PalletImOnlineSr25519AppSr25519Public], - { authorityId: PalletImOnlineSr25519AppSr25519Public } - >; + HeartbeatReceived: AugmentedEvent<ApiType, [authorityId: PalletImOnlineSr25519AppSr25519Public], { authorityId: PalletImOnlineSr25519AppSr25519Public }>; /** * At the end of the session, at least one validator was found to be offline. **/ - SomeOffline: AugmentedEvent< - ApiType, - [offline: Vec<ITuple<[AccountId32, CommonRuntimeEntitiesValidatorFullIdentification]>>], - { offline: Vec<ITuple<[AccountId32, CommonRuntimeEntitiesValidatorFullIdentification]>> } - >; + SomeOffline: AugmentedEvent<ApiType, [offline: Vec<ITuple<[AccountId32, CommonRuntimeEntitiesValidatorFullIdentification]>>], { offline: Vec<ITuple<[AccountId32, CommonRuntimeEntitiesValidatorFullIdentification]>> }>; /** * Generic event **/ @@ -312,35 +273,17 @@ declare module '@polkadot/api-base/types/events' { }; membership: { /** - * A membership was acquired - * [idty_id] - **/ - MembershipAcquired: AugmentedEvent<ApiType, [u32]>; - /** - * A membership expired - * [idty_id] + * A membership was added. **/ - MembershipExpired: AugmentedEvent<ApiType, [u32]>; + MembershipAdded: AugmentedEvent<ApiType, [member: u32, expireOn: u32], { member: u32, expireOn: u32 }>; /** - * A membership was renewed - * [idty_id] + * A membership was removed. **/ - MembershipRenewed: AugmentedEvent<ApiType, [u32]>; + MembershipRemoved: AugmentedEvent<ApiType, [member: u32, reason: PalletMembershipMembershipRemovalReason], { member: u32, reason: PalletMembershipMembershipRemovalReason }>; /** - * An membership was requested - * [idty_id] + * A membership was renewed. **/ - MembershipRequested: AugmentedEvent<ApiType, [u32]>; - /** - * A membership was revoked - * [idty_id] - **/ - MembershipRevoked: AugmentedEvent<ApiType, [u32]>; - /** - * A pending membership request has expired - * [idty_id] - **/ - PendingMembershipExpired: AugmentedEvent<ApiType, [u32]>; + MembershipRenewed: AugmentedEvent<ApiType, [member: u32, expireOn: u32], { member: u32, expireOn: u32 }>; /** * Generic event **/ @@ -350,47 +293,19 @@ declare module '@polkadot/api-base/types/events' { /** * A multisig operation has been approved by someone. **/ - MultisigApproval: AugmentedEvent< - ApiType, - [approving: AccountId32, timepoint: PalletMultisigTimepoint, multisig: AccountId32, callHash: U8aFixed], - { approving: AccountId32; timepoint: PalletMultisigTimepoint; multisig: AccountId32; callHash: U8aFixed } - >; + MultisigApproval: AugmentedEvent<ApiType, [approving: AccountId32, timepoint: PalletMultisigTimepoint, multisig: AccountId32, callHash: U8aFixed], { approving: AccountId32, timepoint: PalletMultisigTimepoint, multisig: AccountId32, callHash: U8aFixed }>; /** * A multisig operation has been cancelled. **/ - MultisigCancelled: AugmentedEvent< - ApiType, - [cancelling: AccountId32, timepoint: PalletMultisigTimepoint, multisig: AccountId32, callHash: U8aFixed], - { cancelling: AccountId32; timepoint: PalletMultisigTimepoint; multisig: AccountId32; callHash: U8aFixed } - >; + MultisigCancelled: AugmentedEvent<ApiType, [cancelling: AccountId32, timepoint: PalletMultisigTimepoint, multisig: AccountId32, callHash: U8aFixed], { cancelling: AccountId32, timepoint: PalletMultisigTimepoint, multisig: AccountId32, callHash: U8aFixed }>; /** * A multisig operation has been executed. **/ - MultisigExecuted: AugmentedEvent< - ApiType, - [ - approving: AccountId32, - timepoint: PalletMultisigTimepoint, - multisig: AccountId32, - callHash: U8aFixed, - result: Result<Null, SpRuntimeDispatchError>, - ], - { - approving: AccountId32; - timepoint: PalletMultisigTimepoint; - multisig: AccountId32; - callHash: U8aFixed; - result: Result<Null, SpRuntimeDispatchError>; - } - >; + MultisigExecuted: AugmentedEvent<ApiType, [approving: AccountId32, timepoint: PalletMultisigTimepoint, multisig: AccountId32, callHash: U8aFixed, result: Result<Null, SpRuntimeDispatchError>], { approving: AccountId32, timepoint: PalletMultisigTimepoint, multisig: AccountId32, callHash: U8aFixed, result: Result<Null, SpRuntimeDispatchError> }>; /** * 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: AccountId32, multisig: AccountId32, callHash: U8aFixed], { approving: AccountId32, multisig: AccountId32, callHash: U8aFixed }>; /** * Generic event **/ @@ -398,28 +313,27 @@ declare module '@polkadot/api-base/types/events' { }; offences: { /** - * There is an offence reported of the given `kind` happened at the `session_index` and - * (kind-specific) time slot. This event is not deposited for duplicate slashes. - * \[kind, timeslot\]. + * An offense was reported during the specified time slot. This event is not deposited for duplicate slashes. **/ - Offence: AugmentedEvent<ApiType, [kind: U8aFixed, timeslot: Bytes], { kind: U8aFixed; timeslot: Bytes }>; + Offence: AugmentedEvent<ApiType, [kind: U8aFixed, timeslot: Bytes], { kind: U8aFixed, timeslot: Bytes }>; /** * Generic event **/ [key: string]: AugmentedEvent<ApiType>; }; oneshotAccount: { - OneshotAccountConsumed: AugmentedEvent< - ApiType, - [account: AccountId32, dest1: ITuple<[AccountId32, u64]>, dest2: Option<ITuple<[AccountId32, u64]>>], - { account: AccountId32; dest1: ITuple<[AccountId32, u64]>; dest2: Option<ITuple<[AccountId32, u64]>> } - >; - OneshotAccountCreated: AugmentedEvent< - ApiType, - [account: AccountId32, balance: u64, creator: AccountId32], - { account: AccountId32; balance: u64; creator: AccountId32 } - >; - Withdraw: AugmentedEvent<ApiType, [account: AccountId32, balance: u64], { account: AccountId32; balance: u64 }>; + /** + * A oneshot account was consumed. + **/ + OneshotAccountConsumed: AugmentedEvent<ApiType, [account: AccountId32, dest1: ITuple<[AccountId32, u64]>, dest2: Option<ITuple<[AccountId32, u64]>>], { account: AccountId32, dest1: ITuple<[AccountId32, u64]>, dest2: Option<ITuple<[AccountId32, u64]>> }>; + /** + * A oneshot account was created. + **/ + OneshotAccountCreated: AugmentedEvent<ApiType, [account: AccountId32, balance: u64, creator: AccountId32], { account: AccountId32, balance: u64, creator: AccountId32 }>; + /** + * A withdrawal was executed on a oneshot account. + **/ + Withdraw: AugmentedEvent<ApiType, [account: AccountId32, balance: u64], { account: AccountId32, balance: u64 }>; /** * Generic event **/ @@ -445,17 +359,13 @@ declare module '@polkadot/api-base/types/events' { }; provideRandomness: { /** - * Filled randomness + * A request for randomness was fulfilled. **/ - FilledRandomness: AugmentedEvent<ApiType, [requestId: u64, randomness: H256], { requestId: u64; randomness: H256 }>; + FilledRandomness: AugmentedEvent<ApiType, [requestId: u64, randomness: H256], { requestId: u64, randomness: H256 }>; /** - * Requested randomness + * A request for randomness was made. **/ - RequestedRandomness: AugmentedEvent< - ApiType, - [requestId: u64, salt: H256, r_type: PalletProvideRandomnessRandomnessType], - { requestId: u64; salt: H256; r_type: PalletProvideRandomnessRandomnessType } - >; + RequestedRandomness: AugmentedEvent<ApiType, [requestId: u64, salt: H256, r_type: PalletProvideRandomnessRandomnessType], { requestId: u64, salt: H256, r_type: PalletProvideRandomnessRandomnessType }>; /** * Generic event **/ @@ -465,19 +375,11 @@ declare module '@polkadot/api-base/types/events' { /** * 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: AccountId32, proxy: AccountId32, callHash: H256], { real: AccountId32, proxy: AccountId32, callHash: H256 }>; /** * A proxy was added. **/ - ProxyAdded: AugmentedEvent< - ApiType, - [delegator: AccountId32, delegatee: AccountId32, proxyType: GdevRuntimeProxyType, delay: u32], - { delegator: AccountId32; delegatee: AccountId32; proxyType: GdevRuntimeProxyType; delay: u32 } - >; + ProxyAdded: AugmentedEvent<ApiType, [delegator: AccountId32, delegatee: AccountId32, proxyType: GdevRuntimeProxyType, delay: u32], { delegator: AccountId32, delegatee: AccountId32, proxyType: GdevRuntimeProxyType, delay: u32 }>; /** * A proxy was executed correctly, with the given. **/ @@ -485,20 +387,12 @@ declare module '@polkadot/api-base/types/events' { /** * A proxy was removed. **/ - ProxyRemoved: AugmentedEvent< - ApiType, - [delegator: AccountId32, delegatee: AccountId32, proxyType: GdevRuntimeProxyType, delay: u32], - { delegator: AccountId32; delegatee: AccountId32; proxyType: GdevRuntimeProxyType; delay: u32 } - >; + ProxyRemoved: AugmentedEvent<ApiType, [delegator: AccountId32, delegatee: AccountId32, proxyType: GdevRuntimeProxyType, delay: u32], { delegator: AccountId32, delegatee: AccountId32, proxyType: GdevRuntimeProxyType, delay: u32 }>; /** * A pure account has been created by new proxy with given * disambiguation index and proxy type. **/ - PureCreated: AugmentedEvent< - ApiType, - [pure: AccountId32, who: AccountId32, proxyType: GdevRuntimeProxyType, disambiguationIndex: u16], - { pure: AccountId32; who: AccountId32; proxyType: GdevRuntimeProxyType; disambiguationIndex: u16 } - >; + PureCreated: AugmentedEvent<ApiType, [pure: AccountId32, who: AccountId32, proxyType: GdevRuntimeProxyType, disambiguationIndex: u16], { pure: AccountId32, who: AccountId32, proxyType: GdevRuntimeProxyType, disambiguationIndex: u16 }>; /** * Generic event **/ @@ -506,23 +400,25 @@ declare module '@polkadot/api-base/types/events' { }; quota: { /** - * No more currency available for refund + * No more currency available for refund. + * This scenario should never occur if the fees are intended for the refund account. **/ NoMoreCurrencyForRefund: AugmentedEvent<ApiType, []>; /** - * No quota for identity + * No more quota available for refund. **/ NoQuotaForIdty: AugmentedEvent<ApiType, [u32]>; /** - * Refunded fees to an account + * Transaction fees were refunded. **/ - Refunded: AugmentedEvent<ApiType, [who: AccountId32, identity: u32, amount: u64], { who: AccountId32; identity: u32; amount: u64 }>; + Refunded: AugmentedEvent<ApiType, [who: AccountId32, identity: u32, amount: u64], { who: AccountId32, identity: u32, amount: u64 }>; /** - * Refund failed + * The refund has failed. + * This scenario should rarely occur, except when the account was destroyed in the interim between the request and the refund. **/ RefundFailed: AugmentedEvent<ApiType, [AccountId32]>; /** - * Refund queue full + * Refund queue was full. **/ RefundQueueFull: AugmentedEvent<ApiType, []>; /** @@ -534,35 +430,27 @@ declare module '@polkadot/api-base/types/events' { /** * The call for the provided hash was not found so the task has been aborted. **/ - CallUnavailable: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>], { task: ITuple<[u32, u32]>; id: Option<U8aFixed> }>; + CallUnavailable: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>], { task: ITuple<[u32, u32]>, id: Option<U8aFixed> }>; /** * Canceled some task. **/ - Canceled: AugmentedEvent<ApiType, [when: u32, index: u32], { when: u32; index: u32 }>; + Canceled: AugmentedEvent<ApiType, [when: u32, index: u32], { when: u32, index: u32 }>; /** * Dispatched some task. **/ - Dispatched: AugmentedEvent< - ApiType, - [task: ITuple<[u32, u32]>, id: Option<U8aFixed>, result: Result<Null, SpRuntimeDispatchError>], - { task: ITuple<[u32, u32]>; id: Option<U8aFixed>; result: Result<Null, SpRuntimeDispatchError> } - >; + Dispatched: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>, result: Result<Null, SpRuntimeDispatchError>], { task: ITuple<[u32, u32]>, id: Option<U8aFixed>, result: Result<Null, SpRuntimeDispatchError> }>; /** * The given task was unable to be renewed since the agenda is full at that block. **/ - PeriodicFailed: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>], { task: ITuple<[u32, u32]>; id: Option<U8aFixed> }>; + PeriodicFailed: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>], { task: ITuple<[u32, u32]>, id: Option<U8aFixed> }>; /** * The given task can never be executed since it is overweight. **/ - PermanentlyOverweight: AugmentedEvent< - ApiType, - [task: ITuple<[u32, u32]>, id: Option<U8aFixed>], - { task: ITuple<[u32, u32]>; id: Option<U8aFixed> } - >; + PermanentlyOverweight: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>], { task: ITuple<[u32, u32]>, id: Option<U8aFixed> }>; /** * Scheduled some task. **/ - Scheduled: AugmentedEvent<ApiType, [when: u32, index: u32], { when: u32; index: u32 }>; + Scheduled: AugmentedEvent<ApiType, [when: u32, index: u32], { when: u32, index: u32 }>; /** * Generic event **/ @@ -579,66 +467,31 @@ declare module '@polkadot/api-base/types/events' { **/ [key: string]: AugmentedEvent<ApiType>; }; - smithCert: { - /** - * New certification - * [issuer, issuer_issued_count, receiver, receiver_received_count] - **/ - NewCert: AugmentedEvent< - ApiType, - [issuer: u32, issuerIssuedCount: u32, receiver: u32, receiverReceivedCount: u32], - { issuer: u32; issuerIssuedCount: u32; receiver: u32; receiverReceivedCount: u32 } - >; - /** - * Removed certification - * [issuer, issuer_issued_count, receiver, receiver_received_count, expiration] - **/ - RemovedCert: AugmentedEvent< - ApiType, - [issuer: u32, issuerIssuedCount: u32, receiver: u32, receiverReceivedCount: u32, expiration: bool], - { issuer: u32; issuerIssuedCount: u32; receiver: u32; receiverReceivedCount: u32; expiration: bool } - >; - /** - * Renewed certification - * [issuer, receiver] - **/ - RenewedCert: AugmentedEvent<ApiType, [issuer: u32, receiver: u32], { issuer: u32; receiver: u32 }>; - /** - * Generic event - **/ - [key: string]: AugmentedEvent<ApiType>; - }; - smithMembership: { + smithMembers: { /** - * A membership was acquired - * [idty_id] + * The invitation has been accepted. **/ - MembershipAcquired: AugmentedEvent<ApiType, [u32]>; + InvitationAccepted: AugmentedEvent<ApiType, [idtyIndex: u32], { idtyIndex: u32 }>; /** - * A membership expired - * [idty_id] + * An identity is being inivited to become a smith. **/ - MembershipExpired: AugmentedEvent<ApiType, [u32]>; + InvitationSent: AugmentedEvent<ApiType, [receiver: u32, issuer: u32], { receiver: u32, issuer: u32 }>; /** - * A membership was renewed - * [idty_id] + * Certification received **/ - MembershipRenewed: AugmentedEvent<ApiType, [u32]>; + SmithCertAdded: AugmentedEvent<ApiType, [receiver: u32, issuer: u32], { receiver: u32, issuer: u32 }>; /** - * An membership was requested - * [idty_id] + * Certification lost **/ - MembershipRequested: AugmentedEvent<ApiType, [u32]>; + SmithCertRemoved: AugmentedEvent<ApiType, [receiver: u32, issuer: u32], { receiver: u32, issuer: u32 }>; /** - * A membership was revoked - * [idty_id] + * A smith gathered enough certifications to become an authority (can call `go_online()`). **/ - MembershipRevoked: AugmentedEvent<ApiType, [u32]>; + SmithMembershipAdded: AugmentedEvent<ApiType, [idtyIndex: u32], { idtyIndex: u32 }>; /** - * A pending membership request has expired - * [idty_id] + * A smith has been removed from the smiths set. **/ - PendingMembershipExpired: AugmentedEvent<ApiType, [u32]>; + SmithMembershipRemoved: AugmentedEvent<ApiType, [idtyIndex: u32], { idtyIndex: u32 }>; /** * Generic event **/ @@ -646,15 +499,19 @@ declare module '@polkadot/api-base/types/events' { }; sudo: { /** - * The \[sudoer\] just switched identity; the old key is supplied if one existed. + * The sudo key has been updated. **/ - KeyChanged: AugmentedEvent<ApiType, [oldSudoer: Option<AccountId32>], { oldSudoer: Option<AccountId32> }>; + KeyChanged: AugmentedEvent<ApiType, [old: Option<AccountId32>, new_: AccountId32], { old: Option<AccountId32>, new_: AccountId32 }>; /** - * A sudo just took place. \[result\] + * The key was permanently removed. + **/ + KeyRemoved: AugmentedEvent<ApiType, []>; + /** + * A sudo call just took place. **/ Sudid: AugmentedEvent<ApiType, [sudoResult: Result<Null, SpRuntimeDispatchError>], { sudoResult: Result<Null, SpRuntimeDispatchError> }>; /** - * A sudo just took place. \[result\] + * A [sudo_as](Pallet::sudo_as) call just took place. **/ SudoAsDone: AugmentedEvent<ApiType, [sudoResult: Result<Null, SpRuntimeDispatchError>], { sudoResult: Result<Null, SpRuntimeDispatchError> }>; /** @@ -670,11 +527,7 @@ declare module '@polkadot/api-base/types/events' { /** * An extrinsic failed. **/ - ExtrinsicFailed: AugmentedEvent< - ApiType, - [dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSupportDispatchDispatchInfo], - { dispatchError: SpRuntimeDispatchError; dispatchInfo: FrameSupportDispatchDispatchInfo } - >; + ExtrinsicFailed: AugmentedEvent<ApiType, [dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSupportDispatchDispatchInfo], { dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSupportDispatchDispatchInfo }>; /** * An extrinsic completed successfully. **/ @@ -690,7 +543,11 @@ declare module '@polkadot/api-base/types/events' { /** * On on-chain remark happened. **/ - Remarked: AugmentedEvent<ApiType, [sender: AccountId32, hash_: H256], { sender: AccountId32; hash_: H256 }>; + Remarked: AugmentedEvent<ApiType, [sender: AccountId32, hash_: H256], { sender: AccountId32, hash_: H256 }>; + /** + * An upgrade was authorized. + **/ + UpgradeAuthorized: AugmentedEvent<ApiType, [codeHash: H256, checkVersion: bool], { codeHash: H256, checkVersion: bool }>; /** * Generic event **/ @@ -704,7 +561,7 @@ declare module '@polkadot/api-base/types/events' { /** * A proposal was closed because its threshold was reached or after its duration was up. **/ - Closed: AugmentedEvent<ApiType, [proposalHash: H256, yes: u32, no: u32], { proposalHash: H256; yes: u32; no: u32 }>; + Closed: AugmentedEvent<ApiType, [proposalHash: H256, yes: u32, no: u32], { proposalHash: H256, yes: u32, no: u32 }>; /** * A motion was not approved by the required threshold. **/ @@ -712,37 +569,21 @@ declare module '@polkadot/api-base/types/events' { /** * A motion was executed; result will be `Ok` if it returned without error. **/ - Executed: AugmentedEvent< - ApiType, - [proposalHash: H256, result: Result<Null, SpRuntimeDispatchError>], - { proposalHash: H256; result: Result<Null, SpRuntimeDispatchError> } - >; + Executed: AugmentedEvent<ApiType, [proposalHash: H256, result: Result<Null, SpRuntimeDispatchError>], { proposalHash: H256, result: Result<Null, SpRuntimeDispatchError> }>; /** * A single member did some action; result will be `Ok` if it returned without error. **/ - MemberExecuted: AugmentedEvent< - ApiType, - [proposalHash: H256, result: Result<Null, SpRuntimeDispatchError>], - { proposalHash: H256; result: Result<Null, SpRuntimeDispatchError> } - >; + MemberExecuted: AugmentedEvent<ApiType, [proposalHash: H256, result: Result<Null, SpRuntimeDispatchError>], { proposalHash: H256, result: Result<Null, SpRuntimeDispatchError> }>; /** * A motion (given hash) has been proposed (by given account) with a threshold (given * `MemberCount`). **/ - Proposed: AugmentedEvent< - ApiType, - [account: AccountId32, proposalIndex: u32, proposalHash: H256, threshold: u32], - { account: AccountId32; proposalIndex: u32; proposalHash: H256; threshold: u32 } - >; + Proposed: AugmentedEvent<ApiType, [account: AccountId32, proposalIndex: u32, proposalHash: H256, threshold: u32], { account: AccountId32, proposalIndex: u32, proposalHash: H256, threshold: u32 }>; /** * A motion (given hash) has been voted on by given account, leaving * a tally (yes votes and no votes given respectively as `MemberCount`). **/ - Voted: AugmentedEvent< - ApiType, - [account: AccountId32, proposalHash: H256, voted: bool, yes: u32, no: u32], - { account: AccountId32; proposalHash: H256; voted: bool; yes: u32; no: u32 } - >; + Voted: AugmentedEvent<ApiType, [account: AccountId32, proposalHash: H256, voted: bool, yes: u32, no: u32], { account: AccountId32, proposalHash: H256, voted: bool, yes: u32, no: u32 }>; /** * Generic event **/ @@ -753,21 +594,25 @@ declare module '@polkadot/api-base/types/events' { * A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee, * has been paid by `who`. **/ - TransactionFeePaid: AugmentedEvent<ApiType, [who: AccountId32, actualFee: u64, tip: u64], { who: AccountId32; actualFee: u64; tip: u64 }>; + TransactionFeePaid: AugmentedEvent<ApiType, [who: AccountId32, actualFee: u64, tip: u64], { who: AccountId32, actualFee: u64, tip: u64 }>; /** * Generic event **/ [key: string]: AugmentedEvent<ApiType>; }; treasury: { + /** + * A new asset spend proposal has been approved. + **/ + AssetSpendApproved: AugmentedEvent<ApiType, [index: u32, assetKind: Null, amount: u64, beneficiary: AccountId32, validFrom: u32, expireAt: u32], { index: u32, assetKind: Null, amount: u64, beneficiary: AccountId32, validFrom: u32, expireAt: u32 }>; + /** + * An approved spend was voided. + **/ + AssetSpendVoided: AugmentedEvent<ApiType, [index: u32], { index: u32 }>; /** * Some funds have been allocated. **/ - Awarded: AugmentedEvent< - ApiType, - [proposalIndex: u32, award: u64, account: AccountId32], - { proposalIndex: u32; award: u64; account: AccountId32 } - >; + Awarded: AugmentedEvent<ApiType, [proposalIndex: u32, award: u64, account: AccountId32], { proposalIndex: u32, award: u64, account: AccountId32 }>; /** * Some of our funds have been burnt. **/ @@ -776,6 +621,14 @@ declare module '@polkadot/api-base/types/events' { * Some funds have been deposited. **/ Deposit: AugmentedEvent<ApiType, [value: u64], { value: u64 }>; + /** + * A payment happened. + **/ + Paid: AugmentedEvent<ApiType, [index: u32, paymentId: Null], { index: u32, paymentId: Null }>; + /** + * A payment failed and can be retried. + **/ + PaymentFailed: AugmentedEvent<ApiType, [index: u32, paymentId: Null], { index: u32, paymentId: Null }>; /** * New proposal. **/ @@ -783,7 +636,7 @@ declare module '@polkadot/api-base/types/events' { /** * A proposal was rejected; funds were slashed. **/ - Rejected: AugmentedEvent<ApiType, [proposalIndex: u32, slashed: u64], { proposalIndex: u32; slashed: u64 }>; + Rejected: AugmentedEvent<ApiType, [proposalIndex: u32, slashed: u64], { proposalIndex: u32, slashed: u64 }>; /** * Spending has finished; this is the amount that rolls over until next spend. **/ @@ -791,19 +644,20 @@ declare module '@polkadot/api-base/types/events' { /** * A new spend proposal has been approved. **/ - SpendApproved: AugmentedEvent< - ApiType, - [proposalIndex: u32, amount: u64, beneficiary: AccountId32], - { proposalIndex: u32; amount: u64; beneficiary: AccountId32 } - >; + SpendApproved: AugmentedEvent<ApiType, [proposalIndex: u32, amount: u64, beneficiary: AccountId32], { proposalIndex: u32, amount: u64, beneficiary: AccountId32 }>; /** * We have ended a spend period and will now allocate funds. **/ Spending: AugmentedEvent<ApiType, [budgetRemaining: u64], { budgetRemaining: u64 }>; + /** + * A spend was processed and removed from the storage. It might have been successfully + * paid or it may have expired. + **/ + SpendProcessed: AugmentedEvent<ApiType, [index: u32], { index: u32 }>; /** * The inactive funds of the pallet have been updated. **/ - UpdatedInactive: AugmentedEvent<ApiType, [reactivated: u64, deactivated: u64], { reactivated: u64; deactivated: u64 }>; + UpdatedInactive: AugmentedEvent<ApiType, [reactivated: u64, deactivated: u64], { reactivated: u64, deactivated: u64 }>; /** * Generic event **/ @@ -813,27 +667,19 @@ declare module '@polkadot/api-base/types/events' { /** * A new universal dividend is created. **/ - NewUdCreated: AugmentedEvent< - ApiType, - [amount: u64, index: u16, monetaryMass: u64, membersCount: u64], - { amount: u64; index: u16; monetaryMass: u64; membersCount: u64 } - >; + NewUdCreated: AugmentedEvent<ApiType, [amount: u64, index: u16, monetaryMass: u64, membersCount: u64], { amount: u64, index: u16, monetaryMass: u64, membersCount: u64 }>; /** * The universal dividend has been re-evaluated. **/ - UdReevalued: AugmentedEvent< - ApiType, - [newUdAmount: u64, monetaryMass: u64, membersCount: u64], - { newUdAmount: u64; monetaryMass: u64; membersCount: u64 } - >; + UdReevalued: AugmentedEvent<ApiType, [newUdAmount: u64, monetaryMass: u64, membersCount: u64], { newUdAmount: u64, monetaryMass: u64, membersCount: u64 }>; /** * DUs were automatically transferred as part of a member removal. **/ - UdsAutoPaidAtRemoval: AugmentedEvent<ApiType, [count: u16, total: u64, who: AccountId32], { count: u16; total: u64; who: AccountId32 }>; + UdsAutoPaid: AugmentedEvent<ApiType, [count: u16, total: u64, who: AccountId32], { count: u16, total: u64, who: AccountId32 }>; /** * A member claimed his UDs. **/ - UdsClaimed: AugmentedEvent<ApiType, [count: u16, total: u64, who: AccountId32], { count: u16; total: u64; who: AccountId32 }>; + UdsClaimed: AugmentedEvent<ApiType, [count: u16, total: u64, who: AccountId32], { count: u16, total: u64, who: AccountId32 }>; /** * Generic event **/ @@ -862,7 +708,7 @@ declare module '@polkadot/api-base/types/events' { * Batch of dispatches did not complete fully. Index of first failing dispatch given, as * well as the error. **/ - BatchInterrupted: AugmentedEvent<ApiType, [index: u32, error: SpRuntimeDispatchError], { index: u32; error: SpRuntimeDispatchError }>; + BatchInterrupted: AugmentedEvent<ApiType, [index: u32, error: SpRuntimeDispatchError], { index: u32, error: SpRuntimeDispatchError }>; /** * A call was dispatched. **/ diff --git a/src/interfaces/augment-api-query.ts b/src/interfaces/augment-api-query.ts index 9ce4fdd14da2f96053c6a9a12c1c320d2f5fa156..51912425e67e01f58e8a5158670c9e4e9538c93e 100644 --- a/src/interfaces/augment-api-query.ts +++ b/src/interfaces/augment-api-query.ts @@ -6,7 +6,7 @@ import '@polkadot/api-base/types/storage'; import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types'; -import type { Bytes, Null, Option, Text, U8aFixed, Vec, WrapperOpaque, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec'; +import type { Bytes, Null, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec'; import type { AnyNumber, ITuple } from '@polkadot/types-codec/types'; import type { AccountId32, Call, H256 } from '@polkadot/types/interfaces/runtime'; import type { Observable } from '@polkadot/types/types'; @@ -16,39 +16,29 @@ export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorage declare module '@polkadot/api-base/types/storage' { interface AugmentedQueries<ApiType extends ApiTypes> { - account: { - pendingNewAccounts: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Null>>, [AccountId32]> & - QueryableStorageEntry<ApiType, [AccountId32]>; - pendingRandomIdAssignments: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<AccountId32>>, [u64]> & - QueryableStorageEntry<ApiType, [u64]>; + atomicSwap: { + pendingSwaps: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: U8aFixed | string | Uint8Array) => Observable<Option<PalletAtomicSwapPendingSwap>>, [AccountId32, U8aFixed]> & QueryableStorageEntry<ApiType, [AccountId32, U8aFixed]>; /** * Generic query **/ [key: string]: QueryableStorageEntry<ApiType>; }; - atomicSwap: { - pendingSwaps: AugmentedQuery< - ApiType, - (arg1: AccountId32 | string | Uint8Array, arg2: U8aFixed | string | Uint8Array) => Observable<Option<PalletAtomicSwapPendingSwap>>, - [AccountId32, U8aFixed] - > & - QueryableStorageEntry<ApiType, [AccountId32, U8aFixed]>; + authorityDiscovery: { /** - * Generic query + * Keys of the current authority set. **/ - [key: string]: QueryableStorageEntry<ApiType>; - }; - authorityMembers: { + keys: AugmentedQuery<ApiType, () => Observable<Vec<SpAuthorityDiscoveryAppPublic>>, []> & QueryableStorageEntry<ApiType, []>; /** - * maps member id to account id + * Keys of the next authority set. **/ - accountIdOf: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<AccountId32>>, [u32]> & - QueryableStorageEntry<ApiType, [u32]>; + nextKeys: AugmentedQuery<ApiType, () => Observable<Vec<SpAuthorityDiscoveryAppPublic>>, []> & QueryableStorageEntry<ApiType, []>; /** - * count the number of authorities + * Generic query **/ - authoritiesCounter: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>; - blackList: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>; + [key: string]: QueryableStorageEntry<ApiType>; + }; + authorityMembers: { + blacklist: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>; /** * list incoming authorities **/ @@ -56,8 +46,7 @@ declare module '@polkadot/api-base/types/storage' { /** * maps member id to member data **/ - members: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletAuthorityMembersMemberData>>, [u32]> & - QueryableStorageEntry<ApiType, [u32]>; + members: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletAuthorityMembersMemberData>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>; /** * list online authorities **/ @@ -89,7 +78,7 @@ declare module '@polkadot/api-base/types/storage' { /** * This field should always be populated during block processing unless * secondary plain slots are enabled (which don't contain a VRF output). - * + * * It is set in `on_finalize`, before it will contain the value from the last block. **/ authorVrfRandomness: AugmentedQuery<ApiType, () => Observable<Option<U8aFixed>>, []> & QueryableStorageEntry<ApiType, []>; @@ -123,11 +112,10 @@ declare module '@polkadot/api-base/types/storage' { * Temporary value (cleared at block finalization) which is `Some` * if per-block initialization has already been called for current block. **/ - initialized: AugmentedQuery<ApiType, () => Observable<Option<Option<SpConsensusBabeDigestsPreDigest>>>, []> & - QueryableStorageEntry<ApiType, []>; + initialized: AugmentedQuery<ApiType, () => Observable<Option<Option<SpConsensusBabeDigestsPreDigest>>>, []> & QueryableStorageEntry<ApiType, []>; /** * How late the current block is compared to its parent. - * + * * This entry is populated as part of block execution and is cleaned up * on block finalization. Querying this storage entry outside of block * execution context should always yield zero. @@ -136,14 +124,12 @@ declare module '@polkadot/api-base/types/storage' { /** * Next epoch authorities. **/ - nextAuthorities: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[SpConsensusBabeAppPublic, u64]>>>, []> & - QueryableStorageEntry<ApiType, []>; + nextAuthorities: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[SpConsensusBabeAppPublic, u64]>>>, []> & QueryableStorageEntry<ApiType, []>; /** * The configuration for the next epoch, `None` if the config will not change * (you can fallback to `EpochConfig` instead in that case). **/ - nextEpochConfig: AugmentedQuery<ApiType, () => Observable<Option<SpConsensusBabeBabeEpochConfiguration>>, []> & - QueryableStorageEntry<ApiType, []>; + nextEpochConfig: AugmentedQuery<ApiType, () => Observable<Option<SpConsensusBabeBabeEpochConfiguration>>, []> & QueryableStorageEntry<ApiType, []>; /** * Next epoch randomness. **/ @@ -151,13 +137,12 @@ declare module '@polkadot/api-base/types/storage' { /** * Pending epoch configuration change that will be applied when the next epoch is enacted. **/ - pendingEpochConfigChange: AugmentedQuery<ApiType, () => Observable<Option<SpConsensusBabeDigestsNextConfigDescriptor>>, []> & - QueryableStorageEntry<ApiType, []>; + pendingEpochConfigChange: AugmentedQuery<ApiType, () => Observable<Option<SpConsensusBabeDigestsNextConfigDescriptor>>, []> & QueryableStorageEntry<ApiType, []>; /** * The epoch randomness for the *current* epoch. - * + * * # Security - * + * * This MUST NOT be used for gambling, as it can be influenced by a * malicious validator in the short term. It MAY be used in many * cryptographic protocols, however, so long as one remembers that this @@ -168,11 +153,11 @@ declare module '@polkadot/api-base/types/storage' { randomness: AugmentedQuery<ApiType, () => Observable<U8aFixed>, []> & QueryableStorageEntry<ApiType, []>; /** * Randomness under construction. - * + * * We make a trade-off between storage accesses and list length. * We store the under-construction randomness in segments of up to * `UNDER_CONSTRUCTION_SEGMENT_LENGTH`. - * + * * Once a segment reaches this length, we begin the next one. * We reset all segments and return to `0` at the beginning of every * epoch. @@ -181,7 +166,7 @@ declare module '@polkadot/api-base/types/storage' { /** * A list of the last 100 skipped epochs and the corresponding session index * when the epoch was skipped. - * + * * This is only used for validating equivocation proofs. An equivocation proof * must contains a key-ownership proof for a given session, therefore we need a * way to tie together sessions and epoch indices, i.e. we need to validate that @@ -192,8 +177,7 @@ declare module '@polkadot/api-base/types/storage' { /** * TWOX-NOTE: `SegmentIndex` is an increasing integer, so this is okay. **/ - underConstruction: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<U8aFixed>>, [u32]> & - QueryableStorageEntry<ApiType, [u32]>; + underConstruction: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<U8aFixed>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>; /** * Generic query **/ @@ -202,42 +186,39 @@ declare module '@polkadot/api-base/types/storage' { balances: { /** * The Balances pallet example of storing the balance of an account. - * + * * # Example - * + * * ```nocompile * impl pallet_balances::Config for Runtime { * type AccountStore = StorageMapShim<Self::Account<Runtime>, frame_system::Provider<Runtime>, AccountId, Self::AccountData<Balance>> * } * ``` - * + * * You can also store the balance of an account in the `System` pallet. - * + * * # Example - * + * * ```nocompile * impl pallet_balances::Config for Runtime { * type AccountStore = System * } * ``` - * + * * But this comes with tradeoffs, storing account balances in the system pallet stores * `frame_system` data alongside the account data contrary to storing account balances in the * `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. **/ - account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>, [AccountId32]> & - QueryableStorageEntry<ApiType, [AccountId32]>; + account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>; /** * Freeze locks on account balances. **/ - freezes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesIdAmount>>, [AccountId32]> & - QueryableStorageEntry<ApiType, [AccountId32]>; + freezes: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesIdAmount>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>; /** * Holds on account balances. **/ - holds: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesIdAmount>>, [AccountId32]> & - QueryableStorageEntry<ApiType, [AccountId32]>; + holds: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesIdAmount>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>; /** * The total units of outstanding deactivated balance in the system. **/ @@ -246,13 +227,11 @@ declare module '@polkadot/api-base/types/storage' { * Any liquidity locks on some account balances. * NOTE: Should only be accessed when setting, changing and freeing a lock. **/ - locks: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>, [AccountId32]> & - QueryableStorageEntry<ApiType, [AccountId32]>; + locks: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesBalanceLock>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>; /** * Named reserves on some account balances. **/ - reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [AccountId32]> & - QueryableStorageEntry<ApiType, [AccountId32]>; + reserves: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<PalletBalancesReserveData>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>; /** * The total units issued in the system. **/ @@ -262,22 +241,19 @@ declare module '@polkadot/api-base/types/storage' { **/ [key: string]: QueryableStorageEntry<ApiType>; }; - cert: { + certification: { /** - * Certifications by receiver + * Certifications by receiver. **/ - certsByReceiver: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[u32, u32]>>>, [u32]> & - QueryableStorageEntry<ApiType, [u32]>; + certsByReceiver: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[u32, u32]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>; /** - * Certifications removable on + * Certifications removable on. **/ - storageCertsRemovableOn: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Vec<ITuple<[u32, u32]>>>>, [u32]> & - QueryableStorageEntry<ApiType, [u32]>; + certsRemovableOn: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Vec<ITuple<[u32, u32]>>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>; /** - * Certifications metada by issuer + * Certifications metada by issuer. **/ - storageIdtyCertMeta: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<PalletCertificationIdtyCertMeta>, [u32]> & - QueryableStorageEntry<ApiType, [u32]>; + storageIdtyCertMeta: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<PalletCertificationIdtyCertMeta>, [u32]> & QueryableStorageEntry<ApiType, [u32]>; /** * Generic query **/ @@ -288,11 +264,6 @@ declare module '@polkadot/api-base/types/storage' { * Did evaluation get updated in this block? **/ didUpdate: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>; - /** - * Identities by distance status expiration session index - **/ - distanceStatusExpireOn: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<u32>>, [u32]> & - QueryableStorageEntry<ApiType, [u32]>; /** * Block for which the distance rule must be checked **/ @@ -310,24 +281,22 @@ declare module '@polkadot/api-base/types/storage' { **/ evaluationPool2: AugmentedQuery<ApiType, () => Observable<PalletDistanceEvaluationPool>, []> & QueryableStorageEntry<ApiType, []>; /** - * Distance evaluation status by identity - * - * * `.0` is the account who requested an evaluation and reserved the price, + * Pending evaluation requesters + * + * account who requested an evaluation and reserved the price, * for whom the price will be unreserved or slashed when the evaluation completes. - * * `.1` is the status of the evaluation. **/ - identityDistanceStatus: AugmentedQuery< - ApiType, - (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[AccountId32, PalletDistanceDistanceStatus]>>>, - [u32] - > & - QueryableStorageEntry<ApiType, [u32]>; + pendingEvaluationRequest: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<AccountId32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>; /** * Generic query **/ [key: string]: QueryableStorageEntry<ApiType>; }; grandpa: { + /** + * The current list of authorities. + **/ + authorities: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>>, []> & QueryableStorageEntry<ApiType, []>; /** * The number of changes (both in terms of keys and underlying economic responsibilities) * in the "set" of Grandpa validators from genesis. @@ -344,17 +313,16 @@ declare module '@polkadot/api-base/types/storage' { /** * A mapping from grandpa set ID to the index of the *most recent* session for which its * members were responsible. - * + * * This is only used for validating equivocation proofs. An equivocation proof must * contains a key-ownership proof for a given session, therefore we need a way to tie * together sessions and GRANDPA set ids, i.e. we need to validate that a validator * was the owner of a given key on a given session, and what the active set ID was * during that session. - * + * * TWOX-NOTE: `SetId` is not under user control. **/ - setIdSession: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u64]> & - QueryableStorageEntry<ApiType, [u64]>; + setIdSession: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>; /** * `true` if we are currently stalled. **/ @@ -368,6 +336,20 @@ declare module '@polkadot/api-base/types/storage' { **/ [key: string]: QueryableStorageEntry<ApiType>; }; + historical: { + /** + * Mapping from historical session indices to session-data root hash and validator count. + **/ + historicalSessions: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[H256, u32]>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>; + /** + * The range of historical sessions we store. [first, last) + **/ + storedRange: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[u32, u32]>>>, []> & QueryableStorageEntry<ApiType, []>; + /** + * Generic query + **/ + [key: string]: QueryableStorageEntry<ApiType>; + }; identity: { /** * Counter for the related counted storage map @@ -376,26 +358,19 @@ declare module '@polkadot/api-base/types/storage' { /** * maps identity index to identity value **/ - identities: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletIdentityIdtyValue>>, [u32]> & - QueryableStorageEntry<ApiType, [u32]>; + identities: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletIdentityIdtyValue>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>; /** * maps identity name to identity index (simply a set) **/ - identitiesNames: AugmentedQuery<ApiType, (arg: Text | string) => Observable<Option<u32>>, [Text]> & QueryableStorageEntry<ApiType, [Text]>; + identitiesNames: AugmentedQuery<ApiType, (arg: Bytes | string | Uint8Array) => Observable<Option<u32>>, [Bytes]> & QueryableStorageEntry<ApiType, [Bytes]>; /** * maps block number to the list of identities set to be removed at this bloc **/ - identitiesRemovableOn: AugmentedQuery< - ApiType, - (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[u32, PalletIdentityIdtyStatus]>>>, - [u32] - > & - QueryableStorageEntry<ApiType, [u32]>; + identityChangeSchedule: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>; /** * maps account id to identity index **/ - identityIndexOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [AccountId32]> & - QueryableStorageEntry<ApiType, [AccountId32]>; + identityIndexOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>; /** * counter of the identity index to give to the next identity **/ @@ -410,21 +385,16 @@ declare module '@polkadot/api-base/types/storage' { * For each session index, we keep a mapping of `ValidatorId<T>` to the * number of blocks authored by the given authority. **/ - authoredBlocks: AugmentedQuery< - ApiType, - (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<u32>, - [u32, AccountId32] - > & - QueryableStorageEntry<ApiType, [u32, AccountId32]>; + authoredBlocks: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<u32>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>; /** * The block number after which it's ok to send heartbeats in the current * session. - * + * * At the beginning of each session we set this to a value that should fall * roughly in the middle of the session duration. The idea is to first wait for * the validators to produce a block in the current session, so that the * heartbeat later on will not be necessary. - * + * * This value will only be used as a fallback if we fail to get a proper session * progress estimate from `NextSessionRotation`, as those estimates should be * more accurate then the value we calculate for `HeartbeatAfter`. @@ -435,18 +405,9 @@ declare module '@polkadot/api-base/types/storage' { **/ keys: AugmentedQuery<ApiType, () => Observable<Vec<PalletImOnlineSr25519AppSr25519Public>>, []> & QueryableStorageEntry<ApiType, []>; /** - * For each session index, we keep a mapping of `SessionIndex` and `AuthIndex` to - * `WrapperOpaque<BoundedOpaqueNetworkState>`. + * For each session index, we keep a mapping of `SessionIndex` and `AuthIndex`. **/ - receivedHeartbeats: AugmentedQuery< - ApiType, - ( - arg1: u32 | AnyNumber | Uint8Array, - arg2: u32 | AnyNumber | Uint8Array - ) => Observable<Option<WrapperOpaque<PalletImOnlineBoundedOpaqueNetworkState>>>, - [u32, u32] - > & - QueryableStorageEntry<ApiType, [u32, u32]>; + receivedHeartbeats: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<bool>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>; /** * Generic query **/ @@ -460,23 +421,11 @@ declare module '@polkadot/api-base/types/storage' { /** * maps identity id to membership data **/ - membership: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<SpMembershipMembershipData>>, [u32]> & - QueryableStorageEntry<ApiType, [u32]>; + membership: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<SpMembershipMembershipData>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>; /** * maps block number to the list of identity id set to expire at this block **/ - membershipsExpireOn: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<u32>>, [u32]> & - QueryableStorageEntry<ApiType, [u32]>; - /** - * identities with pending membership request - **/ - pendingMembership: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [u32]> & - QueryableStorageEntry<ApiType, [u32]>; - /** - * maps block number to the list of memberships set to expire at this block - **/ - pendingMembershipsExpireOn: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<u32>>, [u32]> & - QueryableStorageEntry<ApiType, [u32]>; + membershipsExpireOn: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>; /** * Generic query **/ @@ -486,12 +435,7 @@ declare module '@polkadot/api-base/types/storage' { /** * The set of open multisig operations. **/ - multisigs: AugmentedQuery< - ApiType, - (arg1: AccountId32 | string | Uint8Array, arg2: U8aFixed | string | Uint8Array) => Observable<Option<PalletMultisigMultisig>>, - [AccountId32, U8aFixed] - > & - QueryableStorageEntry<ApiType, [AccountId32, U8aFixed]>; + multisigs: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: U8aFixed | string | Uint8Array) => Observable<Option<PalletMultisigMultisig>>, [AccountId32, U8aFixed]> & QueryableStorageEntry<ApiType, [AccountId32, U8aFixed]>; /** * Generic query **/ @@ -501,25 +445,18 @@ declare module '@polkadot/api-base/types/storage' { /** * A vector of reports of the same kind that happened at the same time slot. **/ - concurrentReportsIndex: AugmentedQuery< - ApiType, - (arg1: U8aFixed | string | Uint8Array, arg2: Bytes | string | Uint8Array) => Observable<Vec<H256>>, - [U8aFixed, Bytes] - > & - QueryableStorageEntry<ApiType, [U8aFixed, Bytes]>; + concurrentReportsIndex: AugmentedQuery<ApiType, (arg1: U8aFixed | string | Uint8Array, arg2: Bytes | string | Uint8Array) => Observable<Vec<H256>>, [U8aFixed, Bytes]> & QueryableStorageEntry<ApiType, [U8aFixed, Bytes]>; /** * The primary structure that holds all offence records keyed by report identifiers. **/ - reports: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<SpStakingOffenceOffenceDetails>>, [H256]> & - QueryableStorageEntry<ApiType, [H256]>; + reports: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<SpStakingOffenceOffenceDetails>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>; /** * Generic query **/ [key: string]: QueryableStorageEntry<ApiType>; }; oneshotAccount: { - oneshotAccounts: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u64>>, [AccountId32]> & - QueryableStorageEntry<ApiType, [AccountId32]>; + oneshotAccounts: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u64>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>; /** * Generic query **/ @@ -533,17 +470,15 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry<ApiType>; }; preimage: { - preimageFor: AugmentedQuery< - ApiType, - (arg: ITuple<[H256, u32]> | [H256 | string | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<Option<Bytes>>, - [ITuple<[H256, u32]>] - > & - QueryableStorageEntry<ApiType, [ITuple<[H256, u32]>]>; + preimageFor: AugmentedQuery<ApiType, (arg: ITuple<[H256, u32]> | [H256 | string | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<Option<Bytes>>, [ITuple<[H256, u32]>]> & QueryableStorageEntry<ApiType, [ITuple<[H256, u32]>]>; /** * The request status of a given hash. **/ - statusFor: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletPreimageRequestStatus>>, [H256]> & - QueryableStorageEntry<ApiType, [H256]>; + requestStatusFor: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletPreimageRequestStatus>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>; + /** + * The request status of a given hash. + **/ + statusFor: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletPreimageOldRequestStatus>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>; /** * Generic query **/ @@ -556,12 +491,9 @@ declare module '@polkadot/api-base/types/storage' { counterForRequestsIds: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>; nexEpochHookIn: AugmentedQuery<ApiType, () => Observable<u8>, []> & QueryableStorageEntry<ApiType, []>; requestIdProvider: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>; - requestsIds: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [u64]> & - QueryableStorageEntry<ApiType, [u64]>; - requestsReadyAtEpoch: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<PalletProvideRandomnessRequest>>, [u64]> & - QueryableStorageEntry<ApiType, [u64]>; - requestsReadyAtNextBlock: AugmentedQuery<ApiType, () => Observable<Vec<PalletProvideRandomnessRequest>>, []> & - QueryableStorageEntry<ApiType, []>; + requestsIds: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>; + requestsReadyAtEpoch: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<PalletProvideRandomnessRequest>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>; + requestsReadyAtNextBlock: AugmentedQuery<ApiType, () => Observable<Vec<PalletProvideRandomnessRequest>>, []> & QueryableStorageEntry<ApiType, []>; /** * Generic query **/ @@ -571,22 +503,12 @@ declare module '@polkadot/api-base/types/storage' { /** * The announcements made by the proxy (key). **/ - announcements: AugmentedQuery< - ApiType, - (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PalletProxyAnnouncement>, u64]>>, - [AccountId32] - > & - QueryableStorageEntry<ApiType, [AccountId32]>; + announcements: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PalletProxyAnnouncement>, u64]>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>; /** * 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. **/ - proxies: AugmentedQuery< - ApiType, - (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PalletProxyProxyDefinition>, u64]>>, - [AccountId32] - > & - QueryableStorageEntry<ApiType, [AccountId32]>; + proxies: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<ITuple<[Vec<PalletProxyProxyDefinition>, u64]>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>; /** * Generic query **/ @@ -596,8 +518,7 @@ declare module '@polkadot/api-base/types/storage' { /** * maps identity index to quota **/ - idtyQuota: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletQuotaQuota>>, [u32]> & - QueryableStorageEntry<ApiType, [u32]>; + idtyQuota: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletQuotaQuota>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>; /** * fees waiting for refund **/ @@ -611,17 +532,15 @@ declare module '@polkadot/api-base/types/storage' { /** * Items to be executed, indexed by the block number that they should be executed on. **/ - agenda: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<Option<PalletSchedulerScheduled>>>, [u32]> & - QueryableStorageEntry<ApiType, [u32]>; + agenda: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<Option<PalletSchedulerScheduled>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>; incompleteSince: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>; /** * Lookup from a name to the block number and index of the task. - * + * * For v3 -> v4 the previously unbounded identities are Blake2-256 hashed to form the v4 * identities. **/ - lookup: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<ITuple<[u32, u32]>>>, [U8aFixed]> & - QueryableStorageEntry<ApiType, [U8aFixed]>; + lookup: AugmentedQuery<ApiType, (arg: U8aFixed | string | Uint8Array) => Observable<Option<ITuple<[u32, u32]>>>, [U8aFixed]> & QueryableStorageEntry<ApiType, [U8aFixed]>; /** * Generic query **/ @@ -634,7 +553,7 @@ declare module '@polkadot/api-base/types/storage' { currentIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>; /** * Indices of disabled validators. - * + * * The vec is always kept sorted so that we can find whether a given validator is * disabled using binary search. It gets cleared when `on_session_ending` returns * a new set of identities. @@ -643,19 +562,11 @@ declare module '@polkadot/api-base/types/storage' { /** * The owner of a key. The key is the `KeyTypeId` + the encoded key. **/ - keyOwner: AugmentedQuery< - ApiType, - ( - arg: ITuple<[SpCoreCryptoKeyTypeId, Bytes]> | [SpCoreCryptoKeyTypeId | string | Uint8Array, Bytes | string | Uint8Array] - ) => Observable<Option<AccountId32>>, - [ITuple<[SpCoreCryptoKeyTypeId, Bytes]>] - > & - QueryableStorageEntry<ApiType, [ITuple<[SpCoreCryptoKeyTypeId, Bytes]>]>; + keyOwner: AugmentedQuery<ApiType, (arg: ITuple<[SpCoreCryptoKeyTypeId, Bytes]> | [SpCoreCryptoKeyTypeId | string | Uint8Array, Bytes | string | Uint8Array]) => Observable<Option<AccountId32>>, [ITuple<[SpCoreCryptoKeyTypeId, Bytes]>]> & QueryableStorageEntry<ApiType, [ITuple<[SpCoreCryptoKeyTypeId, Bytes]>]>; /** * The next session keys for a validator. **/ - nextKeys: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<GdevRuntimeOpaqueSessionKeys>>, [AccountId32]> & - QueryableStorageEntry<ApiType, [AccountId32]>; + nextKeys: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<GdevRuntimeOpaqueSessionKeys>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>; /** * True if the underlying economic identities or weighting behind the validators * has changed in the queued validator set. @@ -665,8 +576,7 @@ declare module '@polkadot/api-base/types/storage' { * The queued keys for the next session. When the next session begins, these keys * will be used to determine the validator's session keys. **/ - queuedKeys: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[AccountId32, GdevRuntimeOpaqueSessionKeys]>>>, []> & - QueryableStorageEntry<ApiType, []>; + queuedKeys: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[AccountId32, GdevRuntimeOpaqueSessionKeys]>>>, []> & QueryableStorageEntry<ApiType, []>; /** * The current set of validators. **/ @@ -676,52 +586,19 @@ declare module '@polkadot/api-base/types/storage' { **/ [key: string]: QueryableStorageEntry<ApiType>; }; - smithCert: { + smithMembers: { /** - * Certifications by receiver + * stores the current session index **/ - certsByReceiver: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<ITuple<[u32, u32]>>>, [u32]> & - QueryableStorageEntry<ApiType, [u32]>; + currentSession: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>; /** - * Certifications removable on + * maps session index to possible smith removals **/ - storageCertsRemovableOn: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Vec<ITuple<[u32, u32]>>>>, [u32]> & - QueryableStorageEntry<ApiType, [u32]>; + expiresOn: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Vec<u32>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>; /** - * Certifications metada by issuer + * maps identity index to smith status **/ - storageIdtyCertMeta: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<PalletCertificationIdtyCertMeta>, [u32]> & - QueryableStorageEntry<ApiType, [u32]>; - /** - * Generic query - **/ - [key: string]: QueryableStorageEntry<ApiType>; - }; - smithMembership: { - /** - * Counter for the related counted storage map - **/ - counterForMembership: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>; - /** - * maps identity id to membership data - **/ - membership: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<SpMembershipMembershipData>>, [u32]> & - QueryableStorageEntry<ApiType, [u32]>; - /** - * maps block number to the list of identity id set to expire at this block - **/ - membershipsExpireOn: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<u32>>, [u32]> & - QueryableStorageEntry<ApiType, [u32]>; - /** - * identities with pending membership request - **/ - pendingMembership: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [u32]> & - QueryableStorageEntry<ApiType, [u32]>; - /** - * maps block number to the list of memberships set to expire at this block - **/ - pendingMembershipsExpireOn: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<u32>>, [u32]> & - QueryableStorageEntry<ApiType, [u32]>; + smiths: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletSmithMembersSmithMeta>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>; /** * Generic query **/ @@ -741,12 +618,15 @@ declare module '@polkadot/api-base/types/storage' { /** * The full account information for a particular account ID. **/ - account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<FrameSystemAccountInfo>, [AccountId32]> & - QueryableStorageEntry<ApiType, [AccountId32]>; + account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<FrameSystemAccountInfo>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>; /** * Total length (in bytes) for all extrinsics put together, for the current block. **/ allExtrinsicsLen: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>; + /** + * `Some` if a code upgrade has been authorized. + **/ + authorizedUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemCodeUpgradeAuthorization>>, []> & QueryableStorageEntry<ApiType, []>; /** * Map of block numbers to block hashes. **/ @@ -765,10 +645,10 @@ declare module '@polkadot/api-base/types/storage' { eventCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>; /** * Events deposited for the current block. - * + * * NOTE: The item is unbound and should therefore never be read on chain. * It could otherwise inflate the PoV size of a block. - * + * * Events have a large in-memory size. Box the events to not go out-of-memory * just in case someone still reads them from within the runtime. **/ @@ -776,17 +656,16 @@ declare module '@polkadot/api-base/types/storage' { /** * Mapping between a topic (represented by T::Hash) and a vector of indexes * of events in the `<Events<T>>` list. - * + * * All topic vectors have deterministic storage locations depending on the topic. This * allows light-clients to leverage the changes trie storage tracking mechanism and * in case of changes fetch the list of events of interest. - * - * The value has the type `(T::BlockNumber, EventIndex)` because if we used only just + * + * The value has the type `(BlockNumberFor<T>, EventIndex)` because if we used only just * the `EventIndex` then in case if the topic has the same contents on the next block * no notification will be triggered thus the event might be lost. **/ - eventTopics: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Vec<ITuple<[u32, u32]>>>, [H256]> & - QueryableStorageEntry<ApiType, [H256]>; + eventTopics: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Vec<ITuple<[u32, u32]>>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>; /** * The execution phase of the block. **/ @@ -802,8 +681,7 @@ declare module '@polkadot/api-base/types/storage' { /** * Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened. **/ - lastRuntimeUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemLastRuntimeUpgradeInfo>>, []> & - QueryableStorageEntry<ApiType, []>; + lastRuntimeUpgrade: AugmentedQuery<ApiType, () => Observable<Option<FrameSystemLastRuntimeUpgradeInfo>>, []> & QueryableStorageEntry<ApiType, []>; /** * The current block number being processed. Set by `execute_block`. **/ @@ -842,8 +720,7 @@ declare module '@polkadot/api-base/types/storage' { /** * Actual proposal for a given hash, if it's current. **/ - proposalOf: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<Call>>, [H256]> & - QueryableStorageEntry<ApiType, [H256]>; + proposalOf: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<Call>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>; /** * The hashes of the active proposals. **/ @@ -851,8 +728,7 @@ declare module '@polkadot/api-base/types/storage' { /** * Votes on a given proposal, if it is ongoing. **/ - voting: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletCollectiveVotes>>, [H256]> & - QueryableStorageEntry<ApiType, [H256]>; + voting: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletCollectiveVotes>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>; /** * Generic query **/ @@ -860,11 +736,14 @@ declare module '@polkadot/api-base/types/storage' { }; timestamp: { /** - * Did the timestamp get updated in this block? + * Whether the timestamp has been updated in this block. + * + * This value is updated to `true` upon successful submission of a timestamp by a node. + * It is then checked at the end of each block execution in the `on_finalize` hook. **/ didUpdate: AugmentedQuery<ApiType, () => Observable<bool>, []> & QueryableStorageEntry<ApiType, []>; /** - * Current time for the current block. + * The current time for the current block. **/ now: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>; /** @@ -896,8 +775,15 @@ declare module '@polkadot/api-base/types/storage' { /** * Proposals that have been made. **/ - proposals: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletTreasuryProposal>>, [u32]> & - QueryableStorageEntry<ApiType, [u32]>; + proposals: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletTreasuryProposal>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>; + /** + * The count of spends that have been made. + **/ + spendCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>; + /** + * Spends that have been approved and being processed. + **/ + spends: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletTreasurySpendStatus>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>; /** * Generic query **/ diff --git a/src/interfaces/augment-api-rpc.ts b/src/interfaces/augment-api-rpc.ts index e728e46fcd379e597008da00a480836ee77a60de..0ca0d6c880a04e7857e439471ed514f4066ac17c 100644 --- a/src/interfaces/augment-api-rpc.ts +++ b/src/interfaces/augment-api-rpc.ts @@ -15,63 +15,19 @@ import type { BeefyVersionedFinalityProof } from '@polkadot/types/interfaces/bee import type { BlockHash } from '@polkadot/types/interfaces/chain'; import type { PrefixedStorageKey } from '@polkadot/types/interfaces/childstate'; import type { AuthorityId } from '@polkadot/types/interfaces/consensus'; -import type { - CodeUploadRequest, - CodeUploadResult, - ContractCallRequest, - ContractExecResult, - ContractInstantiateResult, - InstantiateRequestV1, -} from '@polkadot/types/interfaces/contracts'; +import type { CodeUploadRequest, CodeUploadResult, ContractCallRequest, ContractExecResult, ContractInstantiateResult, InstantiateRequestV1 } from '@polkadot/types/interfaces/contracts'; import type { BlockStats } from '@polkadot/types/interfaces/dev'; import type { CreatedBlock } from '@polkadot/types/interfaces/engine'; -import type { - EthAccount, - EthCallRequest, - EthFeeHistory, - EthFilter, - EthFilterChanges, - EthLog, - EthReceipt, - EthRichBlock, - EthSubKind, - EthSubParams, - EthSyncStatus, - EthTransaction, - EthTransactionRequest, - EthWork, -} from '@polkadot/types/interfaces/eth'; +import type { EthAccount, EthCallRequest, EthFeeHistory, EthFilter, EthFilterChanges, EthLog, EthReceipt, EthRichBlock, EthSubKind, EthSubParams, EthSyncStatus, EthTransaction, EthTransactionRequest, EthWork } from '@polkadot/types/interfaces/eth'; import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics'; import type { EncodedFinalityProofs, JustificationNotification, ReportedRoundStates } from '@polkadot/types/interfaces/grandpa'; import type { MmrHash, MmrLeafBatchProof } from '@polkadot/types/interfaces/mmr'; import type { StorageKind } from '@polkadot/types/interfaces/offchain'; import type { FeeDetails, RuntimeDispatchInfoV1 } from '@polkadot/types/interfaces/payment'; import type { RpcMethods } from '@polkadot/types/interfaces/rpc'; -import type { - AccountId, - BlockNumber, - H160, - H256, - H64, - Hash, - Header, - Index, - Justification, - KeyValue, - SignedBlock, - StorageData, -} from '@polkadot/types/interfaces/runtime'; +import type { AccountId, BlockNumber, H160, H256, H64, Hash, Header, Index, Justification, KeyValue, SignedBlock, StorageData } from '@polkadot/types/interfaces/runtime'; import type { MigrationStatusResult, ReadProof, RuntimeVersion, TraceBlockResponse } from '@polkadot/types/interfaces/state'; -import type { - ApplyExtrinsicResult, - ChainProperties, - ChainType, - Health, - NetworkState, - NodeRole, - PeerInfo, - SyncState, -} from '@polkadot/types/interfaces/system'; +import type { ApplyExtrinsicResult, ChainProperties, ChainType, Health, NetworkState, NodeRole, PeerInfo, SyncState } from '@polkadot/types/interfaces/system'; import type { IExtrinsic, Observable } from '@polkadot/types/types'; export type __AugmentedRpc = AugmentedRpc<() => unknown>; @@ -98,9 +54,7 @@ declare module '@polkadot/rpc-core/types/jsonrpc' { /** * Remove given extrinsic from the pool and temporarily ban it to prevent reimporting **/ - removeExtrinsic: AugmentedRpc< - (bytesOrHash: Vec<ExtrinsicOrHash> | (ExtrinsicOrHash | { Hash: any } | { Extrinsic: any } | string | Uint8Array)[]) => Observable<Vec<Hash>> - >; + removeExtrinsic: AugmentedRpc<(bytesOrHash: Vec<ExtrinsicOrHash> | (ExtrinsicOrHash | { Hash: any } | { Extrinsic: any } | string | Uint8Array)[]) => Observable<Vec<Hash>>>; /** * Generate new session keys and returns the corresponding public keys **/ @@ -164,115 +118,54 @@ declare module '@polkadot/rpc-core/types/jsonrpc' { /** * Returns the keys with prefix from a child storage, leave empty to get all the keys **/ - getKeys: AugmentedRpc< - ( - childKey: PrefixedStorageKey | string | Uint8Array, - prefix: StorageKey | string | Uint8Array | any, - at?: Hash | string | Uint8Array - ) => Observable<Vec<StorageKey>> - >; + getKeys: AugmentedRpc<(childKey: PrefixedStorageKey | string | Uint8Array, prefix: StorageKey | string | Uint8Array | any, at?: Hash | string | Uint8Array) => Observable<Vec<StorageKey>>>; /** * Returns the keys with prefix from a child storage with pagination support **/ - getKeysPaged: AugmentedRpc< - ( - childKey: PrefixedStorageKey | string | Uint8Array, - prefix: StorageKey | string | Uint8Array | any, - count: u32 | AnyNumber | Uint8Array, - startKey?: StorageKey | string | Uint8Array | any, - at?: Hash | string | Uint8Array - ) => Observable<Vec<StorageKey>> - >; + getKeysPaged: AugmentedRpc<(childKey: PrefixedStorageKey | string | Uint8Array, prefix: StorageKey | string | Uint8Array | any, count: u32 | AnyNumber | Uint8Array, startKey?: StorageKey | string | Uint8Array | any, at?: Hash | string | Uint8Array) => Observable<Vec<StorageKey>>>; /** * Returns a child storage entry at a specific block state **/ - getStorage: AugmentedRpc< - ( - childKey: PrefixedStorageKey | string | Uint8Array, - key: StorageKey | string | Uint8Array | any, - at?: Hash | string | Uint8Array - ) => Observable<Option<StorageData>> - >; + getStorage: AugmentedRpc<(childKey: PrefixedStorageKey | string | Uint8Array, key: StorageKey | string | Uint8Array | any, at?: Hash | string | Uint8Array) => Observable<Option<StorageData>>>; /** * Returns child storage entries for multiple keys at a specific block state **/ - getStorageEntries: AugmentedRpc< - ( - childKey: PrefixedStorageKey | string | Uint8Array, - keys: Vec<StorageKey> | (StorageKey | string | Uint8Array | any)[], - at?: Hash | string | Uint8Array - ) => Observable<Vec<Option<StorageData>>> - >; + getStorageEntries: AugmentedRpc<(childKey: PrefixedStorageKey | string | Uint8Array, keys: Vec<StorageKey> | (StorageKey | string | Uint8Array | any)[], at?: Hash | string | Uint8Array) => Observable<Vec<Option<StorageData>>>>; /** * Returns the hash of a child storage entry at a block state **/ - getStorageHash: AugmentedRpc< - ( - childKey: PrefixedStorageKey | string | Uint8Array, - key: StorageKey | string | Uint8Array | any, - at?: Hash | string | Uint8Array - ) => Observable<Option<Hash>> - >; + getStorageHash: AugmentedRpc<(childKey: PrefixedStorageKey | string | Uint8Array, key: StorageKey | string | Uint8Array | any, at?: Hash | string | Uint8Array) => Observable<Option<Hash>>>; /** * Returns the size of a child storage entry at a block state **/ - getStorageSize: AugmentedRpc< - ( - childKey: PrefixedStorageKey | string | Uint8Array, - key: StorageKey | string | Uint8Array | any, - at?: Hash | string | Uint8Array - ) => Observable<Option<u64>> - >; + getStorageSize: AugmentedRpc<(childKey: PrefixedStorageKey | string | Uint8Array, key: StorageKey | string | Uint8Array | any, at?: Hash | string | Uint8Array) => Observable<Option<u64>>>; }; contracts: { /** * @deprecated Use the runtime interface `api.call.contractsApi.call` instead * Executes a call to a contract **/ - call: AugmentedRpc< - ( - callRequest: - | ContractCallRequest - | { origin?: any; dest?: any; value?: any; gasLimit?: any; storageDepositLimit?: any; inputData?: any } - | string - | Uint8Array, - at?: BlockHash | string | Uint8Array - ) => Observable<ContractExecResult> - >; + call: AugmentedRpc<(callRequest: ContractCallRequest | { origin?: any; dest?: any; value?: any; gasLimit?: any; storageDepositLimit?: any; inputData?: any } | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<ContractExecResult>>; /** * @deprecated Use the runtime interface `api.call.contractsApi.getStorage` instead * Returns the value under a specified storage key in a contract **/ - getStorage: AugmentedRpc< - (address: AccountId | string | Uint8Array, key: H256 | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<Option<Bytes>> - >; + getStorage: AugmentedRpc<(address: AccountId | string | Uint8Array, key: H256 | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<Option<Bytes>>>; /** * @deprecated Use the runtime interface `api.call.contractsApi.instantiate` instead * Instantiate a new contract **/ - instantiate: AugmentedRpc< - ( - request: InstantiateRequestV1 | { origin?: any; value?: any; gasLimit?: any; code?: any; data?: any; salt?: any } | string | Uint8Array, - at?: BlockHash | string | Uint8Array - ) => Observable<ContractInstantiateResult> - >; + instantiate: AugmentedRpc<(request: InstantiateRequestV1 | { origin?: any; value?: any; gasLimit?: any; code?: any; data?: any; salt?: any } | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<ContractInstantiateResult>>; /** * @deprecated Not available in newer versions of the contracts interfaces * Returns the projected time a given contract will be able to sustain paying its rent **/ - rentProjection: AugmentedRpc< - (address: AccountId | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<Option<BlockNumber>> - >; + rentProjection: AugmentedRpc<(address: AccountId | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<Option<BlockNumber>>>; /** * @deprecated Use the runtime interface `api.call.contractsApi.uploadCode` instead * Upload new code without instantiating a contract from it **/ - uploadCode: AugmentedRpc< - ( - uploadRequest: CodeUploadRequest | { origin?: any; code?: any; storageDepositLimit?: any } | string | Uint8Array, - at?: BlockHash | string | Uint8Array - ) => Observable<CodeUploadResult> - >; + uploadCode: AugmentedRpc<(uploadRequest: CodeUploadRequest | { origin?: any; code?: any; storageDepositLimit?: any } | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<CodeUploadResult>>; }; dev: { /** @@ -284,13 +177,7 @@ declare module '@polkadot/rpc-core/types/jsonrpc' { /** * Instructs the manual-seal authorship task to create a new block **/ - createBlock: AugmentedRpc< - ( - createEmpty: bool | boolean | Uint8Array, - finalize: bool | boolean | Uint8Array, - parentHash?: BlockHash | string | Uint8Array - ) => Observable<CreatedBlock> - >; + createBlock: AugmentedRpc<(createEmpty: bool | boolean | Uint8Array, finalize: bool | boolean | Uint8Array, parentHash?: BlockHash | string | Uint8Array) => Observable<CreatedBlock>>; /** * Instructs the manual-seal authorship task to finalize a block **/ @@ -308,12 +195,7 @@ declare module '@polkadot/rpc-core/types/jsonrpc' { /** * Call contract, returning the output data. **/ - call: AugmentedRpc< - ( - request: EthCallRequest | { from?: any; to?: any; gasPrice?: any; gas?: any; value?: any; data?: any; nonce?: any } | string | Uint8Array, - number?: BlockNumber | AnyNumber | Uint8Array - ) => Observable<Bytes> - >; + call: AugmentedRpc<(request: EthCallRequest | { from?: any; to?: any; gasPrice?: any; gas?: any; value?: any; data?: any; nonce?: any } | string | Uint8Array, number?: BlockNumber | AnyNumber | Uint8Array) => Observable<Bytes>>; /** * Returns the chain ID used for transaction signing at the current best block. None is returned if not available. **/ @@ -325,22 +207,11 @@ declare module '@polkadot/rpc-core/types/jsonrpc' { /** * Estimate gas needed for execution of given contract. **/ - estimateGas: AugmentedRpc< - ( - request: EthCallRequest | { from?: any; to?: any; gasPrice?: any; gas?: any; value?: any; data?: any; nonce?: any } | string | Uint8Array, - number?: BlockNumber | AnyNumber | Uint8Array - ) => Observable<U256> - >; + estimateGas: AugmentedRpc<(request: EthCallRequest | { from?: any; to?: any; gasPrice?: any; gas?: any; value?: any; data?: any; nonce?: any } | string | Uint8Array, number?: BlockNumber | AnyNumber | Uint8Array) => Observable<U256>>; /** * Returns fee history for given block count & reward percentiles **/ - feeHistory: AugmentedRpc< - ( - blockCount: U256 | AnyNumber | Uint8Array, - newestBlock: BlockNumber | AnyNumber | Uint8Array, - rewardPercentiles: Option<Vec<f64>> | null | Uint8Array | Vec<f64> | f64[] - ) => Observable<EthFeeHistory> - >; + feeHistory: AugmentedRpc<(blockCount: U256 | AnyNumber | Uint8Array, newestBlock: BlockNumber | AnyNumber | Uint8Array, rewardPercentiles: Option<Vec<f64>> | null | Uint8Array | Vec<f64> | (f64)[]) => Observable<EthFeeHistory>>; /** * Returns current gas price. **/ @@ -356,9 +227,7 @@ declare module '@polkadot/rpc-core/types/jsonrpc' { /** * Returns block with given number. **/ - getBlockByNumber: AugmentedRpc< - (block: BlockNumber | AnyNumber | Uint8Array, full: bool | boolean | Uint8Array) => Observable<Option<EthRichBlock>> - >; + getBlockByNumber: AugmentedRpc<(block: BlockNumber | AnyNumber | Uint8Array, full: bool | boolean | Uint8Array) => Observable<Option<EthRichBlock>>>; /** * Returns the number of transactions in a block with given hash. **/ @@ -382,39 +251,23 @@ declare module '@polkadot/rpc-core/types/jsonrpc' { /** * Returns logs matching given filter object. **/ - getLogs: AugmentedRpc< - ( - filter: EthFilter | { fromBlock?: any; toBlock?: any; blockHash?: any; address?: any; topics?: any } | string | Uint8Array - ) => Observable<Vec<EthLog>> - >; + getLogs: AugmentedRpc<(filter: EthFilter | { fromBlock?: any; toBlock?: any; blockHash?: any; address?: any; topics?: any } | string | Uint8Array) => Observable<Vec<EthLog>>>; /** * Returns proof for account and storage. **/ - getProof: AugmentedRpc< - ( - address: H160 | string | Uint8Array, - storageKeys: Vec<H256> | (H256 | string | Uint8Array)[], - number: BlockNumber | AnyNumber | Uint8Array - ) => Observable<EthAccount> - >; + getProof: AugmentedRpc<(address: H160 | string | Uint8Array, storageKeys: Vec<H256> | (H256 | string | Uint8Array)[], number: BlockNumber | AnyNumber | Uint8Array) => Observable<EthAccount>>; /** * Returns content of the storage at given address. **/ - getStorageAt: AugmentedRpc< - (address: H160 | string | Uint8Array, index: U256 | AnyNumber | Uint8Array, number?: BlockNumber | AnyNumber | Uint8Array) => Observable<H256> - >; + getStorageAt: AugmentedRpc<(address: H160 | string | Uint8Array, index: U256 | AnyNumber | Uint8Array, number?: BlockNumber | AnyNumber | Uint8Array) => Observable<H256>>; /** * Returns transaction at given block hash and index. **/ - getTransactionByBlockHashAndIndex: AugmentedRpc< - (hash: H256 | string | Uint8Array, index: U256 | AnyNumber | Uint8Array) => Observable<EthTransaction> - >; + getTransactionByBlockHashAndIndex: AugmentedRpc<(hash: H256 | string | Uint8Array, index: U256 | AnyNumber | Uint8Array) => Observable<EthTransaction>>; /** * Returns transaction by given block number and index. **/ - getTransactionByBlockNumberAndIndex: AugmentedRpc< - (number: BlockNumber | AnyNumber | Uint8Array, index: U256 | AnyNumber | Uint8Array) => Observable<EthTransaction> - >; + getTransactionByBlockNumberAndIndex: AugmentedRpc<(number: BlockNumber | AnyNumber | Uint8Array, index: U256 | AnyNumber | Uint8Array) => Observable<EthTransaction>>; /** * Get transaction by its hash. **/ @@ -434,9 +287,7 @@ declare module '@polkadot/rpc-core/types/jsonrpc' { /** * Returns an uncles at given block and index. **/ - getUncleByBlockNumberAndIndex: AugmentedRpc< - (number: BlockNumber | AnyNumber | Uint8Array, index: U256 | AnyNumber | Uint8Array) => Observable<EthRichBlock> - >; + getUncleByBlockNumberAndIndex: AugmentedRpc<(number: BlockNumber | AnyNumber | Uint8Array, index: U256 | AnyNumber | Uint8Array) => Observable<EthRichBlock>>; /** * Returns the number of uncles in a block with given hash. **/ @@ -468,11 +319,7 @@ declare module '@polkadot/rpc-core/types/jsonrpc' { /** * Returns id of new filter. **/ - newFilter: AugmentedRpc< - ( - filter: EthFilter | { fromBlock?: any; toBlock?: any; blockHash?: any; address?: any; topics?: any } | string | Uint8Array - ) => Observable<U256> - >; + newFilter: AugmentedRpc<(filter: EthFilter | { fromBlock?: any; toBlock?: any; blockHash?: any; address?: any; topics?: any } | string | Uint8Array) => Observable<U256>>; /** * Returns id of new block filter. **/ @@ -488,11 +335,7 @@ declare module '@polkadot/rpc-core/types/jsonrpc' { /** * Sends transaction; will block waiting for signer to return the transaction hash **/ - sendTransaction: AugmentedRpc< - ( - tx: EthTransactionRequest | { from?: any; to?: any; gasPrice?: any; gas?: any; value?: any; data?: any; nonce?: any } | string | Uint8Array - ) => Observable<H256> - >; + sendTransaction: AugmentedRpc<(tx: EthTransactionRequest | { from?: any; to?: any; gasPrice?: any; gas?: any; value?: any; data?: any; nonce?: any } | string | Uint8Array) => Observable<H256>>; /** * Used for submitting mining hashrate. **/ @@ -500,18 +343,11 @@ declare module '@polkadot/rpc-core/types/jsonrpc' { /** * Used for submitting a proof-of-work solution. **/ - submitWork: AugmentedRpc< - (nonce: H64 | string | Uint8Array, headerHash: H256 | string | Uint8Array, mixDigest: H256 | string | Uint8Array) => Observable<bool> - >; + submitWork: AugmentedRpc<(nonce: H64 | string | Uint8Array, headerHash: H256 | string | Uint8Array, mixDigest: H256 | string | Uint8Array) => Observable<bool>>; /** * Subscribe to Eth subscription. **/ - subscribe: AugmentedRpc< - ( - kind: EthSubKind | 'newHeads' | 'logs' | 'newPendingTransactions' | 'syncing' | number | Uint8Array, - params?: EthSubParams | { None: any } | { Logs: any } | string | Uint8Array - ) => Observable<Null> - >; + subscribe: AugmentedRpc<(kind: EthSubKind | 'newHeads' | 'logs' | 'newPendingTransactions' | 'syncing' | number | Uint8Array, params?: EthSubParams | { None: any } | { Logs: any } | string | Uint8Array) => Observable<Null>>; /** * Returns an object with data about the sync status or false. **/ @@ -539,13 +375,7 @@ declare module '@polkadot/rpc-core/types/jsonrpc' { /** * Generate MMR proof for the given block numbers. **/ - generateProof: AugmentedRpc< - ( - blockNumbers: Vec<u64> | (u64 | AnyNumber | Uint8Array)[], - bestKnownBlockNumber?: u64 | AnyNumber | Uint8Array, - at?: BlockHash | string | Uint8Array - ) => Observable<MmrLeafBatchProof> - >; + generateProof: AugmentedRpc<(blockNumbers: Vec<u64> | (u64 | AnyNumber | Uint8Array)[], bestKnownBlockNumber?: u64 | AnyNumber | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<MmrLeafBatchProof>>; /** * Get the MMR root hash for the current best block. **/ @@ -553,18 +383,11 @@ declare module '@polkadot/rpc-core/types/jsonrpc' { /** * Verify an MMR proof **/ - verifyProof: AugmentedRpc< - (proof: MmrLeafBatchProof | { blockHash?: any; leaves?: any; proof?: any } | string | Uint8Array) => Observable<bool> - >; + verifyProof: AugmentedRpc<(proof: MmrLeafBatchProof | { blockHash?: any; leaves?: any; proof?: any } | string | Uint8Array) => Observable<bool>>; /** * Verify an MMR proof statelessly given an mmr_root **/ - verifyProofStateless: AugmentedRpc< - ( - root: MmrHash | string | Uint8Array, - proof: MmrLeafBatchProof | { blockHash?: any; leaves?: any; proof?: any } | string | Uint8Array - ) => Observable<bool> - >; + verifyProofStateless: AugmentedRpc<(root: MmrHash | string | Uint8Array, proof: MmrLeafBatchProof | { blockHash?: any; leaves?: any; proof?: any } | string | Uint8Array) => Observable<bool>>; }; net: { /** @@ -584,19 +407,11 @@ declare module '@polkadot/rpc-core/types/jsonrpc' { /** * Get offchain local storage under given key and prefix **/ - localStorageGet: AugmentedRpc< - (kind: StorageKind | 'PERSISTENT' | 'LOCAL' | number | Uint8Array, key: Bytes | string | Uint8Array) => Observable<Option<Bytes>> - >; + localStorageGet: AugmentedRpc<(kind: StorageKind | 'PERSISTENT' | 'LOCAL' | number | Uint8Array, key: Bytes | string | Uint8Array) => Observable<Option<Bytes>>>; /** * Set offchain local storage under given key and prefix **/ - localStorageSet: AugmentedRpc< - ( - kind: StorageKind | 'PERSISTENT' | 'LOCAL' | number | Uint8Array, - key: Bytes | string | Uint8Array, - value: Bytes | string | Uint8Array - ) => Observable<Null> - >; + localStorageSet: AugmentedRpc<(kind: StorageKind | 'PERSISTENT' | 'LOCAL' | number | Uint8Array, key: Bytes | string | Uint8Array, value: Bytes | string | Uint8Array) => Observable<Null>>; }; payment: { /** @@ -624,61 +439,23 @@ declare module '@polkadot/rpc-core/types/jsonrpc' { /** * Retrieves the keys with prefix of a specific child storage **/ - getChildKeys: AugmentedRpc< - ( - childStorageKey: StorageKey | string | Uint8Array | any, - childDefinition: StorageKey | string | Uint8Array | any, - childType: u32 | AnyNumber | Uint8Array, - key: StorageKey | string | Uint8Array | any, - at?: BlockHash | string | Uint8Array - ) => Observable<Vec<StorageKey>> - >; + getChildKeys: AugmentedRpc<(childStorageKey: StorageKey | string | Uint8Array | any, childDefinition: StorageKey | string | Uint8Array | any, childType: u32 | AnyNumber | Uint8Array, key: StorageKey | string | Uint8Array | any, at?: BlockHash | string | Uint8Array) => Observable<Vec<StorageKey>>>; /** * Returns proof of storage for child key entries at a specific block state. **/ - getChildReadProof: AugmentedRpc< - ( - childStorageKey: PrefixedStorageKey | string | Uint8Array, - keys: Vec<StorageKey> | (StorageKey | string | Uint8Array | any)[], - at?: BlockHash | string | Uint8Array - ) => Observable<ReadProof> - >; + getChildReadProof: AugmentedRpc<(childStorageKey: PrefixedStorageKey | string | Uint8Array, keys: Vec<StorageKey> | (StorageKey | string | Uint8Array | any)[], at?: BlockHash | string | Uint8Array) => Observable<ReadProof>>; /** * Retrieves the child storage for a key **/ - getChildStorage: AugmentedRpc< - ( - childStorageKey: StorageKey | string | Uint8Array | any, - childDefinition: StorageKey | string | Uint8Array | any, - childType: u32 | AnyNumber | Uint8Array, - key: StorageKey | string | Uint8Array | any, - at?: BlockHash | string | Uint8Array - ) => Observable<StorageData> - >; + getChildStorage: AugmentedRpc<(childStorageKey: StorageKey | string | Uint8Array | any, childDefinition: StorageKey | string | Uint8Array | any, childType: u32 | AnyNumber | Uint8Array, key: StorageKey | string | Uint8Array | any, at?: BlockHash | string | Uint8Array) => Observable<StorageData>>; /** * Retrieves the child storage hash **/ - getChildStorageHash: AugmentedRpc< - ( - childStorageKey: StorageKey | string | Uint8Array | any, - childDefinition: StorageKey | string | Uint8Array | any, - childType: u32 | AnyNumber | Uint8Array, - key: StorageKey | string | Uint8Array | any, - at?: BlockHash | string | Uint8Array - ) => Observable<Hash> - >; + getChildStorageHash: AugmentedRpc<(childStorageKey: StorageKey | string | Uint8Array | any, childDefinition: StorageKey | string | Uint8Array | any, childType: u32 | AnyNumber | Uint8Array, key: StorageKey | string | Uint8Array | any, at?: BlockHash | string | Uint8Array) => Observable<Hash>>; /** * Retrieves the child storage size **/ - getChildStorageSize: AugmentedRpc< - ( - childStorageKey: StorageKey | string | Uint8Array | any, - childDefinition: StorageKey | string | Uint8Array | any, - childType: u32 | AnyNumber | Uint8Array, - key: StorageKey | string | Uint8Array | any, - at?: BlockHash | string | Uint8Array - ) => Observable<u64> - >; + getChildStorageSize: AugmentedRpc<(childStorageKey: StorageKey | string | Uint8Array | any, childDefinition: StorageKey | string | Uint8Array | any, childType: u32 | AnyNumber | Uint8Array, key: StorageKey | string | Uint8Array | any, at?: BlockHash | string | Uint8Array) => Observable<u64>>; /** * @deprecated Use `api.rpc.state.getKeysPaged` to retrieve keys * Retrieves the keys with a certain prefix @@ -687,14 +464,7 @@ declare module '@polkadot/rpc-core/types/jsonrpc' { /** * Returns the keys with prefix with pagination support. **/ - getKeysPaged: AugmentedRpc< - ( - key: StorageKey | string | Uint8Array | any, - count: u32 | AnyNumber | Uint8Array, - startKey?: StorageKey | string | Uint8Array | any, - at?: BlockHash | string | Uint8Array - ) => Observable<Vec<StorageKey>> - >; + getKeysPaged: AugmentedRpc<(key: StorageKey | string | Uint8Array | any, count: u32 | AnyNumber | Uint8Array, startKey?: StorageKey | string | Uint8Array | any, at?: BlockHash | string | Uint8Array) => Observable<Vec<StorageKey>>>; /** * Returns the runtime metadata **/ @@ -707,9 +477,7 @@ declare module '@polkadot/rpc-core/types/jsonrpc' { /** * Returns proof of storage entries at a specific block state **/ - getReadProof: AugmentedRpc< - (keys: Vec<StorageKey> | (StorageKey | string | Uint8Array | any)[], at?: BlockHash | string | Uint8Array) => Observable<ReadProof> - >; + getReadProof: AugmentedRpc<(keys: Vec<StorageKey> | (StorageKey | string | Uint8Array | any)[], at?: BlockHash | string | Uint8Array) => Observable<ReadProof>>; /** * Get the runtime version **/ @@ -729,19 +497,11 @@ declare module '@polkadot/rpc-core/types/jsonrpc' { /** * Query historical storage entries (by key) starting from a start block **/ - queryStorage: AugmentedRpc< - <T = Codec[]>( - keys: Vec<StorageKey> | (StorageKey | string | Uint8Array | any)[], - fromBlock?: Hash | Uint8Array | string, - toBlock?: Hash | Uint8Array | string - ) => Observable<[Hash, T][]> - >; + queryStorage: AugmentedRpc<<T = Codec[]>(keys: Vec<StorageKey> | (StorageKey | string | Uint8Array | any)[], fromBlock?: Hash | Uint8Array | string, toBlock?: Hash | Uint8Array | string) => Observable<[Hash, T][]>>; /** * Query storage entries (by key) starting at block hash given as the second parameter **/ - queryStorageAt: AugmentedRpc< - <T = Codec[]>(keys: Vec<StorageKey> | (StorageKey | string | Uint8Array | any)[], at?: Hash | Uint8Array | string) => Observable<T> - >; + queryStorageAt: AugmentedRpc<<T = Codec[]>(keys: Vec<StorageKey> | (StorageKey | string | Uint8Array | any)[], at?: Hash | Uint8Array | string) => Observable<T>>; /** * Retrieves the runtime version via subscription **/ @@ -753,14 +513,7 @@ declare module '@polkadot/rpc-core/types/jsonrpc' { /** * Provides a way to trace the re-execution of a single block **/ - traceBlock: AugmentedRpc< - ( - block: Hash | string | Uint8Array, - targets: Option<Text> | null | Uint8Array | Text | string, - storageKeys: Option<Text> | null | Uint8Array | Text | string, - methods: Option<Text> | null | Uint8Array | Text | string - ) => Observable<TraceBlockResponse> - >; + traceBlock: AugmentedRpc<(block: Hash | string | Uint8Array, targets: Option<Text> | null | Uint8Array | Text | string, storageKeys: Option<Text> | null | Uint8Array | Text | string, methods: Option<Text> | null | Uint8Array | Text | string) => Observable<TraceBlockResponse>>; /** * Check current migration state **/ diff --git a/src/interfaces/augment-api-runtime.ts b/src/interfaces/augment-api-runtime.ts index 4583b49a98938519b9c00935311bdb1c68e17914..9b098dc9b9f05999fe72d13da89a366f04e0b4d2 100644 --- a/src/interfaces/augment-api-runtime.ts +++ b/src/interfaces/augment-api-runtime.ts @@ -66,10 +66,7 @@ declare module '@polkadot/api-base/types/calls' { /** * Generates a proof of key ownership for the given authority in the current epoch. **/ - generateKeyOwnershipProof: AugmentedCall< - ApiType, - (slot: Slot | AnyNumber | Uint8Array, authorityId: AuthorityId | string | Uint8Array) => Observable<Option<OpaqueKeyOwnershipProof>> - >; + generateKeyOwnershipProof: AugmentedCall<ApiType, (slot: Slot | AnyNumber | Uint8Array, authorityId: AuthorityId | string | Uint8Array) => Observable<Option<OpaqueKeyOwnershipProof>>>; /** * Returns information regarding the next epoch (which was already previously announced). **/ @@ -77,17 +74,7 @@ declare module '@polkadot/api-base/types/calls' { /** * Submits an unsigned extrinsic to report an equivocation. **/ - submitReportEquivocationUnsignedExtrinsic: AugmentedCall< - ApiType, - ( - equivocationProof: - | BabeEquivocationProof - | { offender?: any; slotNumber?: any; firstHeader?: any; secondHeader?: any } - | string - | Uint8Array, - keyOwnerProof: OpaqueKeyOwnershipProof | string | Uint8Array - ) => Observable<Option<Null>> - >; + submitReportEquivocationUnsignedExtrinsic: AugmentedCall<ApiType, (equivocationProof: BabeEquivocationProof | { offender?: any; slotNumber?: any; firstHeader?: any; secondHeader?: any } | string | Uint8Array, keyOwnerProof: OpaqueKeyOwnershipProof | string | Uint8Array) => Observable<Option<Null>>>; /** * Generic call **/ @@ -102,13 +89,7 @@ declare module '@polkadot/api-base/types/calls' { /** * Check that the inherents are valid. **/ - checkInherents: AugmentedCall< - ApiType, - ( - block: Block | { header?: any; extrinsics?: any } | string | Uint8Array, - data: InherentData | { data?: any } | string | Uint8Array - ) => Observable<CheckInherentsResult> - >; + checkInherents: AugmentedCall<ApiType, (block: Block | { header?: any; extrinsics?: any } | string | Uint8Array, data: InherentData | { data?: any } | string | Uint8Array) => Observable<CheckInherentsResult>>; /** * Finish the current block. **/ @@ -131,12 +112,7 @@ declare module '@polkadot/api-base/types/calls' { /** * Initialize a block with the given header. **/ - initializeBlock: AugmentedCall< - ApiType, - ( - header: Header | { parentHash?: any; number?: any; stateRoot?: any; extrinsicsRoot?: any; digest?: any } | string | Uint8Array - ) => Observable<Null> - >; + initializeBlock: AugmentedCall<ApiType, (header: Header | { parentHash?: any; number?: any; stateRoot?: any; extrinsicsRoot?: any; digest?: any } | string | Uint8Array) => Observable<Null>>; /** * Returns the version of the runtime. **/ @@ -155,10 +131,7 @@ declare module '@polkadot/api-base/types/calls' { /** * Generates a proof of key ownership for the given authority in the given set. **/ - generateKeyOwnershipProof: AugmentedCall< - ApiType, - (setId: SetId | AnyNumber | Uint8Array, authorityId: AuthorityId | string | Uint8Array) => Observable<Option<OpaqueKeyOwnershipProof>> - >; + generateKeyOwnershipProof: AugmentedCall<ApiType, (setId: SetId | AnyNumber | Uint8Array, authorityId: AuthorityId | string | Uint8Array) => Observable<Option<OpaqueKeyOwnershipProof>>>; /** * Get the current GRANDPA authorities and weights. This should not change except for when changes are scheduled and the corresponding delay has passed. **/ @@ -166,13 +139,7 @@ declare module '@polkadot/api-base/types/calls' { /** * Submits an unsigned extrinsic to report an equivocation. **/ - submitReportEquivocationUnsignedExtrinsic: AugmentedCall< - ApiType, - ( - equivocationProof: GrandpaEquivocationProof | { setId?: any; equivocation?: any } | string | Uint8Array, - keyOwnerProof: OpaqueKeyOwnershipProof | string | Uint8Array - ) => Observable<Option<Null>> - >; + submitReportEquivocationUnsignedExtrinsic: AugmentedCall<ApiType, (equivocationProof: GrandpaEquivocationProof | { setId?: any; equivocation?: any } | string | Uint8Array, keyOwnerProof: OpaqueKeyOwnershipProof | string | Uint8Array) => Observable<Option<Null>>>; /** * Generic call **/ @@ -202,12 +169,7 @@ declare module '@polkadot/api-base/types/calls' { /** * Starts the off-chain task for given block header. **/ - offchainWorker: AugmentedCall< - ApiType, - ( - header: Header | { parentHash?: any; number?: any; stateRoot?: any; extrinsicsRoot?: any; digest?: any } | string | Uint8Array - ) => Observable<Null> - >; + offchainWorker: AugmentedCall<ApiType, (header: Header | { parentHash?: any; number?: any; stateRoot?: any; extrinsicsRoot?: any; digest?: any } | string | Uint8Array) => Observable<Null>>; /** * Generic call **/ @@ -233,14 +195,7 @@ declare module '@polkadot/api-base/types/calls' { /** * Validate the transaction. **/ - validateTransaction: AugmentedCall< - ApiType, - ( - source: TransactionSource | 'InBlock' | 'Local' | 'External' | number | Uint8Array, - tx: Extrinsic | IExtrinsic | string | Uint8Array, - blockHash: BlockHash | string | Uint8Array - ) => Observable<TransactionValidity> - >; + validateTransaction: AugmentedCall<ApiType, (source: TransactionSource | 'InBlock' | 'Local' | 'External' | number | Uint8Array, tx: Extrinsic | IExtrinsic | string | Uint8Array, blockHash: BlockHash | string | Uint8Array) => Observable<TransactionValidity>>; /** * Generic call **/ @@ -251,17 +206,11 @@ declare module '@polkadot/api-base/types/calls' { /** * The transaction fee details **/ - queryFeeDetails: AugmentedCall< - ApiType, - (uxt: Extrinsic | IExtrinsic | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<FeeDetails> - >; + queryFeeDetails: AugmentedCall<ApiType, (uxt: Extrinsic | IExtrinsic | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<FeeDetails>>; /** * The transaction info **/ - queryInfo: AugmentedCall< - ApiType, - (uxt: Extrinsic | IExtrinsic | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<RuntimeDispatchInfo> - >; + queryInfo: AugmentedCall<ApiType, (uxt: Extrinsic | IExtrinsic | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<RuntimeDispatchInfo>>; /** * Query the output of the current LengthToFee given some input **/ diff --git a/src/interfaces/augment-api-tx.ts b/src/interfaces/augment-api-tx.ts index 940397692f9e3382e0af61e53e7fcbf2d85c1ec2..4e5968b755940306aadf0b8761764fca042e0bdd 100644 --- a/src/interfaces/augment-api-tx.ts +++ b/src/interfaces/augment-api-tx.ts @@ -6,7 +6,7 @@ import '@polkadot/api-base/types/submittable'; import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableExtrinsicFunction } from '@polkadot/api-base/types'; -import type { Bytes, Compact, Option, Text, U8aFixed, Vec, bool, u16, u32, u64, u8 } from '@polkadot/types-codec'; +import type { Bytes, Compact, Null, Option, U8aFixed, Vec, bool, u16, u32, u64, u8 } from '@polkadot/types-codec'; import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types'; import type { AccountId32, Call, H256, MultiAddress } from '@polkadot/types/interfaces/runtime'; @@ -18,7 +18,7 @@ declare module '@polkadot/api-base/types/submittable' { interface AugmentedSubmittables<ApiType extends ApiTypes> { account: { /** - * unlink the identity associated with the account + * See [`Pallet::unlink_identity`]. **/ unlinkIdentity: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>; /** @@ -28,56 +28,17 @@ declare module '@polkadot/api-base/types/submittable' { }; atomicSwap: { /** - * Cancel an atomic swap. Only possible after the originally set duration has passed. - * - * The dispatch origin for this call must be _Signed_. - * - * - `target`: Target of the original atomic swap. - * - `hashed_proof`: Hashed proof of the original atomic swap. - **/ - cancelSwap: AugmentedSubmittable< - (target: AccountId32 | string | Uint8Array, hashedProof: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, - [AccountId32, U8aFixed] - >; - /** - * Claim an atomic swap. - * - * The dispatch origin for this call must be _Signed_. - * - * - `proof`: Revealed proof of the claim. - * - `action`: Action defined in the swap, it must match the entry in blockchain. Otherwise - * the operation fails. This is used for weight calculation. - **/ - claimSwap: AugmentedSubmittable< - ( - proof: Bytes | string | Uint8Array, - action: PalletAtomicSwapBalanceSwapAction | { value?: any } | string | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [Bytes, PalletAtomicSwapBalanceSwapAction] - >; - /** - * Register a new atomic swap, declaring an intention to send funds from origin to target - * on the current blockchain. The target can claim the fund using the revealed proof. If - * the fund is not claimed after `duration` blocks, then the sender can cancel the swap. - * - * The dispatch origin for this call must be _Signed_. - * - * - `target`: Receiver of the atomic swap. - * - `hashed_proof`: The blake2_256 hash of the secret proof. - * - `balance`: Funds to be sent from origin. - * - `duration`: Locked duration of the atomic swap. For safety reasons, it is recommended - * that the revealer uses a shorter duration than the counterparty, to prevent the - * situation where the revealer reveals the proof too late around the end block. - **/ - createSwap: AugmentedSubmittable< - ( - target: AccountId32 | string | Uint8Array, - hashedProof: U8aFixed | string | Uint8Array, - action: PalletAtomicSwapBalanceSwapAction | { value?: any } | string | Uint8Array, - duration: u32 | AnyNumber | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [AccountId32, U8aFixed, PalletAtomicSwapBalanceSwapAction, u32] - >; + * See [`Pallet::cancel_swap`]. + **/ + cancelSwap: AugmentedSubmittable<(target: AccountId32 | string | Uint8Array, hashedProof: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, U8aFixed]>; + /** + * See [`Pallet::claim_swap`]. + **/ + claimSwap: AugmentedSubmittable<(proof: Bytes | string | Uint8Array, action: PalletAtomicSwapBalanceSwapAction | { value?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, PalletAtomicSwapBalanceSwapAction]>; + /** + * See [`Pallet::create_swap`]. + **/ + createSwap: AugmentedSubmittable<(target: AccountId32 | string | Uint8Array, hashedProof: U8aFixed | string | Uint8Array, action: PalletAtomicSwapBalanceSwapAction | { value?: any } | string | Uint8Array, duration: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, U8aFixed, PalletAtomicSwapBalanceSwapAction, u32]>; /** * Generic tx **/ @@ -85,30 +46,25 @@ declare module '@polkadot/api-base/types/submittable' { }; authorityMembers: { /** - * ask to leave the set of validators two sessions after + * See [`Pallet::go_offline`]. **/ goOffline: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>; /** - * ask to join the set of validators two sessions after + * See [`Pallet::go_online`]. **/ goOnline: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>; /** - * remove an identity from the set of authorities + * See [`Pallet::remove_member`]. **/ removeMember: AugmentedSubmittable<(memberId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>; /** - * remove an identity from the blacklist + * See [`Pallet::remove_member_from_blacklist`]. **/ removeMemberFromBlacklist: AugmentedSubmittable<(memberId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>; /** - * declare new session keys to replace current ones + * See [`Pallet::set_session_keys`]. **/ - setSessionKeys: AugmentedSubmittable< - ( - keys: GdevRuntimeOpaqueSessionKeys | { grandpa?: any; babe?: any; imOnline?: any; authorityDiscovery?: any } | string | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [GdevRuntimeOpaqueSessionKeys] - >; + setSessionKeys: AugmentedSubmittable<(keys: GdevRuntimeOpaqueSessionKeys | { grandpa?: any; babe?: any; imOnline?: any; authorityDiscovery?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [GdevRuntimeOpaqueSessionKeys]>; /** * Generic tx **/ @@ -116,53 +72,17 @@ declare module '@polkadot/api-base/types/submittable' { }; babe: { /** - * Plan an epoch config change. The epoch config change is recorded and will be enacted on - * the next call to `enact_epoch_change`. The config will be activated one epoch after. - * Multiple calls to this method will replace any existing planned config change that had - * not been enacted yet. - **/ - planConfigChange: AugmentedSubmittable< - (config: SpConsensusBabeDigestsNextConfigDescriptor | { V1: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, - [SpConsensusBabeDigestsNextConfigDescriptor] - >; - /** - * Report authority equivocation/misbehavior. This method will verify - * the equivocation proof and validate the given key ownership proof - * against the extracted offender. If both are valid, the offence will - * be reported. - **/ - reportEquivocation: AugmentedSubmittable< - ( - equivocationProof: - | SpConsensusSlotsEquivocationProof - | { offender?: any; slot?: any; firstHeader?: any; secondHeader?: any } - | string - | Uint8Array, - keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [SpConsensusSlotsEquivocationProof, SpSessionMembershipProof] - >; - /** - * Report authority equivocation/misbehavior. This method will verify - * the equivocation proof and validate the given key ownership proof - * against the extracted offender. If both are valid, the offence will - * be reported. - * This extrinsic must be called unsigned and it is expected that only - * block authors will call it (validated in `ValidateUnsigned`), as such - * if the block author is defined it will be defined as the equivocation - * reporter. - **/ - reportEquivocationUnsigned: AugmentedSubmittable< - ( - equivocationProof: - | SpConsensusSlotsEquivocationProof - | { offender?: any; slot?: any; firstHeader?: any; secondHeader?: any } - | string - | Uint8Array, - keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [SpConsensusSlotsEquivocationProof, SpSessionMembershipProof] - >; + * See [`Pallet::plan_config_change`]. + **/ + planConfigChange: AugmentedSubmittable<(config: SpConsensusBabeDigestsNextConfigDescriptor | { V1: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusBabeDigestsNextConfigDescriptor]>; + /** + * See [`Pallet::report_equivocation`]. + **/ + reportEquivocation: AugmentedSubmittable<(equivocationProof: SpConsensusSlotsEquivocationProof | { offender?: any; slot?: any; firstHeader?: any; secondHeader?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusSlotsEquivocationProof, SpSessionMembershipProof]>; + /** + * See [`Pallet::report_equivocation_unsigned`]. + **/ + reportEquivocationUnsigned: AugmentedSubmittable<(equivocationProof: SpConsensusSlotsEquivocationProof | { offender?: any; slot?: any; firstHeader?: any; secondHeader?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusSlotsEquivocationProof, SpSessionMembershipProof]>; /** * Generic tx **/ @@ -170,166 +90,51 @@ declare module '@polkadot/api-base/types/submittable' { }; balances: { /** - * Set the regular balance of a given account. - * - * 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<u64> | AnyNumber | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [MultiAddress, Compact<u64>] - >; - /** - * Exactly as `transfer_allow_death`, except the origin must be root and the source account - * 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<u64> | AnyNumber | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [MultiAddress, MultiAddress, Compact<u64>] - >; - /** - * Unreserve some balance from a user by force. - * - * Can only be called by ROOT. - **/ - forceUnreserve: AugmentedSubmittable< - ( - who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, - amount: u64 | AnyNumber | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [MultiAddress, u64] - >; - /** - * Set the regular balance of a given account; it also takes a reserved balance but this - * must be the same as the account's current reserved balance. - * - * The dispatch origin for this call is `root`. - * - * WARNING: This call is DEPRECATED! Use `force_set_balance` instead. - **/ - setBalanceDeprecated: AugmentedSubmittable< - ( - who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, - newFree: Compact<u64> | AnyNumber | Uint8Array, - oldReserved: Compact<u64> | AnyNumber | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [MultiAddress, Compact<u64>, Compact<u64>] - >; - /** - * Alias for `transfer_allow_death`, provided only for name-wise compatibility. - * - * WARNING: DEPRECATED! Will be released in approximately 3 months. - **/ - transfer: AugmentedSubmittable< - ( - dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, - value: Compact<u64> | AnyNumber | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [MultiAddress, Compact<u64>] - >; - /** - * Transfer the entire transferable balance from the caller account. - * - * NOTE: This function only attempts to transfer _transferable_ balances. This means that - * any locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be - * transferred by this function. To ensure that this function results in a killed account, - * you might need to prepare the account by removing any reference counters, storage - * deposits, etc... - * - * The dispatch origin of this call must be Signed. - * - * - `dest`: The recipient of the transfer. - * - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all - * of the funds the account has, causing the sender account to be killed (false), or - * transfer everything except at least the existential deposit, which will guarantee to - * 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] - >; - /** - * Transfer some liquid free balance to another account. - * - * `transfer_allow_death` will set the `FreeBalance` of the sender and receiver. - * If the sender's account is below the existential deposit as a result - * of the transfer, the account will be reaped. - * - * 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<u64> | AnyNumber | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [MultiAddress, Compact<u64>] - >; - /** - * Same as the [`transfer_allow_death`] call, but with a check that the transfer will not - * kill the origin account. - * - * 99% of the time you want [`transfer_allow_death`] instead. - * - * [`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<u64> | AnyNumber | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [MultiAddress, Compact<u64>] - >; - /** - * Upgrade a specified account. - * - * - `origin`: Must be `Signed`. - * - `who`: The account to be upgraded. - * - * This will waive the transaction fee if at least all but 10% of the accounts needed to - * be upgraded. (We let some not have to be upgraded just in order to allow for the - * possibililty of churn). - **/ - upgradeAccounts: AugmentedSubmittable< - (who: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, - [Vec<AccountId32>] - >; + * See [`Pallet::force_set_balance`]. + **/ + forceSetBalance: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, newFree: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u64>]>; + /** + * See [`Pallet::force_transfer`]. + **/ + 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<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Compact<u64>]>; + /** + * See [`Pallet::force_unreserve`]. + **/ + forceUnreserve: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, amount: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u64]>; + /** + * See [`Pallet::transfer_all`]. + **/ + transferAll: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, bool]>; + /** + * See [`Pallet::transfer_allow_death`]. + **/ + transferAllowDeath: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u64>]>; + /** + * See [`Pallet::transfer_keep_alive`]. + **/ + transferKeepAlive: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u64>]>; /** * Generic tx **/ [key: string]: SubmittableExtrinsicFunction<ApiType>; }; - cert: { + certification: { /** - * Add a new certification or renew an existing one - * - * - `receiver`: the account receiving the certification from the origin - * - * The origin must be allow to certify. + * See [`Pallet::add_cert`]. **/ - addCert: AugmentedSubmittable< - (issuer: u32 | AnyNumber | Uint8Array, receiver: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, - [u32, u32] - >; + addCert: AugmentedSubmittable<(receiver: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>; /** - * remove a certification (only root) + * See [`Pallet::del_cert`]. **/ - delCert: AugmentedSubmittable< - (issuer: u32 | AnyNumber | Uint8Array, receiver: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, - [u32, u32] - >; + delCert: AugmentedSubmittable<(issuer: u32 | AnyNumber | Uint8Array, receiver: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>; /** - * remove all certifications received by an identity (only root) + * See [`Pallet::remove_all_certs_received_by`]. **/ removeAllCertsReceivedBy: AugmentedSubmittable<(idtyIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>; + /** + * See [`Pallet::renew_cert`]. + **/ + renewCert: AugmentedSubmittable<(receiver: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>; /** * Generic tx **/ @@ -337,47 +142,25 @@ declare module '@polkadot/api-base/types/submittable' { }; distance: { /** - * Set the distance evaluation status of an identity - * - * Removes the status if `status` is `None`. - * - * * `status.0` is the account for whom the price will be unreserved or slashed - * when the evaluation completes. - * * `status.1` is the status of the evaluation. - **/ - forceSetDistanceStatus: AugmentedSubmittable< - ( - identity: u32 | AnyNumber | Uint8Array, - status: - | Option<ITuple<[AccountId32, PalletDistanceDistanceStatus]>> - | null - | Uint8Array - | ITuple<[AccountId32, PalletDistanceDistanceStatus]> - | [AccountId32 | string | Uint8Array, PalletDistanceDistanceStatus | 'Pending' | 'Valid' | number | Uint8Array] - ) => SubmittableExtrinsic<ApiType>, - [u32, Option<ITuple<[AccountId32, PalletDistanceDistanceStatus]>>] - >; - /** - * Push an evaluation result to the pool - **/ - forceUpdateEvaluation: AugmentedSubmittable< - ( - evaluator: AccountId32 | string | Uint8Array, - computationResult: SpDistanceComputationResult | { distances?: any } | string | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [AccountId32, SpDistanceComputationResult] - >; - /** - * Request an identity to be evaluated + * See [`Pallet::force_update_evaluation`]. + **/ + forceUpdateEvaluation: AugmentedSubmittable<(evaluator: AccountId32 | string | Uint8Array, computationResult: SpDistanceComputationResult | { distances?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, SpDistanceComputationResult]>; + /** + * See [`Pallet::force_valid_distance_status`]. + **/ + forceValidDistanceStatus: AugmentedSubmittable<(identity: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>; + /** + * See [`Pallet::request_distance_evaluation`]. **/ requestDistanceEvaluation: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>; /** - * (Inherent) Push an evaluation result to the pool + * See [`Pallet::request_distance_evaluation_for`]. + **/ + requestDistanceEvaluationFor: AugmentedSubmittable<(target: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>; + /** + * See [`Pallet::update_evaluation`]. **/ - updateEvaluation: AugmentedSubmittable< - (computationResult: SpDistanceComputationResult | { distances?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, - [SpDistanceComputationResult] - >; + updateEvaluation: AugmentedSubmittable<(computationResult: SpDistanceComputationResult | { distances?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpDistanceComputationResult]>; /** * Generic tx **/ @@ -385,54 +168,17 @@ declare module '@polkadot/api-base/types/submittable' { }; grandpa: { /** - * Note that the current authority set of the GRANDPA finality gadget has stalled. - * - * This will trigger a forced authority set change at the beginning of the next session, to - * be enacted `delay` blocks after that. The `delay` should be high enough to safely assume - * that the block signalling the forced change will not be re-orged e.g. 1000 blocks. - * The block production rate (which may be slowed down because of finality lagging) should - * be taken into account when choosing the `delay`. The GRANDPA voters based on the new - * authority will start voting on top of `best_finalized_block_number` for new finalized - * blocks. `best_finalized_block_number` should be the highest of the latest finalized - * block of all validators of the new authority set. - * - * Only callable by root. - **/ - noteStalled: AugmentedSubmittable< - (delay: u32 | AnyNumber | Uint8Array, bestFinalizedBlockNumber: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, - [u32, u32] - >; - /** - * Report voter equivocation/misbehavior. This method will verify the - * equivocation proof and validate the given key ownership proof - * against the extracted offender. If both are valid, the offence - * will be reported. - **/ - reportEquivocation: AugmentedSubmittable< - ( - equivocationProof: SpConsensusGrandpaEquivocationProof | { setId?: any; equivocation?: any } | string | Uint8Array, - keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [SpConsensusGrandpaEquivocationProof, SpSessionMembershipProof] - >; - /** - * Report voter equivocation/misbehavior. This method will verify the - * equivocation proof and validate the given key ownership proof - * against the extracted offender. If both are valid, the offence - * will be reported. - * - * This extrinsic must be called unsigned and it is expected that only - * block authors will call it (validated in `ValidateUnsigned`), as such - * if the block author is defined it will be defined as the equivocation - * reporter. - **/ - reportEquivocationUnsigned: AugmentedSubmittable< - ( - equivocationProof: SpConsensusGrandpaEquivocationProof | { setId?: any; equivocation?: any } | string | Uint8Array, - keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [SpConsensusGrandpaEquivocationProof, SpSessionMembershipProof] - >; + * See [`Pallet::note_stalled`]. + **/ + noteStalled: AugmentedSubmittable<(delay: u32 | AnyNumber | Uint8Array, bestFinalizedBlockNumber: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>; + /** + * See [`Pallet::report_equivocation`]. + **/ + reportEquivocation: AugmentedSubmittable<(equivocationProof: SpConsensusGrandpaEquivocationProof | { setId?: any; equivocation?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusGrandpaEquivocationProof, SpSessionMembershipProof]>; + /** + * See [`Pallet::report_equivocation_unsigned`]. + **/ + reportEquivocationUnsigned: AugmentedSubmittable<(equivocationProof: SpConsensusGrandpaEquivocationProof | { setId?: any; equivocation?: any } | string | Uint8Array, keyOwnerProof: SpSessionMembershipProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [SpConsensusGrandpaEquivocationProof, SpSessionMembershipProof]>; /** * Generic tx **/ @@ -440,91 +186,33 @@ declare module '@polkadot/api-base/types/submittable' { }; identity: { /** - * Change identity owner key. - * - * - `new_key`: the new owner key. - * - `new_key_sig`: the signature of the encoded form of `IdtyIndexAccountIdPayload`. - * Must be signed by `new_key`. - * - * The origin should be the old identity owner key. - **/ - changeOwnerKey: AugmentedSubmittable< - ( - newKey: AccountId32 | string | Uint8Array, - newKeySig: SpRuntimeMultiSignature | { Ed25519: any } | { Sr25519: any } | { Ecdsa: any } | string | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [AccountId32, SpRuntimeMultiSignature] - >; - /** - * Confirm the creation of an identity and give it a name - * - * - `idty_name`: the name uniquely associated to this identity. Must match the validation rules defined by the runtime. - * - * The identity must have been created using `create_identity` before it can be confirmed. - **/ - confirmIdentity: AugmentedSubmittable<(idtyName: Text | string) => SubmittableExtrinsic<ApiType>, [Text]>; - /** - * Create an identity for an existing account - * - * - `owner_key`: the public key corresponding to the identity to be created - * - * The origin must be allowed to create an identity. + * See [`Pallet::change_owner_key`]. **/ - createIdentity: AugmentedSubmittable<(ownerKey: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>; + changeOwnerKey: AugmentedSubmittable<(newKey: AccountId32 | string | Uint8Array, newKeySig: SpRuntimeMultiSignature | { Ed25519: any } | { Sr25519: any } | { Ecdsa: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, SpRuntimeMultiSignature]>; /** - * change sufficient ref count for given key + * See [`Pallet::confirm_identity`]. **/ - fixSufficients: AugmentedSubmittable< - (ownerKey: AccountId32 | string | Uint8Array, inc: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, - [AccountId32, bool] - >; + confirmIdentity: AugmentedSubmittable<(idtyName: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>; /** - * Link an account to an identity + * See [`Pallet::create_identity`]. **/ - linkAccount: AugmentedSubmittable< - ( - accountId: AccountId32 | string | Uint8Array, - payloadSig: SpRuntimeMultiSignature | { Ed25519: any } | { Sr25519: any } | { Ecdsa: any } | string | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [AccountId32, SpRuntimeMultiSignature] - >; + createIdentity: AugmentedSubmittable<(ownerKey: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>; /** - * remove identity names from storage + * See [`Pallet::fix_sufficients`]. **/ - pruneItemIdentitiesNames: AugmentedSubmittable<(names: Vec<Text> | (Text | string)[]) => SubmittableExtrinsic<ApiType>, [Vec<Text>]>; + fixSufficients: AugmentedSubmittable<(ownerKey: AccountId32 | string | Uint8Array, inc: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, bool]>; /** - * remove an identity from storage + * See [`Pallet::link_account`]. **/ - removeIdentity: AugmentedSubmittable< - ( - idtyIndex: u32 | AnyNumber | Uint8Array, - idtyName: Option<Text> | null | Uint8Array | Text | string, - reason: PalletIdentityIdtyRemovalReason | { Expired: any } | { Manual: any } | { Other: any } | { Revoked: any } | string | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [u32, Option<Text>, PalletIdentityIdtyRemovalReason] - >; + linkAccount: AugmentedSubmittable<(accountId: AccountId32 | string | Uint8Array, payloadSig: SpRuntimeMultiSignature | { Ed25519: any } | { Sr25519: any } | { Ecdsa: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, SpRuntimeMultiSignature]>; /** - * Revoke an identity using a revocation signature - * - * - `idty_index`: the index of the identity to be revoked. - * - `revocation_key`: the key used to sign the revocation payload. - * - `revocation_sig`: the signature of the encoded form of `RevocationPayload`. - * Must be signed by `revocation_key`. - * - * Any signed origin can execute this call. + * See [`Pallet::prune_item_identities_names`]. **/ - revokeIdentity: AugmentedSubmittable< - ( - idtyIndex: u32 | AnyNumber | Uint8Array, - revocationKey: AccountId32 | string | Uint8Array, - revocationSig: SpRuntimeMultiSignature | { Ed25519: any } | { Sr25519: any } | { Ecdsa: any } | string | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [u32, AccountId32, SpRuntimeMultiSignature] - >; + pruneItemIdentitiesNames: AugmentedSubmittable<(names: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>]>; /** - * validate the owned identity (must meet the main wot requirements) + * See [`Pallet::revoke_identity`]. **/ - validateIdentity: AugmentedSubmittable<(idtyIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>; + revokeIdentity: AugmentedSubmittable<(idtyIndex: u32 | AnyNumber | Uint8Array, revocationKey: AccountId32 | string | Uint8Array, revocationSig: SpRuntimeMultiSignature | { Ed25519: any } | { Sr25519: any } | { Ecdsa: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, AccountId32, SpRuntimeMultiSignature]>; /** * Generic tx **/ @@ -532,259 +220,49 @@ declare module '@polkadot/api-base/types/submittable' { }; imOnline: { /** - * ## Complexity: - * - `O(K + E)` where K is length of `Keys` (heartbeat.validators_len) and E is length of - * `heartbeat.network_state.external_address` - * - `O(K)`: decoding of length `K` - * - `O(E)`: decoding/encoding of length `E` - **/ - heartbeat: AugmentedSubmittable< - ( - heartbeat: - | PalletImOnlineHeartbeat - | { blockNumber?: any; networkState?: any; sessionIndex?: any; authorityIndex?: any; validatorsLen?: any } - | string - | Uint8Array, - signature: PalletImOnlineSr25519AppSr25519Signature | string | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature] - >; + * See [`Pallet::heartbeat`]. + **/ + heartbeat: AugmentedSubmittable<(heartbeat: PalletImOnlineHeartbeat | { blockNumber?: any; sessionIndex?: any; authorityIndex?: any; validatorsLen?: any } | string | Uint8Array, signature: PalletImOnlineSr25519AppSr25519Signature | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature]>; /** * Generic tx **/ [key: string]: SubmittableExtrinsicFunction<ApiType>; }; - membership: { + multisig: { /** - * claim membership - * a pending membership should exist - * it must fullfill the requirements (certs, distance) - * for main wot claim_membership is called automatically when validating identity - * for smith wot, it means joining the authority members + * See [`Pallet::approve_as_multi`]. **/ - claimMembership: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>; + approveAsMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], maybeTimepoint: Option<PalletMultisigTimepoint> | null | Uint8Array | PalletMultisigTimepoint | { height?: any; index?: any } | string, callHash: U8aFixed | string | Uint8Array, maxWeight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, Option<PalletMultisigTimepoint>, U8aFixed, SpWeightsWeightV2Weight]>; /** - * extend the validity period of an active membership + * See [`Pallet::as_multi`]. **/ - renewMembership: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>; + asMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], maybeTimepoint: Option<PalletMultisigTimepoint> | null | Uint8Array | PalletMultisigTimepoint | { height?: any; index?: any } | string, call: Call | IMethod | string | Uint8Array, maxWeight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, Option<PalletMultisigTimepoint>, Call, SpWeightsWeightV2Weight]>; /** - * submit a membership request (must have a declared identity) - * (only available for sub wot, automatic for main wot) + * See [`Pallet::as_multi_threshold_1`]. **/ - requestMembership: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>; + asMultiThreshold1: AugmentedSubmittable<(otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>, Call]>; /** - * revoke an active membership - * (only available for sub wot, automatic for main wot) + * See [`Pallet::cancel_as_multi`]. **/ - revokeMembership: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>; + cancelAsMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], timepoint: PalletMultisigTimepoint | { height?: any; index?: any } | string | Uint8Array, callHash: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, PalletMultisigTimepoint, U8aFixed]>; /** * Generic tx **/ [key: string]: SubmittableExtrinsicFunction<ApiType>; }; - multisig: { + oneshotAccount: { /** - * Register approval for a dispatch to be made from a deterministic composite account if - * approved by a total of `threshold - 1` of `other_signatories`. - * - * Payment: `DepositBase` will be reserved if this is the first approval, plus - * `threshold` times `DepositFactor`. It is returned once this dispatch happens or - * is cancelled. - * - * The dispatch origin for this call must be _Signed_. - * - * - `threshold`: The total number of approvals for this dispatch before it is executed. - * - `other_signatories`: The accounts (other than the sender) who can approve this - * dispatch. May not be empty. - * - `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is - * not the first approval, then it must be `Some`, with the timepoint (block number and - * transaction index) of the first approval transaction. - * - `call_hash`: The hash of the call to be executed. - * - * NOTE: If this is the final approval, you will want to use `as_multi` instead. - * - * ## Complexity - * - `O(S)`. - * - Up to one balance-reserve or unreserve operation. - * - One passthrough operation, one insert, both `O(S)` where `S` is the number of - * signatories. `S` is capped by `MaxSignatories`, with weight being proportional. - * - One encode & hash, both of complexity `O(S)`. - * - Up to one binary search and insert (`O(logS + S)`). - * - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove. - * - One event. - * - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit - * taken for its lifetime of `DepositBase + threshold * DepositFactor`. - **/ - approveAsMulti: AugmentedSubmittable< - ( - threshold: u16 | AnyNumber | Uint8Array, - otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], - maybeTimepoint: Option<PalletMultisigTimepoint> | null | Uint8Array | PalletMultisigTimepoint | { height?: any; index?: any } | string, - callHash: U8aFixed | string | Uint8Array, - maxWeight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [u16, Vec<AccountId32>, Option<PalletMultisigTimepoint>, U8aFixed, SpWeightsWeightV2Weight] - >; - /** - * Register approval for a dispatch to be made from a deterministic composite account if - * approved by a total of `threshold - 1` of `other_signatories`. - * - * If there are enough, then dispatch the call. - * - * Payment: `DepositBase` will be reserved if this is the first approval, plus - * `threshold` times `DepositFactor`. It is returned once this dispatch happens or - * is cancelled. - * - * The dispatch origin for this call must be _Signed_. - * - * - `threshold`: The total number of approvals for this dispatch before it is executed. - * - `other_signatories`: The accounts (other than the sender) who can approve this - * dispatch. May not be empty. - * - `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is - * not the first approval, then it must be `Some`, with the timepoint (block number and - * transaction index) of the first approval transaction. - * - `call`: The call to be executed. - * - * NOTE: Unless this is the final approval, you will generally want to use - * `approve_as_multi` instead, since it only requires a hash of the call. - * - * Result is equivalent to the dispatched result if `threshold` is exactly `1`. Otherwise - * on success, result is `Ok` and the result from the interior call, if it was executed, - * may be found in the deposited `MultisigExecuted` event. - * - * ## Complexity - * - `O(S + Z + Call)`. - * - Up to one balance-reserve or unreserve operation. - * - One passthrough operation, one insert, both `O(S)` where `S` is the number of - * signatories. `S` is capped by `MaxSignatories`, with weight being proportional. - * - One call encode & hash, both of complexity `O(Z)` where `Z` is tx-len. - * - One encode & hash, both of complexity `O(S)`. - * - Up to one binary search and insert (`O(logS + S)`). - * - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove. - * - One event. - * - The weight of the `call`. - * - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit - * taken for its lifetime of `DepositBase + threshold * DepositFactor`. - **/ - asMulti: AugmentedSubmittable< - ( - threshold: u16 | AnyNumber | Uint8Array, - otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], - maybeTimepoint: Option<PalletMultisigTimepoint> | null | Uint8Array | PalletMultisigTimepoint | { height?: any; index?: any } | string, - call: Call | IMethod | string | Uint8Array, - maxWeight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [u16, Vec<AccountId32>, Option<PalletMultisigTimepoint>, Call, SpWeightsWeightV2Weight] - >; - /** - * Immediately dispatch a multi-signature call using a single approval from the caller. - * - * The dispatch origin for this call must be _Signed_. - * - * - `other_signatories`: The accounts (other than the sender) who are part of the - * multi-signature, but do not participate in the approval process. - * - `call`: The call to be executed. - * - * Result is equivalent to the dispatched result. - * - * ## Complexity - * 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: Call | IMethod | string | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [Vec<AccountId32>, Call] - >; - /** - * Cancel a pre-existing, on-going multisig transaction. Any deposit reserved previously - * for this operation will be unreserved on success. - * - * The dispatch origin for this call must be _Signed_. - * - * - `threshold`: The total number of approvals for this dispatch before it is executed. - * - `other_signatories`: The accounts (other than the sender) who can approve this - * dispatch. May not be empty. - * - `timepoint`: The timepoint (block number and transaction index) of the first approval - * transaction for this dispatch. - * - `call_hash`: The hash of the call to be executed. - * - * ## Complexity - * - `O(S)`. - * - Up to one balance-reserve or unreserve operation. - * - One passthrough operation, one insert, both `O(S)` where `S` is the number of - * signatories. `S` is capped by `MaxSignatories`, with weight being proportional. - * - One encode & hash, both of complexity `O(S)`. - * - One event. - * - I/O: 1 read `O(S)`, one remove. - * - Storage: removes one item. - **/ - cancelAsMulti: AugmentedSubmittable< - ( - threshold: u16 | AnyNumber | Uint8Array, - otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], - timepoint: PalletMultisigTimepoint | { height?: any; index?: any } | string | Uint8Array, - callHash: U8aFixed | string | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [u16, Vec<AccountId32>, PalletMultisigTimepoint, U8aFixed] - >; + * See [`Pallet::consume_oneshot_account`]. + **/ + consumeOneshotAccount: AugmentedSubmittable<(blockHeight: u32 | AnyNumber | Uint8Array, dest: PalletOneshotAccountAccount | { Normal: any } | { Oneshot: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletOneshotAccountAccount]>; /** - * Generic tx + * See [`Pallet::consume_oneshot_account_with_remaining`]. **/ - [key: string]: SubmittableExtrinsicFunction<ApiType>; - }; - oneshotAccount: { + consumeOneshotAccountWithRemaining: AugmentedSubmittable<(blockHeight: u32 | AnyNumber | Uint8Array, dest: PalletOneshotAccountAccount | { Normal: any } | { Oneshot: any } | string | Uint8Array, remainingTo: PalletOneshotAccountAccount | { Normal: any } | { Oneshot: any } | string | Uint8Array, balance: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletOneshotAccountAccount, PalletOneshotAccountAccount, Compact<u64>]>; /** - * Consume a oneshot account and transfer its balance to an account - * - * - `block_height`: Must be a recent block number. The limit is `BlockHashCount` in the past. (this is to prevent replay attacks) - * - `dest`: The destination account. - * - `dest_is_oneshot`: If set to `true`, then a oneshot account is created at `dest`. Else, `dest` has to be an existing account. - **/ - consumeOneshotAccount: AugmentedSubmittable< - ( - blockHeight: u32 | AnyNumber | Uint8Array, - dest: PalletOneshotAccountAccount | { Normal: any } | { Oneshot: any } | string | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [u32, PalletOneshotAccountAccount] - >; - /** - * Consume a oneshot account then transfer some amount to an account, - * and the remaining amount to another account. - * - * - `block_height`: Must be a recent block number. - * The limit is `BlockHashCount` in the past. (this is to prevent replay attacks) - * - `dest`: The destination account. - * - `dest_is_oneshot`: If set to `true`, then a oneshot account is created at `dest`. Else, `dest` has to be an existing account. - * - `dest2`: The second destination account. - * - `dest2_is_oneshot`: If set to `true`, then a oneshot account is created at `dest2`. Else, `dest2` has to be an existing account. - * - `balance1`: The amount transfered to `dest`, the leftover being transfered to `dest2`. - **/ - consumeOneshotAccountWithRemaining: AugmentedSubmittable< - ( - blockHeight: u32 | AnyNumber | Uint8Array, - dest: PalletOneshotAccountAccount | { Normal: any } | { Oneshot: any } | string | Uint8Array, - remainingTo: PalletOneshotAccountAccount | { Normal: any } | { Oneshot: any } | string | Uint8Array, - balance: Compact<u64> | AnyNumber | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [u32, PalletOneshotAccountAccount, PalletOneshotAccountAccount, Compact<u64>] - >; - /** - * Create an account that can only be consumed once - * - * - `dest`: The oneshot account to be created. - * - `balance`: The balance to be transfered to this oneshot account. - * - * Origin account is kept alive. - **/ - createOneshotAccount: AugmentedSubmittable< - ( - dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, - value: Compact<u64> | AnyNumber | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [MultiAddress, Compact<u64>] - >; + * See [`Pallet::create_oneshot_account`]. + **/ + createOneshotAccount: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u64>]>; /** * Generic tx **/ @@ -792,32 +270,23 @@ declare module '@polkadot/api-base/types/submittable' { }; preimage: { /** - * Register a preimage on-chain. - * - * If the preimage was previously requested, no fees or deposits are taken for providing - * the preimage. Otherwise, a deposit is taken proportional to the size of the preimage. + * See [`Pallet::ensure_updated`]. + **/ + ensureUpdated: AugmentedSubmittable<(hashes: Vec<H256> | (H256 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<H256>]>; + /** + * See [`Pallet::note_preimage`]. **/ notePreimage: AugmentedSubmittable<(bytes: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>; /** - * Request a preimage be uploaded to the chain without paying any fees or deposits. - * - * If the preimage requests has already been provided on-chain, we unreserve any deposit - * a user may have paid, and take the control of the preimage out of their hands. + * See [`Pallet::request_preimage`]. **/ requestPreimage: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>; /** - * Clear an unrequested preimage from the runtime storage. - * - * If `len` is provided, then it will be a much cheaper operation. - * - * - `hash`: The hash of the preimage to be removed from the store. - * - `len`: The length of the preimage of `hash`. + * See [`Pallet::unnote_preimage`]. **/ unnotePreimage: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>; /** - * Clear a previously made request for a preimage. - * - * NOTE: THIS MUST NOT BE CALLED ON `hash` MORE TIMES THAN `request_preimage`. + * See [`Pallet::unrequest_preimage`]. **/ unrequestPreimage: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>; /** @@ -827,21 +296,9 @@ declare module '@polkadot/api-base/types/submittable' { }; provideRandomness: { /** - * Request a randomness - **/ - request: AugmentedSubmittable< - ( - randomnessType: - | PalletProvideRandomnessRandomnessType - | 'RandomnessFromPreviousBlock' - | 'RandomnessFromOneEpochAgo' - | 'RandomnessFromTwoEpochsAgo' - | number - | Uint8Array, - salt: H256 | string | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [PalletProvideRandomnessRandomnessType, H256] - >; + * See [`Pallet::request`]. + **/ + request: AugmentedSubmittable<(randomnessType: PalletProvideRandomnessRandomnessType | 'RandomnessFromPreviousBlock' | 'RandomnessFromOneEpochAgo' | 'RandomnessFromTwoEpochsAgo' | number | Uint8Array, salt: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletProvideRandomnessRandomnessType, H256]>; /** * Generic tx **/ @@ -849,227 +306,45 @@ declare module '@polkadot/api-base/types/submittable' { }; proxy: { /** - * Register a proxy account for the sender that is able to make calls on its behalf. - * - * The dispatch origin for this call must be _Signed_. - * - * Parameters: - * - `proxy`: The account that the `caller` would like to make a proxy. - * - `proxy_type`: The permissions allowed for this proxy account. - * - `delay`: The announcement period required of the initial proxy. Will generally be - * zero. - **/ - addProxy: AugmentedSubmittable< - ( - delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, - proxyType: GdevRuntimeProxyType | 'AlmostAny' | 'TransferOnly' | 'CancelProxy' | 'TechnicalCommitteePropose' | number | Uint8Array, - delay: u32 | AnyNumber | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [MultiAddress, GdevRuntimeProxyType, u32] - >; - /** - * Publish the hash of a proxy-call that will be made in the future. - * - * This must be called some number of blocks before the corresponding `proxy` is attempted - * if the delay associated with the proxy relationship is greater than zero. - * - * No more than `MaxPending` announcements may be made at any one time. - * - * This will take a deposit of `AnnouncementDepositFactor` as well as - * `AnnouncementDepositBase` if there are no other pending announcements. - * - * The dispatch origin for this call must be _Signed_ and a proxy of `real`. - * - * Parameters: - * - `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. - **/ - announce: AugmentedSubmittable< - ( - real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, - callHash: H256 | string | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [MultiAddress, H256] - >; - /** - * Spawn a fresh new account that is guaranteed to be otherwise inaccessible, and - * initialize it with a proxy of `proxy_type` for `origin` sender. - * - * Requires a `Signed` origin. - * - * - `proxy_type`: The type of the proxy that the sender will be registered as over the - * new account. This will almost always be the most permissive `ProxyType` possible to - * allow for maximum flexibility. - * - `index`: A disambiguation index, in case this is called multiple times in the same - * transaction (e.g. with `utility::batch`). Unless you're using `batch` you probably just - * want to use `0`. - * - `delay`: The announcement period required of the initial proxy. Will generally be - * zero. - * - * Fails with `Duplicate` if this has already been called in this transaction, from the - * same sender, with the same parameters. - * - * Fails if there are insufficient funds to pay for deposit. - **/ - createPure: AugmentedSubmittable< - ( - proxyType: GdevRuntimeProxyType | 'AlmostAny' | 'TransferOnly' | 'CancelProxy' | 'TechnicalCommitteePropose' | number | Uint8Array, - delay: u32 | AnyNumber | Uint8Array, - index: u16 | AnyNumber | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [GdevRuntimeProxyType, u32, u16] - >; - /** - * Removes a previously spawned pure proxy. - * - * WARNING: **All access to this account will be lost.** Any funds held in it will be - * inaccessible. - * - * Requires a `Signed` origin, and the sender account must have been created by a call to - * `pure` with corresponding parameters. - * - * - `spawner`: The account that originally called `pure` to create this account. - * - `index`: The disambiguation index originally passed to `pure`. Probably `0`. - * - `proxy_type`: The proxy type originally passed to `pure`. - * - `height`: The height of the chain when the call to `pure` was processed. - * - `ext_index`: The extrinsic index in which the call to `pure` was processed. - * - * Fails with `NoPermission` in case the caller is not a previously created pure - * account whose `pure` call has corresponding parameters. - **/ - killPure: AugmentedSubmittable< - ( - spawner: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, - proxyType: GdevRuntimeProxyType | 'AlmostAny' | 'TransferOnly' | 'CancelProxy' | 'TechnicalCommitteePropose' | number | Uint8Array, - index: u16 | AnyNumber | Uint8Array, - height: Compact<u32> | AnyNumber | Uint8Array, - extIndex: Compact<u32> | AnyNumber | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [MultiAddress, GdevRuntimeProxyType, u16, Compact<u32>, Compact<u32>] - >; - /** - * Dispatch the given `call` from an account that the sender is authorised for through - * `add_proxy`. - * - * The dispatch origin for this call must be _Signed_. - * - * Parameters: - * - `real`: The account that the proxy will make a call on behalf of. - * - `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. - **/ - proxy: AugmentedSubmittable< - ( - real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, - forceProxyType: - | Option<GdevRuntimeProxyType> - | null - | Uint8Array - | GdevRuntimeProxyType - | 'AlmostAny' - | 'TransferOnly' - | 'CancelProxy' - | 'TechnicalCommitteePropose' - | number, - call: Call | IMethod | string | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [MultiAddress, Option<GdevRuntimeProxyType>, Call] - >; - /** - * Dispatch the given `call` from an account that the sender is authorized for through - * `add_proxy`. - * - * Removes any corresponding announcement(s). - * - * The dispatch origin for this call must be _Signed_. - * - * Parameters: - * - `real`: The account that the proxy will make a call on behalf of. - * - `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. - **/ - 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<GdevRuntimeProxyType> - | null - | Uint8Array - | GdevRuntimeProxyType - | 'AlmostAny' - | 'TransferOnly' - | 'CancelProxy' - | 'TechnicalCommitteePropose' - | number, - call: Call | IMethod | string | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [MultiAddress, MultiAddress, Option<GdevRuntimeProxyType>, Call] - >; - /** - * Remove the given announcement of a delegate. - * - * May be called by a target (proxied) account to remove a call that one of their delegates - * (`delegate`) has announced they want to execute. The deposit is returned. - * - * The dispatch origin for this call must be _Signed_. - * - * Parameters: - * - `delegate`: The account that previously announced the call. - * - `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] - >; - /** - * Remove a given announcement. - * - * May be called by a proxy account to remove a call they previously announced and return - * the deposit. - * - * The dispatch origin for this call must be _Signed_. - * - * Parameters: - * - `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. - **/ - removeAnnouncement: AugmentedSubmittable< - ( - real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, - callHash: H256 | string | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [MultiAddress, H256] - >; - /** - * Unregister all proxy accounts for the sender. - * - * The dispatch origin for this call must be _Signed_. - * - * WARNING: This may be called on accounts created by `pure`, however if done, then - * the unreserved fees will be inaccessible. **All access to this account will be lost.** + * See [`Pallet::add_proxy`]. + **/ + addProxy: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: GdevRuntimeProxyType | 'AlmostAny' | 'TransferOnly' | 'CancelProxy' | 'TechnicalCommitteePropose' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, GdevRuntimeProxyType, u32]>; + /** + * See [`Pallet::announce`]. + **/ + announce: AugmentedSubmittable<(real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256]>; + /** + * See [`Pallet::create_pure`]. + **/ + createPure: AugmentedSubmittable<(proxyType: GdevRuntimeProxyType | 'AlmostAny' | 'TransferOnly' | 'CancelProxy' | 'TechnicalCommitteePropose' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array, index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [GdevRuntimeProxyType, u32, u16]>; + /** + * See [`Pallet::kill_pure`]. + **/ + killPure: AugmentedSubmittable<(spawner: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: GdevRuntimeProxyType | 'AlmostAny' | 'TransferOnly' | 'CancelProxy' | 'TechnicalCommitteePropose' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, GdevRuntimeProxyType, u16, Compact<u32>, Compact<u32>]>; + /** + * See [`Pallet::proxy`]. + **/ + proxy: AugmentedSubmittable<(real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, forceProxyType: Option<GdevRuntimeProxyType> | null | Uint8Array | GdevRuntimeProxyType | 'AlmostAny' | 'TransferOnly' | 'CancelProxy' | 'TechnicalCommitteePropose' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Option<GdevRuntimeProxyType>, Call]>; + /** + * See [`Pallet::proxy_announced`]. + **/ + 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<GdevRuntimeProxyType> | null | Uint8Array | GdevRuntimeProxyType | 'AlmostAny' | 'TransferOnly' | 'CancelProxy' | 'TechnicalCommitteePropose' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Option<GdevRuntimeProxyType>, Call]>; + /** + * See [`Pallet::reject_announcement`]. + **/ + rejectAnnouncement: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256]>; + /** + * See [`Pallet::remove_announcement`]. + **/ + removeAnnouncement: AugmentedSubmittable<(real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256]>; + /** + * See [`Pallet::remove_proxies`]. **/ removeProxies: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>; /** - * Unregister a proxy account for the sender. - * - * The dispatch origin for this call must be _Signed_. - * - * Parameters: - * - `proxy`: The account that the `caller` would like to remove as a proxy. - * - `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: GdevRuntimeProxyType | 'AlmostAny' | 'TransferOnly' | 'CancelProxy' | 'TechnicalCommitteePropose' | number | Uint8Array, - delay: u32 | AnyNumber | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [MultiAddress, GdevRuntimeProxyType, u32] - >; + * See [`Pallet::remove_proxy`]. + **/ + removeProxy: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: GdevRuntimeProxyType | 'AlmostAny' | 'TransferOnly' | 'CancelProxy' | 'TechnicalCommitteePropose' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, GdevRuntimeProxyType, u32]>; /** * Generic tx **/ @@ -1077,86 +352,29 @@ declare module '@polkadot/api-base/types/submittable' { }; scheduler: { /** - * Cancel an anonymously scheduled task. + * See [`Pallet::cancel`]. **/ - cancel: AugmentedSubmittable< - (when: u32 | AnyNumber | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, - [u32, u32] - >; + cancel: AugmentedSubmittable<(when: u32 | AnyNumber | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>; /** - * Cancel a named scheduled task. + * See [`Pallet::cancel_named`]. **/ cancelNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed]>; /** - * Anonymously schedule a task. - **/ - schedule: AugmentedSubmittable< - ( - when: u32 | AnyNumber | Uint8Array, - maybePeriodic: - | Option<ITuple<[u32, u32]>> - | null - | Uint8Array - | ITuple<[u32, u32]> - | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], - priority: u8 | AnyNumber | Uint8Array, - call: Call | IMethod | string | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [u32, Option<ITuple<[u32, u32]>>, u8, Call] - >; - /** - * Anonymously schedule a task after a delay. - **/ - scheduleAfter: AugmentedSubmittable< - ( - after: u32 | AnyNumber | Uint8Array, - maybePeriodic: - | Option<ITuple<[u32, u32]>> - | null - | Uint8Array - | ITuple<[u32, u32]> - | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], - priority: u8 | AnyNumber | Uint8Array, - call: Call | IMethod | string | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [u32, Option<ITuple<[u32, u32]>>, u8, Call] - >; - /** - * Schedule a named task. - **/ - scheduleNamed: AugmentedSubmittable< - ( - id: U8aFixed | string | Uint8Array, - when: u32 | AnyNumber | Uint8Array, - maybePeriodic: - | Option<ITuple<[u32, u32]>> - | null - | Uint8Array - | ITuple<[u32, u32]> - | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], - priority: u8 | AnyNumber | Uint8Array, - call: Call | IMethod | string | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [U8aFixed, u32, Option<ITuple<[u32, u32]>>, u8, Call] - >; - /** - * Schedule a named task after a delay. - **/ - scheduleNamedAfter: AugmentedSubmittable< - ( - id: U8aFixed | string | Uint8Array, - after: u32 | AnyNumber | Uint8Array, - maybePeriodic: - | Option<ITuple<[u32, u32]>> - | null - | Uint8Array - | ITuple<[u32, u32]> - | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], - priority: u8 | AnyNumber | Uint8Array, - call: Call | IMethod | string | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [U8aFixed, u32, Option<ITuple<[u32, u32]>>, u8, Call] - >; + * See [`Pallet::schedule`]. + **/ + schedule: AugmentedSubmittable<(when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Option<ITuple<[u32, u32]>>, u8, Call]>; + /** + * See [`Pallet::schedule_after`]. + **/ + scheduleAfter: AugmentedSubmittable<(after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Option<ITuple<[u32, u32]>>, u8, Call]>; + /** + * See [`Pallet::schedule_named`]. + **/ + scheduleNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed, u32, Option<ITuple<[u32, u32]>>, u8, Call]>; + /** + * See [`Pallet::schedule_named_after`]. + **/ + scheduleNamedAfter: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed, u32, Option<ITuple<[u32, u32]>>, u8, Call]>; /** * Generic tx **/ @@ -1164,213 +382,107 @@ declare module '@polkadot/api-base/types/submittable' { }; session: { /** - * Removes any session key(s) of the function caller. - * - * This doesn't take effect until the next session. - * - * The dispatch origin of this function must be Signed and the account must be either be - * convertible to a validator ID using the chain's typical addressing system (this usually - * means being a controller account) or directly convertible into a validator ID (which - * usually means being a stash account). - * - * ## Complexity - * - `O(1)` in number of key types. Actual cost depends on the number of length of - * `T::Keys::key_ids()` which is fixed. + * See [`Pallet::purge_keys`]. **/ purgeKeys: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>; /** - * Sets the session key(s) of the function caller to `keys`. - * Allows an account to set its session key prior to becoming a validator. - * This doesn't take effect until the next session. - * - * The dispatch origin of this function must be signed. - * - * ## Complexity - * - `O(1)`. Actual cost depends on the number of length of `T::Keys::key_ids()` which is - * fixed. - **/ - setKeys: AugmentedSubmittable< - ( - keys: GdevRuntimeOpaqueSessionKeys | { grandpa?: any; babe?: any; imOnline?: any; authorityDiscovery?: any } | string | Uint8Array, - proof: Bytes | string | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [GdevRuntimeOpaqueSessionKeys, Bytes] - >; + * See [`Pallet::set_keys`]. + **/ + setKeys: AugmentedSubmittable<(keys: GdevRuntimeOpaqueSessionKeys | { grandpa?: any; babe?: any; imOnline?: any; authorityDiscovery?: any } | string | Uint8Array, proof: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [GdevRuntimeOpaqueSessionKeys, Bytes]>; /** * Generic tx **/ [key: string]: SubmittableExtrinsicFunction<ApiType>; }; - smithCert: { + smithMembers: { /** - * Add a new certification or renew an existing one - * - * - `receiver`: the account receiving the certification from the origin - * - * The origin must be allow to certify. + * See [`Pallet::accept_invitation`]. **/ - addCert: AugmentedSubmittable< - (issuer: u32 | AnyNumber | Uint8Array, receiver: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, - [u32, u32] - >; + acceptInvitation: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>; /** - * remove a certification (only root) + * See [`Pallet::certify_smith`]. **/ - delCert: AugmentedSubmittable< - (issuer: u32 | AnyNumber | Uint8Array, receiver: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, - [u32, u32] - >; + certifySmith: AugmentedSubmittable<(receiver: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>; /** - * remove all certifications received by an identity (only root) + * See [`Pallet::invite_smith`]. **/ - removeAllCertsReceivedBy: AugmentedSubmittable<(idtyIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>; + inviteSmith: AugmentedSubmittable<(receiver: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>; /** * Generic tx **/ [key: string]: SubmittableExtrinsicFunction<ApiType>; }; - smithMembership: { + sudo: { + /** + * See [`Pallet::remove_key`]. + **/ + removeKey: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>; /** - * claim membership - * a pending membership should exist - * it must fullfill the requirements (certs, distance) - * for main wot claim_membership is called automatically when validating identity - * for smith wot, it means joining the authority members + * See [`Pallet::set_key`]. **/ - claimMembership: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>; + setKey: AugmentedSubmittable<(updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>; /** - * extend the validity period of an active membership + * See [`Pallet::sudo`]. **/ - renewMembership: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>; + sudo: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call]>; /** - * submit a membership request (must have a declared identity) - * (only available for sub wot, automatic for main wot) + * See [`Pallet::sudo_as`]. **/ - requestMembership: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>; + sudoAs: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Call]>; /** - * revoke an active membership - * (only available for sub wot, automatic for main wot) + * See [`Pallet::sudo_unchecked_weight`]. **/ - revokeMembership: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>; + sudoUncheckedWeight: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array, weight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, SpWeightsWeightV2Weight]>; /** * Generic tx **/ [key: string]: SubmittableExtrinsicFunction<ApiType>; }; - sudo: { + system: { /** - * Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo - * key. - * - * The dispatch origin for this call must be _Signed_. - * - * ## Complexity - * - O(1). - **/ - setKey: AugmentedSubmittable< - ( - updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [MultiAddress] - >; - /** - * Authenticates the sudo key and dispatches a function call with `Root` origin. - * - * The dispatch origin for this call must be _Signed_. - * - * ## Complexity - * - O(1). + * See [`Pallet::apply_authorized_upgrade`]. **/ - sudo: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call]>; + applyAuthorizedUpgrade: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>; /** - * Authenticates the sudo key and dispatches a function call with `Signed` origin from - * a given account. - * - * The dispatch origin for this call must be _Signed_. - * - * ## Complexity - * - O(1). - **/ - sudoAs: AugmentedSubmittable< - ( - who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, - call: Call | IMethod | string | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [MultiAddress, Call] - >; - /** - * Authenticates the sudo key and dispatches a function call with `Root` origin. - * This function does not check the weight of the call, and instead allows the - * Sudo user to specify the weight of the call. - * - * The dispatch origin for this call must be _Signed_. - * - * ## Complexity - * - O(1). - **/ - sudoUncheckedWeight: AugmentedSubmittable< - ( - call: Call | IMethod | string | Uint8Array, - weight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [Call, SpWeightsWeightV2Weight] - >; + * See [`Pallet::authorize_upgrade`]. + **/ + authorizeUpgrade: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>; /** - * Generic tx + * See [`Pallet::authorize_upgrade_without_checks`]. **/ - [key: string]: SubmittableExtrinsicFunction<ApiType>; - }; - system: { + authorizeUpgradeWithoutChecks: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>; /** - * Kill all storage items with a key that starts with the given prefix. - * - * **NOTE:** We rely on the Root origin to provide us the number of subkeys under - * the prefix we are removing to accurately calculate the weight of this function. + * See [`Pallet::kill_prefix`]. **/ - killPrefix: AugmentedSubmittable< - (prefix: Bytes | string | Uint8Array, subkeys: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, - [Bytes, u32] - >; + killPrefix: AugmentedSubmittable<(prefix: Bytes | string | Uint8Array, subkeys: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, u32]>; /** - * Kill some items from storage. + * See [`Pallet::kill_storage`]. **/ killStorage: AugmentedSubmittable<(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>]>; /** - * Make some on-chain remark. - * - * ## Complexity - * - `O(1)` + * See [`Pallet::remark`]. **/ remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>; /** - * Make some on-chain remark and emit event. + * See [`Pallet::remark_with_event`]. **/ remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>; /** - * Set the new runtime code. - * - * ## Complexity - * - `O(C + S)` where `C` length of `code` and `S` complexity of `can_set_code` + * See [`Pallet::set_code`]. **/ setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>; /** - * Set the new runtime code without doing any checks of the given `code`. - * - * ## Complexity - * - `O(C)` where `C` length of `code` + * See [`Pallet::set_code_without_checks`]. **/ setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>; /** - * Set the number of pages in the WebAssembly environment's heap. + * See [`Pallet::set_heap_pages`]. **/ setHeapPages: AugmentedSubmittable<(pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>; /** - * Set some items of storage. + * See [`Pallet::set_storage`]. **/ - setStorage: AugmentedSubmittable< - (items: Vec<ITuple<[Bytes, Bytes]>> | [Bytes | string | Uint8Array, Bytes | string | Uint8Array][]) => SubmittableExtrinsic<ApiType>, - [Vec<ITuple<[Bytes, Bytes]>>] - >; + setStorage: AugmentedSubmittable<(items: Vec<ITuple<[Bytes, Bytes]>> | ([Bytes | string | Uint8Array, Bytes | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[Bytes, Bytes]>>]>; /** * Generic tx **/ @@ -1378,145 +490,29 @@ declare module '@polkadot/api-base/types/submittable' { }; technicalCommittee: { /** - * Close a vote that is either approved, disapproved or whose voting period has ended. - * - * May be called by any signed account in order to finish voting and close the proposal. - * - * If called before the end of the voting period it will only close the vote if it is - * has enough votes to be approved or disapproved. - * - * If called after the end of the voting period abstentions are counted as rejections - * unless there is a prime member set and the prime member cast an approval. - * - * If the close operation completes successfully with disapproval, the transaction fee will - * be waived. Otherwise execution of the approved operation will be charged to the caller. - * - * + `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed - * proposal. - * + `length_bound`: The upper bound for the length of the proposal in storage. Checked via - * `storage::read` so it is `size_of::<u32>() == 4` larger than the pure length. - * - * ## Complexity - * - `O(B + M + P1 + P2)` where: - * - `B` is `proposal` size in bytes (length-fee-bounded) - * - `M` is members-count (code- and governance-bounded) - * - `P1` is the complexity of `proposal` preimage. - * - `P2` is proposal-count (code-bounded) - **/ - close: AugmentedSubmittable< - ( - proposalHash: H256 | string | Uint8Array, - index: Compact<u32> | AnyNumber | Uint8Array, - proposalWeightBound: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array, - lengthBound: Compact<u32> | AnyNumber | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [H256, Compact<u32>, SpWeightsWeightV2Weight, Compact<u32>] - >; - /** - * Disapprove a proposal, close, and remove it from the system, regardless of its current - * state. - * - * Must be called by the Root origin. - * - * Parameters: - * * `proposal_hash`: The hash of the proposal that should be disapproved. - * - * ## Complexity - * O(P) where P is the number of max proposals + * See [`Pallet::close`]. + **/ + close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, SpWeightsWeightV2Weight, Compact<u32>]>; + /** + * See [`Pallet::disapprove_proposal`]. **/ disapproveProposal: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>; /** - * Dispatch a proposal from a member using the `Member` origin. - * - * Origin must be a member of the collective. - * - * ## Complexity: - * - `O(B + M + P)` where: - * - `B` is `proposal` size in bytes (length-fee-bounded) - * - `M` members-count (code-bounded) - * - `P` complexity of dispatching `proposal` - **/ - execute: AugmentedSubmittable< - (proposal: Call | IMethod | string | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, - [Call, Compact<u32>] - >; - /** - * Add a new proposal to either be voted on or executed directly. - * - * Requires the sender to be member. - * - * `threshold` determines whether `proposal` is executed directly (`threshold < 2`) - * or put up for voting. - * - * ## Complexity - * - `O(B + M + P1)` or `O(B + M + P2)` where: - * - `B` is `proposal` size in bytes (length-fee-bounded) - * - `M` is members-count (code- and governance-bounded) - * - branching is influenced by `threshold` where: - * - `P1` is proposal execution complexity (`threshold < 2`) - * - `P2` is proposals-count (code-bounded) (`threshold >= 2`) - **/ - propose: AugmentedSubmittable< - ( - threshold: Compact<u32> | AnyNumber | Uint8Array, - proposal: Call | IMethod | string | Uint8Array, - lengthBound: Compact<u32> | AnyNumber | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [Compact<u32>, Call, Compact<u32>] - >; - /** - * Set the collective's membership. - * - * - `new_members`: The new member list. Be nice to the chain and provide it sorted. - * - `prime`: The prime member whose vote sets the default. - * - `old_count`: The upper bound for the previous number of members in storage. Used for - * weight estimation. - * - * The dispatch of this call must be `SetMembersOrigin`. - * - * NOTE: Does not enforce the expected `MaxMembers` limit on the amount of members, but - * the weight estimations rely on it to estimate dispatchable weight. - * - * # WARNING: - * - * The `pallet-collective` can also be managed by logic outside of the pallet through the - * implementation of the trait [`ChangeMembers`]. - * Any call to `set_members` must be careful that the member set doesn't get out of sync - * with other logic managing the member set. - * - * ## Complexity: - * - `O(MP + N)` where: - * - `M` old-members-count (code- and governance-bounded) - * - `N` new-members-count (code- and governance-bounded) - * - `P` proposals-count (code-bounded) - **/ - setMembers: AugmentedSubmittable< - ( - newMembers: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], - prime: Option<AccountId32> | null | Uint8Array | AccountId32 | string, - oldCount: u32 | AnyNumber | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [Vec<AccountId32>, Option<AccountId32>, u32] - >; - /** - * Add an aye or nay vote for the sender to the given proposal. - * - * Requires the sender to be a member. - * - * Transaction fees will be waived if the member is voting on any particular proposal - * for the first time and the call is successful. Subsequent vote changes will charge a - * fee. - * ## Complexity - * - `O(M)` where `M` is members-count (code- and governance-bounded) - **/ - vote: AugmentedSubmittable< - ( - proposal: H256 | string | Uint8Array, - index: Compact<u32> | AnyNumber | Uint8Array, - approve: bool | boolean | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [H256, Compact<u32>, bool] - >; + * See [`Pallet::execute`]. + **/ + execute: AugmentedSubmittable<(proposal: Call | IMethod | string | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, Compact<u32>]>; + /** + * See [`Pallet::propose`]. + **/ + propose: AugmentedSubmittable<(threshold: Compact<u32> | AnyNumber | Uint8Array, proposal: Call | IMethod | string | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Call, Compact<u32>]>; + /** + * See [`Pallet::set_members`]. + **/ + setMembers: AugmentedSubmittable<(newMembers: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], prime: Option<AccountId32> | null | Uint8Array | AccountId32 | string, oldCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>, Option<AccountId32>, u32]>; + /** + * See [`Pallet::vote`]. + **/ + vote: AugmentedSubmittable<(proposal: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, approve: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, bool]>; /** * Generic tx **/ @@ -1524,21 +520,7 @@ declare module '@polkadot/api-base/types/submittable' { }; timestamp: { /** - * Set the current time. - * - * This call should be invoked exactly once per block. It will panic at the finalization - * phase, if this call hasn't been invoked by that time. - * - * The timestamp should be greater than the previous one by the amount specified by - * `MinimumPeriod`. - * - * The dispatch origin for this call must be `Inherent`. - * - * ## Complexity - * - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`) - * - 1 storage read and 1 storage mutation (codec `O(1)`). (because of `DidUpdate::take` in - * `on_finalize`) - * - 1 event handler `on_timestamp_set`. Must be `O(1)`. + * See [`Pallet::set`]. **/ set: AugmentedSubmittable<(now: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u64>]>; /** @@ -1548,72 +530,41 @@ declare module '@polkadot/api-base/types/submittable' { }; treasury: { /** - * Approve a proposal. At a later time, the proposal will be allocated to the beneficiary - * and the original deposit will be returned. - * - * May only be called from `T::ApproveOrigin`. - * - * ## Complexity - * - O(1). + * See [`Pallet::approve_proposal`]. **/ approveProposal: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>; /** - * Put forward a suggestion for spending. A deposit proportional to the value - * is reserved and slashed if the proposal is rejected. It is returned once the - * proposal is awarded. - * - * ## Complexity - * - O(1) - **/ - proposeSpend: AugmentedSubmittable< - ( - value: Compact<u64> | AnyNumber | Uint8Array, - beneficiary: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [Compact<u64>, MultiAddress] - >; - /** - * Reject a proposed spend. The original deposit will be slashed. - * - * May only be called from `T::RejectOrigin`. - * - * ## Complexity - * - O(1) + * See [`Pallet::check_status`]. + **/ + checkStatus: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>; + /** + * See [`Pallet::payout`]. + **/ + payout: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>; + /** + * See [`Pallet::propose_spend`]. + **/ + proposeSpend: AugmentedSubmittable<(value: Compact<u64> | AnyNumber | Uint8Array, beneficiary: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u64>, MultiAddress]>; + /** + * See [`Pallet::reject_proposal`]. **/ rejectProposal: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>; /** - * Force a previously approved proposal to be removed from the approval queue. - * The original deposit will no longer be returned. - * - * May only be called from `T::RejectOrigin`. - * - `proposal_id`: The index of a proposal - * - * ## Complexity - * - O(A) where `A` is the number of approvals - * - * Errors: - * - `ProposalNotApproved`: The `proposal_id` supplied was not found in the approval queue, - * i.e., the proposal has not been approved. This could also mean the proposal does not - * exist altogether, thus there is no way it would have been approved in the first place. + * See [`Pallet::remove_approval`]. **/ removeApproval: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>; /** - * Propose and approve a spend of treasury funds. - * - * - `origin`: Must be `SpendOrigin` with the `Success` value being at least `amount`. - * - `amount`: The amount to be transferred from the treasury to the `beneficiary`. - * - `beneficiary`: The destination account for the transfer. - * - * NOTE: For record-keeping purposes, the proposer is deemed to be equivalent to the - * beneficiary. - **/ - spend: AugmentedSubmittable< - ( - amount: Compact<u64> | AnyNumber | Uint8Array, - beneficiary: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [Compact<u64>, MultiAddress] - >; + * See [`Pallet::spend`]. + **/ + spend: AugmentedSubmittable<(assetKind: Null | null, amount: Compact<u64> | AnyNumber | Uint8Array, beneficiary: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, validFrom: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Null, Compact<u64>, MultiAddress, Option<u32>]>; + /** + * See [`Pallet::spend_local`]. + **/ + spendLocal: AugmentedSubmittable<(amount: Compact<u64> | AnyNumber | Uint8Array, beneficiary: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u64>, MultiAddress]>; + /** + * See [`Pallet::void_spend`]. + **/ + voidSpend: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>; /** * Generic tx **/ @@ -1621,29 +572,17 @@ declare module '@polkadot/api-base/types/submittable' { }; universalDividend: { /** - * Claim Universal Dividends + * See [`Pallet::claim_uds`]. **/ claimUds: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>; /** - * Transfer some liquid free balance to another account, in milliUD. + * See [`Pallet::transfer_ud`]. **/ - transferUd: AugmentedSubmittable< - ( - dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, - value: Compact<u64> | AnyNumber | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [MultiAddress, Compact<u64>] - >; + transferUd: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u64>]>; /** - * Transfer some liquid free balance to another account, in milliUD. + * See [`Pallet::transfer_ud_keep_alive`]. **/ - transferUdKeepAlive: AugmentedSubmittable< - ( - dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, - value: Compact<u64> | AnyNumber | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [MultiAddress, Compact<u64>] - >; + transferUdKeepAlive: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u64>]>; /** * Generic tx **/ @@ -1651,25 +590,13 @@ declare module '@polkadot/api-base/types/submittable' { }; upgradeOrigin: { /** - * Dispatches a function call from root origin. - * - * The weight of this call is defined by the caller. + * See [`Pallet::dispatch_as_root`]. **/ dispatchAsRoot: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call]>; /** - * Dispatches a function call from root origin. - * This function does not check the weight of the call, and instead allows the - * caller to specify the weight of the call. - * - * The weight of this call is defined by the caller. + * See [`Pallet::dispatch_as_root_unchecked_weight`]. **/ - dispatchAsRootUncheckedWeight: AugmentedSubmittable< - ( - call: Call | IMethod | string | Uint8Array, - weight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [Call, SpWeightsWeightV2Weight] - >; + dispatchAsRootUncheckedWeight: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array, weight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, SpWeightsWeightV2Weight]>; /** * Generic tx **/ @@ -1677,107 +604,29 @@ declare module '@polkadot/api-base/types/submittable' { }; utility: { /** - * Send a call through an indexed pseudonym of the sender. - * - * Filter from origin are passed along. The call will be dispatched with an origin which - * use the same filter as the origin of this call. - * - * NOTE: If you need to ensure that any account-based filtering is not honored (i.e. - * because you expect `proxy` to have been used prior in the call stack and you do not want - * the call restrictions to apply to any sub-accounts), then use `as_multi_threshold_1` - * in the Multisig pallet instead. - * - * NOTE: Prior to version *12, this was called `as_limited_sub`. - * - * The dispatch origin for this call must be _Signed_. - **/ - asDerivative: AugmentedSubmittable< - (index: u16 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, - [u16, Call] - >; - /** - * Send a batch of dispatch calls. - * - * May be called from any origin except `None`. - * - * - `calls`: The calls to be dispatched from the same origin. The number of call must not - * exceed the constant: `batched_calls_limit` (available in constant metadata). - * - * If origin is root then the calls are dispatched without checking origin filter. (This - * includes bypassing `frame_system::Config::BaseCallFilter`). - * - * ## Complexity - * - O(C) where C is the number of calls to be batched. - * - * This will return `Ok` in all circumstances. To determine the success of the batch, an - * event is deposited. If a call failed and the batch was interrupted, then the - * `BatchInterrupted` event is deposited, along with the number of successful calls made - * and the error of the failed call. If all were successful, then the `BatchCompleted` - * event is deposited. + * See [`Pallet::as_derivative`]. + **/ + asDerivative: AugmentedSubmittable<(index: u16 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Call]>; + /** + * See [`Pallet::batch`]. **/ batch: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Call>]>; /** - * Send a batch of dispatch calls and atomically execute them. - * The whole transaction will rollback and fail if any of the calls failed. - * - * May be called from any origin except `None`. - * - * - `calls`: The calls to be dispatched from the same origin. The number of call must not - * exceed the constant: `batched_calls_limit` (available in constant metadata). - * - * If origin is root then the calls are dispatched without checking origin filter. (This - * includes bypassing `frame_system::Config::BaseCallFilter`). - * - * ## Complexity - * - O(C) where C is the number of calls to be batched. + * See [`Pallet::batch_all`]. **/ batchAll: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Call>]>; /** - * Dispatches a function call with a provided origin. - * - * The dispatch origin for this call must be _Root_. - * - * ## Complexity - * - O(1). - **/ - dispatchAs: AugmentedSubmittable< - ( - asOrigin: GdevRuntimeOriginCaller | { system: any } | { Void: any } | { TechnicalCommittee: any } | string | Uint8Array, - call: Call | IMethod | string | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [GdevRuntimeOriginCaller, Call] - >; - /** - * Send a batch of dispatch calls. - * Unlike `batch`, it allows errors and won't interrupt. - * - * May be called from any origin except `None`. - * - * - `calls`: The calls to be dispatched from the same origin. The number of call must not - * exceed the constant: `batched_calls_limit` (available in constant metadata). - * - * If origin is root then the calls are dispatch without checking origin filter. (This - * includes bypassing `frame_system::Config::BaseCallFilter`). - * - * ## Complexity - * - O(C) where C is the number of calls to be batched. + * See [`Pallet::dispatch_as`]. + **/ + dispatchAs: AugmentedSubmittable<(asOrigin: GdevRuntimeOriginCaller | { system: any } | { Void: any } | { TechnicalCommittee: any } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [GdevRuntimeOriginCaller, Call]>; + /** + * See [`Pallet::force_batch`]. **/ forceBatch: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Call>]>; /** - * Dispatch a function call with a specified weight. - * - * This function does not check the weight of the call, and instead allows the - * Root origin to specify the weight of the call. - * - * The dispatch origin for this call must be _Root_. - **/ - withWeight: AugmentedSubmittable< - ( - call: Call | IMethod | string | Uint8Array, - weight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array - ) => SubmittableExtrinsic<ApiType>, - [Call, SpWeightsWeightV2Weight] - >; + * See [`Pallet::with_weight`]. + **/ + withWeight: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array, weight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, SpWeightsWeightV2Weight]>; /** * Generic tx **/ diff --git a/src/interfaces/augment-types.ts b/src/interfaces/augment-types.ts index ea9dc802eff0287c1564b37f8c47cbf02923c089..3fab113a7275f119a4edf56d7fb08a9fb8a50e34 100644 --- a/src/interfaces/augment-types.ts +++ b/src/interfaces/augment-types.ts @@ -6,1175 +6,71 @@ import '@polkadot/types/types/registry'; import type { Data, StorageKey } from '@polkadot/types'; -import type { - BitVec, - Bool, - Bytes, - F32, - F64, - I128, - I16, - I256, - I32, - I64, - I8, - ISize, - Json, - Null, - OptionBool, - Raw, - Text, - Type, - U128, - U16, - U256, - U32, - U64, - U8, - USize, - bool, - f32, - f64, - i128, - i16, - i256, - i32, - i64, - i8, - isize, - u128, - u16, - u256, - u32, - u64, - u8, - usize, -} from '@polkadot/types-codec'; +import type { BitVec, Bool, Bytes, F32, F64, I128, I16, I256, I32, I64, I8, ISize, Json, Null, OptionBool, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, f32, f64, i128, i16, i256, i32, i64, i8, isize, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types-codec'; import type { TAssetConversion } from '@polkadot/types/interfaces/assetConversion'; -import type { - AssetApproval, - AssetApprovalKey, - AssetBalance, - AssetDestroyWitness, - AssetDetails, - AssetMetadata, - TAssetBalance, - TAssetDepositBalance, -} from '@polkadot/types/interfaces/assets'; +import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets'; import type { BlockAttestations, IncludedBlocks, MoreAttestations } from '@polkadot/types/interfaces/attestations'; import type { RawAuraPreDigest } from '@polkadot/types/interfaces/aura'; import type { ExtrinsicOrHash, ExtrinsicStatus } from '@polkadot/types/interfaces/author'; import type { UncleEntryItem } from '@polkadot/types/interfaces/authorship'; -import type { - AllowedSlots, - BabeAuthorityWeight, - BabeBlockWeight, - BabeEpochConfiguration, - BabeEquivocationProof, - BabeGenesisConfiguration, - BabeGenesisConfigurationV1, - BabeWeight, - Epoch, - EpochAuthorship, - MaybeRandomness, - MaybeVrf, - NextConfigDescriptor, - NextConfigDescriptorV1, - OpaqueKeyOwnershipProof, - Randomness, - RawBabePreDigest, - RawBabePreDigestCompat, - RawBabePreDigestPrimary, - RawBabePreDigestPrimaryTo159, - RawBabePreDigestSecondaryPlain, - RawBabePreDigestSecondaryTo159, - RawBabePreDigestSecondaryVRF, - RawBabePreDigestTo159, - SlotNumber, - VrfData, - VrfOutput, - VrfProof, -} from '@polkadot/types/interfaces/babe'; -import type { - AccountData, - BalanceLock, - BalanceLockTo212, - BalanceStatus, - Reasons, - ReserveData, - ReserveIdentifier, - VestingSchedule, - WithdrawReasons, -} from '@polkadot/types/interfaces/balances'; -import type { - BeefyAuthoritySet, - BeefyCommitment, - BeefyEquivocationProof, - BeefyId, - BeefyNextAuthoritySet, - BeefyPayload, - BeefyPayloadId, - BeefySignedCommitment, - BeefyVersionedFinalityProof, - BeefyVoteMessage, - MmrRootHash, - ValidatorSet, - ValidatorSetId, -} from '@polkadot/types/interfaces/beefy'; -import type { - BenchmarkBatch, - BenchmarkConfig, - BenchmarkList, - BenchmarkMetadata, - BenchmarkParameter, - BenchmarkResult, -} from '@polkadot/types/interfaces/benchmark'; +import type { AllowedSlots, BabeAuthorityWeight, BabeBlockWeight, BabeEpochConfiguration, BabeEquivocationProof, BabeGenesisConfiguration, BabeGenesisConfigurationV1, BabeWeight, Epoch, EpochAuthorship, MaybeRandomness, MaybeVrf, NextConfigDescriptor, NextConfigDescriptorV1, OpaqueKeyOwnershipProof, Randomness, RawBabePreDigest, RawBabePreDigestCompat, RawBabePreDigestPrimary, RawBabePreDigestPrimaryTo159, RawBabePreDigestSecondaryPlain, RawBabePreDigestSecondaryTo159, RawBabePreDigestSecondaryVRF, RawBabePreDigestTo159, SlotNumber, VrfData, VrfOutput, VrfProof } from '@polkadot/types/interfaces/babe'; +import type { AccountData, BalanceLock, BalanceLockTo212, BalanceStatus, Reasons, ReserveData, ReserveIdentifier, VestingSchedule, WithdrawReasons } from '@polkadot/types/interfaces/balances'; +import type { BeefyAuthoritySet, BeefyCommitment, BeefyEquivocationProof, BeefyId, BeefyNextAuthoritySet, BeefyPayload, BeefyPayloadId, BeefySignedCommitment, BeefyVersionedFinalityProof, BeefyVoteMessage, MmrRootHash, ValidatorSet, ValidatorSetId } from '@polkadot/types/interfaces/beefy'; +import type { BenchmarkBatch, BenchmarkConfig, BenchmarkList, BenchmarkMetadata, BenchmarkParameter, BenchmarkResult } from '@polkadot/types/interfaces/benchmark'; import type { CheckInherentsResult, InherentData, InherentIdentifier } from '@polkadot/types/interfaces/blockbuilder'; -import type { - BridgeMessageId, - BridgedBlockHash, - BridgedBlockNumber, - BridgedHeader, - CallOrigin, - ChainId, - DeliveredMessages, - DispatchFeePayment, - InboundLaneData, - InboundRelayer, - InitializationData, - LaneId, - MessageData, - MessageKey, - MessageNonce, - MessagesDeliveryProofOf, - MessagesProofOf, - OperatingMode, - OutboundLaneData, - OutboundMessageFee, - OutboundPayload, - Parameter, - RelayerId, - UnrewardedRelayer, - UnrewardedRelayersState, -} from '@polkadot/types/interfaces/bridges'; +import type { BridgeMessageId, BridgedBlockHash, BridgedBlockNumber, BridgedHeader, CallOrigin, ChainId, DeliveredMessages, DispatchFeePayment, InboundLaneData, InboundRelayer, InitializationData, LaneId, MessageData, MessageKey, MessageNonce, MessagesDeliveryProofOf, MessagesProofOf, OperatingMode, OutboundLaneData, OutboundMessageFee, OutboundPayload, Parameter, RelayerId, UnrewardedRelayer, UnrewardedRelayersState } from '@polkadot/types/interfaces/bridges'; import type { BlockHash } from '@polkadot/types/interfaces/chain'; import type { PrefixedStorageKey } from '@polkadot/types/interfaces/childstate'; import type { StatementKind } from '@polkadot/types/interfaces/claims'; import type { CollectiveOrigin, MemberCount, ProposalIndex, Votes, VotesTo230 } from '@polkadot/types/interfaces/collective'; import type { AuthorityId, RawVRFOutput } from '@polkadot/types/interfaces/consensus'; -import type { - AliveContractInfo, - CodeHash, - CodeSource, - CodeUploadRequest, - CodeUploadResult, - CodeUploadResultValue, - ContractCallFlags, - ContractCallRequest, - ContractExecResult, - ContractExecResultOk, - ContractExecResultResult, - ContractExecResultSuccessTo255, - ContractExecResultSuccessTo260, - ContractExecResultTo255, - ContractExecResultTo260, - ContractExecResultTo267, - ContractExecResultU64, - ContractInfo, - ContractInstantiateResult, - ContractInstantiateResultTo267, - ContractInstantiateResultTo299, - ContractInstantiateResultU64, - ContractReturnFlags, - ContractStorageKey, - DeletedContract, - ExecReturnValue, - Gas, - HostFnWeights, - HostFnWeightsTo264, - InstantiateRequest, - InstantiateRequestV1, - InstantiateRequestV2, - InstantiateReturnValue, - InstantiateReturnValueOk, - InstantiateReturnValueTo267, - InstructionWeights, - Limits, - LimitsTo264, - PrefabWasmModule, - RentProjection, - Schedule, - ScheduleTo212, - ScheduleTo258, - ScheduleTo264, - SeedOf, - StorageDeposit, - TombstoneContractInfo, - TrieId, -} from '@polkadot/types/interfaces/contracts'; -import type { - ContractConstructorSpecLatest, - ContractConstructorSpecV0, - ContractConstructorSpecV1, - ContractConstructorSpecV2, - ContractConstructorSpecV3, - ContractConstructorSpecV4, - ContractContractSpecV0, - ContractContractSpecV1, - ContractContractSpecV2, - ContractContractSpecV3, - ContractContractSpecV4, - ContractCryptoHasher, - ContractDiscriminant, - ContractDisplayName, - ContractEnvironmentV4, - ContractEventParamSpecLatest, - ContractEventParamSpecV0, - ContractEventParamSpecV2, - ContractEventSpecLatest, - ContractEventSpecV0, - ContractEventSpecV1, - ContractEventSpecV2, - ContractLayoutArray, - ContractLayoutCell, - ContractLayoutEnum, - ContractLayoutHash, - ContractLayoutHashingStrategy, - ContractLayoutKey, - ContractLayoutStruct, - ContractLayoutStructField, - ContractMessageParamSpecLatest, - ContractMessageParamSpecV0, - ContractMessageParamSpecV2, - ContractMessageSpecLatest, - ContractMessageSpecV0, - ContractMessageSpecV1, - ContractMessageSpecV2, - ContractMessageSpecV3, - ContractMetadata, - ContractMetadataLatest, - ContractMetadataV0, - ContractMetadataV1, - ContractMetadataV2, - ContractMetadataV3, - ContractMetadataV4, - ContractProject, - ContractProjectContract, - ContractProjectInfo, - ContractProjectSource, - ContractProjectV0, - ContractSelector, - ContractStorageLayout, - ContractTypeSpec, -} from '@polkadot/types/interfaces/contractsAbi'; +import type { AliveContractInfo, CodeHash, CodeSource, CodeUploadRequest, CodeUploadResult, CodeUploadResultValue, ContractCallFlags, ContractCallRequest, ContractExecResult, ContractExecResultOk, ContractExecResultResult, ContractExecResultSuccessTo255, ContractExecResultSuccessTo260, ContractExecResultTo255, ContractExecResultTo260, ContractExecResultTo267, ContractExecResultU64, ContractInfo, ContractInstantiateResult, ContractInstantiateResultTo267, ContractInstantiateResultTo299, ContractInstantiateResultU64, ContractReturnFlags, ContractStorageKey, DeletedContract, ExecReturnValue, Gas, HostFnWeights, HostFnWeightsTo264, InstantiateRequest, InstantiateRequestV1, InstantiateRequestV2, InstantiateReturnValue, InstantiateReturnValueOk, InstantiateReturnValueTo267, InstructionWeights, Limits, LimitsTo264, PrefabWasmModule, RentProjection, Schedule, ScheduleTo212, ScheduleTo258, ScheduleTo264, SeedOf, StorageDeposit, TombstoneContractInfo, TrieId } from '@polkadot/types/interfaces/contracts'; +import type { ContractConstructorSpecLatest, ContractConstructorSpecV0, ContractConstructorSpecV1, ContractConstructorSpecV2, ContractConstructorSpecV3, ContractConstructorSpecV4, ContractContractSpecV0, ContractContractSpecV1, ContractContractSpecV2, ContractContractSpecV3, ContractContractSpecV4, ContractCryptoHasher, ContractDiscriminant, ContractDisplayName, ContractEnvironmentV4, ContractEventParamSpecLatest, ContractEventParamSpecV0, ContractEventParamSpecV2, ContractEventSpecLatest, ContractEventSpecV0, ContractEventSpecV1, ContractEventSpecV2, ContractLayoutArray, ContractLayoutCell, ContractLayoutEnum, ContractLayoutHash, ContractLayoutHashingStrategy, ContractLayoutKey, ContractLayoutStruct, ContractLayoutStructField, ContractMessageParamSpecLatest, ContractMessageParamSpecV0, ContractMessageParamSpecV2, ContractMessageSpecLatest, ContractMessageSpecV0, ContractMessageSpecV1, ContractMessageSpecV2, ContractMessageSpecV3, ContractMetadata, ContractMetadataLatest, ContractMetadataV0, ContractMetadataV1, ContractMetadataV2, ContractMetadataV3, ContractMetadataV4, ContractProject, ContractProjectContract, ContractProjectInfo, ContractProjectSource, ContractProjectV0, ContractSelector, ContractStorageLayout, ContractTypeSpec } from '@polkadot/types/interfaces/contractsAbi'; import type { FundIndex, FundInfo, LastContribution, TrieIndex } from '@polkadot/types/interfaces/crowdloan'; -import type { - CollationInfo, - CollationInfoV1, - ConfigData, - MessageId, - OverweightIndex, - PageCounter, - PageIndexData, -} from '@polkadot/types/interfaces/cumulus'; -import type { - AccountVote, - AccountVoteSplit, - AccountVoteStandard, - Conviction, - Delegations, - PreimageStatus, - PreimageStatusAvailable, - PriorLock, - PropIndex, - Proposal, - ProxyState, - ReferendumIndex, - ReferendumInfo, - ReferendumInfoFinished, - ReferendumInfoTo239, - ReferendumStatus, - Tally, - Voting, - VotingDelegating, - VotingDirect, - VotingDirectVote, -} from '@polkadot/types/interfaces/democracy'; +import type { CollationInfo, CollationInfoV1, ConfigData, MessageId, OverweightIndex, PageCounter, PageIndexData } from '@polkadot/types/interfaces/cumulus'; +import type { AccountVote, AccountVoteSplit, AccountVoteStandard, Conviction, Delegations, PreimageStatus, PreimageStatusAvailable, PriorLock, PropIndex, Proposal, ProxyState, ReferendumIndex, ReferendumInfo, ReferendumInfoFinished, ReferendumInfoTo239, ReferendumStatus, Tally, Voting, VotingDelegating, VotingDirect, VotingDirectVote } from '@polkadot/types/interfaces/democracy'; import type { BlockStats } from '@polkadot/types/interfaces/dev'; -import type { - ApprovalFlag, - DefunctVoter, - Renouncing, - SetIndex, - Vote, - VoteIndex, - VoteThreshold, - VoterInfo, -} from '@polkadot/types/interfaces/elections'; +import type { ApprovalFlag, DefunctVoter, Renouncing, SetIndex, Vote, VoteIndex, VoteThreshold, VoterInfo } from '@polkadot/types/interfaces/elections'; import type { CreatedBlock, ImportedAux } from '@polkadot/types/interfaces/engine'; -import type { - BlockV0, - BlockV1, - BlockV2, - EIP1559Transaction, - EIP2930Transaction, - EthAccessList, - EthAccessListItem, - EthAccount, - EthAddress, - EthBlock, - EthBloom, - EthCallRequest, - EthFeeHistory, - EthFilter, - EthFilterAddress, - EthFilterChanges, - EthFilterTopic, - EthFilterTopicEntry, - EthFilterTopicInner, - EthHeader, - EthLog, - EthReceipt, - EthReceiptV0, - EthReceiptV3, - EthRichBlock, - EthRichHeader, - EthStorageProof, - EthSubKind, - EthSubParams, - EthSubResult, - EthSyncInfo, - EthSyncStatus, - EthTransaction, - EthTransactionAction, - EthTransactionCondition, - EthTransactionRequest, - EthTransactionSignature, - EthTransactionStatus, - EthWork, - EthereumAccountId, - EthereumAddress, - EthereumLookupSource, - EthereumSignature, - LegacyTransaction, - TransactionV0, - TransactionV1, - TransactionV2, -} from '@polkadot/types/interfaces/eth'; -import type { - EvmAccount, - EvmCallInfo, - EvmCallInfoV2, - EvmCreateInfo, - EvmCreateInfoV2, - EvmLog, - EvmVicinity, - EvmWeightInfo, - ExitError, - ExitFatal, - ExitReason, - ExitRevert, - ExitSucceed, -} from '@polkadot/types/interfaces/evm'; -import type { - AnySignature, - EcdsaSignature, - Ed25519Signature, - Era, - Extrinsic, - ExtrinsicEra, - ExtrinsicPayload, - ExtrinsicPayloadUnknown, - ExtrinsicPayloadV4, - ExtrinsicSignature, - ExtrinsicSignatureV4, - ExtrinsicUnknown, - ExtrinsicV4, - ImmortalEra, - MortalEra, - MultiSignature, - Signature, - SignerPayload, - Sr25519Signature, -} from '@polkadot/types/interfaces/extrinsics'; +import type { BlockV0, BlockV1, BlockV2, EIP1559Transaction, EIP2930Transaction, EthAccessList, EthAccessListItem, EthAccount, EthAddress, EthBlock, EthBloom, EthCallRequest, EthFeeHistory, EthFilter, EthFilterAddress, EthFilterChanges, EthFilterTopic, EthFilterTopicEntry, EthFilterTopicInner, EthHeader, EthLog, EthReceipt, EthReceiptV0, EthReceiptV3, EthRichBlock, EthRichHeader, EthStorageProof, EthSubKind, EthSubParams, EthSubResult, EthSyncInfo, EthSyncStatus, EthTransaction, EthTransactionAction, EthTransactionCondition, EthTransactionRequest, EthTransactionSignature, EthTransactionStatus, EthWork, EthereumAccountId, EthereumAddress, EthereumLookupSource, EthereumSignature, LegacyTransaction, TransactionV0, TransactionV1, TransactionV2 } from '@polkadot/types/interfaces/eth'; +import type { EvmAccount, EvmCallInfo, EvmCallInfoV2, EvmCreateInfo, EvmCreateInfoV2, EvmLog, EvmVicinity, EvmWeightInfo, ExitError, ExitFatal, ExitReason, ExitRevert, ExitSucceed } from '@polkadot/types/interfaces/evm'; +import type { AnySignature, EcdsaSignature, Ed25519Signature, Era, Extrinsic, ExtrinsicEra, ExtrinsicPayload, ExtrinsicPayloadUnknown, ExtrinsicPayloadV4, ExtrinsicSignature, ExtrinsicSignatureV4, ExtrinsicUnknown, ExtrinsicV4, ImmortalEra, MortalEra, MultiSignature, Signature, SignerPayload, Sr25519Signature } from '@polkadot/types/interfaces/extrinsics'; import type { FungiblesAccessError } from '@polkadot/types/interfaces/fungibles'; import type { AssetOptions, Owner, PermissionLatest, PermissionVersions, PermissionsV1 } from '@polkadot/types/interfaces/genericAsset'; import type { ActiveGilt, ActiveGiltsTotal, ActiveIndex, GiltBid } from '@polkadot/types/interfaces/gilt'; -import type { - AuthorityIndex, - AuthorityList, - AuthoritySet, - AuthoritySetChange, - AuthoritySetChanges, - AuthorityWeight, - DelayKind, - DelayKindBest, - EncodedFinalityProofs, - ForkTreePendingChange, - ForkTreePendingChangeNode, - GrandpaCommit, - GrandpaEquivocation, - GrandpaEquivocationProof, - GrandpaEquivocationValue, - GrandpaJustification, - GrandpaPrecommit, - GrandpaPrevote, - GrandpaSignedPrecommit, - JustificationNotification, - KeyOwnerProof, - NextAuthority, - PendingChange, - PendingPause, - PendingResume, - Precommits, - Prevotes, - ReportedRoundStates, - RoundState, - SetId, - StoredPendingChange, - StoredState, -} from '@polkadot/types/interfaces/grandpa'; -import type { - IdentityFields, - IdentityInfo, - IdentityInfoAdditional, - IdentityInfoTo198, - IdentityJudgement, - RegistrarIndex, - RegistrarInfo, - Registration, - RegistrationJudgement, - RegistrationTo198, -} from '@polkadot/types/interfaces/identity'; -import type { - AuthIndex, - AuthoritySignature, - Heartbeat, - HeartbeatTo244, - OpaqueMultiaddr, - OpaqueNetworkState, - OpaquePeerId, -} from '@polkadot/types/interfaces/imOnline'; +import type { AuthorityIndex, AuthorityList, AuthoritySet, AuthoritySetChange, AuthoritySetChanges, AuthorityWeight, DelayKind, DelayKindBest, EncodedFinalityProofs, ForkTreePendingChange, ForkTreePendingChangeNode, GrandpaCommit, GrandpaEquivocation, GrandpaEquivocationProof, GrandpaEquivocationValue, GrandpaJustification, GrandpaPrecommit, GrandpaPrevote, GrandpaSignedPrecommit, JustificationNotification, KeyOwnerProof, NextAuthority, PendingChange, PendingPause, PendingResume, Precommits, Prevotes, ReportedRoundStates, RoundState, SetId, StoredPendingChange, StoredState } from '@polkadot/types/interfaces/grandpa'; +import type { IdentityFields, IdentityInfo, IdentityInfoAdditional, IdentityInfoTo198, IdentityJudgement, RegistrarIndex, RegistrarInfo, Registration, RegistrationJudgement, RegistrationTo198 } from '@polkadot/types/interfaces/identity'; +import type { AuthIndex, AuthoritySignature, Heartbeat, HeartbeatTo244, OpaqueMultiaddr, OpaqueNetworkState, OpaquePeerId } from '@polkadot/types/interfaces/imOnline'; import type { CallIndex, LotteryConfig } from '@polkadot/types/interfaces/lottery'; -import type { - CustomMetadata15, - CustomValueMetadata15, - ErrorMetadataLatest, - ErrorMetadataV10, - ErrorMetadataV11, - ErrorMetadataV12, - ErrorMetadataV13, - ErrorMetadataV14, - ErrorMetadataV9, - EventMetadataLatest, - EventMetadataV10, - EventMetadataV11, - EventMetadataV12, - EventMetadataV13, - EventMetadataV14, - EventMetadataV9, - ExtrinsicMetadataLatest, - ExtrinsicMetadataV11, - ExtrinsicMetadataV12, - ExtrinsicMetadataV13, - ExtrinsicMetadataV14, - ExtrinsicMetadataV15, - FunctionArgumentMetadataLatest, - FunctionArgumentMetadataV10, - FunctionArgumentMetadataV11, - FunctionArgumentMetadataV12, - FunctionArgumentMetadataV13, - FunctionArgumentMetadataV14, - FunctionArgumentMetadataV9, - FunctionMetadataLatest, - FunctionMetadataV10, - FunctionMetadataV11, - FunctionMetadataV12, - FunctionMetadataV13, - FunctionMetadataV14, - FunctionMetadataV9, - MetadataAll, - MetadataLatest, - MetadataV10, - MetadataV11, - MetadataV12, - MetadataV13, - MetadataV14, - MetadataV15, - MetadataV9, - ModuleConstantMetadataV10, - ModuleConstantMetadataV11, - ModuleConstantMetadataV12, - ModuleConstantMetadataV13, - ModuleConstantMetadataV9, - ModuleMetadataV10, - ModuleMetadataV11, - ModuleMetadataV12, - ModuleMetadataV13, - ModuleMetadataV9, - OpaqueMetadata, - OuterEnums15, - PalletCallMetadataLatest, - PalletCallMetadataV14, - PalletConstantMetadataLatest, - PalletConstantMetadataV14, - PalletErrorMetadataLatest, - PalletErrorMetadataV14, - PalletEventMetadataLatest, - PalletEventMetadataV14, - PalletMetadataLatest, - PalletMetadataV14, - PalletMetadataV15, - PalletStorageMetadataLatest, - PalletStorageMetadataV14, - PortableType, - PortableTypeV14, - RuntimeApiMetadataLatest, - RuntimeApiMetadataV15, - RuntimeApiMethodMetadataV15, - RuntimeApiMethodParamMetadataV15, - SignedExtensionMetadataLatest, - SignedExtensionMetadataV14, - StorageEntryMetadataLatest, - StorageEntryMetadataV10, - StorageEntryMetadataV11, - StorageEntryMetadataV12, - StorageEntryMetadataV13, - StorageEntryMetadataV14, - StorageEntryMetadataV9, - StorageEntryModifierLatest, - StorageEntryModifierV10, - StorageEntryModifierV11, - StorageEntryModifierV12, - StorageEntryModifierV13, - StorageEntryModifierV14, - StorageEntryModifierV9, - StorageEntryTypeLatest, - StorageEntryTypeV10, - StorageEntryTypeV11, - StorageEntryTypeV12, - StorageEntryTypeV13, - StorageEntryTypeV14, - StorageEntryTypeV9, - StorageHasher, - StorageHasherV10, - StorageHasherV11, - StorageHasherV12, - StorageHasherV13, - StorageHasherV14, - StorageHasherV9, - StorageMetadataV10, - StorageMetadataV11, - StorageMetadataV12, - StorageMetadataV13, - StorageMetadataV9, -} from '@polkadot/types/interfaces/metadata'; -import type { - MmrBatchProof, - MmrEncodableOpaqueLeaf, - MmrError, - MmrHash, - MmrLeafBatchProof, - MmrLeafIndex, - MmrLeafProof, - MmrNodeIndex, - MmrProof, -} from '@polkadot/types/interfaces/mmr'; +import type { CustomMetadata15, CustomValueMetadata15, ErrorMetadataLatest, ErrorMetadataV10, ErrorMetadataV11, ErrorMetadataV12, ErrorMetadataV13, ErrorMetadataV14, ErrorMetadataV9, EventMetadataLatest, EventMetadataV10, EventMetadataV11, EventMetadataV12, EventMetadataV13, EventMetadataV14, EventMetadataV9, ExtrinsicMetadataLatest, ExtrinsicMetadataV11, ExtrinsicMetadataV12, ExtrinsicMetadataV13, ExtrinsicMetadataV14, ExtrinsicMetadataV15, FunctionArgumentMetadataLatest, FunctionArgumentMetadataV10, FunctionArgumentMetadataV11, FunctionArgumentMetadataV12, FunctionArgumentMetadataV13, FunctionArgumentMetadataV14, FunctionArgumentMetadataV9, FunctionMetadataLatest, FunctionMetadataV10, FunctionMetadataV11, FunctionMetadataV12, FunctionMetadataV13, FunctionMetadataV14, FunctionMetadataV9, MetadataAll, MetadataLatest, MetadataV10, MetadataV11, MetadataV12, MetadataV13, MetadataV14, MetadataV15, MetadataV9, ModuleConstantMetadataV10, ModuleConstantMetadataV11, ModuleConstantMetadataV12, ModuleConstantMetadataV13, ModuleConstantMetadataV9, ModuleMetadataV10, ModuleMetadataV11, ModuleMetadataV12, ModuleMetadataV13, ModuleMetadataV9, OpaqueMetadata, OuterEnums15, PalletCallMetadataLatest, PalletCallMetadataV14, PalletConstantMetadataLatest, PalletConstantMetadataV14, PalletErrorMetadataLatest, PalletErrorMetadataV14, PalletEventMetadataLatest, PalletEventMetadataV14, PalletMetadataLatest, PalletMetadataV14, PalletMetadataV15, PalletStorageMetadataLatest, PalletStorageMetadataV14, PortableType, PortableTypeV14, RuntimeApiMetadataLatest, RuntimeApiMetadataV15, RuntimeApiMethodMetadataV15, RuntimeApiMethodParamMetadataV15, SignedExtensionMetadataLatest, SignedExtensionMetadataV14, StorageEntryMetadataLatest, StorageEntryMetadataV10, StorageEntryMetadataV11, StorageEntryMetadataV12, StorageEntryMetadataV13, StorageEntryMetadataV14, StorageEntryMetadataV9, StorageEntryModifierLatest, StorageEntryModifierV10, StorageEntryModifierV11, StorageEntryModifierV12, StorageEntryModifierV13, StorageEntryModifierV14, StorageEntryModifierV9, StorageEntryTypeLatest, StorageEntryTypeV10, StorageEntryTypeV11, StorageEntryTypeV12, StorageEntryTypeV13, StorageEntryTypeV14, StorageEntryTypeV9, StorageHasher, StorageHasherV10, StorageHasherV11, StorageHasherV12, StorageHasherV13, StorageHasherV14, StorageHasherV9, StorageMetadataV10, StorageMetadataV11, StorageMetadataV12, StorageMetadataV13, StorageMetadataV9 } from '@polkadot/types/interfaces/metadata'; +import type { MmrBatchProof, MmrEncodableOpaqueLeaf, MmrError, MmrHash, MmrLeafBatchProof, MmrLeafIndex, MmrLeafProof, MmrNodeIndex, MmrProof } from '@polkadot/types/interfaces/mmr'; import type { NftCollectionId, NftItemId } from '@polkadot/types/interfaces/nfts'; import type { NpApiError, NpPoolId } from '@polkadot/types/interfaces/nompools'; import type { StorageKind } from '@polkadot/types/interfaces/offchain'; import type { DeferredOffenceOf, Kind, OffenceDetails, Offender, OpaqueTimeSlot, ReportIdOf, Reporter } from '@polkadot/types/interfaces/offences'; -import type { - AbridgedCandidateReceipt, - AbridgedHostConfiguration, - AbridgedHrmpChannel, - AssignmentId, - AssignmentKind, - AttestedCandidate, - AuctionIndex, - AuthorityDiscoveryId, - AvailabilityBitfield, - AvailabilityBitfieldRecord, - BackedCandidate, - Bidder, - BufferedSessionChange, - CandidateCommitments, - CandidateDescriptor, - CandidateEvent, - CandidateHash, - CandidateInfo, - CandidatePendingAvailability, - CandidateReceipt, - CollatorId, - CollatorSignature, - CommittedCandidateReceipt, - CoreAssignment, - CoreIndex, - CoreOccupied, - CoreState, - DisputeLocation, - DisputeProof, - DisputeResult, - DisputeState, - DisputeStatement, - DisputeStatementSet, - DisputesTimeSlot, - DoubleVoteReport, - DownwardMessage, - ExecutorParam, - ExecutorParams, - ExecutorParamsHash, - ExplicitDisputeStatement, - GlobalValidationData, - GlobalValidationSchedule, - GroupIndex, - GroupRotationInfo, - HeadData, - HostConfiguration, - HrmpChannel, - HrmpChannelId, - HrmpOpenChannelRequest, - InboundDownwardMessage, - InboundHrmpMessage, - InboundHrmpMessages, - IncomingParachain, - IncomingParachainDeploy, - IncomingParachainFixed, - InvalidDisputeStatementKind, - LeasePeriod, - LeasePeriodOf, - LocalValidationData, - MessageIngestionType, - MessageQueueChain, - MessagingStateSnapshot, - MessagingStateSnapshotEgressEntry, - MultiDisputeStatementSet, - NewBidder, - OccupiedCore, - OccupiedCoreAssumption, - OldV1SessionInfo, - OutboundHrmpMessage, - ParaGenesisArgs, - ParaId, - ParaInfo, - ParaLifecycle, - ParaPastCodeMeta, - ParaScheduling, - ParaValidatorIndex, - ParachainDispatchOrigin, - ParachainInherentData, - ParachainProposal, - ParachainsInherentData, - ParathreadClaim, - ParathreadClaimQueue, - ParathreadEntry, - PendingSlashes, - PersistedValidationData, - PvfCheckStatement, - PvfExecTimeoutKind, - PvfPrepTimeoutKind, - QueuedParathread, - RegisteredParachainInfo, - RelayBlockNumber, - RelayChainBlockNumber, - RelayChainHash, - RelayHash, - Remark, - ReplacementTimes, - Retriable, - ScheduledCore, - Scheduling, - ScrapedOnChainVotes, - ServiceQuality, - SessionInfo, - SessionInfoValidatorGroup, - SignedAvailabilityBitfield, - SignedAvailabilityBitfields, - SigningContext, - SlashingOffenceKind, - SlotRange, - SlotRange10, - Statement, - SubId, - SystemInherentData, - TransientValidationData, - UpgradeGoAhead, - UpgradeRestriction, - UpwardMessage, - ValidDisputeStatementKind, - ValidationCode, - ValidationCodeHash, - ValidationData, - ValidationDataType, - ValidationFunctionParams, - ValidatorSignature, - ValidityAttestation, - VecInboundHrmpMessage, - WinnersData, - WinnersData10, - WinnersDataTuple, - WinnersDataTuple10, - WinningData, - WinningData10, - WinningDataEntry, -} from '@polkadot/types/interfaces/parachains'; +import type { AbridgedCandidateReceipt, AbridgedHostConfiguration, AbridgedHrmpChannel, AssignmentId, AssignmentKind, AttestedCandidate, AuctionIndex, AuthorityDiscoveryId, AvailabilityBitfield, AvailabilityBitfieldRecord, BackedCandidate, Bidder, BufferedSessionChange, CandidateCommitments, CandidateDescriptor, CandidateEvent, CandidateHash, CandidateInfo, CandidatePendingAvailability, CandidateReceipt, CollatorId, CollatorSignature, CommittedCandidateReceipt, CoreAssignment, CoreIndex, CoreOccupied, CoreState, DisputeLocation, DisputeProof, DisputeResult, DisputeState, DisputeStatement, DisputeStatementSet, DisputesTimeSlot, DoubleVoteReport, DownwardMessage, ExecutorParam, ExecutorParams, ExecutorParamsHash, ExplicitDisputeStatement, GlobalValidationData, GlobalValidationSchedule, GroupIndex, GroupRotationInfo, HeadData, HostConfiguration, HrmpChannel, HrmpChannelId, HrmpOpenChannelRequest, InboundDownwardMessage, InboundHrmpMessage, InboundHrmpMessages, IncomingParachain, IncomingParachainDeploy, IncomingParachainFixed, InvalidDisputeStatementKind, LeasePeriod, LeasePeriodOf, LocalValidationData, MessageIngestionType, MessageQueueChain, MessagingStateSnapshot, MessagingStateSnapshotEgressEntry, MultiDisputeStatementSet, NewBidder, OccupiedCore, OccupiedCoreAssumption, OldV1SessionInfo, OutboundHrmpMessage, ParaGenesisArgs, ParaId, ParaInfo, ParaLifecycle, ParaPastCodeMeta, ParaScheduling, ParaValidatorIndex, ParachainDispatchOrigin, ParachainInherentData, ParachainProposal, ParachainsInherentData, ParathreadClaim, ParathreadClaimQueue, ParathreadEntry, PendingSlashes, PersistedValidationData, PvfCheckStatement, PvfExecTimeoutKind, PvfPrepTimeoutKind, QueuedParathread, RegisteredParachainInfo, RelayBlockNumber, RelayChainBlockNumber, RelayChainHash, RelayHash, Remark, ReplacementTimes, Retriable, ScheduledCore, Scheduling, ScrapedOnChainVotes, ServiceQuality, SessionInfo, SessionInfoValidatorGroup, SignedAvailabilityBitfield, SignedAvailabilityBitfields, SigningContext, SlashingOffenceKind, SlotRange, SlotRange10, Statement, SubId, SystemInherentData, TransientValidationData, UpgradeGoAhead, UpgradeRestriction, UpwardMessage, ValidDisputeStatementKind, ValidationCode, ValidationCodeHash, ValidationData, ValidationDataType, ValidationFunctionParams, ValidatorSignature, ValidityAttestation, VecInboundHrmpMessage, WinnersData, WinnersData10, WinnersDataTuple, WinnersDataTuple10, WinningData, WinningData10, WinningDataEntry } from '@polkadot/types/interfaces/parachains'; import type { FeeDetails, InclusionFee, RuntimeDispatchInfo, RuntimeDispatchInfoV1, RuntimeDispatchInfoV2 } from '@polkadot/types/interfaces/payment'; import type { Approvals } from '@polkadot/types/interfaces/poll'; import type { ProxyAnnouncement, ProxyDefinition, ProxyType } from '@polkadot/types/interfaces/proxy'; import type { AccountStatus, AccountValidity } from '@polkadot/types/interfaces/purchase'; import type { ActiveRecovery, RecoveryConfig } from '@polkadot/types/interfaces/recovery'; import type { RpcMethods } from '@polkadot/types/interfaces/rpc'; -import type { - AccountId, - AccountId20, - AccountId32, - AccountId33, - AccountIdOf, - AccountIndex, - Address, - AssetId, - Balance, - BalanceOf, - Block, - BlockNumber, - BlockNumberFor, - BlockNumberOf, - Call, - CallHash, - CallHashOf, - ChangesTrieConfiguration, - ChangesTrieSignal, - CodecHash, - Consensus, - ConsensusEngineId, - CrateVersion, - Digest, - DigestItem, - EncodedJustification, - ExtrinsicsWeight, - Fixed128, - Fixed64, - FixedI128, - FixedI64, - FixedU128, - FixedU64, - H1024, - H128, - H160, - H2048, - H256, - H32, - H512, - H64, - Hash, - Header, - HeaderPartial, - I32F32, - Index, - IndicesLookupSource, - Justification, - Justifications, - KeyTypeId, - KeyValue, - LockIdentifier, - LookupSource, - LookupTarget, - ModuleId, - Moment, - MultiAddress, - MultiSigner, - OpaqueCall, - Origin, - OriginCaller, - PalletId, - PalletVersion, - PalletsOrigin, - Pays, - PerU16, - Perbill, - Percent, - Permill, - Perquintill, - Phantom, - PhantomData, - PreRuntime, - Releases, - RuntimeCall, - RuntimeDbWeight, - RuntimeEvent, - Seal, - SealV0, - SignedBlock, - SignedBlockWithJustification, - SignedBlockWithJustifications, - Slot, - SlotDuration, - StorageData, - StorageInfo, - StorageProof, - TransactionInfo, - TransactionLongevity, - TransactionPriority, - TransactionStorageProof, - TransactionTag, - U32F32, - ValidatorId, - ValidatorIdOf, - Weight, - WeightMultiplier, - WeightV0, - WeightV1, - WeightV2, -} from '@polkadot/types/interfaces/runtime'; -import type { - Si0Field, - Si0LookupTypeId, - Si0Path, - Si0Type, - Si0TypeDef, - Si0TypeDefArray, - Si0TypeDefBitSequence, - Si0TypeDefCompact, - Si0TypeDefComposite, - Si0TypeDefPhantom, - Si0TypeDefPrimitive, - Si0TypeDefSequence, - Si0TypeDefTuple, - Si0TypeDefVariant, - Si0TypeParameter, - Si0Variant, - Si1Field, - Si1LookupTypeId, - Si1Path, - Si1Type, - Si1TypeDef, - Si1TypeDefArray, - Si1TypeDefBitSequence, - Si1TypeDefCompact, - Si1TypeDefComposite, - Si1TypeDefPrimitive, - Si1TypeDefSequence, - Si1TypeDefTuple, - Si1TypeDefVariant, - Si1TypeParameter, - Si1Variant, - SiField, - SiLookupTypeId, - SiPath, - SiType, - SiTypeDef, - SiTypeDefArray, - SiTypeDefBitSequence, - SiTypeDefCompact, - SiTypeDefComposite, - SiTypeDefPrimitive, - SiTypeDefSequence, - SiTypeDefTuple, - SiTypeDefVariant, - SiTypeParameter, - SiVariant, -} from '@polkadot/types/interfaces/scaleInfo'; -import type { - Period, - Priority, - SchedulePeriod, - SchedulePriority, - Scheduled, - ScheduledTo254, - TaskAddress, -} from '@polkadot/types/interfaces/scheduler'; -import type { - BeefyKey, - FullIdentification, - IdentificationTuple, - Keys, - MembershipProof, - SessionIndex, - SessionKeys1, - SessionKeys10, - SessionKeys10B, - SessionKeys2, - SessionKeys3, - SessionKeys4, - SessionKeys5, - SessionKeys6, - SessionKeys6B, - SessionKeys7, - SessionKeys7B, - SessionKeys8, - SessionKeys8B, - SessionKeys9, - SessionKeys9B, - ValidatorCount, -} from '@polkadot/types/interfaces/session'; +import type { AccountId, AccountId20, AccountId32, AccountId33, AccountIdOf, AccountIndex, Address, AssetId, Balance, BalanceOf, Block, BlockNumber, BlockNumberFor, BlockNumberOf, Call, CallHash, CallHashOf, ChangesTrieConfiguration, ChangesTrieSignal, CodecHash, Consensus, ConsensusEngineId, CrateVersion, Digest, DigestItem, EncodedJustification, ExtrinsicsWeight, Fixed128, Fixed64, FixedI128, FixedI64, FixedU128, FixedU64, H1024, H128, H160, H2048, H256, H32, H512, H64, Hash, Header, HeaderPartial, I32F32, Index, IndicesLookupSource, Justification, Justifications, KeyTypeId, KeyValue, LockIdentifier, LookupSource, LookupTarget, ModuleId, Moment, MultiAddress, MultiSigner, OpaqueCall, Origin, OriginCaller, PalletId, PalletVersion, PalletsOrigin, Pays, PerU16, Perbill, Percent, Permill, Perquintill, Phantom, PhantomData, PreRuntime, Releases, RuntimeCall, RuntimeDbWeight, RuntimeEvent, Seal, SealV0, SignedBlock, SignedBlockWithJustification, SignedBlockWithJustifications, Slot, SlotDuration, StorageData, StorageInfo, StorageProof, TransactionInfo, TransactionLongevity, TransactionPriority, TransactionStorageProof, TransactionTag, U32F32, ValidatorId, ValidatorIdOf, Weight, WeightMultiplier, WeightV0, WeightV1, WeightV2 } from '@polkadot/types/interfaces/runtime'; +import type { Si0Field, Si0LookupTypeId, Si0Path, Si0Type, Si0TypeDef, Si0TypeDefArray, Si0TypeDefBitSequence, Si0TypeDefCompact, Si0TypeDefComposite, Si0TypeDefPhantom, Si0TypeDefPrimitive, Si0TypeDefSequence, Si0TypeDefTuple, Si0TypeDefVariant, Si0TypeParameter, Si0Variant, Si1Field, Si1LookupTypeId, Si1Path, Si1Type, Si1TypeDef, Si1TypeDefArray, Si1TypeDefBitSequence, Si1TypeDefCompact, Si1TypeDefComposite, Si1TypeDefPrimitive, Si1TypeDefSequence, Si1TypeDefTuple, Si1TypeDefVariant, Si1TypeParameter, Si1Variant, SiField, SiLookupTypeId, SiPath, SiType, SiTypeDef, SiTypeDefArray, SiTypeDefBitSequence, SiTypeDefCompact, SiTypeDefComposite, SiTypeDefPrimitive, SiTypeDefSequence, SiTypeDefTuple, SiTypeDefVariant, SiTypeParameter, SiVariant } from '@polkadot/types/interfaces/scaleInfo'; +import type { Period, Priority, SchedulePeriod, SchedulePriority, Scheduled, ScheduledTo254, TaskAddress } from '@polkadot/types/interfaces/scheduler'; +import type { BeefyKey, FullIdentification, IdentificationTuple, Keys, MembershipProof, SessionIndex, SessionKeys1, SessionKeys10, SessionKeys10B, SessionKeys2, SessionKeys3, SessionKeys4, SessionKeys5, SessionKeys6, SessionKeys6B, SessionKeys7, SessionKeys7B, SessionKeys8, SessionKeys8B, SessionKeys9, SessionKeys9B, ValidatorCount } from '@polkadot/types/interfaces/session'; import type { Bid, BidKind, SocietyJudgement, SocietyVote, StrikeCount, VouchingStatus } from '@polkadot/types/interfaces/society'; -import type { - ActiveEraInfo, - CompactAssignments, - CompactAssignmentsTo257, - CompactAssignmentsTo265, - CompactAssignmentsWith16, - CompactAssignmentsWith24, - CompactScore, - CompactScoreCompact, - ElectionCompute, - ElectionPhase, - ElectionResult, - ElectionScore, - ElectionSize, - ElectionStatus, - EraIndex, - EraPoints, - EraRewardPoints, - EraRewards, - Exposure, - ExtendedBalance, - Forcing, - IndividualExposure, - KeyType, - MomentOf, - Nominations, - NominatorIndex, - NominatorIndexCompact, - OffchainAccuracy, - OffchainAccuracyCompact, - PhragmenScore, - Points, - RawSolution, - RawSolutionTo265, - RawSolutionWith16, - RawSolutionWith24, - ReadySolution, - RewardDestination, - RewardPoint, - RoundSnapshot, - SeatHolder, - SignedSubmission, - SignedSubmissionOf, - SignedSubmissionTo276, - SlashJournalEntry, - SlashingSpans, - SlashingSpansTo204, - SolutionOrSnapshotSize, - SolutionSupport, - SolutionSupports, - SpanIndex, - SpanRecord, - StakingLedger, - StakingLedgerTo223, - StakingLedgerTo240, - SubmissionIndicesOf, - Supports, - UnappliedSlash, - UnappliedSlashOther, - UnlockChunk, - ValidatorIndex, - ValidatorIndexCompact, - ValidatorPrefs, - ValidatorPrefsTo145, - ValidatorPrefsTo196, - ValidatorPrefsWithBlocked, - ValidatorPrefsWithCommission, - VoteWeight, - Voter, -} from '@polkadot/types/interfaces/staking'; -import type { - ApiId, - BlockTrace, - BlockTraceEvent, - BlockTraceEventData, - BlockTraceSpan, - KeyValueOption, - MigrationStatusResult, - ReadProof, - RuntimeVersion, - RuntimeVersionApi, - RuntimeVersionPartial, - RuntimeVersionPre3, - RuntimeVersionPre4, - SpecVersion, - StorageChangeSet, - TraceBlockResponse, - TraceError, -} from '@polkadot/types/interfaces/state'; +import type { ActiveEraInfo, CompactAssignments, CompactAssignmentsTo257, CompactAssignmentsTo265, CompactAssignmentsWith16, CompactAssignmentsWith24, CompactScore, CompactScoreCompact, ElectionCompute, ElectionPhase, ElectionResult, ElectionScore, ElectionSize, ElectionStatus, EraIndex, EraPoints, EraRewardPoints, EraRewards, Exposure, ExtendedBalance, Forcing, IndividualExposure, KeyType, MomentOf, Nominations, NominatorIndex, NominatorIndexCompact, OffchainAccuracy, OffchainAccuracyCompact, PhragmenScore, Points, RawSolution, RawSolutionTo265, RawSolutionWith16, RawSolutionWith24, ReadySolution, RewardDestination, RewardPoint, RoundSnapshot, SeatHolder, SignedSubmission, SignedSubmissionOf, SignedSubmissionTo276, SlashJournalEntry, SlashingSpans, SlashingSpansTo204, SolutionOrSnapshotSize, SolutionSupport, SolutionSupports, SpanIndex, SpanRecord, StakingLedger, StakingLedgerTo223, StakingLedgerTo240, SubmissionIndicesOf, Supports, UnappliedSlash, UnappliedSlashOther, UnlockChunk, ValidatorIndex, ValidatorIndexCompact, ValidatorPrefs, ValidatorPrefsTo145, ValidatorPrefsTo196, ValidatorPrefsWithBlocked, ValidatorPrefsWithCommission, VoteWeight, Voter } from '@polkadot/types/interfaces/staking'; +import type { ApiId, BlockTrace, BlockTraceEvent, BlockTraceEventData, BlockTraceSpan, KeyValueOption, MigrationStatusResult, ReadProof, RuntimeVersion, RuntimeVersionApi, RuntimeVersionPartial, RuntimeVersionPre3, RuntimeVersionPre4, SpecVersion, StorageChangeSet, TraceBlockResponse, TraceError } from '@polkadot/types/interfaces/state'; import type { WeightToFeeCoefficient } from '@polkadot/types/interfaces/support'; -import type { - AccountInfo, - AccountInfoWithDualRefCount, - AccountInfoWithProviders, - AccountInfoWithRefCount, - AccountInfoWithRefCountU8, - AccountInfoWithTripleRefCount, - ApplyExtrinsicResult, - ApplyExtrinsicResultPre6, - ArithmeticError, - BlockLength, - BlockWeights, - ChainProperties, - ChainType, - ConsumedWeight, - DigestOf, - DispatchClass, - DispatchError, - DispatchErrorModule, - DispatchErrorModulePre6, - DispatchErrorModuleU8, - DispatchErrorModuleU8a, - DispatchErrorPre6, - DispatchErrorPre6First, - DispatchErrorTo198, - DispatchInfo, - DispatchInfoTo190, - DispatchInfoTo244, - DispatchOutcome, - DispatchOutcomePre6, - DispatchResult, - DispatchResultOf, - DispatchResultTo198, - Event, - EventId, - EventIndex, - EventRecord, - Health, - InvalidTransaction, - Key, - LastRuntimeUpgradeInfo, - NetworkState, - NetworkStatePeerset, - NetworkStatePeersetInfo, - NodeRole, - NotConnectedPeer, - Peer, - PeerEndpoint, - PeerEndpointAddr, - PeerInfo, - PeerPing, - PerDispatchClassU32, - PerDispatchClassWeight, - PerDispatchClassWeightsPerClass, - Phase, - RawOrigin, - RefCount, - RefCountTo259, - SyncState, - SystemOrigin, - TokenError, - TransactionValidityError, - TransactionalError, - UnknownTransaction, - WeightPerClass, -} from '@polkadot/types/interfaces/system'; -import type { - Bounty, - BountyIndex, - BountyStatus, - BountyStatusActive, - BountyStatusCuratorProposed, - BountyStatusPendingPayout, - OpenTip, - OpenTipFinderTo225, - OpenTipTip, - OpenTipTo225, - TreasuryProposal, -} from '@polkadot/types/interfaces/treasury'; +import type { AccountInfo, AccountInfoWithDualRefCount, AccountInfoWithProviders, AccountInfoWithRefCount, AccountInfoWithRefCountU8, AccountInfoWithTripleRefCount, ApplyExtrinsicResult, ApplyExtrinsicResultPre6, ArithmeticError, BlockLength, BlockWeights, ChainProperties, ChainType, ConsumedWeight, DigestOf, DispatchClass, DispatchError, DispatchErrorModule, DispatchErrorModulePre6, DispatchErrorModuleU8, DispatchErrorModuleU8a, DispatchErrorPre6, DispatchErrorPre6First, DispatchErrorTo198, DispatchInfo, DispatchInfoTo190, DispatchInfoTo244, DispatchOutcome, DispatchOutcomePre6, DispatchResult, DispatchResultOf, DispatchResultTo198, Event, EventId, EventIndex, EventRecord, Health, InvalidTransaction, Key, LastRuntimeUpgradeInfo, NetworkState, NetworkStatePeerset, NetworkStatePeersetInfo, NodeRole, NotConnectedPeer, Peer, PeerEndpoint, PeerEndpointAddr, PeerInfo, PeerPing, PerDispatchClassU32, PerDispatchClassWeight, PerDispatchClassWeightsPerClass, Phase, RawOrigin, RefCount, RefCountTo259, SyncState, SystemOrigin, TokenError, TransactionValidityError, TransactionalError, UnknownTransaction, WeightPerClass } from '@polkadot/types/interfaces/system'; +import type { Bounty, BountyIndex, BountyStatus, BountyStatusActive, BountyStatusCuratorProposed, BountyStatusPendingPayout, OpenTip, OpenTipFinderTo225, OpenTipTip, OpenTipTo225, TreasuryProposal } from '@polkadot/types/interfaces/treasury'; import type { Multiplier } from '@polkadot/types/interfaces/txpayment'; import type { TransactionSource, TransactionValidity, ValidTransaction } from '@polkadot/types/interfaces/txqueue'; -import type { - ClassDetails, - ClassId, - ClassMetadata, - DepositBalance, - DepositBalanceOf, - DestroyWitness, - InstanceDetails, - InstanceId, - InstanceMetadata, -} from '@polkadot/types/interfaces/uniques'; +import type { ClassDetails, ClassId, ClassMetadata, DepositBalance, DepositBalanceOf, DestroyWitness, InstanceDetails, InstanceId, InstanceMetadata } from '@polkadot/types/interfaces/uniques'; import type { Multisig, Timepoint } from '@polkadot/types/interfaces/utility'; import type { VestingInfo } from '@polkadot/types/interfaces/vesting'; -import type { - AssetInstance, - AssetInstanceV0, - AssetInstanceV1, - AssetInstanceV2, - BodyId, - BodyPart, - DoubleEncodedCall, - Fungibility, - FungibilityV0, - FungibilityV1, - FungibilityV2, - InboundStatus, - InstructionV2, - InteriorMultiLocation, - Junction, - JunctionV0, - JunctionV1, - JunctionV2, - Junctions, - JunctionsV1, - JunctionsV2, - MultiAsset, - MultiAssetFilter, - MultiAssetFilterV1, - MultiAssetFilterV2, - MultiAssetV0, - MultiAssetV1, - MultiAssetV2, - MultiAssets, - MultiAssetsV1, - MultiAssetsV2, - MultiLocation, - MultiLocationV0, - MultiLocationV1, - MultiLocationV2, - NetworkId, - OriginKindV0, - OriginKindV1, - OriginKindV2, - OutboundStatus, - Outcome, - QueryId, - QueryStatus, - QueueConfigData, - Response, - ResponseV0, - ResponseV1, - ResponseV2, - ResponseV2Error, - ResponseV2Result, - VersionMigrationStage, - VersionedMultiAsset, - VersionedMultiAssets, - VersionedMultiLocation, - VersionedResponse, - VersionedXcm, - WeightLimitV2, - WildFungibility, - WildFungibilityV0, - WildFungibilityV1, - WildFungibilityV2, - WildMultiAsset, - WildMultiAssetV1, - WildMultiAssetV2, - Xcm, - XcmAssetId, - XcmError, - XcmErrorV0, - XcmErrorV1, - XcmErrorV2, - XcmOrder, - XcmOrderV0, - XcmOrderV1, - XcmOrderV2, - XcmOrigin, - XcmOriginKind, - XcmV0, - XcmV1, - XcmV2, - XcmVersion, - XcmpMessageFormat, -} from '@polkadot/types/interfaces/xcm'; +import type { AssetInstance, AssetInstanceV0, AssetInstanceV1, AssetInstanceV2, BodyId, BodyPart, DoubleEncodedCall, Fungibility, FungibilityV0, FungibilityV1, FungibilityV2, InboundStatus, InstructionV2, InteriorMultiLocation, Junction, JunctionV0, JunctionV1, JunctionV2, Junctions, JunctionsV1, JunctionsV2, MultiAsset, MultiAssetFilter, MultiAssetFilterV1, MultiAssetFilterV2, MultiAssetV0, MultiAssetV1, MultiAssetV2, MultiAssets, MultiAssetsV1, MultiAssetsV2, MultiLocation, MultiLocationV0, MultiLocationV1, MultiLocationV2, NetworkId, OriginKindV0, OriginKindV1, OriginKindV2, OutboundStatus, Outcome, QueryId, QueryStatus, QueueConfigData, Response, ResponseV0, ResponseV1, ResponseV2, ResponseV2Error, ResponseV2Result, VersionMigrationStage, VersionedMultiAsset, VersionedMultiAssets, VersionedMultiLocation, VersionedResponse, VersionedXcm, WeightLimitV2, WildFungibility, WildFungibilityV0, WildFungibilityV1, WildFungibilityV2, WildMultiAsset, WildMultiAssetV1, WildMultiAssetV2, Xcm, XcmAssetId, XcmError, XcmErrorV0, XcmErrorV1, XcmErrorV2, XcmOrder, XcmOrderV0, XcmOrderV1, XcmOrderV2, XcmOrigin, XcmOriginKind, XcmV0, XcmV1, XcmV2, XcmVersion, XcmpMessageFormat } from '@polkadot/types/interfaces/xcm'; declare module '@polkadot/types/types/registry' { interface InterfaceTypes { diff --git a/src/interfaces/lookup.ts b/src/interfaces/lookup.ts index 16194dd029d7b60a086b84121d9288dd4e443685..da4a4562fb8b90b15c187fa1c7193e67b2d29553 100644 --- a/src/interfaces/lookup.ts +++ b/src/interfaces/lookup.ts @@ -5,48 +5,47 @@ export default { /** - * Lookup3: frame_system::AccountInfo<Index, pallet_duniter_account::types::AccountData<Balance, IdtyId>> + * Lookup3: frame_system::AccountInfo<Nonce, pallet_duniter_account::types::AccountData<Balance, IdtyId>> **/ FrameSystemAccountInfo: { nonce: 'u32', consumers: 'u32', providers: 'u32', sufficients: 'u32', - data: 'PalletDuniterAccountAccountData', + data: 'PalletDuniterAccountAccountData' }, /** * Lookup5: pallet_duniter_account::types::AccountData<Balance, IdtyId> **/ PalletDuniterAccountAccountData: { - randomId: 'Option<H256>', free: 'u64', reserved: 'u64', feeFrozen: 'u64', - linkedIdty: 'Option<u32>', + linkedIdty: 'Option<u32>' }, /** - * Lookup10: frame_support::dispatch::PerDispatchClass<sp_weights::weight_v2::Weight> + * Lookup8: frame_support::dispatch::PerDispatchClass<sp_weights::weight_v2::Weight> **/ FrameSupportDispatchPerDispatchClassWeight: { normal: 'SpWeightsWeightV2Weight', operational: 'SpWeightsWeightV2Weight', - mandatory: 'SpWeightsWeightV2Weight', + mandatory: 'SpWeightsWeightV2Weight' }, /** - * Lookup11: sp_weights::weight_v2::Weight + * Lookup9: sp_weights::weight_v2::Weight **/ SpWeightsWeightV2Weight: { refTime: 'Compact<u64>', - proofSize: 'Compact<u64>', + proofSize: 'Compact<u64>' }, /** - * Lookup14: sp_runtime::generic::digest::Digest + * Lookup13: sp_runtime::generic::digest::Digest **/ SpRuntimeDigest: { - logs: 'Vec<SpRuntimeDigestDigestItem>', + logs: 'Vec<SpRuntimeDigestDigestItem>' }, /** - * Lookup16: sp_runtime::generic::digest::DigestItem + * Lookup15: sp_runtime::generic::digest::DigestItem **/ SpRuntimeDigestDigestItem: { _enum: { @@ -58,19 +57,19 @@ export default { Seal: '([u8;4],Bytes)', PreRuntime: '([u8;4],Bytes)', __Unused7: 'Null', - RuntimeEnvironmentUpdated: 'Null', - }, + RuntimeEnvironmentUpdated: 'Null' + } }, /** - * Lookup19: frame_system::EventRecord<gdev_runtime::RuntimeEvent, primitive_types::H256> + * Lookup18: frame_system::EventRecord<gdev_runtime::RuntimeEvent, primitive_types::H256> **/ FrameSystemEventRecord: { phase: 'FrameSystemPhase', event: 'Event', - topics: 'Vec<H256>', + topics: 'Vec<H256>' }, /** - * Lookup21: frame_system::pallet::Event<T> + * Lookup20: frame_system::pallet::Event<T> **/ FrameSystemEvent: { _enum: { @@ -95,30 +94,34 @@ export default { sender: 'AccountId32', hash_: 'H256', }, - }, + UpgradeAuthorized: { + codeHash: 'H256', + checkVersion: 'bool' + } + } }, /** - * Lookup22: frame_support::dispatch::DispatchInfo + * Lookup21: frame_support::dispatch::DispatchInfo **/ FrameSupportDispatchDispatchInfo: { weight: 'SpWeightsWeightV2Weight', class: 'FrameSupportDispatchDispatchClass', - paysFee: 'FrameSupportDispatchPays', + paysFee: 'FrameSupportDispatchPays' }, /** - * Lookup23: frame_support::dispatch::DispatchClass + * Lookup22: frame_support::dispatch::DispatchClass **/ FrameSupportDispatchDispatchClass: { - _enum: ['Normal', 'Operational', 'Mandatory'], + _enum: ['Normal', 'Operational', 'Mandatory'] }, /** - * Lookup24: frame_support::dispatch::Pays + * Lookup23: frame_support::dispatch::Pays **/ FrameSupportDispatchPays: { - _enum: ['Yes', 'No'], + _enum: ['Yes', 'No'] }, /** - * Lookup25: sp_runtime::DispatchError + * Lookup24: sp_runtime::DispatchError **/ SpRuntimeDispatchError: { _enum: { @@ -135,62 +138,45 @@ export default { Exhausted: 'Null', Corruption: 'Null', Unavailable: 'Null', - }, + RootNotAllowed: 'Null' + } }, /** - * Lookup26: sp_runtime::ModuleError + * Lookup25: sp_runtime::ModuleError **/ SpRuntimeModuleError: { index: 'u8', - error: '[u8;4]', + error: '[u8;4]' }, /** - * Lookup27: sp_runtime::TokenError + * Lookup26: sp_runtime::TokenError **/ SpRuntimeTokenError: { - _enum: [ - 'FundsUnavailable', - 'OnlyProvider', - 'BelowMinimum', - 'CannotCreate', - 'UnknownAsset', - 'Frozen', - 'Unsupported', - 'CannotCreateHold', - 'NotExpendable', - ], + _enum: ['FundsUnavailable', 'OnlyProvider', 'BelowMinimum', 'CannotCreate', 'UnknownAsset', 'Frozen', 'Unsupported', 'CannotCreateHold', 'NotExpendable', 'Blocked'] }, /** - * Lookup28: sp_arithmetic::ArithmeticError + * Lookup27: sp_arithmetic::ArithmeticError **/ SpArithmeticArithmeticError: { - _enum: ['Underflow', 'Overflow', 'DivisionByZero'], + _enum: ['Underflow', 'Overflow', 'DivisionByZero'] }, /** - * Lookup29: sp_runtime::TransactionalError + * Lookup28: sp_runtime::TransactionalError **/ SpRuntimeTransactionalError: { - _enum: ['LimitReached', 'NoLayer'], + _enum: ['LimitReached', 'NoLayer'] }, /** * Lookup30: pallet_duniter_account::pallet::Event<T> **/ PalletDuniterAccountEvent: { _enum: { - ForceDestroy: { - who: 'AccountId32', - balance: 'u64', - }, - RandomIdAssigned: { - who: 'AccountId32', - randomId: 'H256', - }, AccountLinked: { who: 'AccountId32', identity: 'u32', }, - AccountUnlinked: 'AccountId32', - }, + AccountUnlinked: 'AccountId32' + } }, /** * Lookup31: pallet_scheduler::pallet::Event<T> @@ -220,9 +206,9 @@ export default { }, PermanentlyOverweight: { task: '(u32,u32)', - id: 'Option<[u8;32]>', - }, - }, + id: 'Option<[u8;32]>' + } + } }, /** * Lookup36: pallet_balances::pallet::Event<T, I> @@ -311,15 +297,15 @@ export default { }, Thawed: { who: 'AccountId32', - amount: 'u64', - }, - }, + amount: 'u64' + } + } }, /** * Lookup37: frame_support::traits::tokens::misc::BalanceStatus **/ FrameSupportTokensMiscBalanceStatus: { - _enum: ['Free', 'Reserved'], + _enum: ['Free', 'Reserved'] }, /** * Lookup38: pallet_transaction_payment::pallet::Event<T> @@ -329,9 +315,9 @@ export default { TransactionFeePaid: { who: 'AccountId32', actualFee: 'u64', - tip: 'u64', - }, - }, + tip: 'u64' + } + } }, /** * Lookup39: pallet_oneshot_account::pallet::Event<T> @@ -350,9 +336,9 @@ export default { }, Withdraw: { account: 'AccountId32', - balance: 'u64', - }, - }, + balance: 'u64' + } + } }, /** * Lookup42: pallet_quota::pallet::Event<T> @@ -367,45 +353,88 @@ export default { NoQuotaForIdty: 'u32', NoMoreCurrencyForRefund: 'Null', RefundFailed: 'AccountId32', - RefundQueueFull: 'Null', - }, + RefundQueueFull: 'Null' + } + }, + /** + * Lookup43: pallet_smith_members::pallet::Event<T> + **/ + PalletSmithMembersEvent: { + _enum: { + InvitationSent: { + receiver: 'u32', + issuer: 'u32', + }, + InvitationAccepted: { + idtyIndex: 'u32', + }, + SmithCertAdded: { + receiver: 'u32', + issuer: 'u32', + }, + SmithCertRemoved: { + receiver: 'u32', + issuer: 'u32', + }, + SmithMembershipAdded: { + idtyIndex: 'u32', + }, + SmithMembershipRemoved: { + idtyIndex: 'u32' + } + } }, /** - * Lookup43: pallet_authority_members::pallet::Event<T> + * Lookup44: pallet_authority_members::pallet::Event<T> **/ PalletAuthorityMembersEvent: { _enum: { - IncomingAuthorities: 'Vec<u32>', - OutgoingAuthorities: 'Vec<u32>', - MemberGoOffline: 'u32', - MemberGoOnline: 'u32', - MemberRemoved: 'u32', - MemberRemovedFromBlackList: 'u32', - }, + IncomingAuthorities: { + members: 'Vec<u32>', + }, + OutgoingAuthorities: { + members: 'Vec<u32>', + }, + MemberGoOffline: { + member: 'u32', + }, + MemberGoOnline: { + member: 'u32', + }, + MemberRemoved: { + member: 'u32', + }, + MemberRemovedFromBlacklist: { + member: 'u32', + }, + MemberAddedToBlacklist: { + member: 'u32' + } + } }, /** - * Lookup45: pallet_offences::pallet::Event + * Lookup46: pallet_offences::pallet::Event **/ PalletOffencesEvent: { _enum: { Offence: { kind: '[u8;16]', - timeslot: 'Bytes', - }, - }, + timeslot: 'Bytes' + } + } }, /** - * Lookup47: pallet_session::pallet::Event + * Lookup48: pallet_session::pallet::Event **/ PalletSessionEvent: { _enum: { NewSession: { - sessionIndex: 'u32', - }, - }, + sessionIndex: 'u32' + } + } }, /** - * Lookup48: pallet_grandpa::pallet::Event + * Lookup49: pallet_grandpa::pallet::Event **/ PalletGrandpaEvent: { _enum: { @@ -413,19 +442,19 @@ export default { authoritySet: 'Vec<(SpConsensusGrandpaAppPublic,u64)>', }, Paused: 'Null', - Resumed: 'Null', - }, + Resumed: 'Null' + } }, /** - * Lookup51: sp_consensus_grandpa::app::Public + * Lookup52: sp_consensus_grandpa::app::Public **/ SpConsensusGrandpaAppPublic: 'SpCoreEd25519Public', /** - * Lookup52: sp_core::ed25519::Public + * Lookup53: sp_core::ed25519::Public **/ SpCoreEd25519Public: '[u8;32]', /** - * Lookup53: pallet_im_online::pallet::Event<T> + * Lookup54: pallet_im_online::pallet::Event<T> **/ PalletImOnlineEvent: { _enum: { @@ -434,24 +463,24 @@ export default { }, AllGood: 'Null', SomeOffline: { - offline: 'Vec<(AccountId32,CommonRuntimeEntitiesValidatorFullIdentification)>', - }, - }, + offline: 'Vec<(AccountId32,CommonRuntimeEntitiesValidatorFullIdentification)>' + } + } }, /** - * Lookup54: pallet_im_online::sr25519::app_sr25519::Public + * Lookup55: pallet_im_online::sr25519::app_sr25519::Public **/ PalletImOnlineSr25519AppSr25519Public: 'SpCoreSr25519Public', /** - * Lookup55: sp_core::sr25519::Public + * Lookup56: sp_core::sr25519::Public **/ SpCoreSr25519Public: '[u8;32]', /** - * Lookup58: common_runtime::entities::ValidatorFullIdentification + * Lookup59: common_runtime::entities::ValidatorFullIdentification **/ CommonRuntimeEntitiesValidatorFullIdentification: 'Null', /** - * Lookup59: pallet_sudo::pallet::Event<T> + * Lookup60: pallet_sudo::pallet::Event<T> **/ PalletSudoEvent: { _enum: { @@ -459,25 +488,30 @@ export default { sudoResult: 'Result<Null, SpRuntimeDispatchError>', }, KeyChanged: { - oldSudoer: 'Option<AccountId32>', + _alias: { + new_: 'new', + }, + old: 'Option<AccountId32>', + new_: 'AccountId32', }, + KeyRemoved: 'Null', SudoAsDone: { - sudoResult: 'Result<Null, SpRuntimeDispatchError>', - }, - }, + sudoResult: 'Result<Null, SpRuntimeDispatchError>' + } + } }, /** - * Lookup61: pallet_upgrade_origin::pallet::Event + * Lookup62: pallet_upgrade_origin::pallet::Event **/ PalletUpgradeOriginEvent: { _enum: { DispatchedAsRoot: { - result: 'Result<Null, SpRuntimeDispatchError>', - }, - }, + result: 'Result<Null, SpRuntimeDispatchError>' + } + } }, /** - * Lookup62: pallet_preimage::pallet::Event<T> + * Lookup63: pallet_preimage::pallet::Event<T> **/ PalletPreimageEvent: { _enum: { @@ -497,12 +531,12 @@ export default { _alias: { hash_: 'hash', }, - hash_: 'H256', - }, - }, + hash_: 'H256' + } + } }, /** - * Lookup63: pallet_collective::pallet::Event<T, I> + * Lookup64: pallet_collective::pallet::Event<T, I> **/ PalletCollectiveEvent: { _enum: { @@ -536,9 +570,9 @@ export default { Closed: { proposalHash: 'H256', yes: 'u32', - no: 'u32', - }, - }, + no: 'u32' + } + } }, /** * Lookup65: pallet_universal_dividend::pallet::Event<T> @@ -556,7 +590,7 @@ export default { monetaryMass: 'u64', membersCount: 'u64', }, - UdsAutoPaidAtRemoval: { + UdsAutoPaid: { count: 'u16', total: 'u64', who: 'AccountId32', @@ -564,9 +598,9 @@ export default { UdsClaimed: { count: 'u16', total: 'u64', - who: 'AccountId32', - }, - }, + who: 'AccountId32' + } + } }, /** * Lookup67: pallet_identity::pallet::Event<T> @@ -580,7 +614,7 @@ export default { IdtyConfirmed: { idtyIndex: 'u32', ownerKey: 'AccountId32', - name: 'Text', + name: 'Bytes', }, IdtyValidated: { idtyIndex: 'u32', @@ -589,65 +623,89 @@ export default { idtyIndex: 'u32', newOwnerKey: 'AccountId32', }, - IdtyRemoved: { + IdtyRevoked: { idtyIndex: 'u32', - reason: 'PalletIdentityIdtyRemovalReason', + reason: 'PalletIdentityRevocationReason', }, - }, + IdtyRemoved: { + idtyIndex: 'u32', + reason: 'PalletIdentityRemovalReason' + } + } }, /** - * Lookup69: pallet_identity::types::IdtyRemovalReason<pallet_duniter_wot::types::IdtyRemovalWotReason> + * Lookup69: pallet_identity::types::RevocationReason **/ - PalletIdentityIdtyRemovalReason: { - _enum: { - Expired: 'Null', - Manual: 'Null', - Other: 'PalletDuniterWotIdtyRemovalWotReason', - Revoked: 'Null', - }, + PalletIdentityRevocationReason: { + _enum: ['Root', 'User', 'Expired'] }, /** - * Lookup70: pallet_duniter_wot::types::IdtyRemovalWotReason + * Lookup70: pallet_identity::types::RemovalReason **/ - PalletDuniterWotIdtyRemovalWotReason: { - _enum: ['MembershipExpired', 'Other'], + PalletIdentityRemovalReason: { + _enum: ['Root', 'Unconfirmed', 'Unvalidated', 'Revoked'] }, /** - * Lookup71: pallet_membership::pallet::Event<T, I> + * Lookup71: pallet_membership::pallet::Event<T> **/ PalletMembershipEvent: { _enum: { - MembershipAcquired: 'u32', - MembershipExpired: 'u32', - MembershipRenewed: 'u32', - MembershipRequested: 'u32', - MembershipRevoked: 'u32', - PendingMembershipExpired: 'u32', - }, + MembershipAdded: { + member: 'u32', + expireOn: 'u32', + }, + MembershipRenewed: { + member: 'u32', + expireOn: 'u32', + }, + MembershipRemoved: { + member: 'u32', + reason: 'PalletMembershipMembershipRemovalReason' + } + } }, /** - * Lookup72: pallet_certification::pallet::Event<T, I> + * Lookup72: pallet_membership::MembershipRemovalReason + **/ + PalletMembershipMembershipRemovalReason: { + _enum: ['Expired', 'Revoked', 'NotEnoughCerts', 'System'] + }, + /** + * Lookup73: pallet_certification::pallet::Event<T> **/ PalletCertificationEvent: { _enum: { - NewCert: { + CertAdded: { issuer: 'u32', - issuerIssuedCount: 'u32', receiver: 'u32', - receiverReceivedCount: 'u32', }, - RemovedCert: { + CertRemoved: { issuer: 'u32', - issuerIssuedCount: 'u32', receiver: 'u32', - receiverReceivedCount: 'u32', expiration: 'bool', }, - RenewedCert: { + CertRenewed: { issuer: 'u32', - receiver: 'u32', + receiver: 'u32' + } + } + }, + /** + * Lookup74: pallet_distance::pallet::Event<T> + **/ + PalletDistanceEvent: { + _enum: { + EvaluationRequested: { + idtyIndex: 'u32', + who: 'AccountId32', + }, + EvaluatedValid: { + idtyIndex: 'u32', }, - }, + EvaluatedInvalid: { + idtyIndex: 'u32' + } + } }, /** * Lookup75: pallet_atomic_swap::pallet::Event<T> @@ -666,9 +724,9 @@ export default { }, SwapCancelled: { account: 'AccountId32', - proof: '[u8;32]', - }, - }, + proof: '[u8;32]' + } + } }, /** * Lookup76: pallet_atomic_swap::PendingSwap<T> @@ -676,13 +734,13 @@ export default { PalletAtomicSwapPendingSwap: { source: 'AccountId32', action: 'PalletAtomicSwapBalanceSwapAction', - endBlock: 'u32', + endBlock: 'u32' }, /** * Lookup77: pallet_atomic_swap::BalanceSwapAction<sp_core::crypto::AccountId32, C> **/ PalletAtomicSwapBalanceSwapAction: { - value: 'u64', + value: 'u64' }, /** * Lookup78: pallet_multisig::pallet::Event<T> @@ -711,16 +769,16 @@ export default { cancelling: 'AccountId32', timepoint: 'PalletMultisigTimepoint', multisig: 'AccountId32', - callHash: '[u8;32]', - }, - }, + callHash: '[u8;32]' + } + } }, /** * Lookup79: pallet_multisig::Timepoint<BlockNumber> **/ PalletMultisigTimepoint: { height: 'u32', - index: 'u32', + index: 'u32' }, /** * Lookup80: pallet_provide_randomness::pallet::Event @@ -737,15 +795,15 @@ export default { }, requestId: 'u64', salt: 'H256', - r_type: 'PalletProvideRandomnessRandomnessType', - }, - }, + r_type: 'PalletProvideRandomnessRandomnessType' + } + } }, /** * Lookup81: pallet_provide_randomness::types::RandomnessType **/ PalletProvideRandomnessRandomnessType: { - _enum: ['RandomnessFromPreviousBlock', 'RandomnessFromOneEpochAgo', 'RandomnessFromTwoEpochsAgo'], + _enum: ['RandomnessFromPreviousBlock', 'RandomnessFromOneEpochAgo', 'RandomnessFromTwoEpochsAgo'] }, /** * Lookup82: pallet_proxy::pallet::Event<T> @@ -776,15 +834,15 @@ export default { delegator: 'AccountId32', delegatee: 'AccountId32', proxyType: 'GdevRuntimeProxyType', - delay: 'u32', - }, - }, + delay: 'u32' + } + } }, /** * Lookup83: gdev_runtime::ProxyType **/ GdevRuntimeProxyType: { - _enum: ['AlmostAny', 'TransferOnly', 'CancelProxy', 'TechnicalCommitteePropose'], + _enum: ['AlmostAny', 'TransferOnly', 'CancelProxy', 'TechnicalCommitteePropose'] }, /** * Lookup84: pallet_utility::pallet::Event @@ -802,9 +860,9 @@ export default { error: 'SpRuntimeDispatchError', }, DispatchedAs: { - result: 'Result<Null, SpRuntimeDispatchError>', - }, - }, + result: 'Result<Null, SpRuntimeDispatchError>' + } + } }, /** * Lookup85: pallet_treasury::pallet::Event<T, I> @@ -844,7 +902,29 @@ export default { reactivated: 'u64', deactivated: 'u64', }, - }, + AssetSpendApproved: { + index: 'u32', + assetKind: 'Null', + amount: 'u64', + beneficiary: 'AccountId32', + validFrom: 'u32', + expireAt: 'u32', + }, + AssetSpendVoided: { + index: 'u32', + }, + Paid: { + index: 'u32', + paymentId: 'Null', + }, + PaymentFailed: { + index: 'u32', + paymentId: 'Null', + }, + SpendProcessed: { + index: 'u32' + } + } }, /** * Lookup86: frame_system::Phase @@ -853,18 +933,25 @@ export default { _enum: { ApplyExtrinsic: 'u32', Finalization: 'Null', - Initialization: 'Null', - }, + Initialization: 'Null' + } }, /** * Lookup89: frame_system::LastRuntimeUpgradeInfo **/ FrameSystemLastRuntimeUpgradeInfo: { specVersion: 'Compact<u32>', - specName: 'Text', + specName: 'Text' + }, + /** + * Lookup92: frame_system::CodeUpgradeAuthorization<T> + **/ + FrameSystemCodeUpgradeAuthorization: { + codeHash: 'H256', + checkVersion: 'bool' }, /** - * Lookup91: frame_system::pallet::Call<T> + * Lookup93: frame_system::pallet::Call<T> **/ FrameSystemCall: { _enum: { @@ -896,56 +983,66 @@ export default { remark_with_event: { remark: 'Bytes', }, - }, + __Unused8: 'Null', + authorize_upgrade: { + codeHash: 'H256', + }, + authorize_upgrade_without_checks: { + codeHash: 'H256', + }, + apply_authorized_upgrade: { + code: 'Bytes' + } + } }, /** - * Lookup95: frame_system::limits::BlockWeights + * Lookup97: frame_system::limits::BlockWeights **/ FrameSystemLimitsBlockWeights: { baseBlock: 'SpWeightsWeightV2Weight', maxBlock: 'SpWeightsWeightV2Weight', - perClass: 'FrameSupportDispatchPerDispatchClassWeightsPerClass', + perClass: 'FrameSupportDispatchPerDispatchClassWeightsPerClass' }, /** - * Lookup96: frame_support::dispatch::PerDispatchClass<frame_system::limits::WeightsPerClass> + * Lookup98: frame_support::dispatch::PerDispatchClass<frame_system::limits::WeightsPerClass> **/ FrameSupportDispatchPerDispatchClassWeightsPerClass: { normal: 'FrameSystemLimitsWeightsPerClass', operational: 'FrameSystemLimitsWeightsPerClass', - mandatory: 'FrameSystemLimitsWeightsPerClass', + mandatory: 'FrameSystemLimitsWeightsPerClass' }, /** - * Lookup97: frame_system::limits::WeightsPerClass + * Lookup99: frame_system::limits::WeightsPerClass **/ FrameSystemLimitsWeightsPerClass: { baseExtrinsic: 'SpWeightsWeightV2Weight', maxExtrinsic: 'Option<SpWeightsWeightV2Weight>', maxTotal: 'Option<SpWeightsWeightV2Weight>', - reserved: 'Option<SpWeightsWeightV2Weight>', + reserved: 'Option<SpWeightsWeightV2Weight>' }, /** - * Lookup99: frame_system::limits::BlockLength + * Lookup101: frame_system::limits::BlockLength **/ FrameSystemLimitsBlockLength: { - max: 'FrameSupportDispatchPerDispatchClassU32', + max: 'FrameSupportDispatchPerDispatchClassU32' }, /** - * Lookup100: frame_support::dispatch::PerDispatchClass<T> + * Lookup102: frame_support::dispatch::PerDispatchClass<T> **/ FrameSupportDispatchPerDispatchClassU32: { normal: 'u32', operational: 'u32', - mandatory: 'u32', + mandatory: 'u32' }, /** - * Lookup101: sp_weights::RuntimeDbWeight + * Lookup103: sp_weights::RuntimeDbWeight **/ SpWeightsRuntimeDbWeight: { read: 'u64', - write: 'u64', + write: 'u64' }, /** - * Lookup102: sp_version::RuntimeVersion + * Lookup104: sp_version::RuntimeVersion **/ SpVersionRuntimeVersion: { specName: 'Text', @@ -955,39 +1052,32 @@ export default { implVersion: 'u32', apis: 'Vec<([u8;8],u32)>', transactionVersion: 'u32', - stateVersion: 'u8', + stateVersion: 'u8' }, /** - * Lookup107: frame_system::pallet::Error<T> + * Lookup109: frame_system::pallet::Error<T> **/ FrameSystemError: { - _enum: [ - 'InvalidSpecName', - 'SpecVersionNeedsToIncrease', - 'FailedToExtractRuntimeVersion', - 'NonDefaultComposite', - 'NonZeroRefCount', - 'CallFiltered', - ], + _enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered', 'NothingAuthorized', 'Unauthorized'] }, /** - * Lookup108: pallet_duniter_account::pallet::Call<T> + * Lookup110: pallet_duniter_account::pallet::Call<T> **/ PalletDuniterAccountCall: { - _enum: ['unlink_identity'], + _enum: ['unlink_identity'] }, /** - * Lookup111: pallet_scheduler::Scheduled<Name, frame_support::traits::preimages::Bounded<gdev_runtime::RuntimeCall>, BlockNumber, gdev_runtime::OriginCaller, sp_core::crypto::AccountId32> + * Lookup113: pallet_scheduler::Scheduled<Name, frame_support::traits::preimages::Bounded<gdev_runtime::RuntimeCall, sp_runtime::traits::BlakeTwo256>, BlockNumber, gdev_runtime::OriginCaller, sp_core::crypto::AccountId32> **/ PalletSchedulerScheduled: { maybeId: 'Option<[u8;32]>', priority: 'u8', call: 'FrameSupportPreimagesBounded', maybePeriodic: 'Option<(u32,u32)>', - origin: 'GdevRuntimeOriginCaller', + origin: 'GdevRuntimeOriginCaller' }, /** - * Lookup112: frame_support::traits::preimages::Bounded<gdev_runtime::RuntimeCall> + * Lookup114: frame_support::traits::preimages::Bounded<gdev_runtime::RuntimeCall, sp_runtime::traits::BlakeTwo256> **/ FrameSupportPreimagesBounded: { _enum: { @@ -1003,12 +1093,12 @@ export default { hash_: 'hash', }, hash_: 'H256', - len: 'u32', - }, - }, + len: 'u32' + } + } }, /** - * Lookup114: pallet_scheduler::pallet::Call<T> + * Lookup116: pallet_scheduler::pallet::Call<T> **/ PalletSchedulerCall: { _enum: { @@ -1043,12 +1133,12 @@ export default { after: 'u32', maybePeriodic: 'Option<(u32,u32)>', priority: 'u8', - call: 'Call', - }, - }, + call: 'Call' + } + } }, /** - * Lookup116: pallet_babe::pallet::Call<T> + * Lookup118: pallet_babe::pallet::Call<T> **/ PalletBabeCall: { _enum: { @@ -1061,75 +1151,71 @@ export default { keyOwnerProof: 'SpSessionMembershipProof', }, plan_config_change: { - config: 'SpConsensusBabeDigestsNextConfigDescriptor', - }, - }, + config: 'SpConsensusBabeDigestsNextConfigDescriptor' + } + } }, /** - * Lookup117: sp_consensus_slots::EquivocationProof<sp_runtime::generic::header::Header<Number, sp_runtime::traits::BlakeTwo256>, sp_consensus_babe::app::Public> + * Lookup119: sp_consensus_slots::EquivocationProof<sp_runtime::generic::header::Header<Number, Hash>, sp_consensus_babe::app::Public> **/ SpConsensusSlotsEquivocationProof: { offender: 'SpConsensusBabeAppPublic', slot: 'u64', firstHeader: 'SpRuntimeHeader', - secondHeader: 'SpRuntimeHeader', + secondHeader: 'SpRuntimeHeader' }, /** - * Lookup118: sp_runtime::generic::header::Header<Number, sp_runtime::traits::BlakeTwo256> + * Lookup120: sp_runtime::generic::header::Header<Number, Hash> **/ SpRuntimeHeader: { parentHash: 'H256', number: 'Compact<u32>', stateRoot: 'H256', extrinsicsRoot: 'H256', - digest: 'SpRuntimeDigest', + digest: 'SpRuntimeDigest' }, /** - * Lookup119: sp_runtime::traits::BlakeTwo256 - **/ - SpRuntimeBlakeTwo256: 'Null', - /** - * Lookup120: sp_consensus_babe::app::Public + * Lookup121: sp_consensus_babe::app::Public **/ SpConsensusBabeAppPublic: 'SpCoreSr25519Public', /** - * Lookup122: sp_session::MembershipProof + * Lookup123: sp_session::MembershipProof **/ SpSessionMembershipProof: { session: 'u32', trieNodes: 'Vec<Bytes>', - validatorCount: 'u32', + validatorCount: 'u32' }, /** - * Lookup123: sp_consensus_babe::digests::NextConfigDescriptor + * Lookup124: sp_consensus_babe::digests::NextConfigDescriptor **/ SpConsensusBabeDigestsNextConfigDescriptor: { _enum: { __Unused0: 'Null', V1: { c: '(u64,u64)', - allowedSlots: 'SpConsensusBabeAllowedSlots', - }, - }, + allowedSlots: 'SpConsensusBabeAllowedSlots' + } + } }, /** - * Lookup125: sp_consensus_babe::AllowedSlots + * Lookup126: sp_consensus_babe::AllowedSlots **/ SpConsensusBabeAllowedSlots: { - _enum: ['PrimarySlots', 'PrimaryAndSecondaryPlainSlots', 'PrimaryAndSecondaryVRFSlots'], + _enum: ['PrimarySlots', 'PrimaryAndSecondaryPlainSlots', 'PrimaryAndSecondaryVRFSlots'] }, /** - * Lookup126: pallet_timestamp::pallet::Call<T> + * Lookup127: pallet_timestamp::pallet::Call<T> **/ PalletTimestampCall: { _enum: { set: { - now: 'Compact<u64>', - }, - }, + now: 'Compact<u64>' + } + } }, /** - * Lookup127: pallet_balances::pallet::Call<T, I> + * Lookup128: pallet_balances::pallet::Call<T, I> **/ PalletBalancesCall: { _enum: { @@ -1137,11 +1223,7 @@ export default { dest: 'MultiAddress', value: 'Compact<u64>', }, - set_balance_deprecated: { - who: 'MultiAddress', - newFree: 'Compact<u64>', - oldReserved: 'Compact<u64>', - }, + __Unused1: 'Null', force_transfer: { source: 'MultiAddress', dest: 'MultiAddress', @@ -1159,18 +1241,13 @@ export default { who: 'MultiAddress', amount: 'u64', }, - upgrade_accounts: { - who: 'Vec<AccountId32>', - }, - transfer: { - dest: 'MultiAddress', - value: 'Compact<u64>', - }, + __Unused6: 'Null', + __Unused7: 'Null', force_set_balance: { who: 'MultiAddress', - newFree: 'Compact<u64>', - }, - }, + newFree: 'Compact<u64>' + } + } }, /** * Lookup132: pallet_oneshot_account::pallet::Call<T> @@ -1189,9 +1266,9 @@ export default { blockHeight: 'u32', dest: 'PalletOneshotAccountAccount', remainingTo: 'PalletOneshotAccountAccount', - balance: 'Compact<u64>', - }, - }, + balance: 'Compact<u64>' + } + } }, /** * Lookup133: pallet_oneshot_account::types::Account<sp_runtime::multiaddress::MultiAddress<sp_core::crypto::AccountId32, AccountIndex>> @@ -1199,11 +1276,25 @@ export default { PalletOneshotAccountAccount: { _enum: { Normal: 'MultiAddress', - Oneshot: 'MultiAddress', - }, + Oneshot: 'MultiAddress' + } }, /** - * Lookup134: pallet_authority_members::pallet::Call<T> + * Lookup134: pallet_smith_members::pallet::Call<T> + **/ + PalletSmithMembersCall: { + _enum: { + invite_smith: { + receiver: 'u32', + }, + accept_invitation: 'Null', + certify_smith: { + receiver: 'u32' + } + } + }, + /** + * Lookup135: pallet_authority_members::pallet::Call<T> **/ PalletAuthorityMembersCall: { _enum: { @@ -1219,25 +1310,25 @@ export default { memberId: 'u32', }, remove_member_from_blacklist: { - memberId: 'u32', - }, - }, + memberId: 'u32' + } + } }, /** - * Lookup135: gdev_runtime::opaque::SessionKeys + * Lookup136: gdev_runtime::opaque::SessionKeys **/ GdevRuntimeOpaqueSessionKeys: { grandpa: 'SpConsensusGrandpaAppPublic', babe: 'SpConsensusBabeAppPublic', imOnline: 'PalletImOnlineSr25519AppSr25519Public', - authorityDiscovery: 'SpAuthorityDiscoveryAppPublic', + authorityDiscovery: 'SpAuthorityDiscoveryAppPublic' }, /** - * Lookup136: sp_authority_discovery::app::Public + * Lookup137: sp_authority_discovery::app::Public **/ SpAuthorityDiscoveryAppPublic: 'SpCoreSr25519Public', /** - * Lookup137: pallet_session::pallet::Call<T> + * Lookup138: pallet_session::pallet::Call<T> **/ PalletSessionCall: { _enum: { @@ -1248,11 +1339,11 @@ export default { keys_: 'GdevRuntimeOpaqueSessionKeys', proof: 'Bytes', }, - purge_keys: 'Null', - }, + purge_keys: 'Null' + } }, /** - * Lookup138: pallet_grandpa::pallet::Call<T> + * Lookup139: pallet_grandpa::pallet::Call<T> **/ PalletGrandpaCall: { _enum: { @@ -1266,104 +1357,96 @@ export default { }, note_stalled: { delay: 'u32', - bestFinalizedBlockNumber: 'u32', - }, - }, + bestFinalizedBlockNumber: 'u32' + } + } }, /** - * Lookup139: sp_consensus_grandpa::EquivocationProof<primitive_types::H256, N> + * Lookup140: sp_consensus_grandpa::EquivocationProof<primitive_types::H256, N> **/ SpConsensusGrandpaEquivocationProof: { setId: 'u64', - equivocation: 'SpConsensusGrandpaEquivocation', + equivocation: 'SpConsensusGrandpaEquivocation' }, /** - * Lookup140: sp_consensus_grandpa::Equivocation<primitive_types::H256, N> + * Lookup141: sp_consensus_grandpa::Equivocation<primitive_types::H256, N> **/ SpConsensusGrandpaEquivocation: { _enum: { Prevote: 'FinalityGrandpaEquivocationPrevote', - Precommit: 'FinalityGrandpaEquivocationPrecommit', - }, + Precommit: 'FinalityGrandpaEquivocationPrecommit' + } }, /** - * Lookup141: finality_grandpa::Equivocation<sp_consensus_grandpa::app::Public, finality_grandpa::Prevote<primitive_types::H256, N>, sp_consensus_grandpa::app::Signature> + * Lookup142: finality_grandpa::Equivocation<sp_consensus_grandpa::app::Public, finality_grandpa::Prevote<primitive_types::H256, N>, sp_consensus_grandpa::app::Signature> **/ FinalityGrandpaEquivocationPrevote: { roundNumber: 'u64', identity: 'SpConsensusGrandpaAppPublic', first: '(FinalityGrandpaPrevote,SpConsensusGrandpaAppSignature)', - second: '(FinalityGrandpaPrevote,SpConsensusGrandpaAppSignature)', + second: '(FinalityGrandpaPrevote,SpConsensusGrandpaAppSignature)' }, /** - * Lookup142: finality_grandpa::Prevote<primitive_types::H256, N> + * Lookup143: finality_grandpa::Prevote<primitive_types::H256, N> **/ FinalityGrandpaPrevote: { targetHash: 'H256', - targetNumber: 'u32', + targetNumber: 'u32' }, /** - * Lookup143: sp_consensus_grandpa::app::Signature + * Lookup144: sp_consensus_grandpa::app::Signature **/ SpConsensusGrandpaAppSignature: 'SpCoreEd25519Signature', /** - * Lookup144: sp_core::ed25519::Signature + * Lookup145: sp_core::ed25519::Signature **/ SpCoreEd25519Signature: '[u8;64]', /** - * Lookup147: finality_grandpa::Equivocation<sp_consensus_grandpa::app::Public, finality_grandpa::Precommit<primitive_types::H256, N>, sp_consensus_grandpa::app::Signature> + * Lookup148: finality_grandpa::Equivocation<sp_consensus_grandpa::app::Public, finality_grandpa::Precommit<primitive_types::H256, N>, sp_consensus_grandpa::app::Signature> **/ FinalityGrandpaEquivocationPrecommit: { roundNumber: 'u64', identity: 'SpConsensusGrandpaAppPublic', first: '(FinalityGrandpaPrecommit,SpConsensusGrandpaAppSignature)', - second: '(FinalityGrandpaPrecommit,SpConsensusGrandpaAppSignature)', + second: '(FinalityGrandpaPrecommit,SpConsensusGrandpaAppSignature)' }, /** - * Lookup148: finality_grandpa::Precommit<primitive_types::H256, N> + * Lookup149: finality_grandpa::Precommit<primitive_types::H256, N> **/ FinalityGrandpaPrecommit: { targetHash: 'H256', - targetNumber: 'u32', + targetNumber: 'u32' }, /** - * Lookup150: pallet_im_online::pallet::Call<T> + * Lookup151: pallet_im_online::pallet::Call<T> **/ PalletImOnlineCall: { _enum: { heartbeat: { heartbeat: 'PalletImOnlineHeartbeat', - signature: 'PalletImOnlineSr25519AppSr25519Signature', - }, - }, + signature: 'PalletImOnlineSr25519AppSr25519Signature' + } + } }, /** - * Lookup151: pallet_im_online::Heartbeat<BlockNumber> + * Lookup152: pallet_im_online::Heartbeat<BlockNumber> **/ PalletImOnlineHeartbeat: { blockNumber: 'u32', - networkState: 'SpCoreOffchainOpaqueNetworkState', sessionIndex: 'u32', authorityIndex: 'u32', - validatorsLen: 'u32', + validatorsLen: 'u32' }, /** - * Lookup152: sp_core::offchain::OpaqueNetworkState - **/ - SpCoreOffchainOpaqueNetworkState: { - peerId: 'OpaquePeerId', - externalAddresses: 'Vec<OpaqueMultiaddr>', - }, - /** - * Lookup156: pallet_im_online::sr25519::app_sr25519::Signature + * Lookup153: pallet_im_online::sr25519::app_sr25519::Signature **/ PalletImOnlineSr25519AppSr25519Signature: 'SpCoreSr25519Signature', /** - * Lookup157: sp_core::sr25519::Signature + * Lookup154: sp_core::sr25519::Signature **/ SpCoreSr25519Signature: '[u8;64]', /** - * Lookup158: pallet_sudo::pallet::Call<T> + * Lookup155: pallet_sudo::pallet::Call<T> **/ PalletSudoCall: { _enum: { @@ -1384,10 +1467,11 @@ export default { who: 'MultiAddress', call: 'Call', }, - }, + remove_key: 'Null' + } }, /** - * Lookup159: pallet_upgrade_origin::pallet::Call<T> + * Lookup156: pallet_upgrade_origin::pallet::Call<T> **/ PalletUpgradeOriginCall: { _enum: { @@ -1396,12 +1480,12 @@ export default { }, dispatch_as_root_unchecked_weight: { call: 'Call', - weight: 'SpWeightsWeightV2Weight', - }, - }, + weight: 'SpWeightsWeightV2Weight' + } + } }, /** - * Lookup160: pallet_preimage::pallet::Call<T> + * Lookup157: pallet_preimage::pallet::Call<T> **/ PalletPreimageCall: { _enum: { @@ -1426,10 +1510,13 @@ export default { }, hash_: 'H256', }, - }, + ensure_updated: { + hashes: 'Vec<H256>' + } + } }, /** - * Lookup161: pallet_collective::pallet::Call<T, I> + * Lookup158: pallet_collective::pallet::Call<T, I> **/ PalletCollectiveCall: { _enum: { @@ -1460,12 +1547,12 @@ export default { proposalHash: 'H256', index: 'Compact<u32>', proposalWeightBound: 'SpWeightsWeightV2Weight', - lengthBound: 'Compact<u32>', - }, - }, + lengthBound: 'Compact<u32>' + } + } }, /** - * Lookup162: pallet_universal_dividend::pallet::Call<T> + * Lookup160: pallet_universal_dividend::pallet::Call<T> **/ PalletUniversalDividendCall: { _enum: { @@ -1476,12 +1563,12 @@ export default { }, transfer_ud_keep_alive: { dest: 'MultiAddress', - value: 'Compact<u64>', - }, - }, + value: 'Compact<u64>' + } + } }, /** - * Lookup163: pallet_identity::pallet::Call<T> + * Lookup161: pallet_identity::pallet::Call<T> **/ PalletIdentityCall: { _enum: { @@ -1489,11 +1576,9 @@ export default { ownerKey: 'AccountId32', }, confirm_identity: { - idtyName: 'Text', - }, - validate_identity: { - idtyIndex: 'u32', + idtyName: 'Bytes', }, + __Unused2: 'Null', change_owner_key: { newKey: 'AccountId32', newKeySig: 'SpRuntimeMultiSignature', @@ -1503,13 +1588,9 @@ export default { revocationKey: 'AccountId32', revocationSig: 'SpRuntimeMultiSignature', }, - remove_identity: { - idtyIndex: 'u32', - idtyName: 'Option<Text>', - reason: 'PalletIdentityIdtyRemovalReason', - }, + __Unused5: 'Null', prune_item_identities_names: { - names: 'Vec<Text>', + names: 'Vec<Bytes>', }, fix_sufficients: { ownerKey: 'AccountId32', @@ -1517,37 +1598,30 @@ export default { }, link_account: { accountId: 'AccountId32', - payloadSig: 'SpRuntimeMultiSignature', - }, - }, + payloadSig: 'SpRuntimeMultiSignature' + } + } }, /** - * Lookup164: sp_runtime::MultiSignature + * Lookup162: sp_runtime::MultiSignature **/ SpRuntimeMultiSignature: { _enum: { Ed25519: 'SpCoreEd25519Signature', Sr25519: 'SpCoreSr25519Signature', - Ecdsa: 'SpCoreEcdsaSignature', - }, + Ecdsa: 'SpCoreEcdsaSignature' + } }, /** - * Lookup165: sp_core::ecdsa::Signature + * Lookup163: sp_core::ecdsa::Signature **/ SpCoreEcdsaSignature: '[u8;65]', /** - * Lookup169: pallet_membership::pallet::Call<T, I> - **/ - PalletMembershipCall: { - _enum: ['request_membership', 'claim_membership', 'renew_membership', 'revoke_membership'], - }, - /** - * Lookup170: pallet_certification::pallet::Call<T, I> + * Lookup166: pallet_certification::pallet::Call<T> **/ PalletCertificationCall: { _enum: { add_cert: { - issuer: 'u32', receiver: 'u32', }, del_cert: { @@ -1557,10 +1631,13 @@ export default { remove_all_certs_received_by: { idtyIndex: 'u32', }, - }, + renew_cert: { + receiver: 'u32' + } + } }, /** - * Lookup171: pallet_distance::pallet::Call<T> + * Lookup167: pallet_distance::pallet::Call<T> **/ PalletDistanceCall: { _enum: { @@ -1572,26 +1649,22 @@ export default { evaluator: 'AccountId32', computationResult: 'SpDistanceComputationResult', }, - force_set_distance_status: { + force_valid_distance_status: { identity: 'u32', - status: 'Option<(AccountId32,PalletDistanceDistanceStatus)>', }, - }, + request_distance_evaluation_for: { + target: 'u32' + } + } }, /** - * Lookup172: sp_distance::ComputationResult + * Lookup168: sp_distance::ComputationResult **/ SpDistanceComputationResult: { - distances: 'Vec<Perbill>', - }, - /** - * Lookup177: pallet_distance::types::DistanceStatus - **/ - PalletDistanceDistanceStatus: { - _enum: ['Pending', 'Valid'], + distances: 'Vec<Perbill>' }, /** - * Lookup180: pallet_atomic_swap::pallet::Call<T> + * Lookup171: pallet_atomic_swap::pallet::Call<T> **/ PalletAtomicSwapCall: { _enum: { @@ -1607,12 +1680,12 @@ export default { }, cancel_swap: { target: 'AccountId32', - hashedProof: '[u8;32]', - }, - }, + hashedProof: '[u8;32]' + } + } }, /** - * Lookup181: pallet_multisig::pallet::Call<T> + * Lookup172: pallet_multisig::pallet::Call<T> **/ PalletMultisigCall: { _enum: { @@ -1638,23 +1711,23 @@ export default { threshold: 'u16', otherSignatories: 'Vec<AccountId32>', timepoint: 'PalletMultisigTimepoint', - callHash: '[u8;32]', - }, - }, + callHash: '[u8;32]' + } + } }, /** - * Lookup183: pallet_provide_randomness::pallet::Call<T> + * Lookup174: pallet_provide_randomness::pallet::Call<T> **/ PalletProvideRandomnessCall: { _enum: { request: { randomnessType: 'PalletProvideRandomnessRandomnessType', - salt: 'H256', - }, - }, + salt: 'H256' + } + } }, /** - * Lookup184: pallet_proxy::pallet::Call<T> + * Lookup175: pallet_proxy::pallet::Call<T> **/ PalletProxyCall: { _enum: { @@ -1702,12 +1775,12 @@ export default { delegate: 'MultiAddress', real: 'MultiAddress', forceProxyType: 'Option<GdevRuntimeProxyType>', - call: 'Call', - }, - }, + call: 'Call' + } + } }, /** - * Lookup186: pallet_utility::pallet::Call<T> + * Lookup177: pallet_utility::pallet::Call<T> **/ PalletUtilityCall: { _enum: { @@ -1730,12 +1803,12 @@ export default { }, with_weight: { call: 'Call', - weight: 'SpWeightsWeightV2Weight', - }, - }, + weight: 'SpWeightsWeightV2Weight' + } + } }, /** - * Lookup188: gdev_runtime::OriginCaller + * Lookup179: gdev_runtime::OriginCaller **/ GdevRuntimeOriginCaller: { _enum: { @@ -1762,35 +1835,35 @@ export default { __Unused20: 'Null', __Unused21: 'Null', __Unused22: 'Null', - TechnicalCommittee: 'PalletCollectiveRawOrigin', - }, + TechnicalCommittee: 'PalletCollectiveRawOrigin' + } }, /** - * Lookup189: frame_support::dispatch::RawOrigin<sp_core::crypto::AccountId32> + * Lookup180: frame_support::dispatch::RawOrigin<sp_core::crypto::AccountId32> **/ FrameSupportDispatchRawOrigin: { _enum: { Root: 'Null', Signed: 'AccountId32', - None: 'Null', - }, + None: 'Null' + } }, /** - * Lookup190: pallet_collective::RawOrigin<sp_core::crypto::AccountId32, I> + * Lookup181: pallet_collective::RawOrigin<sp_core::crypto::AccountId32, I> **/ PalletCollectiveRawOrigin: { _enum: { Members: '(u32,u32)', Member: 'AccountId32', - _Phantom: 'Null', - }, + _Phantom: 'Null' + } }, /** - * Lookup191: sp_core::Void + * Lookup182: sp_core::Void **/ SpCoreVoid: 'Null', /** - * Lookup192: pallet_treasury::pallet::Call<T, I> + * Lookup183: pallet_treasury::pallet::Call<T, I> **/ PalletTreasuryCall: { _enum: { @@ -1804,77 +1877,96 @@ export default { approve_proposal: { proposalId: 'Compact<u32>', }, - spend: { + spend_local: { amount: 'Compact<u64>', beneficiary: 'MultiAddress', }, remove_approval: { proposalId: 'Compact<u32>', }, - }, + spend: { + assetKind: 'Null', + amount: 'Compact<u64>', + beneficiary: 'MultiAddress', + validFrom: 'Option<u32>', + }, + payout: { + index: 'u32', + }, + check_status: { + index: 'u32', + }, + void_spend: { + index: 'u32' + } + } }, /** - * Lookup195: pallet_scheduler::pallet::Error<T> + * Lookup184: sp_runtime::traits::BlakeTwo256 + **/ + SpRuntimeBlakeTwo256: 'Null', + /** + * Lookup187: pallet_scheduler::pallet::Error<T> **/ PalletSchedulerError: { - _enum: ['FailedToSchedule', 'NotFound', 'TargetBlockNumberInPast', 'RescheduleNoChange', 'Named'], + _enum: ['FailedToSchedule', 'NotFound', 'TargetBlockNumberInPast', 'RescheduleNoChange', 'Named'] }, /** - * Lookup202: sp_consensus_babe::digests::PreDigest + * Lookup194: sp_consensus_babe::digests::PreDigest **/ SpConsensusBabeDigestsPreDigest: { _enum: { __Unused0: 'Null', Primary: 'SpConsensusBabeDigestsPrimaryPreDigest', SecondaryPlain: 'SpConsensusBabeDigestsSecondaryPlainPreDigest', - SecondaryVRF: 'SpConsensusBabeDigestsSecondaryVRFPreDigest', - }, + SecondaryVRF: 'SpConsensusBabeDigestsSecondaryVRFPreDigest' + } }, /** - * Lookup203: sp_consensus_babe::digests::PrimaryPreDigest + * Lookup195: sp_consensus_babe::digests::PrimaryPreDigest **/ SpConsensusBabeDigestsPrimaryPreDigest: { authorityIndex: 'u32', slot: 'u64', - vrfSignature: 'SpCoreSr25519VrfVrfSignature', + vrfSignature: 'SpCoreSr25519VrfVrfSignature' }, /** - * Lookup204: sp_core::sr25519::vrf::VrfSignature + * Lookup196: sp_core::sr25519::vrf::VrfSignature **/ SpCoreSr25519VrfVrfSignature: { - output: '[u8;32]', - proof: '[u8;64]', + preOutput: '[u8;32]', + proof: '[u8;64]' }, /** - * Lookup205: sp_consensus_babe::digests::SecondaryPlainPreDigest + * Lookup197: sp_consensus_babe::digests::SecondaryPlainPreDigest **/ SpConsensusBabeDigestsSecondaryPlainPreDigest: { authorityIndex: 'u32', - slot: 'u64', + slot: 'u64' }, /** - * Lookup206: sp_consensus_babe::digests::SecondaryVRFPreDigest + * Lookup198: sp_consensus_babe::digests::SecondaryVRFPreDigest **/ SpConsensusBabeDigestsSecondaryVRFPreDigest: { authorityIndex: 'u32', slot: 'u64', - vrfSignature: 'SpCoreSr25519VrfVrfSignature', + vrfSignature: 'SpCoreSr25519VrfVrfSignature' }, /** - * Lookup207: sp_consensus_babe::BabeEpochConfiguration + * Lookup199: sp_consensus_babe::BabeEpochConfiguration **/ SpConsensusBabeBabeEpochConfiguration: { c: '(u64,u64)', - allowedSlots: 'SpConsensusBabeAllowedSlots', + allowedSlots: 'SpConsensusBabeAllowedSlots' }, /** - * Lookup211: pallet_babe::pallet::Error<T> + * Lookup203: pallet_babe::pallet::Error<T> **/ PalletBabeError: { - _enum: ['InvalidEquivocationProof', 'InvalidKeyOwnershipProof', 'DuplicateOffenceReport', 'InvalidConfiguration'], + _enum: ['InvalidEquivocationProof', 'InvalidKeyOwnershipProof', 'DuplicateOffenceReport', 'InvalidConfiguration'] }, /** - * Lookup212: pallet_duniter_test_parameters::types::Parameters<BlockNumber, CertCount, PeriodCount> + * Lookup204: pallet_duniter_test_parameters::types::Parameters<BlockNumber, CertCount, PeriodCount, SessionCount> **/ PalletDuniterTestParametersParameters: { babeEpochDuration: 'u64', @@ -1885,154 +1977,138 @@ export default { idtyConfirmPeriod: 'u32', idtyCreationPeriod: 'u32', membershipPeriod: 'u32', - pendingMembershipPeriod: 'u32', + membershipRenewalPeriod: 'u32', udCreationPeriod: 'u64', udReevalPeriod: 'u64', - smithCertPeriod: 'u32', smithCertMaxByIssuer: 'u32', - smithCertMinReceivedCertToIssueCert: 'u32', - smithCertValidityPeriod: 'u32', - smithMembershipPeriod: 'u32', - smithPendingMembershipPeriod: 'u32', - smithWotFirstCertIssuableOn: 'u32', smithWotMinCertForMembership: 'u32', + smithInactivityMaxDuration: 'u32', wotFirstCertIssuableOn: 'u32', wotMinCertForCreateIdtyRight: 'u32', - wotMinCertForMembership: 'u32', + wotMinCertForMembership: 'u32' }, /** - * Lookup213: pallet_balances::types::AccountData<Balance> + * Lookup205: pallet_balances::types::AccountData<Balance> **/ PalletBalancesAccountData: { free: 'u64', reserved: 'u64', frozen: 'u64', - flags: 'u128', + flags: 'u128' }, /** - * Lookup217: pallet_balances::types::BalanceLock<Balance> + * Lookup209: pallet_balances::types::BalanceLock<Balance> **/ PalletBalancesBalanceLock: { id: '[u8;8]', amount: 'u64', - reasons: 'PalletBalancesReasons', + reasons: 'PalletBalancesReasons' }, /** - * Lookup218: pallet_balances::types::Reasons + * Lookup210: pallet_balances::types::Reasons **/ PalletBalancesReasons: { - _enum: ['Fee', 'Misc', 'All'], + _enum: ['Fee', 'Misc', 'All'] }, /** - * Lookup221: pallet_balances::types::ReserveData<ReserveIdentifier, Balance> + * Lookup213: pallet_balances::types::ReserveData<ReserveIdentifier, Balance> **/ PalletBalancesReserveData: { id: '[u8;8]', - amount: 'u64', + amount: 'u64' }, /** - * Lookup224: pallet_balances::types::IdAmount<Id, Balance> + * Lookup216: pallet_balances::types::IdAmount<Id, Balance> **/ PalletBalancesIdAmount: { id: 'Null', - amount: 'u64', + amount: 'u64' }, /** - * Lookup226: pallet_balances::pallet::Error<T, I> + * Lookup218: pallet_balances::pallet::Error<T, I> **/ PalletBalancesError: { - _enum: [ - 'VestingBalance', - 'LiquidityRestrictions', - 'InsufficientBalance', - 'ExistentialDeposit', - 'Expendability', - 'ExistingVestingSchedule', - 'DeadAccount', - 'TooManyReserves', - 'TooManyHolds', - 'TooManyFreezes', - ], - }, - /** - * Lookup228: pallet_transaction_payment::Releases + _enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'Expendability', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves', 'TooManyHolds', 'TooManyFreezes'] + }, + /** + * Lookup220: pallet_transaction_payment::Releases **/ PalletTransactionPaymentReleases: { - _enum: ['V1Ancient', 'V2'], + _enum: ['V1Ancient', 'V2'] }, /** - * Lookup229: pallet_oneshot_account::pallet::Error<T> + * Lookup221: pallet_oneshot_account::pallet::Error<T> **/ PalletOneshotAccountError: { - _enum: [ - 'BlockHeightInFuture', - 'BlockHeightTooOld', - 'DestAccountNotExist', - 'ExistentialDeposit', - 'InsufficientBalance', - 'OneshotAccountAlreadyCreated', - 'OneshotAccountNotExist', - ], + _enum: ['BlockHeightInFuture', 'BlockHeightTooOld', 'DestAccountNotExist', 'ExistentialDeposit', 'InsufficientBalance', 'OneshotAccountAlreadyCreated', 'OneshotAccountNotExist'] }, /** - * Lookup230: pallet_quota::pallet::Quota<BlockNumber, Balance> + * Lookup222: pallet_quota::pallet::Quota<BlockNumber, Balance> **/ PalletQuotaQuota: { lastUse: 'u32', - amount: 'u64', + amount: 'u64' }, /** - * Lookup232: pallet_quota::pallet::Refund<sp_core::crypto::AccountId32, IdtyId, Balance> + * Lookup224: pallet_quota::pallet::Refund<sp_core::crypto::AccountId32, IdtyId, Balance> **/ PalletQuotaRefund: { account: 'AccountId32', identity: 'u32', - amount: 'u64', + amount: 'u64' }, /** - * Lookup234: pallet_authority_members::types::MemberData<sp_core::crypto::AccountId32> + * Lookup226: pallet_smith_members::types::SmithMeta<IdtyIndex> + **/ + PalletSmithMembersSmithMeta: { + status: 'PalletSmithMembersSmithStatus', + expiresOn: 'Option<u32>', + issuedCerts: 'Vec<u32>', + receivedCerts: 'Vec<u32>' + }, + /** + * Lookup227: pallet_smith_members::SmithStatus + **/ + PalletSmithMembersSmithStatus: { + _enum: ['Invited', 'Pending', 'Smith', 'Excluded'] + }, + /** + * Lookup228: pallet_smith_members::pallet::Error<T> + **/ + PalletSmithMembersError: { + _enum: ['OriginMustHaveAnIdentity', 'OriginHasNeverBeenInvited', 'InvitationIsASmithPrivilege', 'InvitationIsAOnlineSmithPrivilege', 'InvitationAlreadyAccepted', 'InvitationOfExistingNonExcluded', 'InvitationOfNonMember', 'CertificationMustBeAgreed', 'CertificationOnExcludedIsForbidden', 'CertificationIsASmithPrivilege', 'CertificationIsAOnlineSmithPrivilege', 'CertificationOfSelfIsForbidden', 'CertificationReceiverMustHaveBeenInvited', 'CertificationAlreadyExists', 'CertificationStockFullyConsumed'] + }, + /** + * Lookup229: pallet_authority_members::types::MemberData<sp_core::crypto::AccountId32> **/ PalletAuthorityMembersMemberData: { - ownerKey: 'AccountId32', + ownerKey: 'AccountId32' }, /** - * Lookup235: pallet_authority_members::pallet::Error<T> + * Lookup230: pallet_authority_members::pallet::Error<T> **/ PalletAuthorityMembersError: { - _enum: [ - 'AlreadyIncoming', - 'AlreadyOnline', - 'AlreadyOutgoing', - 'MemberIdNotFound', - 'MemberIdBlackListed', - 'MemberNotBlackListed', - 'MemberNotFound', - 'NotOnlineNorIncoming', - 'NotOwner', - 'NotMember', - 'SessionKeysNotProvided', - 'TooManyAuthorities', - ], - }, - /** - * Lookup236: sp_staking::offence::OffenceDetails<sp_core::crypto::AccountId32, Offender> + _enum: ['AlreadyIncoming', 'AlreadyOnline', 'AlreadyOutgoing', 'MemberIdNotFound', 'MemberBlacklisted', 'MemberNotBlacklisted', 'MemberNotFound', 'NotOnlineNorIncoming', 'NotMember', 'SessionKeysNotProvided', 'TooManyAuthorities'] + }, + /** + * Lookup231: sp_staking::offence::OffenceDetails<sp_core::crypto::AccountId32, Offender> **/ SpStakingOffenceOffenceDetails: { offender: '(AccountId32,CommonRuntimeEntitiesValidatorFullIdentification)', - reporters: 'Vec<AccountId32>', + reporters: 'Vec<AccountId32>' }, /** - * Lookup241: sp_core::crypto::KeyTypeId + * Lookup237: sp_core::crypto::KeyTypeId **/ SpCoreCryptoKeyTypeId: '[u8;4]', /** - * Lookup242: pallet_session::pallet::Error<T> + * Lookup238: pallet_session::pallet::Error<T> **/ PalletSessionError: { - _enum: ['InvalidProof', 'NoAssociatedValidatorId', 'DuplicatedKey', 'NoKeys', 'NoAccount'], + _enum: ['InvalidProof', 'NoAssociatedValidatorId', 'DuplicatedKey', 'NoKeys', 'NoAccount'] }, /** - * Lookup243: pallet_grandpa::StoredState<N> + * Lookup239: pallet_grandpa::StoredState<N> **/ PalletGrandpaStoredState: { _enum: { @@ -2044,56 +2120,41 @@ export default { Paused: 'Null', PendingResume: { scheduledAt: 'u32', - delay: 'u32', - }, - }, + delay: 'u32' + } + } }, /** - * Lookup244: pallet_grandpa::StoredPendingChange<N, Limit> + * Lookup240: pallet_grandpa::StoredPendingChange<N, Limit> **/ PalletGrandpaStoredPendingChange: { scheduledAt: 'u32', delay: 'u32', nextAuthorities: 'Vec<(SpConsensusGrandpaAppPublic,u64)>', - forced: 'Option<u32>', + forced: 'Option<u32>' }, /** - * Lookup246: pallet_grandpa::pallet::Error<T> + * Lookup242: pallet_grandpa::pallet::Error<T> **/ PalletGrandpaError: { - _enum: [ - 'PauseFailed', - 'ResumeFailed', - 'ChangePending', - 'TooSoon', - 'InvalidKeyOwnershipProof', - 'InvalidEquivocationProof', - 'DuplicateOffenceReport', - ], + _enum: ['PauseFailed', 'ResumeFailed', 'ChangePending', 'TooSoon', 'InvalidKeyOwnershipProof', 'InvalidEquivocationProof', 'DuplicateOffenceReport'] }, /** - * Lookup250: pallet_im_online::BoundedOpaqueNetworkState<PeerIdEncodingLimit, MultiAddrEncodingLimit, AddressesLimit> - **/ - PalletImOnlineBoundedOpaqueNetworkState: { - peerId: 'Bytes', - externalAddresses: 'Vec<Bytes>', - }, - /** - * Lookup255: pallet_im_online::pallet::Error<T> + * Lookup246: pallet_im_online::pallet::Error<T> **/ PalletImOnlineError: { - _enum: ['InvalidKey', 'DuplicatedHeartbeat'], + _enum: ['InvalidKey', 'DuplicatedHeartbeat'] }, /** - * Lookup256: pallet_sudo::pallet::Error<T> + * Lookup249: pallet_sudo::pallet::Error<T> **/ PalletSudoError: { - _enum: ['RequireSudo'], + _enum: ['RequireSudo'] }, /** - * Lookup257: pallet_preimage::RequestStatus<sp_core::crypto::AccountId32, Balance> + * Lookup250: pallet_preimage::OldRequestStatus<sp_core::crypto::AccountId32, Balance> **/ - PalletPreimageRequestStatus: { + PalletPreimageOldRequestStatus: { _enum: { Unrequested: { deposit: '(AccountId32,u64)', @@ -2102,323 +2163,274 @@ export default { Requested: { deposit: 'Option<(AccountId32,u64)>', count: 'u32', - len: 'Option<u32>', + len: 'Option<u32>' + } + } + }, + /** + * Lookup251: pallet_preimage::RequestStatus<sp_core::crypto::AccountId32, Ticket> + **/ + PalletPreimageRequestStatus: { + _enum: { + Unrequested: { + ticket: '(AccountId32,Null)', + len: 'u32', }, - }, + Requested: { + maybeTicket: 'Option<(AccountId32,Null)>', + count: 'u32', + maybeLen: 'Option<u32>' + } + } }, /** - * Lookup260: pallet_preimage::pallet::Error<T> + * Lookup255: pallet_preimage::pallet::Error<T> **/ PalletPreimageError: { - _enum: ['TooBig', 'AlreadyNoted', 'NotAuthorized', 'NotNoted', 'Requested', 'NotRequested'], + _enum: ['TooBig', 'AlreadyNoted', 'NotAuthorized', 'NotNoted', 'Requested', 'NotRequested', 'TooMany', 'TooFew'] }, /** - * Lookup262: pallet_collective::Votes<sp_core::crypto::AccountId32, BlockNumber> + * Lookup257: pallet_collective::Votes<sp_core::crypto::AccountId32, BlockNumber> **/ PalletCollectiveVotes: { index: 'u32', threshold: 'u32', ayes: 'Vec<AccountId32>', nays: 'Vec<AccountId32>', - end: 'u32', + end: 'u32' }, /** - * Lookup263: pallet_collective::pallet::Error<T, I> + * Lookup258: pallet_collective::pallet::Error<T, I> **/ PalletCollectiveError: { - _enum: [ - 'NotMember', - 'DuplicateProposal', - 'ProposalMissing', - 'WrongIndex', - 'DuplicateVote', - 'AlreadyInitialized', - 'TooEarly', - 'TooManyProposals', - 'WrongProposalWeight', - 'WrongProposalLength', - ], - }, - /** - * Lookup267: pallet_universal_dividend::pallet::Error<T> + _enum: ['NotMember', 'DuplicateProposal', 'ProposalMissing', 'WrongIndex', 'DuplicateVote', 'AlreadyInitialized', 'TooEarly', 'TooManyProposals', 'WrongProposalWeight', 'WrongProposalLength', 'PrimeAccountNotMember'] + }, + /** + * Lookup262: pallet_universal_dividend::pallet::Error<T> **/ PalletUniversalDividendError: { - _enum: ['AccountNotAllowedToClaimUds'], + _enum: ['AccountNotAllowedToClaimUds'] }, /** - * Lookup268: pallet_duniter_wot::pallet::Error<T, I> + * Lookup263: pallet_duniter_wot::pallet::Error<T> **/ PalletDuniterWotError: { - _enum: [ - 'NotEnoughCertsToClaimMembership', - 'DistanceNotOK', - 'IdtyNotAllowedToRequestMembership', - 'IdtyNotAllowedToRenewMembership', - 'IdtyCreationPeriodNotRespected', - 'NotEnoughReceivedCertsToCreateIdty', - 'MaxEmittedCertsReached', - 'NotAllowedToChangeIdtyAddress', - 'NotAllowedToRemoveIdty', - 'IssuerCanNotEmitCert', - 'CertToUndefined', - 'IdtyNotFound', - ], - }, - /** - * Lookup269: pallet_identity::types::IdtyValue<BlockNumber, sp_core::crypto::AccountId32, common_runtime::entities::IdtyData> + _enum: ['NotEnoughCerts', 'TargetStatusInvalid', 'IdtyCreationPeriodNotRespected', 'NotEnoughReceivedCertsToCreateIdty', 'MaxEmittedCertsReached', 'IssuerNotMember', 'IdtyNotFound', 'MembershipRenewalPeriodNotRespected'] + }, + /** + * Lookup264: pallet_identity::types::IdtyValue<BlockNumber, sp_core::crypto::AccountId32, common_runtime::entities::IdtyData> **/ PalletIdentityIdtyValue: { data: 'CommonRuntimeEntitiesIdtyData', nextCreatableIdentityOn: 'u32', oldOwnerKey: 'Option<(AccountId32,u32)>', ownerKey: 'AccountId32', - removableOn: 'u32', - status: 'PalletIdentityIdtyStatus', + nextScheduled: 'u32', + status: 'PalletIdentityIdtyStatus' }, /** - * Lookup270: common_runtime::entities::IdtyData + * Lookup265: common_runtime::entities::IdtyData **/ CommonRuntimeEntitiesIdtyData: { - firstEligibleUd: 'u16', + firstEligibleUd: 'u16' }, /** - * Lookup273: pallet_identity::types::IdtyStatus + * Lookup268: pallet_identity::types::IdtyStatus **/ PalletIdentityIdtyStatus: { - _enum: ['Created', 'ConfirmedByOwner', 'Validated'], + _enum: ['Unconfirmed', 'Unvalidated', 'Member', 'NotMember', 'Revoked'] }, /** - * Lookup276: pallet_identity::pallet::Error<T> + * Lookup269: pallet_identity::pallet::Error<T> **/ PalletIdentityError: { - _enum: [ - 'IdtyAlreadyConfirmed', - 'IdtyAlreadyCreated', - 'IdtyAlreadyValidated', - 'IdtyCreationNotAllowed', - 'IdtyIndexNotFound', - 'IdtyNameAlreadyExist', - 'IdtyNameInvalid', - 'IdtyNotConfirmedByOwner', - 'IdtyNotFound', - 'IdtyNotMember', - 'IdtyNotValidated', - 'IdtyNotYetRenewable', - 'InvalidSignature', - 'InvalidRevocationKey', - 'NotRespectIdtyCreationPeriod', - 'NotSameIdtyName', - 'OwnerKeyAlreadyRecentlyChanged', - 'OwnerKeyAlreadyUsed', - 'ProhibitedToRevertToAnOldKey', - 'RightAlreadyAdded', - 'RightNotExist', - ], - }, - /** - * Lookup277: sp_membership::MembershipData<BlockNumber> + _enum: ['IdtyAlreadyConfirmed', 'IdtyAlreadyCreated', 'IdtyIndexNotFound', 'IdtyNameAlreadyExist', 'IdtyNameInvalid', 'IdtyNotFound', 'InvalidSignature', 'InvalidRevocationKey', 'IssuerNotMember', 'NotRespectIdtyCreationPeriod', 'OwnerKeyAlreadyRecentlyChanged', 'OwnerKeyAlreadyUsed', 'ProhibitedToRevertToAnOldKey', 'AlreadyRevoked', 'CanNotRevokeUnconfirmed', 'CanNotRevokeUnvalidated', 'AccountNotExist'] + }, + /** + * Lookup270: sp_membership::MembershipData<BlockNumber> **/ SpMembershipMembershipData: { - expireOn: 'u32', + expireOn: 'u32' }, /** - * Lookup278: pallet_membership::pallet::Error<T, I> + * Lookup271: pallet_membership::pallet::Error<T> **/ PalletMembershipError: { - _enum: [ - 'IdtyIdNotFound', - 'MembershipAlreadyAcquired', - 'MembershipAlreadyRequested', - 'MembershipNotFound', - 'OriginNotAllowedToUseIdty', - 'MembershipRequestNotFound', - ], + _enum: ['MembershipNotFound', 'AlreadyMember'] }, /** - * Lookup279: pallet_certification::types::IdtyCertMeta<BlockNumber> + * Lookup272: pallet_certification::types::IdtyCertMeta<BlockNumber> **/ PalletCertificationIdtyCertMeta: { issuedCount: 'u32', nextIssuableOn: 'u32', - receivedCount: 'u32', + receivedCount: 'u32' }, /** - * Lookup280: pallet_certification::pallet::Error<T, I> + * Lookup273: pallet_certification::pallet::Error<T> **/ PalletCertificationError: { - _enum: ['CannotCertifySelf', 'IssuedTooManyCert', 'IssuerNotFound', 'NotEnoughCertReceived', 'NotRespectCertPeriod'], + _enum: ['OriginMustHaveAnIdentity', 'CannotCertifySelf', 'IssuedTooManyCert', 'NotEnoughCertReceived', 'NotRespectCertPeriod', 'CertAlreadyExists', 'CertDoesNotExist'] }, /** - * Lookup281: pallet_distance::types::EvaluationPool<sp_core::crypto::AccountId32, IdtyIndex> + * Lookup274: pallet_distance::types::EvaluationPool<sp_core::crypto::AccountId32, IdtyIndex> **/ PalletDistanceEvaluationPool: { evaluations: 'Vec<(u32,PalletDistanceMedianMedianAcc)>', - evaluators: 'BTreeSet<AccountId32>', + evaluators: 'BTreeSet<AccountId32>' }, /** - * Lookup284: pallet_distance::median::MedianAcc<sp_arithmetic::per_things::Perbill> + * Lookup277: pallet_distance::median::MedianAcc<sp_arithmetic::per_things::Perbill> **/ PalletDistanceMedianMedianAcc: { samples: 'Vec<(Perbill,u32)>', medianIndex: 'Option<u32>', - medianSubindex: 'u32', + medianSubindex: 'u32' }, /** - * Lookup292: pallet_distance::pallet::Error<T> + * Lookup284: pallet_distance::pallet::Error<T> **/ PalletDistanceError: { - _enum: [ - 'AlreadyInEvaluation', - 'CannotReserve', - 'ManyEvaluationsByAuthor', - 'ManyEvaluationsInBlock', - 'NoAuthor', - 'NoIdentity', - 'NonEligibleForEvaluation', - 'QueueFull', - 'TooManyEvaluators', - 'WrongResultLength', - ], - }, - /** - * Lookup297: pallet_atomic_swap::pallet::Error<T> + _enum: ['AlreadyInEvaluation', 'TooManyEvaluationsByAuthor', 'TooManyEvaluationsInBlock', 'NoAuthor', 'CallerHasNoIdentity', 'CallerIdentityNotFound', 'CallerNotMember', 'CallerStatusInvalid', 'TargetIdentityNotFound', 'QueueFull', 'TooManyEvaluators', 'WrongResultLength', 'TargetMustBeUnvalidated'] + }, + /** + * Lookup286: pallet_atomic_swap::pallet::Error<T> **/ PalletAtomicSwapError: { - _enum: [ - 'AlreadyExist', - 'InvalidProof', - 'ProofTooLarge', - 'SourceMismatch', - 'AlreadyClaimed', - 'NotExist', - 'ClaimActionMismatch', - 'DurationNotPassed', - ], + _enum: ['AlreadyExist', 'InvalidProof', 'ProofTooLarge', 'SourceMismatch', 'AlreadyClaimed', 'NotExist', 'ClaimActionMismatch', 'DurationNotPassed'] }, /** - * Lookup298: pallet_multisig::Multisig<BlockNumber, Balance, sp_core::crypto::AccountId32, MaxApprovals> + * Lookup287: pallet_multisig::Multisig<BlockNumber, Balance, sp_core::crypto::AccountId32, MaxApprovals> **/ PalletMultisigMultisig: { when: 'PalletMultisigTimepoint', deposit: 'u64', depositor: 'AccountId32', - approvals: 'Vec<AccountId32>', + approvals: 'Vec<AccountId32>' }, /** - * Lookup300: pallet_multisig::pallet::Error<T> + * Lookup289: pallet_multisig::pallet::Error<T> **/ PalletMultisigError: { - _enum: [ - 'MinimumThreshold', - 'AlreadyApproved', - 'NoApprovalsNeeded', - 'TooFewSignatories', - 'TooManySignatories', - 'SignatoriesOutOfOrder', - 'SenderInSignatories', - 'NotFound', - 'NotOwner', - 'NoTimepoint', - 'WrongTimepoint', - 'UnexpectedTimepoint', - 'MaxWeightTooLow', - 'AlreadyStored', - ], - }, - /** - * Lookup302: pallet_provide_randomness::types::Request + _enum: ['MinimumThreshold', 'AlreadyApproved', 'NoApprovalsNeeded', 'TooFewSignatories', 'TooManySignatories', 'SignatoriesOutOfOrder', 'SenderInSignatories', 'NotFound', 'NotOwner', 'NoTimepoint', 'WrongTimepoint', 'UnexpectedTimepoint', 'MaxWeightTooLow', 'AlreadyStored'] + }, + /** + * Lookup291: pallet_provide_randomness::types::Request **/ PalletProvideRandomnessRequest: { requestId: 'u64', - salt: 'H256', + salt: 'H256' }, /** - * Lookup303: pallet_provide_randomness::pallet::Error<T> + * Lookup292: pallet_provide_randomness::pallet::Error<T> **/ PalletProvideRandomnessError: { - _enum: ['FullQueue'], + _enum: ['QueueFull'] }, /** - * Lookup306: pallet_proxy::ProxyDefinition<sp_core::crypto::AccountId32, gdev_runtime::ProxyType, BlockNumber> + * Lookup295: pallet_proxy::ProxyDefinition<sp_core::crypto::AccountId32, gdev_runtime::ProxyType, BlockNumber> **/ PalletProxyProxyDefinition: { delegate: 'AccountId32', proxyType: 'GdevRuntimeProxyType', - delay: 'u32', + delay: 'u32' }, /** - * Lookup310: pallet_proxy::Announcement<sp_core::crypto::AccountId32, primitive_types::H256, BlockNumber> + * Lookup299: pallet_proxy::Announcement<sp_core::crypto::AccountId32, primitive_types::H256, BlockNumber> **/ PalletProxyAnnouncement: { real: 'AccountId32', callHash: 'H256', - height: 'u32', + height: 'u32' }, /** - * Lookup312: pallet_proxy::pallet::Error<T> + * Lookup301: pallet_proxy::pallet::Error<T> **/ PalletProxyError: { - _enum: ['TooMany', 'NotFound', 'NotProxy', 'Unproxyable', 'Duplicate', 'NoPermission', 'Unannounced', 'NoSelfProxy'], + _enum: ['TooMany', 'NotFound', 'NotProxy', 'Unproxyable', 'Duplicate', 'NoPermission', 'Unannounced', 'NoSelfProxy'] }, /** - * Lookup313: pallet_utility::pallet::Error<T> + * Lookup302: pallet_utility::pallet::Error<T> **/ PalletUtilityError: { - _enum: ['TooManyCalls'], + _enum: ['TooManyCalls'] }, /** - * Lookup314: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance> + * Lookup303: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance> **/ PalletTreasuryProposal: { proposer: 'AccountId32', value: 'u64', beneficiary: 'AccountId32', - bond: 'u64', + bond: 'u64' + }, + /** + * Lookup305: pallet_treasury::SpendStatus<AssetKind, AssetBalance, sp_core::crypto::AccountId32, BlockNumber, PaymentId> + **/ + PalletTreasurySpendStatus: { + assetKind: 'Null', + amount: 'u64', + beneficiary: 'AccountId32', + validFrom: 'u32', + expireAt: 'u32', + status: 'PalletTreasuryPaymentState' + }, + /** + * Lookup306: pallet_treasury::PaymentState<Id> + **/ + PalletTreasuryPaymentState: { + _enum: { + Pending: 'Null', + Attempted: { + id: 'Null', + }, + Failed: 'Null' + } }, /** - * Lookup318: frame_support::PalletId + * Lookup309: frame_support::PalletId **/ FrameSupportPalletId: '[u8;8]', /** - * Lookup319: pallet_treasury::pallet::Error<T, I> + * Lookup310: pallet_treasury::pallet::Error<T, I> **/ PalletTreasuryError: { - _enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals', 'InsufficientPermission', 'ProposalNotApproved'], + _enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals', 'InsufficientPermission', 'ProposalNotApproved', 'FailedToConvertBalance', 'SpendExpired', 'EarlyPayout', 'AlreadyAttempted', 'PayoutError', 'NotAttempted', 'Inconclusive'] }, /** - * Lookup322: frame_system::extensions::check_non_zero_sender::CheckNonZeroSender<T> + * Lookup313: frame_system::extensions::check_non_zero_sender::CheckNonZeroSender<T> **/ FrameSystemExtensionsCheckNonZeroSender: 'Null', /** - * Lookup323: frame_system::extensions::check_spec_version::CheckSpecVersion<T> + * Lookup314: frame_system::extensions::check_spec_version::CheckSpecVersion<T> **/ FrameSystemExtensionsCheckSpecVersion: 'Null', /** - * Lookup324: frame_system::extensions::check_tx_version::CheckTxVersion<T> + * Lookup315: frame_system::extensions::check_tx_version::CheckTxVersion<T> **/ FrameSystemExtensionsCheckTxVersion: 'Null', /** - * Lookup325: frame_system::extensions::check_genesis::CheckGenesis<T> + * Lookup316: frame_system::extensions::check_genesis::CheckGenesis<T> **/ FrameSystemExtensionsCheckGenesis: 'Null', /** - * Lookup328: pallet_oneshot_account::check_nonce::CheckNonce<gdev_runtime::Runtime> + * Lookup319: pallet_oneshot_account::check_nonce::CheckNonce<gdev_runtime::Runtime> **/ PalletOneshotAccountCheckNonce: 'FrameSystemExtensionsCheckNonce', /** - * Lookup329: gdev_runtime::Runtime + * Lookup320: gdev_runtime::Runtime **/ GdevRuntimeRuntime: 'Null', /** - * Lookup330: frame_system::extensions::check_nonce::CheckNonce<T> + * Lookup321: frame_system::extensions::check_nonce::CheckNonce<T> **/ FrameSystemExtensionsCheckNonce: 'Compact<u32>', /** - * Lookup331: frame_system::extensions::check_weight::CheckWeight<T> + * Lookup322: frame_system::extensions::check_weight::CheckWeight<T> **/ FrameSystemExtensionsCheckWeight: 'Null', /** - * Lookup332: pallet_transaction_payment::ChargeTransactionPayment<T> + * Lookup323: pallet_transaction_payment::ChargeTransactionPayment<T> **/ - PalletTransactionPaymentChargeTransactionPayment: 'Compact<u64>', + PalletTransactionPaymentChargeTransactionPayment: 'Compact<u64>' }; diff --git a/src/interfaces/registry.ts b/src/interfaces/registry.ts index 0d15906736c8902b42e458013381ccd5239ee452..98f8bb608dc1cdece4392300fcc1321fd9d8c8d1 100644 --- a/src/interfaces/registry.ts +++ b/src/interfaces/registry.ts @@ -5,198 +5,7 @@ // this is required to allow for ambient/previous definitions import '@polkadot/types/types/registry'; -import type { - CommonRuntimeEntitiesIdtyData, - CommonRuntimeEntitiesValidatorFullIdentification, - FinalityGrandpaEquivocationPrecommit, - FinalityGrandpaEquivocationPrevote, - FinalityGrandpaPrecommit, - FinalityGrandpaPrevote, - FrameSupportDispatchDispatchClass, - FrameSupportDispatchDispatchInfo, - FrameSupportDispatchPays, - FrameSupportDispatchPerDispatchClassU32, - FrameSupportDispatchPerDispatchClassWeight, - FrameSupportDispatchPerDispatchClassWeightsPerClass, - FrameSupportDispatchRawOrigin, - FrameSupportPalletId, - FrameSupportPreimagesBounded, - FrameSupportTokensMiscBalanceStatus, - FrameSystemAccountInfo, - FrameSystemCall, - FrameSystemError, - FrameSystemEvent, - FrameSystemEventRecord, - FrameSystemExtensionsCheckGenesis, - FrameSystemExtensionsCheckNonZeroSender, - FrameSystemExtensionsCheckNonce, - FrameSystemExtensionsCheckSpecVersion, - FrameSystemExtensionsCheckTxVersion, - FrameSystemExtensionsCheckWeight, - FrameSystemLastRuntimeUpgradeInfo, - FrameSystemLimitsBlockLength, - FrameSystemLimitsBlockWeights, - FrameSystemLimitsWeightsPerClass, - FrameSystemPhase, - GdevRuntimeOpaqueSessionKeys, - GdevRuntimeOriginCaller, - GdevRuntimeProxyType, - GdevRuntimeRuntime, - PalletAtomicSwapBalanceSwapAction, - PalletAtomicSwapCall, - PalletAtomicSwapError, - PalletAtomicSwapEvent, - PalletAtomicSwapPendingSwap, - PalletAuthorityMembersCall, - PalletAuthorityMembersError, - PalletAuthorityMembersEvent, - PalletAuthorityMembersMemberData, - PalletBabeCall, - PalletBabeError, - PalletBalancesAccountData, - PalletBalancesBalanceLock, - PalletBalancesCall, - PalletBalancesError, - PalletBalancesEvent, - PalletBalancesIdAmount, - PalletBalancesReasons, - PalletBalancesReserveData, - PalletCertificationCall, - PalletCertificationError, - PalletCertificationEvent, - PalletCertificationIdtyCertMeta, - PalletCollectiveCall, - PalletCollectiveError, - PalletCollectiveEvent, - PalletCollectiveRawOrigin, - PalletCollectiveVotes, - PalletDistanceCall, - PalletDistanceDistanceStatus, - PalletDistanceError, - PalletDistanceEvaluationPool, - PalletDistanceMedianMedianAcc, - PalletDuniterAccountAccountData, - PalletDuniterAccountCall, - PalletDuniterAccountEvent, - PalletDuniterTestParametersParameters, - PalletDuniterWotError, - PalletDuniterWotIdtyRemovalWotReason, - PalletGrandpaCall, - PalletGrandpaError, - PalletGrandpaEvent, - PalletGrandpaStoredPendingChange, - PalletGrandpaStoredState, - PalletIdentityCall, - PalletIdentityError, - PalletIdentityEvent, - PalletIdentityIdtyRemovalReason, - PalletIdentityIdtyStatus, - PalletIdentityIdtyValue, - PalletImOnlineBoundedOpaqueNetworkState, - PalletImOnlineCall, - PalletImOnlineError, - PalletImOnlineEvent, - PalletImOnlineHeartbeat, - PalletImOnlineSr25519AppSr25519Public, - PalletImOnlineSr25519AppSr25519Signature, - PalletMembershipCall, - PalletMembershipError, - PalletMembershipEvent, - PalletMultisigCall, - PalletMultisigError, - PalletMultisigEvent, - PalletMultisigMultisig, - PalletMultisigTimepoint, - PalletOffencesEvent, - PalletOneshotAccountAccount, - PalletOneshotAccountCall, - PalletOneshotAccountCheckNonce, - PalletOneshotAccountError, - PalletOneshotAccountEvent, - PalletPreimageCall, - PalletPreimageError, - PalletPreimageEvent, - PalletPreimageRequestStatus, - PalletProvideRandomnessCall, - PalletProvideRandomnessError, - PalletProvideRandomnessEvent, - PalletProvideRandomnessRandomnessType, - PalletProvideRandomnessRequest, - PalletProxyAnnouncement, - PalletProxyCall, - PalletProxyError, - PalletProxyEvent, - PalletProxyProxyDefinition, - PalletQuotaEvent, - PalletQuotaQuota, - PalletQuotaRefund, - PalletSchedulerCall, - PalletSchedulerError, - PalletSchedulerEvent, - PalletSchedulerScheduled, - PalletSessionCall, - PalletSessionError, - PalletSessionEvent, - PalletSudoCall, - PalletSudoError, - PalletSudoEvent, - PalletTimestampCall, - PalletTransactionPaymentChargeTransactionPayment, - PalletTransactionPaymentEvent, - PalletTransactionPaymentReleases, - PalletTreasuryCall, - PalletTreasuryError, - PalletTreasuryEvent, - PalletTreasuryProposal, - PalletUniversalDividendCall, - PalletUniversalDividendError, - PalletUniversalDividendEvent, - PalletUpgradeOriginCall, - PalletUpgradeOriginEvent, - PalletUtilityCall, - PalletUtilityError, - PalletUtilityEvent, - SpArithmeticArithmeticError, - SpAuthorityDiscoveryAppPublic, - SpConsensusBabeAllowedSlots, - SpConsensusBabeAppPublic, - SpConsensusBabeBabeEpochConfiguration, - SpConsensusBabeDigestsNextConfigDescriptor, - SpConsensusBabeDigestsPreDigest, - SpConsensusBabeDigestsPrimaryPreDigest, - SpConsensusBabeDigestsSecondaryPlainPreDigest, - SpConsensusBabeDigestsSecondaryVRFPreDigest, - SpConsensusGrandpaAppPublic, - SpConsensusGrandpaAppSignature, - SpConsensusGrandpaEquivocation, - SpConsensusGrandpaEquivocationProof, - SpConsensusSlotsEquivocationProof, - SpCoreCryptoKeyTypeId, - SpCoreEcdsaSignature, - SpCoreEd25519Public, - SpCoreEd25519Signature, - SpCoreOffchainOpaqueNetworkState, - SpCoreSr25519Public, - SpCoreSr25519Signature, - SpCoreSr25519VrfVrfSignature, - SpCoreVoid, - SpDistanceComputationResult, - SpMembershipMembershipData, - SpRuntimeBlakeTwo256, - SpRuntimeDigest, - SpRuntimeDigestDigestItem, - SpRuntimeDispatchError, - SpRuntimeHeader, - SpRuntimeModuleError, - SpRuntimeMultiSignature, - SpRuntimeTokenError, - SpRuntimeTransactionalError, - SpSessionMembershipProof, - SpStakingOffenceOffenceDetails, - SpVersionRuntimeVersion, - SpWeightsRuntimeDbWeight, - SpWeightsWeightV2Weight, -} from '@polkadot/types/lookup'; +import type { CommonRuntimeEntitiesIdtyData, CommonRuntimeEntitiesValidatorFullIdentification, FinalityGrandpaEquivocationPrecommit, FinalityGrandpaEquivocationPrevote, FinalityGrandpaPrecommit, FinalityGrandpaPrevote, FrameSupportDispatchDispatchClass, FrameSupportDispatchDispatchInfo, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, FrameSystemAccountInfo, FrameSystemCall, FrameSystemCodeUpgradeAuthorization, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonZeroSender, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, GdevRuntimeOpaqueSessionKeys, GdevRuntimeOriginCaller, GdevRuntimeProxyType, GdevRuntimeRuntime, PalletAtomicSwapBalanceSwapAction, PalletAtomicSwapCall, PalletAtomicSwapError, PalletAtomicSwapEvent, PalletAtomicSwapPendingSwap, PalletAuthorityMembersCall, PalletAuthorityMembersError, PalletAuthorityMembersEvent, PalletAuthorityMembersMemberData, PalletBabeCall, PalletBabeError, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesIdAmount, PalletBalancesReasons, PalletBalancesReserveData, PalletCertificationCall, PalletCertificationError, PalletCertificationEvent, PalletCertificationIdtyCertMeta, PalletCollectiveCall, PalletCollectiveError, PalletCollectiveEvent, PalletCollectiveRawOrigin, PalletCollectiveVotes, PalletDistanceCall, PalletDistanceError, PalletDistanceEvaluationPool, PalletDistanceEvent, PalletDistanceMedianMedianAcc, PalletDuniterAccountAccountData, PalletDuniterAccountCall, PalletDuniterAccountEvent, PalletDuniterTestParametersParameters, PalletDuniterWotError, PalletGrandpaCall, PalletGrandpaError, PalletGrandpaEvent, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityCall, PalletIdentityError, PalletIdentityEvent, PalletIdentityIdtyStatus, PalletIdentityIdtyValue, PalletIdentityRemovalReason, PalletIdentityRevocationReason, PalletImOnlineCall, PalletImOnlineError, PalletImOnlineEvent, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Public, PalletImOnlineSr25519AppSr25519Signature, PalletMembershipError, PalletMembershipEvent, PalletMembershipMembershipRemovalReason, PalletMultisigCall, PalletMultisigError, PalletMultisigEvent, PalletMultisigMultisig, PalletMultisigTimepoint, PalletOffencesEvent, PalletOneshotAccountAccount, PalletOneshotAccountCall, PalletOneshotAccountCheckNonce, PalletOneshotAccountError, PalletOneshotAccountEvent, PalletPreimageCall, PalletPreimageError, PalletPreimageEvent, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProvideRandomnessCall, PalletProvideRandomnessError, PalletProvideRandomnessEvent, PalletProvideRandomnessRandomnessType, PalletProvideRandomnessRequest, PalletProxyAnnouncement, PalletProxyCall, PalletProxyError, PalletProxyEvent, PalletProxyProxyDefinition, PalletQuotaEvent, PalletQuotaQuota, PalletQuotaRefund, PalletSchedulerCall, PalletSchedulerError, PalletSchedulerEvent, PalletSchedulerScheduled, PalletSessionCall, PalletSessionError, PalletSessionEvent, PalletSmithMembersCall, PalletSmithMembersError, PalletSmithMembersEvent, PalletSmithMembersSmithMeta, PalletSmithMembersSmithStatus, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTimestampCall, PalletTransactionPaymentChargeTransactionPayment, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryPaymentState, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletUniversalDividendCall, PalletUniversalDividendError, PalletUniversalDividendEvent, PalletUpgradeOriginCall, PalletUpgradeOriginEvent, PalletUtilityCall, PalletUtilityError, PalletUtilityEvent, SpArithmeticArithmeticError, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAllowedSlots, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBabeDigestsPrimaryPreDigest, SpConsensusBabeDigestsSecondaryPlainPreDigest, SpConsensusBabeDigestsSecondaryVRFPreDigest, SpConsensusGrandpaAppPublic, SpConsensusGrandpaAppSignature, SpConsensusGrandpaEquivocation, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpCoreCryptoKeyTypeId, SpCoreEcdsaSignature, SpCoreEd25519Public, SpCoreEd25519Signature, SpCoreSr25519Public, SpCoreSr25519Signature, SpCoreSr25519VrfVrfSignature, SpCoreVoid, SpDistanceComputationResult, SpMembershipMembershipData, SpRuntimeBlakeTwo256, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeHeader, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpSessionMembershipProof, SpStakingOffenceOffenceDetails, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight } from '@polkadot/types/lookup'; declare module '@polkadot/types/types/registry' { interface InterfaceTypes { @@ -218,6 +27,7 @@ declare module '@polkadot/types/types/registry' { FrameSupportTokensMiscBalanceStatus: FrameSupportTokensMiscBalanceStatus; FrameSystemAccountInfo: FrameSystemAccountInfo; FrameSystemCall: FrameSystemCall; + FrameSystemCodeUpgradeAuthorization: FrameSystemCodeUpgradeAuthorization; FrameSystemError: FrameSystemError; FrameSystemEvent: FrameSystemEvent; FrameSystemEventRecord: FrameSystemEventRecord; @@ -265,16 +75,15 @@ declare module '@polkadot/types/types/registry' { PalletCollectiveRawOrigin: PalletCollectiveRawOrigin; PalletCollectiveVotes: PalletCollectiveVotes; PalletDistanceCall: PalletDistanceCall; - PalletDistanceDistanceStatus: PalletDistanceDistanceStatus; PalletDistanceError: PalletDistanceError; PalletDistanceEvaluationPool: PalletDistanceEvaluationPool; + PalletDistanceEvent: PalletDistanceEvent; PalletDistanceMedianMedianAcc: PalletDistanceMedianMedianAcc; PalletDuniterAccountAccountData: PalletDuniterAccountAccountData; PalletDuniterAccountCall: PalletDuniterAccountCall; PalletDuniterAccountEvent: PalletDuniterAccountEvent; PalletDuniterTestParametersParameters: PalletDuniterTestParametersParameters; PalletDuniterWotError: PalletDuniterWotError; - PalletDuniterWotIdtyRemovalWotReason: PalletDuniterWotIdtyRemovalWotReason; PalletGrandpaCall: PalletGrandpaCall; PalletGrandpaError: PalletGrandpaError; PalletGrandpaEvent: PalletGrandpaEvent; @@ -283,19 +92,19 @@ declare module '@polkadot/types/types/registry' { PalletIdentityCall: PalletIdentityCall; PalletIdentityError: PalletIdentityError; PalletIdentityEvent: PalletIdentityEvent; - PalletIdentityIdtyRemovalReason: PalletIdentityIdtyRemovalReason; PalletIdentityIdtyStatus: PalletIdentityIdtyStatus; PalletIdentityIdtyValue: PalletIdentityIdtyValue; - PalletImOnlineBoundedOpaqueNetworkState: PalletImOnlineBoundedOpaqueNetworkState; + PalletIdentityRemovalReason: PalletIdentityRemovalReason; + PalletIdentityRevocationReason: PalletIdentityRevocationReason; PalletImOnlineCall: PalletImOnlineCall; PalletImOnlineError: PalletImOnlineError; PalletImOnlineEvent: PalletImOnlineEvent; PalletImOnlineHeartbeat: PalletImOnlineHeartbeat; PalletImOnlineSr25519AppSr25519Public: PalletImOnlineSr25519AppSr25519Public; PalletImOnlineSr25519AppSr25519Signature: PalletImOnlineSr25519AppSr25519Signature; - PalletMembershipCall: PalletMembershipCall; PalletMembershipError: PalletMembershipError; PalletMembershipEvent: PalletMembershipEvent; + PalletMembershipMembershipRemovalReason: PalletMembershipMembershipRemovalReason; PalletMultisigCall: PalletMultisigCall; PalletMultisigError: PalletMultisigError; PalletMultisigEvent: PalletMultisigEvent; @@ -310,6 +119,7 @@ declare module '@polkadot/types/types/registry' { PalletPreimageCall: PalletPreimageCall; PalletPreimageError: PalletPreimageError; PalletPreimageEvent: PalletPreimageEvent; + PalletPreimageOldRequestStatus: PalletPreimageOldRequestStatus; PalletPreimageRequestStatus: PalletPreimageRequestStatus; PalletProvideRandomnessCall: PalletProvideRandomnessCall; PalletProvideRandomnessError: PalletProvideRandomnessError; @@ -331,6 +141,11 @@ declare module '@polkadot/types/types/registry' { PalletSessionCall: PalletSessionCall; PalletSessionError: PalletSessionError; PalletSessionEvent: PalletSessionEvent; + PalletSmithMembersCall: PalletSmithMembersCall; + PalletSmithMembersError: PalletSmithMembersError; + PalletSmithMembersEvent: PalletSmithMembersEvent; + PalletSmithMembersSmithMeta: PalletSmithMembersSmithMeta; + PalletSmithMembersSmithStatus: PalletSmithMembersSmithStatus; PalletSudoCall: PalletSudoCall; PalletSudoError: PalletSudoError; PalletSudoEvent: PalletSudoEvent; @@ -341,7 +156,9 @@ declare module '@polkadot/types/types/registry' { PalletTreasuryCall: PalletTreasuryCall; PalletTreasuryError: PalletTreasuryError; PalletTreasuryEvent: PalletTreasuryEvent; + PalletTreasuryPaymentState: PalletTreasuryPaymentState; PalletTreasuryProposal: PalletTreasuryProposal; + PalletTreasurySpendStatus: PalletTreasurySpendStatus; PalletUniversalDividendCall: PalletUniversalDividendCall; PalletUniversalDividendError: PalletUniversalDividendError; PalletUniversalDividendEvent: PalletUniversalDividendEvent; @@ -369,7 +186,6 @@ declare module '@polkadot/types/types/registry' { SpCoreEcdsaSignature: SpCoreEcdsaSignature; SpCoreEd25519Public: SpCoreEd25519Public; SpCoreEd25519Signature: SpCoreEd25519Signature; - SpCoreOffchainOpaqueNetworkState: SpCoreOffchainOpaqueNetworkState; SpCoreSr25519Public: SpCoreSr25519Public; SpCoreSr25519Signature: SpCoreSr25519Signature; SpCoreSr25519VrfVrfSignature: SpCoreSr25519VrfVrfSignature; diff --git a/src/interfaces/types-lookup.ts b/src/interfaces/types-lookup.ts index 294a6880639784e0cf59309e9b840e1f19e45374..e26a81d5f67196e4f0426e70dff19b5311096d01 100644 --- a/src/interfaces/types-lookup.ts +++ b/src/interfaces/types-lookup.ts @@ -5,27 +5,8 @@ // this is required to allow for ambient/previous definitions import '@polkadot/types/lookup'; -import type { - BTreeSet, - Bytes, - Compact, - Enum, - Null, - Option, - Result, - Struct, - Text, - U8aFixed, - Vec, - bool, - u128, - u16, - u32, - u64, - u8, -} from '@polkadot/types-codec'; +import type { BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec'; import type { ITuple } from '@polkadot/types-codec/types'; -import type { OpaqueMultiaddr, OpaquePeerId } from '@polkadot/types/interfaces/imOnline'; import type { AccountId32, Call, H256, MultiAddress, Perbill } from '@polkadot/types/interfaces/runtime'; import type { Event } from '@polkadot/types/interfaces/system'; @@ -41,32 +22,31 @@ declare module '@polkadot/types/lookup' { /** @name PalletDuniterAccountAccountData (5) */ interface PalletDuniterAccountAccountData extends Struct { - readonly randomId: Option<H256>; readonly free: u64; readonly reserved: u64; readonly feeFrozen: u64; readonly linkedIdty: Option<u32>; } - /** @name FrameSupportDispatchPerDispatchClassWeight (10) */ + /** @name FrameSupportDispatchPerDispatchClassWeight (8) */ interface FrameSupportDispatchPerDispatchClassWeight extends Struct { readonly normal: SpWeightsWeightV2Weight; readonly operational: SpWeightsWeightV2Weight; readonly mandatory: SpWeightsWeightV2Weight; } - /** @name SpWeightsWeightV2Weight (11) */ + /** @name SpWeightsWeightV2Weight (9) */ interface SpWeightsWeightV2Weight extends Struct { readonly refTime: Compact<u64>; readonly proofSize: Compact<u64>; } - /** @name SpRuntimeDigest (14) */ + /** @name SpRuntimeDigest (13) */ interface SpRuntimeDigest extends Struct { readonly logs: Vec<SpRuntimeDigestDigestItem>; } - /** @name SpRuntimeDigestDigestItem (16) */ + /** @name SpRuntimeDigestDigestItem (15) */ interface SpRuntimeDigestDigestItem extends Enum { readonly isOther: boolean; readonly asOther: Bytes; @@ -80,14 +60,14 @@ declare module '@polkadot/types/lookup' { readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated'; } - /** @name FrameSystemEventRecord (19) */ + /** @name FrameSystemEventRecord (18) */ interface FrameSystemEventRecord extends Struct { readonly phase: FrameSystemPhase; readonly event: Event; readonly topics: Vec<H256>; } - /** @name FrameSystemEvent (21) */ + /** @name FrameSystemEvent (20) */ interface FrameSystemEvent extends Enum { readonly isExtrinsicSuccess: boolean; readonly asExtrinsicSuccess: { @@ -112,17 +92,22 @@ declare module '@polkadot/types/lookup' { readonly sender: AccountId32; readonly hash_: H256; } & Struct; - readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked'; + readonly isUpgradeAuthorized: boolean; + readonly asUpgradeAuthorized: { + readonly codeHash: H256; + readonly checkVersion: bool; + } & Struct; + readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked' | 'UpgradeAuthorized'; } - /** @name FrameSupportDispatchDispatchInfo (22) */ + /** @name FrameSupportDispatchDispatchInfo (21) */ interface FrameSupportDispatchDispatchInfo extends Struct { readonly weight: SpWeightsWeightV2Weight; readonly class: FrameSupportDispatchDispatchClass; readonly paysFee: FrameSupportDispatchPays; } - /** @name FrameSupportDispatchDispatchClass (23) */ + /** @name FrameSupportDispatchDispatchClass (22) */ interface FrameSupportDispatchDispatchClass extends Enum { readonly isNormal: boolean; readonly isOperational: boolean; @@ -130,14 +115,14 @@ declare module '@polkadot/types/lookup' { readonly type: 'Normal' | 'Operational' | 'Mandatory'; } - /** @name FrameSupportDispatchPays (24) */ + /** @name FrameSupportDispatchPays (23) */ interface FrameSupportDispatchPays extends Enum { readonly isYes: boolean; readonly isNo: boolean; readonly type: 'Yes' | 'No'; } - /** @name SpRuntimeDispatchError (25) */ + /** @name SpRuntimeDispatchError (24) */ interface SpRuntimeDispatchError extends Enum { readonly isOther: boolean; readonly isCannotLookup: boolean; @@ -156,29 +141,17 @@ declare module '@polkadot/types/lookup' { readonly isExhausted: boolean; readonly isCorruption: boolean; readonly isUnavailable: boolean; - readonly type: - | 'Other' - | 'CannotLookup' - | 'BadOrigin' - | 'Module' - | 'ConsumerRemaining' - | 'NoProviders' - | 'TooManyConsumers' - | 'Token' - | 'Arithmetic' - | 'Transactional' - | 'Exhausted' - | 'Corruption' - | 'Unavailable'; - } - - /** @name SpRuntimeModuleError (26) */ + readonly isRootNotAllowed: boolean; + readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional' | 'Exhausted' | 'Corruption' | 'Unavailable' | 'RootNotAllowed'; + } + + /** @name SpRuntimeModuleError (25) */ interface SpRuntimeModuleError extends Struct { readonly index: u8; readonly error: U8aFixed; } - /** @name SpRuntimeTokenError (27) */ + /** @name SpRuntimeTokenError (26) */ interface SpRuntimeTokenError extends Enum { readonly isFundsUnavailable: boolean; readonly isOnlyProvider: boolean; @@ -189,19 +162,11 @@ declare module '@polkadot/types/lookup' { readonly isUnsupported: boolean; readonly isCannotCreateHold: boolean; readonly isNotExpendable: boolean; - readonly type: - | 'FundsUnavailable' - | 'OnlyProvider' - | 'BelowMinimum' - | 'CannotCreate' - | 'UnknownAsset' - | 'Frozen' - | 'Unsupported' - | 'CannotCreateHold' - | 'NotExpendable'; - } - - /** @name SpArithmeticArithmeticError (28) */ + readonly isBlocked: boolean; + readonly type: 'FundsUnavailable' | 'OnlyProvider' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported' | 'CannotCreateHold' | 'NotExpendable' | 'Blocked'; + } + + /** @name SpArithmeticArithmeticError (27) */ interface SpArithmeticArithmeticError extends Enum { readonly isUnderflow: boolean; readonly isOverflow: boolean; @@ -209,7 +174,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero'; } - /** @name SpRuntimeTransactionalError (29) */ + /** @name SpRuntimeTransactionalError (28) */ interface SpRuntimeTransactionalError extends Enum { readonly isLimitReached: boolean; readonly isNoLayer: boolean; @@ -218,16 +183,6 @@ declare module '@polkadot/types/lookup' { /** @name PalletDuniterAccountEvent (30) */ interface PalletDuniterAccountEvent extends Enum { - readonly isForceDestroy: boolean; - readonly asForceDestroy: { - readonly who: AccountId32; - readonly balance: u64; - } & Struct; - readonly isRandomIdAssigned: boolean; - readonly asRandomIdAssigned: { - readonly who: AccountId32; - readonly randomId: H256; - } & Struct; readonly isAccountLinked: boolean; readonly asAccountLinked: { readonly who: AccountId32; @@ -235,7 +190,7 @@ declare module '@polkadot/types/lookup' { } & Struct; readonly isAccountUnlinked: boolean; readonly asAccountUnlinked: AccountId32; - readonly type: 'ForceDestroy' | 'RandomIdAssigned' | 'AccountLinked' | 'AccountUnlinked'; + readonly type: 'AccountLinked' | 'AccountUnlinked'; } /** @name PalletSchedulerEvent (31) */ @@ -381,28 +336,7 @@ declare module '@polkadot/types/lookup' { readonly who: AccountId32; readonly amount: u64; } & Struct; - readonly type: - | 'Endowed' - | 'DustLost' - | 'Transfer' - | 'BalanceSet' - | 'Reserved' - | 'Unreserved' - | 'ReserveRepatriated' - | 'Deposit' - | 'Withdraw' - | 'Slashed' - | 'Minted' - | 'Burned' - | 'Suspended' - | 'Restored' - | 'Upgraded' - | 'Issued' - | 'Rescinded' - | 'Locked' - | 'Unlocked' - | 'Frozen' - | 'Thawed'; + readonly type: 'Endowed' | 'DustLost' | 'Transfer' | 'BalanceSet' | 'Reserved' | 'Unreserved' | 'ReserveRepatriated' | 'Deposit' | 'Withdraw' | 'Slashed' | 'Minted' | 'Burned' | 'Suspended' | 'Restored' | 'Upgraded' | 'Issued' | 'Rescinded' | 'Locked' | 'Unlocked' | 'Frozen' | 'Thawed'; } /** @name FrameSupportTokensMiscBalanceStatus (37) */ @@ -462,30 +396,72 @@ declare module '@polkadot/types/lookup' { readonly type: 'Refunded' | 'NoQuotaForIdty' | 'NoMoreCurrencyForRefund' | 'RefundFailed' | 'RefundQueueFull'; } - /** @name PalletAuthorityMembersEvent (43) */ + /** @name PalletSmithMembersEvent (43) */ + interface PalletSmithMembersEvent extends Enum { + readonly isInvitationSent: boolean; + readonly asInvitationSent: { + readonly receiver: u32; + readonly issuer: u32; + } & Struct; + readonly isInvitationAccepted: boolean; + readonly asInvitationAccepted: { + readonly idtyIndex: u32; + } & Struct; + readonly isSmithCertAdded: boolean; + readonly asSmithCertAdded: { + readonly receiver: u32; + readonly issuer: u32; + } & Struct; + readonly isSmithCertRemoved: boolean; + readonly asSmithCertRemoved: { + readonly receiver: u32; + readonly issuer: u32; + } & Struct; + readonly isSmithMembershipAdded: boolean; + readonly asSmithMembershipAdded: { + readonly idtyIndex: u32; + } & Struct; + readonly isSmithMembershipRemoved: boolean; + readonly asSmithMembershipRemoved: { + readonly idtyIndex: u32; + } & Struct; + readonly type: 'InvitationSent' | 'InvitationAccepted' | 'SmithCertAdded' | 'SmithCertRemoved' | 'SmithMembershipAdded' | 'SmithMembershipRemoved'; + } + + /** @name PalletAuthorityMembersEvent (44) */ interface PalletAuthorityMembersEvent extends Enum { readonly isIncomingAuthorities: boolean; - readonly asIncomingAuthorities: Vec<u32>; + readonly asIncomingAuthorities: { + readonly members: Vec<u32>; + } & Struct; readonly isOutgoingAuthorities: boolean; - readonly asOutgoingAuthorities: Vec<u32>; + readonly asOutgoingAuthorities: { + readonly members: Vec<u32>; + } & Struct; readonly isMemberGoOffline: boolean; - readonly asMemberGoOffline: u32; + readonly asMemberGoOffline: { + readonly member: u32; + } & Struct; readonly isMemberGoOnline: boolean; - readonly asMemberGoOnline: u32; + readonly asMemberGoOnline: { + readonly member: u32; + } & Struct; readonly isMemberRemoved: boolean; - readonly asMemberRemoved: u32; - readonly isMemberRemovedFromBlackList: boolean; - readonly asMemberRemovedFromBlackList: u32; - readonly type: - | 'IncomingAuthorities' - | 'OutgoingAuthorities' - | 'MemberGoOffline' - | 'MemberGoOnline' - | 'MemberRemoved' - | 'MemberRemovedFromBlackList'; - } - - /** @name PalletOffencesEvent (45) */ + readonly asMemberRemoved: { + readonly member: u32; + } & Struct; + readonly isMemberRemovedFromBlacklist: boolean; + readonly asMemberRemovedFromBlacklist: { + readonly member: u32; + } & Struct; + readonly isMemberAddedToBlacklist: boolean; + readonly asMemberAddedToBlacklist: { + readonly member: u32; + } & Struct; + readonly type: 'IncomingAuthorities' | 'OutgoingAuthorities' | 'MemberGoOffline' | 'MemberGoOnline' | 'MemberRemoved' | 'MemberRemovedFromBlacklist' | 'MemberAddedToBlacklist'; + } + + /** @name PalletOffencesEvent (46) */ interface PalletOffencesEvent extends Enum { readonly isOffence: boolean; readonly asOffence: { @@ -495,7 +471,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Offence'; } - /** @name PalletSessionEvent (47) */ + /** @name PalletSessionEvent (48) */ interface PalletSessionEvent extends Enum { readonly isNewSession: boolean; readonly asNewSession: { @@ -504,7 +480,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NewSession'; } - /** @name PalletGrandpaEvent (48) */ + /** @name PalletGrandpaEvent (49) */ interface PalletGrandpaEvent extends Enum { readonly isNewAuthorities: boolean; readonly asNewAuthorities: { @@ -515,13 +491,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'NewAuthorities' | 'Paused' | 'Resumed'; } - /** @name SpConsensusGrandpaAppPublic (51) */ + /** @name SpConsensusGrandpaAppPublic (52) */ interface SpConsensusGrandpaAppPublic extends SpCoreEd25519Public {} - /** @name SpCoreEd25519Public (52) */ + /** @name SpCoreEd25519Public (53) */ interface SpCoreEd25519Public extends U8aFixed {} - /** @name PalletImOnlineEvent (53) */ + /** @name PalletImOnlineEvent (54) */ interface PalletImOnlineEvent extends Enum { readonly isHeartbeatReceived: boolean; readonly asHeartbeatReceived: { @@ -535,16 +511,16 @@ declare module '@polkadot/types/lookup' { readonly type: 'HeartbeatReceived' | 'AllGood' | 'SomeOffline'; } - /** @name PalletImOnlineSr25519AppSr25519Public (54) */ + /** @name PalletImOnlineSr25519AppSr25519Public (55) */ interface PalletImOnlineSr25519AppSr25519Public extends SpCoreSr25519Public {} - /** @name SpCoreSr25519Public (55) */ + /** @name SpCoreSr25519Public (56) */ interface SpCoreSr25519Public extends U8aFixed {} - /** @name CommonRuntimeEntitiesValidatorFullIdentification (58) */ + /** @name CommonRuntimeEntitiesValidatorFullIdentification (59) */ type CommonRuntimeEntitiesValidatorFullIdentification = Null; - /** @name PalletSudoEvent (59) */ + /** @name PalletSudoEvent (60) */ interface PalletSudoEvent extends Enum { readonly isSudid: boolean; readonly asSudid: { @@ -552,16 +528,18 @@ declare module '@polkadot/types/lookup' { } & Struct; readonly isKeyChanged: boolean; readonly asKeyChanged: { - readonly oldSudoer: Option<AccountId32>; + readonly old: Option<AccountId32>; + readonly new_: AccountId32; } & Struct; + readonly isKeyRemoved: boolean; readonly isSudoAsDone: boolean; readonly asSudoAsDone: { readonly sudoResult: Result<Null, SpRuntimeDispatchError>; } & Struct; - readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone'; + readonly type: 'Sudid' | 'KeyChanged' | 'KeyRemoved' | 'SudoAsDone'; } - /** @name PalletUpgradeOriginEvent (61) */ + /** @name PalletUpgradeOriginEvent (62) */ interface PalletUpgradeOriginEvent extends Enum { readonly isDispatchedAsRoot: boolean; readonly asDispatchedAsRoot: { @@ -570,7 +548,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'DispatchedAsRoot'; } - /** @name PalletPreimageEvent (62) */ + /** @name PalletPreimageEvent (63) */ interface PalletPreimageEvent extends Enum { readonly isNoted: boolean; readonly asNoted: { @@ -587,7 +565,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Noted' | 'Requested' | 'Cleared'; } - /** @name PalletCollectiveEvent (63) */ + /** @name PalletCollectiveEvent (64) */ interface PalletCollectiveEvent extends Enum { readonly isProposed: boolean; readonly asProposed: { @@ -646,8 +624,8 @@ declare module '@polkadot/types/lookup' { readonly monetaryMass: u64; readonly membersCount: u64; } & Struct; - readonly isUdsAutoPaidAtRemoval: boolean; - readonly asUdsAutoPaidAtRemoval: { + readonly isUdsAutoPaid: boolean; + readonly asUdsAutoPaid: { readonly count: u16; readonly total: u64; readonly who: AccountId32; @@ -658,7 +636,7 @@ declare module '@polkadot/types/lookup' { readonly total: u64; readonly who: AccountId32; } & Struct; - readonly type: 'NewUdCreated' | 'UdReevalued' | 'UdsAutoPaidAtRemoval' | 'UdsClaimed'; + readonly type: 'NewUdCreated' | 'UdReevalued' | 'UdsAutoPaid' | 'UdsClaimed'; } /** @name PalletIdentityEvent (67) */ @@ -672,7 +650,7 @@ declare module '@polkadot/types/lookup' { readonly asIdtyConfirmed: { readonly idtyIndex: u32; readonly ownerKey: AccountId32; - readonly name: Text; + readonly name: Bytes; } & Struct; readonly isIdtyValidated: boolean; readonly asIdtyValidated: { @@ -683,77 +661,102 @@ declare module '@polkadot/types/lookup' { readonly idtyIndex: u32; readonly newOwnerKey: AccountId32; } & Struct; + readonly isIdtyRevoked: boolean; + readonly asIdtyRevoked: { + readonly idtyIndex: u32; + readonly reason: PalletIdentityRevocationReason; + } & Struct; readonly isIdtyRemoved: boolean; readonly asIdtyRemoved: { readonly idtyIndex: u32; - readonly reason: PalletIdentityIdtyRemovalReason; + readonly reason: PalletIdentityRemovalReason; } & Struct; - readonly type: 'IdtyCreated' | 'IdtyConfirmed' | 'IdtyValidated' | 'IdtyChangedOwnerKey' | 'IdtyRemoved'; + readonly type: 'IdtyCreated' | 'IdtyConfirmed' | 'IdtyValidated' | 'IdtyChangedOwnerKey' | 'IdtyRevoked' | 'IdtyRemoved'; } - /** @name PalletIdentityIdtyRemovalReason (69) */ - interface PalletIdentityIdtyRemovalReason extends Enum { + /** @name PalletIdentityRevocationReason (69) */ + interface PalletIdentityRevocationReason extends Enum { + readonly isRoot: boolean; + readonly isUser: boolean; readonly isExpired: boolean; - readonly isManual: boolean; - readonly isOther: boolean; - readonly asOther: PalletDuniterWotIdtyRemovalWotReason; - readonly isRevoked: boolean; - readonly type: 'Expired' | 'Manual' | 'Other' | 'Revoked'; + readonly type: 'Root' | 'User' | 'Expired'; } - /** @name PalletDuniterWotIdtyRemovalWotReason (70) */ - interface PalletDuniterWotIdtyRemovalWotReason extends Enum { - readonly isMembershipExpired: boolean; - readonly isOther: boolean; - readonly type: 'MembershipExpired' | 'Other'; + /** @name PalletIdentityRemovalReason (70) */ + interface PalletIdentityRemovalReason extends Enum { + readonly isRoot: boolean; + readonly isUnconfirmed: boolean; + readonly isUnvalidated: boolean; + readonly isRevoked: boolean; + readonly type: 'Root' | 'Unconfirmed' | 'Unvalidated' | 'Revoked'; } /** @name PalletMembershipEvent (71) */ interface PalletMembershipEvent extends Enum { - readonly isMembershipAcquired: boolean; - readonly asMembershipAcquired: u32; - readonly isMembershipExpired: boolean; - readonly asMembershipExpired: u32; + readonly isMembershipAdded: boolean; + readonly asMembershipAdded: { + readonly member: u32; + readonly expireOn: u32; + } & Struct; readonly isMembershipRenewed: boolean; - readonly asMembershipRenewed: u32; - readonly isMembershipRequested: boolean; - readonly asMembershipRequested: u32; - readonly isMembershipRevoked: boolean; - readonly asMembershipRevoked: u32; - readonly isPendingMembershipExpired: boolean; - readonly asPendingMembershipExpired: u32; - readonly type: - | 'MembershipAcquired' - | 'MembershipExpired' - | 'MembershipRenewed' - | 'MembershipRequested' - | 'MembershipRevoked' - | 'PendingMembershipExpired'; - } - - /** @name PalletCertificationEvent (72) */ + readonly asMembershipRenewed: { + readonly member: u32; + readonly expireOn: u32; + } & Struct; + readonly isMembershipRemoved: boolean; + readonly asMembershipRemoved: { + readonly member: u32; + readonly reason: PalletMembershipMembershipRemovalReason; + } & Struct; + readonly type: 'MembershipAdded' | 'MembershipRenewed' | 'MembershipRemoved'; + } + + /** @name PalletMembershipMembershipRemovalReason (72) */ + interface PalletMembershipMembershipRemovalReason extends Enum { + readonly isExpired: boolean; + readonly isRevoked: boolean; + readonly isNotEnoughCerts: boolean; + readonly isSystem: boolean; + readonly type: 'Expired' | 'Revoked' | 'NotEnoughCerts' | 'System'; + } + + /** @name PalletCertificationEvent (73) */ interface PalletCertificationEvent extends Enum { - readonly isNewCert: boolean; - readonly asNewCert: { + readonly isCertAdded: boolean; + readonly asCertAdded: { readonly issuer: u32; - readonly issuerIssuedCount: u32; readonly receiver: u32; - readonly receiverReceivedCount: u32; } & Struct; - readonly isRemovedCert: boolean; - readonly asRemovedCert: { + readonly isCertRemoved: boolean; + readonly asCertRemoved: { readonly issuer: u32; - readonly issuerIssuedCount: u32; readonly receiver: u32; - readonly receiverReceivedCount: u32; readonly expiration: bool; } & Struct; - readonly isRenewedCert: boolean; - readonly asRenewedCert: { + readonly isCertRenewed: boolean; + readonly asCertRenewed: { readonly issuer: u32; readonly receiver: u32; } & Struct; - readonly type: 'NewCert' | 'RemovedCert' | 'RenewedCert'; + readonly type: 'CertAdded' | 'CertRemoved' | 'CertRenewed'; + } + + /** @name PalletDistanceEvent (74) */ + interface PalletDistanceEvent extends Enum { + readonly isEvaluationRequested: boolean; + readonly asEvaluationRequested: { + readonly idtyIndex: u32; + readonly who: AccountId32; + } & Struct; + readonly isEvaluatedValid: boolean; + readonly asEvaluatedValid: { + readonly idtyIndex: u32; + } & Struct; + readonly isEvaluatedInvalid: boolean; + readonly asEvaluatedInvalid: { + readonly idtyIndex: u32; + } & Struct; + readonly type: 'EvaluationRequested' | 'EvaluatedValid' | 'EvaluatedInvalid'; } /** @name PalletAtomicSwapEvent (75) */ @@ -963,7 +966,34 @@ declare module '@polkadot/types/lookup' { readonly reactivated: u64; readonly deactivated: u64; } & Struct; - readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved' | 'UpdatedInactive'; + readonly isAssetSpendApproved: boolean; + readonly asAssetSpendApproved: { + readonly index: u32; + readonly assetKind: Null; + readonly amount: u64; + readonly beneficiary: AccountId32; + readonly validFrom: u32; + readonly expireAt: u32; + } & Struct; + readonly isAssetSpendVoided: boolean; + readonly asAssetSpendVoided: { + readonly index: u32; + } & Struct; + readonly isPaid: boolean; + readonly asPaid: { + readonly index: u32; + readonly paymentId: Null; + } & Struct; + readonly isPaymentFailed: boolean; + readonly asPaymentFailed: { + readonly index: u32; + readonly paymentId: Null; + } & Struct; + readonly isSpendProcessed: boolean; + readonly asSpendProcessed: { + readonly index: u32; + } & Struct; + readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved' | 'UpdatedInactive' | 'AssetSpendApproved' | 'AssetSpendVoided' | 'Paid' | 'PaymentFailed' | 'SpendProcessed'; } /** @name FrameSystemPhase (86) */ @@ -981,7 +1011,13 @@ declare module '@polkadot/types/lookup' { readonly specName: Text; } - /** @name FrameSystemCall (91) */ + /** @name FrameSystemCodeUpgradeAuthorization (92) */ + interface FrameSystemCodeUpgradeAuthorization extends Struct { + readonly codeHash: H256; + readonly checkVersion: bool; + } + + /** @name FrameSystemCall (93) */ interface FrameSystemCall extends Enum { readonly isRemark: boolean; readonly asRemark: { @@ -1016,24 +1052,36 @@ declare module '@polkadot/types/lookup' { readonly asRemarkWithEvent: { readonly remark: Bytes; } & Struct; - readonly type: 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent'; + readonly isAuthorizeUpgrade: boolean; + readonly asAuthorizeUpgrade: { + readonly codeHash: H256; + } & Struct; + readonly isAuthorizeUpgradeWithoutChecks: boolean; + readonly asAuthorizeUpgradeWithoutChecks: { + readonly codeHash: H256; + } & Struct; + readonly isApplyAuthorizedUpgrade: boolean; + readonly asApplyAuthorizedUpgrade: { + readonly code: Bytes; + } & Struct; + readonly type: 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent' | 'AuthorizeUpgrade' | 'AuthorizeUpgradeWithoutChecks' | 'ApplyAuthorizedUpgrade'; } - /** @name FrameSystemLimitsBlockWeights (95) */ + /** @name FrameSystemLimitsBlockWeights (97) */ interface FrameSystemLimitsBlockWeights extends Struct { readonly baseBlock: SpWeightsWeightV2Weight; readonly maxBlock: SpWeightsWeightV2Weight; readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass; } - /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (96) */ + /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (98) */ interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct { readonly normal: FrameSystemLimitsWeightsPerClass; readonly operational: FrameSystemLimitsWeightsPerClass; readonly mandatory: FrameSystemLimitsWeightsPerClass; } - /** @name FrameSystemLimitsWeightsPerClass (97) */ + /** @name FrameSystemLimitsWeightsPerClass (99) */ interface FrameSystemLimitsWeightsPerClass extends Struct { readonly baseExtrinsic: SpWeightsWeightV2Weight; readonly maxExtrinsic: Option<SpWeightsWeightV2Weight>; @@ -1041,25 +1089,25 @@ declare module '@polkadot/types/lookup' { readonly reserved: Option<SpWeightsWeightV2Weight>; } - /** @name FrameSystemLimitsBlockLength (99) */ + /** @name FrameSystemLimitsBlockLength (101) */ interface FrameSystemLimitsBlockLength extends Struct { readonly max: FrameSupportDispatchPerDispatchClassU32; } - /** @name FrameSupportDispatchPerDispatchClassU32 (100) */ + /** @name FrameSupportDispatchPerDispatchClassU32 (102) */ interface FrameSupportDispatchPerDispatchClassU32 extends Struct { readonly normal: u32; readonly operational: u32; readonly mandatory: u32; } - /** @name SpWeightsRuntimeDbWeight (101) */ + /** @name SpWeightsRuntimeDbWeight (103) */ interface SpWeightsRuntimeDbWeight extends Struct { readonly read: u64; readonly write: u64; } - /** @name SpVersionRuntimeVersion (102) */ + /** @name SpVersionRuntimeVersion (104) */ interface SpVersionRuntimeVersion extends Struct { readonly specName: Text; readonly implName: Text; @@ -1071,7 +1119,7 @@ declare module '@polkadot/types/lookup' { readonly stateVersion: u8; } - /** @name FrameSystemError (107) */ + /** @name FrameSystemError (109) */ interface FrameSystemError extends Enum { readonly isInvalidSpecName: boolean; readonly isSpecVersionNeedsToIncrease: boolean; @@ -1079,22 +1127,18 @@ declare module '@polkadot/types/lookup' { readonly isNonDefaultComposite: boolean; readonly isNonZeroRefCount: boolean; readonly isCallFiltered: boolean; - readonly type: - | 'InvalidSpecName' - | 'SpecVersionNeedsToIncrease' - | 'FailedToExtractRuntimeVersion' - | 'NonDefaultComposite' - | 'NonZeroRefCount' - | 'CallFiltered'; + readonly isNothingAuthorized: boolean; + readonly isUnauthorized: boolean; + readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered' | 'NothingAuthorized' | 'Unauthorized'; } - /** @name PalletDuniterAccountCall (108) */ + /** @name PalletDuniterAccountCall (110) */ interface PalletDuniterAccountCall extends Enum { readonly isUnlinkIdentity: boolean; readonly type: 'UnlinkIdentity'; } - /** @name PalletSchedulerScheduled (111) */ + /** @name PalletSchedulerScheduled (113) */ interface PalletSchedulerScheduled extends Struct { readonly maybeId: Option<U8aFixed>; readonly priority: u8; @@ -1103,7 +1147,7 @@ declare module '@polkadot/types/lookup' { readonly origin: GdevRuntimeOriginCaller; } - /** @name FrameSupportPreimagesBounded (112) */ + /** @name FrameSupportPreimagesBounded (114) */ interface FrameSupportPreimagesBounded extends Enum { readonly isLegacy: boolean; readonly asLegacy: { @@ -1119,7 +1163,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Legacy' | 'Inline' | 'Lookup'; } - /** @name PalletSchedulerCall (114) */ + /** @name PalletSchedulerCall (116) */ interface PalletSchedulerCall extends Enum { readonly isSchedule: boolean; readonly asSchedule: { @@ -1163,7 +1207,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Schedule' | 'Cancel' | 'ScheduleNamed' | 'CancelNamed' | 'ScheduleAfter' | 'ScheduleNamedAfter'; } - /** @name PalletBabeCall (116) */ + /** @name PalletBabeCall (118) */ interface PalletBabeCall extends Enum { readonly isReportEquivocation: boolean; readonly asReportEquivocation: { @@ -1182,7 +1226,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'ReportEquivocation' | 'ReportEquivocationUnsigned' | 'PlanConfigChange'; } - /** @name SpConsensusSlotsEquivocationProof (117) */ + /** @name SpConsensusSlotsEquivocationProof (119) */ interface SpConsensusSlotsEquivocationProof extends Struct { readonly offender: SpConsensusBabeAppPublic; readonly slot: u64; @@ -1190,7 +1234,7 @@ declare module '@polkadot/types/lookup' { readonly secondHeader: SpRuntimeHeader; } - /** @name SpRuntimeHeader (118) */ + /** @name SpRuntimeHeader (120) */ interface SpRuntimeHeader extends Struct { readonly parentHash: H256; readonly number: Compact<u32>; @@ -1199,20 +1243,17 @@ declare module '@polkadot/types/lookup' { readonly digest: SpRuntimeDigest; } - /** @name SpRuntimeBlakeTwo256 (119) */ - type SpRuntimeBlakeTwo256 = Null; - - /** @name SpConsensusBabeAppPublic (120) */ + /** @name SpConsensusBabeAppPublic (121) */ interface SpConsensusBabeAppPublic extends SpCoreSr25519Public {} - /** @name SpSessionMembershipProof (122) */ + /** @name SpSessionMembershipProof (123) */ interface SpSessionMembershipProof extends Struct { readonly session: u32; readonly trieNodes: Vec<Bytes>; readonly validatorCount: u32; } - /** @name SpConsensusBabeDigestsNextConfigDescriptor (123) */ + /** @name SpConsensusBabeDigestsNextConfigDescriptor (124) */ interface SpConsensusBabeDigestsNextConfigDescriptor extends Enum { readonly isV1: boolean; readonly asV1: { @@ -1222,7 +1263,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'V1'; } - /** @name SpConsensusBabeAllowedSlots (125) */ + /** @name SpConsensusBabeAllowedSlots (126) */ interface SpConsensusBabeAllowedSlots extends Enum { readonly isPrimarySlots: boolean; readonly isPrimaryAndSecondaryPlainSlots: boolean; @@ -1230,7 +1271,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'PrimarySlots' | 'PrimaryAndSecondaryPlainSlots' | 'PrimaryAndSecondaryVRFSlots'; } - /** @name PalletTimestampCall (126) */ + /** @name PalletTimestampCall (127) */ interface PalletTimestampCall extends Enum { readonly isSet: boolean; readonly asSet: { @@ -1239,19 +1280,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'Set'; } - /** @name PalletBalancesCall (127) */ + /** @name PalletBalancesCall (128) */ interface PalletBalancesCall extends Enum { readonly isTransferAllowDeath: boolean; readonly asTransferAllowDeath: { readonly dest: MultiAddress; readonly value: Compact<u64>; } & Struct; - readonly isSetBalanceDeprecated: boolean; - readonly asSetBalanceDeprecated: { - readonly who: MultiAddress; - readonly newFree: Compact<u64>; - readonly oldReserved: Compact<u64>; - } & Struct; readonly isForceTransfer: boolean; readonly asForceTransfer: { readonly source: MultiAddress; @@ -1273,30 +1308,12 @@ declare module '@polkadot/types/lookup' { readonly who: MultiAddress; readonly amount: u64; } & Struct; - readonly isUpgradeAccounts: boolean; - readonly asUpgradeAccounts: { - readonly who: Vec<AccountId32>; - } & Struct; - readonly isTransfer: boolean; - readonly asTransfer: { - readonly dest: MultiAddress; - readonly value: Compact<u64>; - } & Struct; readonly isForceSetBalance: boolean; readonly asForceSetBalance: { readonly who: MultiAddress; readonly newFree: Compact<u64>; } & Struct; - readonly type: - | 'TransferAllowDeath' - | 'SetBalanceDeprecated' - | 'ForceTransfer' - | 'TransferKeepAlive' - | 'TransferAll' - | 'ForceUnreserve' - | 'UpgradeAccounts' - | 'Transfer' - | 'ForceSetBalance'; + readonly type: 'TransferAllowDeath' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve' | 'ForceSetBalance'; } /** @name PalletOneshotAccountCall (132) */ @@ -1330,7 +1347,21 @@ declare module '@polkadot/types/lookup' { readonly type: 'Normal' | 'Oneshot'; } - /** @name PalletAuthorityMembersCall (134) */ + /** @name PalletSmithMembersCall (134) */ + interface PalletSmithMembersCall extends Enum { + readonly isInviteSmith: boolean; + readonly asInviteSmith: { + readonly receiver: u32; + } & Struct; + readonly isAcceptInvitation: boolean; + readonly isCertifySmith: boolean; + readonly asCertifySmith: { + readonly receiver: u32; + } & Struct; + readonly type: 'InviteSmith' | 'AcceptInvitation' | 'CertifySmith'; + } + + /** @name PalletAuthorityMembersCall (135) */ interface PalletAuthorityMembersCall extends Enum { readonly isGoOffline: boolean; readonly isGoOnline: boolean; @@ -1349,7 +1380,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'GoOffline' | 'GoOnline' | 'SetSessionKeys' | 'RemoveMember' | 'RemoveMemberFromBlacklist'; } - /** @name GdevRuntimeOpaqueSessionKeys (135) */ + /** @name GdevRuntimeOpaqueSessionKeys (136) */ interface GdevRuntimeOpaqueSessionKeys extends Struct { readonly grandpa: SpConsensusGrandpaAppPublic; readonly babe: SpConsensusBabeAppPublic; @@ -1357,10 +1388,10 @@ declare module '@polkadot/types/lookup' { readonly authorityDiscovery: SpAuthorityDiscoveryAppPublic; } - /** @name SpAuthorityDiscoveryAppPublic (136) */ + /** @name SpAuthorityDiscoveryAppPublic (137) */ interface SpAuthorityDiscoveryAppPublic extends SpCoreSr25519Public {} - /** @name PalletSessionCall (137) */ + /** @name PalletSessionCall (138) */ interface PalletSessionCall extends Enum { readonly isSetKeys: boolean; readonly asSetKeys: { @@ -1371,7 +1402,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'SetKeys' | 'PurgeKeys'; } - /** @name PalletGrandpaCall (138) */ + /** @name PalletGrandpaCall (139) */ interface PalletGrandpaCall extends Enum { readonly isReportEquivocation: boolean; readonly asReportEquivocation: { @@ -1391,13 +1422,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'ReportEquivocation' | 'ReportEquivocationUnsigned' | 'NoteStalled'; } - /** @name SpConsensusGrandpaEquivocationProof (139) */ + /** @name SpConsensusGrandpaEquivocationProof (140) */ interface SpConsensusGrandpaEquivocationProof extends Struct { readonly setId: u64; readonly equivocation: SpConsensusGrandpaEquivocation; } - /** @name SpConsensusGrandpaEquivocation (140) */ + /** @name SpConsensusGrandpaEquivocation (141) */ interface SpConsensusGrandpaEquivocation extends Enum { readonly isPrevote: boolean; readonly asPrevote: FinalityGrandpaEquivocationPrevote; @@ -1406,7 +1437,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Prevote' | 'Precommit'; } - /** @name FinalityGrandpaEquivocationPrevote (141) */ + /** @name FinalityGrandpaEquivocationPrevote (142) */ interface FinalityGrandpaEquivocationPrevote extends Struct { readonly roundNumber: u64; readonly identity: SpConsensusGrandpaAppPublic; @@ -1414,19 +1445,19 @@ declare module '@polkadot/types/lookup' { readonly second: ITuple<[FinalityGrandpaPrevote, SpConsensusGrandpaAppSignature]>; } - /** @name FinalityGrandpaPrevote (142) */ + /** @name FinalityGrandpaPrevote (143) */ interface FinalityGrandpaPrevote extends Struct { readonly targetHash: H256; readonly targetNumber: u32; } - /** @name SpConsensusGrandpaAppSignature (143) */ + /** @name SpConsensusGrandpaAppSignature (144) */ interface SpConsensusGrandpaAppSignature extends SpCoreEd25519Signature {} - /** @name SpCoreEd25519Signature (144) */ + /** @name SpCoreEd25519Signature (145) */ interface SpCoreEd25519Signature extends U8aFixed {} - /** @name FinalityGrandpaEquivocationPrecommit (147) */ + /** @name FinalityGrandpaEquivocationPrecommit (148) */ interface FinalityGrandpaEquivocationPrecommit extends Struct { readonly roundNumber: u64; readonly identity: SpConsensusGrandpaAppPublic; @@ -1434,13 +1465,13 @@ declare module '@polkadot/types/lookup' { readonly second: ITuple<[FinalityGrandpaPrecommit, SpConsensusGrandpaAppSignature]>; } - /** @name FinalityGrandpaPrecommit (148) */ + /** @name FinalityGrandpaPrecommit (149) */ interface FinalityGrandpaPrecommit extends Struct { readonly targetHash: H256; readonly targetNumber: u32; } - /** @name PalletImOnlineCall (150) */ + /** @name PalletImOnlineCall (151) */ interface PalletImOnlineCall extends Enum { readonly isHeartbeat: boolean; readonly asHeartbeat: { @@ -1450,28 +1481,21 @@ declare module '@polkadot/types/lookup' { readonly type: 'Heartbeat'; } - /** @name PalletImOnlineHeartbeat (151) */ + /** @name PalletImOnlineHeartbeat (152) */ interface PalletImOnlineHeartbeat extends Struct { readonly blockNumber: u32; - readonly networkState: SpCoreOffchainOpaqueNetworkState; readonly sessionIndex: u32; readonly authorityIndex: u32; readonly validatorsLen: u32; } - /** @name SpCoreOffchainOpaqueNetworkState (152) */ - interface SpCoreOffchainOpaqueNetworkState extends Struct { - readonly peerId: OpaquePeerId; - readonly externalAddresses: Vec<OpaqueMultiaddr>; - } - - /** @name PalletImOnlineSr25519AppSr25519Signature (156) */ + /** @name PalletImOnlineSr25519AppSr25519Signature (153) */ interface PalletImOnlineSr25519AppSr25519Signature extends SpCoreSr25519Signature {} - /** @name SpCoreSr25519Signature (157) */ + /** @name SpCoreSr25519Signature (154) */ interface SpCoreSr25519Signature extends U8aFixed {} - /** @name PalletSudoCall (158) */ + /** @name PalletSudoCall (155) */ interface PalletSudoCall extends Enum { readonly isSudo: boolean; readonly asSudo: { @@ -1491,10 +1515,11 @@ declare module '@polkadot/types/lookup' { readonly who: MultiAddress; readonly call: Call; } & Struct; - readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs'; + readonly isRemoveKey: boolean; + readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs' | 'RemoveKey'; } - /** @name PalletUpgradeOriginCall (159) */ + /** @name PalletUpgradeOriginCall (156) */ interface PalletUpgradeOriginCall extends Enum { readonly isDispatchAsRoot: boolean; readonly asDispatchAsRoot: { @@ -1508,7 +1533,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'DispatchAsRoot' | 'DispatchAsRootUncheckedWeight'; } - /** @name PalletPreimageCall (160) */ + /** @name PalletPreimageCall (157) */ interface PalletPreimageCall extends Enum { readonly isNotePreimage: boolean; readonly asNotePreimage: { @@ -1526,10 +1551,14 @@ declare module '@polkadot/types/lookup' { readonly asUnrequestPreimage: { readonly hash_: H256; } & Struct; - readonly type: 'NotePreimage' | 'UnnotePreimage' | 'RequestPreimage' | 'UnrequestPreimage'; + readonly isEnsureUpdated: boolean; + readonly asEnsureUpdated: { + readonly hashes: Vec<H256>; + } & Struct; + readonly type: 'NotePreimage' | 'UnnotePreimage' | 'RequestPreimage' | 'UnrequestPreimage' | 'EnsureUpdated'; } - /** @name PalletCollectiveCall (161) */ + /** @name PalletCollectiveCall (158) */ interface PalletCollectiveCall extends Enum { readonly isSetMembers: boolean; readonly asSetMembers: { @@ -1568,7 +1597,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'SetMembers' | 'Execute' | 'Propose' | 'Vote' | 'DisapproveProposal' | 'Close'; } - /** @name PalletUniversalDividendCall (162) */ + /** @name PalletUniversalDividendCall (160) */ interface PalletUniversalDividendCall extends Enum { readonly isClaimUds: boolean; readonly isTransferUd: boolean; @@ -1584,7 +1613,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'ClaimUds' | 'TransferUd' | 'TransferUdKeepAlive'; } - /** @name PalletIdentityCall (163) */ + /** @name PalletIdentityCall (161) */ interface PalletIdentityCall extends Enum { readonly isCreateIdentity: boolean; readonly asCreateIdentity: { @@ -1592,11 +1621,7 @@ declare module '@polkadot/types/lookup' { } & Struct; readonly isConfirmIdentity: boolean; readonly asConfirmIdentity: { - readonly idtyName: Text; - } & Struct; - readonly isValidateIdentity: boolean; - readonly asValidateIdentity: { - readonly idtyIndex: u32; + readonly idtyName: Bytes; } & Struct; readonly isChangeOwnerKey: boolean; readonly asChangeOwnerKey: { @@ -1609,15 +1634,9 @@ declare module '@polkadot/types/lookup' { readonly revocationKey: AccountId32; readonly revocationSig: SpRuntimeMultiSignature; } & Struct; - readonly isRemoveIdentity: boolean; - readonly asRemoveIdentity: { - readonly idtyIndex: u32; - readonly idtyName: Option<Text>; - readonly reason: PalletIdentityIdtyRemovalReason; - } & Struct; readonly isPruneItemIdentitiesNames: boolean; readonly asPruneItemIdentitiesNames: { - readonly names: Vec<Text>; + readonly names: Vec<Bytes>; } & Struct; readonly isFixSufficients: boolean; readonly asFixSufficients: { @@ -1629,19 +1648,10 @@ declare module '@polkadot/types/lookup' { readonly accountId: AccountId32; readonly payloadSig: SpRuntimeMultiSignature; } & Struct; - readonly type: - | 'CreateIdentity' - | 'ConfirmIdentity' - | 'ValidateIdentity' - | 'ChangeOwnerKey' - | 'RevokeIdentity' - | 'RemoveIdentity' - | 'PruneItemIdentitiesNames' - | 'FixSufficients' - | 'LinkAccount'; + readonly type: 'CreateIdentity' | 'ConfirmIdentity' | 'ChangeOwnerKey' | 'RevokeIdentity' | 'PruneItemIdentitiesNames' | 'FixSufficients' | 'LinkAccount'; } - /** @name SpRuntimeMultiSignature (164) */ + /** @name SpRuntimeMultiSignature (162) */ interface SpRuntimeMultiSignature extends Enum { readonly isEd25519: boolean; readonly asEd25519: SpCoreEd25519Signature; @@ -1652,23 +1662,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa'; } - /** @name SpCoreEcdsaSignature (165) */ + /** @name SpCoreEcdsaSignature (163) */ interface SpCoreEcdsaSignature extends U8aFixed {} - /** @name PalletMembershipCall (169) */ - interface PalletMembershipCall extends Enum { - readonly isRequestMembership: boolean; - readonly isClaimMembership: boolean; - readonly isRenewMembership: boolean; - readonly isRevokeMembership: boolean; - readonly type: 'RequestMembership' | 'ClaimMembership' | 'RenewMembership' | 'RevokeMembership'; - } - - /** @name PalletCertificationCall (170) */ + /** @name PalletCertificationCall (166) */ interface PalletCertificationCall extends Enum { readonly isAddCert: boolean; readonly asAddCert: { - readonly issuer: u32; readonly receiver: u32; } & Struct; readonly isDelCert: boolean; @@ -1680,10 +1680,14 @@ declare module '@polkadot/types/lookup' { readonly asRemoveAllCertsReceivedBy: { readonly idtyIndex: u32; } & Struct; - readonly type: 'AddCert' | 'DelCert' | 'RemoveAllCertsReceivedBy'; + readonly isRenewCert: boolean; + readonly asRenewCert: { + readonly receiver: u32; + } & Struct; + readonly type: 'AddCert' | 'DelCert' | 'RemoveAllCertsReceivedBy' | 'RenewCert'; } - /** @name PalletDistanceCall (171) */ + /** @name PalletDistanceCall (167) */ interface PalletDistanceCall extends Enum { readonly isRequestDistanceEvaluation: boolean; readonly isUpdateEvaluation: boolean; @@ -1695,27 +1699,23 @@ declare module '@polkadot/types/lookup' { readonly evaluator: AccountId32; readonly computationResult: SpDistanceComputationResult; } & Struct; - readonly isForceSetDistanceStatus: boolean; - readonly asForceSetDistanceStatus: { + readonly isForceValidDistanceStatus: boolean; + readonly asForceValidDistanceStatus: { readonly identity: u32; - readonly status: Option<ITuple<[AccountId32, PalletDistanceDistanceStatus]>>; } & Struct; - readonly type: 'RequestDistanceEvaluation' | 'UpdateEvaluation' | 'ForceUpdateEvaluation' | 'ForceSetDistanceStatus'; + readonly isRequestDistanceEvaluationFor: boolean; + readonly asRequestDistanceEvaluationFor: { + readonly target: u32; + } & Struct; + readonly type: 'RequestDistanceEvaluation' | 'UpdateEvaluation' | 'ForceUpdateEvaluation' | 'ForceValidDistanceStatus' | 'RequestDistanceEvaluationFor'; } - /** @name SpDistanceComputationResult (172) */ + /** @name SpDistanceComputationResult (168) */ interface SpDistanceComputationResult extends Struct { readonly distances: Vec<Perbill>; } - /** @name PalletDistanceDistanceStatus (177) */ - interface PalletDistanceDistanceStatus extends Enum { - readonly isPending: boolean; - readonly isValid: boolean; - readonly type: 'Pending' | 'Valid'; - } - - /** @name PalletAtomicSwapCall (180) */ + /** @name PalletAtomicSwapCall (171) */ interface PalletAtomicSwapCall extends Enum { readonly isCreateSwap: boolean; readonly asCreateSwap: { @@ -1737,7 +1737,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'CreateSwap' | 'ClaimSwap' | 'CancelSwap'; } - /** @name PalletMultisigCall (181) */ + /** @name PalletMultisigCall (172) */ interface PalletMultisigCall extends Enum { readonly isAsMultiThreshold1: boolean; readonly asAsMultiThreshold1: { @@ -1770,7 +1770,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'AsMultiThreshold1' | 'AsMulti' | 'ApproveAsMulti' | 'CancelAsMulti'; } - /** @name PalletProvideRandomnessCall (183) */ + /** @name PalletProvideRandomnessCall (174) */ interface PalletProvideRandomnessCall extends Enum { readonly isRequest: boolean; readonly asRequest: { @@ -1780,7 +1780,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Request'; } - /** @name PalletProxyCall (184) */ + /** @name PalletProxyCall (175) */ interface PalletProxyCall extends Enum { readonly isProxy: boolean; readonly asProxy: { @@ -1837,20 +1837,10 @@ declare module '@polkadot/types/lookup' { readonly forceProxyType: Option<GdevRuntimeProxyType>; readonly call: Call; } & Struct; - readonly type: - | 'Proxy' - | 'AddProxy' - | 'RemoveProxy' - | 'RemoveProxies' - | 'CreatePure' - | 'KillPure' - | 'Announce' - | 'RemoveAnnouncement' - | 'RejectAnnouncement' - | 'ProxyAnnounced'; + readonly type: 'Proxy' | 'AddProxy' | 'RemoveProxy' | 'RemoveProxies' | 'CreatePure' | 'KillPure' | 'Announce' | 'RemoveAnnouncement' | 'RejectAnnouncement' | 'ProxyAnnounced'; } - /** @name PalletUtilityCall (186) */ + /** @name PalletUtilityCall (177) */ interface PalletUtilityCall extends Enum { readonly isBatch: boolean; readonly asBatch: { @@ -1882,7 +1872,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Batch' | 'AsDerivative' | 'BatchAll' | 'DispatchAs' | 'ForceBatch' | 'WithWeight'; } - /** @name GdevRuntimeOriginCaller (188) */ + /** @name GdevRuntimeOriginCaller (179) */ interface GdevRuntimeOriginCaller extends Enum { readonly isSystem: boolean; readonly asSystem: FrameSupportDispatchRawOrigin; @@ -1892,7 +1882,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'System' | 'Void' | 'TechnicalCommittee'; } - /** @name FrameSupportDispatchRawOrigin (189) */ + /** @name FrameSupportDispatchRawOrigin (180) */ interface FrameSupportDispatchRawOrigin extends Enum { readonly isRoot: boolean; readonly isSigned: boolean; @@ -1901,7 +1891,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Root' | 'Signed' | 'None'; } - /** @name PalletCollectiveRawOrigin (190) */ + /** @name PalletCollectiveRawOrigin (181) */ interface PalletCollectiveRawOrigin extends Enum { readonly isMembers: boolean; readonly asMembers: ITuple<[u32, u32]>; @@ -1911,10 +1901,10 @@ declare module '@polkadot/types/lookup' { readonly type: 'Members' | 'Member' | 'Phantom'; } - /** @name SpCoreVoid (191) */ + /** @name SpCoreVoid (182) */ type SpCoreVoid = Null; - /** @name PalletTreasuryCall (192) */ + /** @name PalletTreasuryCall (183) */ interface PalletTreasuryCall extends Enum { readonly isProposeSpend: boolean; readonly asProposeSpend: { @@ -1929,8 +1919,8 @@ declare module '@polkadot/types/lookup' { readonly asApproveProposal: { readonly proposalId: Compact<u32>; } & Struct; - readonly isSpend: boolean; - readonly asSpend: { + readonly isSpendLocal: boolean; + readonly asSpendLocal: { readonly amount: Compact<u64>; readonly beneficiary: MultiAddress; } & Struct; @@ -1938,10 +1928,32 @@ declare module '@polkadot/types/lookup' { readonly asRemoveApproval: { readonly proposalId: Compact<u32>; } & Struct; - readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval'; + readonly isSpend: boolean; + readonly asSpend: { + readonly assetKind: Null; + readonly amount: Compact<u64>; + readonly beneficiary: MultiAddress; + readonly validFrom: Option<u32>; + } & Struct; + readonly isPayout: boolean; + readonly asPayout: { + readonly index: u32; + } & Struct; + readonly isCheckStatus: boolean; + readonly asCheckStatus: { + readonly index: u32; + } & Struct; + readonly isVoidSpend: boolean; + readonly asVoidSpend: { + readonly index: u32; + } & Struct; + readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'SpendLocal' | 'RemoveApproval' | 'Spend' | 'Payout' | 'CheckStatus' | 'VoidSpend'; } - /** @name PalletSchedulerError (195) */ + /** @name SpRuntimeBlakeTwo256 (184) */ + type SpRuntimeBlakeTwo256 = Null; + + /** @name PalletSchedulerError (187) */ interface PalletSchedulerError extends Enum { readonly isFailedToSchedule: boolean; readonly isNotFound: boolean; @@ -1951,7 +1963,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'FailedToSchedule' | 'NotFound' | 'TargetBlockNumberInPast' | 'RescheduleNoChange' | 'Named'; } - /** @name SpConsensusBabeDigestsPreDigest (202) */ + /** @name SpConsensusBabeDigestsPreDigest (194) */ interface SpConsensusBabeDigestsPreDigest extends Enum { readonly isPrimary: boolean; readonly asPrimary: SpConsensusBabeDigestsPrimaryPreDigest; @@ -1962,39 +1974,39 @@ declare module '@polkadot/types/lookup' { readonly type: 'Primary' | 'SecondaryPlain' | 'SecondaryVRF'; } - /** @name SpConsensusBabeDigestsPrimaryPreDigest (203) */ + /** @name SpConsensusBabeDigestsPrimaryPreDigest (195) */ interface SpConsensusBabeDigestsPrimaryPreDigest extends Struct { readonly authorityIndex: u32; readonly slot: u64; readonly vrfSignature: SpCoreSr25519VrfVrfSignature; } - /** @name SpCoreSr25519VrfVrfSignature (204) */ + /** @name SpCoreSr25519VrfVrfSignature (196) */ interface SpCoreSr25519VrfVrfSignature extends Struct { - readonly output: U8aFixed; + readonly preOutput: U8aFixed; readonly proof: U8aFixed; } - /** @name SpConsensusBabeDigestsSecondaryPlainPreDigest (205) */ + /** @name SpConsensusBabeDigestsSecondaryPlainPreDigest (197) */ interface SpConsensusBabeDigestsSecondaryPlainPreDigest extends Struct { readonly authorityIndex: u32; readonly slot: u64; } - /** @name SpConsensusBabeDigestsSecondaryVRFPreDigest (206) */ + /** @name SpConsensusBabeDigestsSecondaryVRFPreDigest (198) */ interface SpConsensusBabeDigestsSecondaryVRFPreDigest extends Struct { readonly authorityIndex: u32; readonly slot: u64; readonly vrfSignature: SpCoreSr25519VrfVrfSignature; } - /** @name SpConsensusBabeBabeEpochConfiguration (207) */ + /** @name SpConsensusBabeBabeEpochConfiguration (199) */ interface SpConsensusBabeBabeEpochConfiguration extends Struct { readonly c: ITuple<[u64, u64]>; readonly allowedSlots: SpConsensusBabeAllowedSlots; } - /** @name PalletBabeError (211) */ + /** @name PalletBabeError (203) */ interface PalletBabeError extends Enum { readonly isInvalidEquivocationProof: boolean; readonly isInvalidKeyOwnershipProof: boolean; @@ -2003,7 +2015,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'InvalidEquivocationProof' | 'InvalidKeyOwnershipProof' | 'DuplicateOffenceReport' | 'InvalidConfiguration'; } - /** @name PalletDuniterTestParametersParameters (212) */ + /** @name PalletDuniterTestParametersParameters (204) */ interface PalletDuniterTestParametersParameters extends Struct { readonly babeEpochDuration: u64; readonly certPeriod: u32; @@ -2013,23 +2025,18 @@ declare module '@polkadot/types/lookup' { readonly idtyConfirmPeriod: u32; readonly idtyCreationPeriod: u32; readonly membershipPeriod: u32; - readonly pendingMembershipPeriod: u32; + readonly membershipRenewalPeriod: u32; readonly udCreationPeriod: u64; readonly udReevalPeriod: u64; - readonly smithCertPeriod: u32; readonly smithCertMaxByIssuer: u32; - readonly smithCertMinReceivedCertToIssueCert: u32; - readonly smithCertValidityPeriod: u32; - readonly smithMembershipPeriod: u32; - readonly smithPendingMembershipPeriod: u32; - readonly smithWotFirstCertIssuableOn: u32; readonly smithWotMinCertForMembership: u32; + readonly smithInactivityMaxDuration: u32; readonly wotFirstCertIssuableOn: u32; readonly wotMinCertForCreateIdtyRight: u32; readonly wotMinCertForMembership: u32; } - /** @name PalletBalancesAccountData (213) */ + /** @name PalletBalancesAccountData (205) */ interface PalletBalancesAccountData extends Struct { readonly free: u64; readonly reserved: u64; @@ -2037,14 +2044,14 @@ declare module '@polkadot/types/lookup' { readonly flags: u128; } - /** @name PalletBalancesBalanceLock (217) */ + /** @name PalletBalancesBalanceLock (209) */ interface PalletBalancesBalanceLock extends Struct { readonly id: U8aFixed; readonly amount: u64; readonly reasons: PalletBalancesReasons; } - /** @name PalletBalancesReasons (218) */ + /** @name PalletBalancesReasons (210) */ interface PalletBalancesReasons extends Enum { readonly isFee: boolean; readonly isMisc: boolean; @@ -2052,19 +2059,19 @@ declare module '@polkadot/types/lookup' { readonly type: 'Fee' | 'Misc' | 'All'; } - /** @name PalletBalancesReserveData (221) */ + /** @name PalletBalancesReserveData (213) */ interface PalletBalancesReserveData extends Struct { readonly id: U8aFixed; readonly amount: u64; } - /** @name PalletBalancesIdAmount (224) */ + /** @name PalletBalancesIdAmount (216) */ interface PalletBalancesIdAmount extends Struct { readonly id: Null; readonly amount: u64; } - /** @name PalletBalancesError (226) */ + /** @name PalletBalancesError (218) */ interface PalletBalancesError extends Enum { readonly isVestingBalance: boolean; readonly isLiquidityRestrictions: boolean; @@ -2076,27 +2083,17 @@ declare module '@polkadot/types/lookup' { readonly isTooManyReserves: boolean; readonly isTooManyHolds: boolean; readonly isTooManyFreezes: boolean; - readonly type: - | 'VestingBalance' - | 'LiquidityRestrictions' - | 'InsufficientBalance' - | 'ExistentialDeposit' - | 'Expendability' - | 'ExistingVestingSchedule' - | 'DeadAccount' - | 'TooManyReserves' - | 'TooManyHolds' - | 'TooManyFreezes'; - } - - /** @name PalletTransactionPaymentReleases (228) */ + readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'Expendability' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves' | 'TooManyHolds' | 'TooManyFreezes'; + } + + /** @name PalletTransactionPaymentReleases (220) */ interface PalletTransactionPaymentReleases extends Enum { readonly isV1Ancient: boolean; readonly isV2: boolean; readonly type: 'V1Ancient' | 'V2'; } - /** @name PalletOneshotAccountError (229) */ + /** @name PalletOneshotAccountError (221) */ interface PalletOneshotAccountError extends Enum { readonly isBlockHeightInFuture: boolean; readonly isBlockHeightTooOld: boolean; @@ -2105,73 +2102,90 @@ declare module '@polkadot/types/lookup' { readonly isInsufficientBalance: boolean; readonly isOneshotAccountAlreadyCreated: boolean; readonly isOneshotAccountNotExist: boolean; - readonly type: - | 'BlockHeightInFuture' - | 'BlockHeightTooOld' - | 'DestAccountNotExist' - | 'ExistentialDeposit' - | 'InsufficientBalance' - | 'OneshotAccountAlreadyCreated' - | 'OneshotAccountNotExist'; + readonly type: 'BlockHeightInFuture' | 'BlockHeightTooOld' | 'DestAccountNotExist' | 'ExistentialDeposit' | 'InsufficientBalance' | 'OneshotAccountAlreadyCreated' | 'OneshotAccountNotExist'; } - /** @name PalletQuotaQuota (230) */ + /** @name PalletQuotaQuota (222) */ interface PalletQuotaQuota extends Struct { readonly lastUse: u32; readonly amount: u64; } - /** @name PalletQuotaRefund (232) */ + /** @name PalletQuotaRefund (224) */ interface PalletQuotaRefund extends Struct { readonly account: AccountId32; readonly identity: u32; readonly amount: u64; } - /** @name PalletAuthorityMembersMemberData (234) */ + /** @name PalletSmithMembersSmithMeta (226) */ + interface PalletSmithMembersSmithMeta extends Struct { + readonly status: PalletSmithMembersSmithStatus; + readonly expiresOn: Option<u32>; + readonly issuedCerts: Vec<u32>; + readonly receivedCerts: Vec<u32>; + } + + /** @name PalletSmithMembersSmithStatus (227) */ + interface PalletSmithMembersSmithStatus extends Enum { + readonly isInvited: boolean; + readonly isPending: boolean; + readonly isSmith: boolean; + readonly isExcluded: boolean; + readonly type: 'Invited' | 'Pending' | 'Smith' | 'Excluded'; + } + + /** @name PalletSmithMembersError (228) */ + interface PalletSmithMembersError extends Enum { + readonly isOriginMustHaveAnIdentity: boolean; + readonly isOriginHasNeverBeenInvited: boolean; + readonly isInvitationIsASmithPrivilege: boolean; + readonly isInvitationIsAOnlineSmithPrivilege: boolean; + readonly isInvitationAlreadyAccepted: boolean; + readonly isInvitationOfExistingNonExcluded: boolean; + readonly isInvitationOfNonMember: boolean; + readonly isCertificationMustBeAgreed: boolean; + readonly isCertificationOnExcludedIsForbidden: boolean; + readonly isCertificationIsASmithPrivilege: boolean; + readonly isCertificationIsAOnlineSmithPrivilege: boolean; + readonly isCertificationOfSelfIsForbidden: boolean; + readonly isCertificationReceiverMustHaveBeenInvited: boolean; + readonly isCertificationAlreadyExists: boolean; + readonly isCertificationStockFullyConsumed: boolean; + readonly type: 'OriginMustHaveAnIdentity' | 'OriginHasNeverBeenInvited' | 'InvitationIsASmithPrivilege' | 'InvitationIsAOnlineSmithPrivilege' | 'InvitationAlreadyAccepted' | 'InvitationOfExistingNonExcluded' | 'InvitationOfNonMember' | 'CertificationMustBeAgreed' | 'CertificationOnExcludedIsForbidden' | 'CertificationIsASmithPrivilege' | 'CertificationIsAOnlineSmithPrivilege' | 'CertificationOfSelfIsForbidden' | 'CertificationReceiverMustHaveBeenInvited' | 'CertificationAlreadyExists' | 'CertificationStockFullyConsumed'; + } + + /** @name PalletAuthorityMembersMemberData (229) */ interface PalletAuthorityMembersMemberData extends Struct { readonly ownerKey: AccountId32; } - /** @name PalletAuthorityMembersError (235) */ + /** @name PalletAuthorityMembersError (230) */ interface PalletAuthorityMembersError extends Enum { readonly isAlreadyIncoming: boolean; readonly isAlreadyOnline: boolean; readonly isAlreadyOutgoing: boolean; readonly isMemberIdNotFound: boolean; - readonly isMemberIdBlackListed: boolean; - readonly isMemberNotBlackListed: boolean; + readonly isMemberBlacklisted: boolean; + readonly isMemberNotBlacklisted: boolean; readonly isMemberNotFound: boolean; readonly isNotOnlineNorIncoming: boolean; - readonly isNotOwner: boolean; readonly isNotMember: boolean; readonly isSessionKeysNotProvided: boolean; readonly isTooManyAuthorities: boolean; - readonly type: - | 'AlreadyIncoming' - | 'AlreadyOnline' - | 'AlreadyOutgoing' - | 'MemberIdNotFound' - | 'MemberIdBlackListed' - | 'MemberNotBlackListed' - | 'MemberNotFound' - | 'NotOnlineNorIncoming' - | 'NotOwner' - | 'NotMember' - | 'SessionKeysNotProvided' - | 'TooManyAuthorities'; - } - - /** @name SpStakingOffenceOffenceDetails (236) */ + readonly type: 'AlreadyIncoming' | 'AlreadyOnline' | 'AlreadyOutgoing' | 'MemberIdNotFound' | 'MemberBlacklisted' | 'MemberNotBlacklisted' | 'MemberNotFound' | 'NotOnlineNorIncoming' | 'NotMember' | 'SessionKeysNotProvided' | 'TooManyAuthorities'; + } + + /** @name SpStakingOffenceOffenceDetails (231) */ interface SpStakingOffenceOffenceDetails extends Struct { readonly offender: ITuple<[AccountId32, CommonRuntimeEntitiesValidatorFullIdentification]>; readonly reporters: Vec<AccountId32>; } - /** @name SpCoreCryptoKeyTypeId (241) */ + /** @name SpCoreCryptoKeyTypeId (237) */ interface SpCoreCryptoKeyTypeId extends U8aFixed {} - /** @name PalletSessionError (242) */ + /** @name PalletSessionError (238) */ interface PalletSessionError extends Enum { readonly isInvalidProof: boolean; readonly isNoAssociatedValidatorId: boolean; @@ -2181,7 +2195,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'InvalidProof' | 'NoAssociatedValidatorId' | 'DuplicatedKey' | 'NoKeys' | 'NoAccount'; } - /** @name PalletGrandpaStoredState (243) */ + /** @name PalletGrandpaStoredState (239) */ interface PalletGrandpaStoredState extends Enum { readonly isLive: boolean; readonly isPendingPause: boolean; @@ -2198,7 +2212,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Live' | 'PendingPause' | 'Paused' | 'PendingResume'; } - /** @name PalletGrandpaStoredPendingChange (244) */ + /** @name PalletGrandpaStoredPendingChange (240) */ interface PalletGrandpaStoredPendingChange extends Struct { readonly scheduledAt: u32; readonly delay: u32; @@ -2206,7 +2220,7 @@ declare module '@polkadot/types/lookup' { readonly forced: Option<u32>; } - /** @name PalletGrandpaError (246) */ + /** @name PalletGrandpaError (242) */ interface PalletGrandpaError extends Enum { readonly isPauseFailed: boolean; readonly isResumeFailed: boolean; @@ -2215,37 +2229,24 @@ declare module '@polkadot/types/lookup' { readonly isInvalidKeyOwnershipProof: boolean; readonly isInvalidEquivocationProof: boolean; readonly isDuplicateOffenceReport: boolean; - readonly type: - | 'PauseFailed' - | 'ResumeFailed' - | 'ChangePending' - | 'TooSoon' - | 'InvalidKeyOwnershipProof' - | 'InvalidEquivocationProof' - | 'DuplicateOffenceReport'; - } - - /** @name PalletImOnlineBoundedOpaqueNetworkState (250) */ - interface PalletImOnlineBoundedOpaqueNetworkState extends Struct { - readonly peerId: Bytes; - readonly externalAddresses: Vec<Bytes>; + readonly type: 'PauseFailed' | 'ResumeFailed' | 'ChangePending' | 'TooSoon' | 'InvalidKeyOwnershipProof' | 'InvalidEquivocationProof' | 'DuplicateOffenceReport'; } - /** @name PalletImOnlineError (255) */ + /** @name PalletImOnlineError (246) */ interface PalletImOnlineError extends Enum { readonly isInvalidKey: boolean; readonly isDuplicatedHeartbeat: boolean; readonly type: 'InvalidKey' | 'DuplicatedHeartbeat'; } - /** @name PalletSudoError (256) */ + /** @name PalletSudoError (249) */ interface PalletSudoError extends Enum { readonly isRequireSudo: boolean; readonly type: 'RequireSudo'; } - /** @name PalletPreimageRequestStatus (257) */ - interface PalletPreimageRequestStatus extends Enum { + /** @name PalletPreimageOldRequestStatus (250) */ + interface PalletPreimageOldRequestStatus extends Enum { readonly isUnrequested: boolean; readonly asUnrequested: { readonly deposit: ITuple<[AccountId32, u64]>; @@ -2260,7 +2261,23 @@ declare module '@polkadot/types/lookup' { readonly type: 'Unrequested' | 'Requested'; } - /** @name PalletPreimageError (260) */ + /** @name PalletPreimageRequestStatus (251) */ + interface PalletPreimageRequestStatus extends Enum { + readonly isUnrequested: boolean; + readonly asUnrequested: { + readonly ticket: ITuple<[AccountId32, Null]>; + readonly len: u32; + } & Struct; + readonly isRequested: boolean; + readonly asRequested: { + readonly maybeTicket: Option<ITuple<[AccountId32, Null]>>; + readonly count: u32; + readonly maybeLen: Option<u32>; + } & Struct; + readonly type: 'Unrequested' | 'Requested'; + } + + /** @name PalletPreimageError (255) */ interface PalletPreimageError extends Enum { readonly isTooBig: boolean; readonly isAlreadyNoted: boolean; @@ -2268,10 +2285,12 @@ declare module '@polkadot/types/lookup' { readonly isNotNoted: boolean; readonly isRequested: boolean; readonly isNotRequested: boolean; - readonly type: 'TooBig' | 'AlreadyNoted' | 'NotAuthorized' | 'NotNoted' | 'Requested' | 'NotRequested'; + readonly isTooMany: boolean; + readonly isTooFew: boolean; + readonly type: 'TooBig' | 'AlreadyNoted' | 'NotAuthorized' | 'NotNoted' | 'Requested' | 'NotRequested' | 'TooMany' | 'TooFew'; } - /** @name PalletCollectiveVotes (262) */ + /** @name PalletCollectiveVotes (257) */ interface PalletCollectiveVotes extends Struct { readonly index: u32; readonly threshold: u32; @@ -2280,7 +2299,7 @@ declare module '@polkadot/types/lookup' { readonly end: u32; } - /** @name PalletCollectiveError (263) */ + /** @name PalletCollectiveError (258) */ interface PalletCollectiveError extends Enum { readonly isNotMember: boolean; readonly isDuplicateProposal: boolean; @@ -2292,202 +2311,139 @@ declare module '@polkadot/types/lookup' { readonly isTooManyProposals: boolean; readonly isWrongProposalWeight: boolean; readonly isWrongProposalLength: boolean; - readonly type: - | 'NotMember' - | 'DuplicateProposal' - | 'ProposalMissing' - | 'WrongIndex' - | 'DuplicateVote' - | 'AlreadyInitialized' - | 'TooEarly' - | 'TooManyProposals' - | 'WrongProposalWeight' - | 'WrongProposalLength'; - } - - /** @name PalletUniversalDividendError (267) */ + readonly isPrimeAccountNotMember: boolean; + readonly type: 'NotMember' | 'DuplicateProposal' | 'ProposalMissing' | 'WrongIndex' | 'DuplicateVote' | 'AlreadyInitialized' | 'TooEarly' | 'TooManyProposals' | 'WrongProposalWeight' | 'WrongProposalLength' | 'PrimeAccountNotMember'; + } + + /** @name PalletUniversalDividendError (262) */ interface PalletUniversalDividendError extends Enum { readonly isAccountNotAllowedToClaimUds: boolean; readonly type: 'AccountNotAllowedToClaimUds'; } - /** @name PalletDuniterWotError (268) */ + /** @name PalletDuniterWotError (263) */ interface PalletDuniterWotError extends Enum { - readonly isNotEnoughCertsToClaimMembership: boolean; - readonly isDistanceNotOK: boolean; - readonly isIdtyNotAllowedToRequestMembership: boolean; - readonly isIdtyNotAllowedToRenewMembership: boolean; + readonly isNotEnoughCerts: boolean; + readonly isTargetStatusInvalid: boolean; readonly isIdtyCreationPeriodNotRespected: boolean; readonly isNotEnoughReceivedCertsToCreateIdty: boolean; readonly isMaxEmittedCertsReached: boolean; - readonly isNotAllowedToChangeIdtyAddress: boolean; - readonly isNotAllowedToRemoveIdty: boolean; - readonly isIssuerCanNotEmitCert: boolean; - readonly isCertToUndefined: boolean; + readonly isIssuerNotMember: boolean; readonly isIdtyNotFound: boolean; - readonly type: - | 'NotEnoughCertsToClaimMembership' - | 'DistanceNotOK' - | 'IdtyNotAllowedToRequestMembership' - | 'IdtyNotAllowedToRenewMembership' - | 'IdtyCreationPeriodNotRespected' - | 'NotEnoughReceivedCertsToCreateIdty' - | 'MaxEmittedCertsReached' - | 'NotAllowedToChangeIdtyAddress' - | 'NotAllowedToRemoveIdty' - | 'IssuerCanNotEmitCert' - | 'CertToUndefined' - | 'IdtyNotFound'; - } - - /** @name PalletIdentityIdtyValue (269) */ + readonly isMembershipRenewalPeriodNotRespected: boolean; + readonly type: 'NotEnoughCerts' | 'TargetStatusInvalid' | 'IdtyCreationPeriodNotRespected' | 'NotEnoughReceivedCertsToCreateIdty' | 'MaxEmittedCertsReached' | 'IssuerNotMember' | 'IdtyNotFound' | 'MembershipRenewalPeriodNotRespected'; + } + + /** @name PalletIdentityIdtyValue (264) */ interface PalletIdentityIdtyValue extends Struct { readonly data: CommonRuntimeEntitiesIdtyData; readonly nextCreatableIdentityOn: u32; readonly oldOwnerKey: Option<ITuple<[AccountId32, u32]>>; readonly ownerKey: AccountId32; - readonly removableOn: u32; + readonly nextScheduled: u32; readonly status: PalletIdentityIdtyStatus; } - /** @name CommonRuntimeEntitiesIdtyData (270) */ + /** @name CommonRuntimeEntitiesIdtyData (265) */ interface CommonRuntimeEntitiesIdtyData extends Struct { readonly firstEligibleUd: u16; } - /** @name PalletIdentityIdtyStatus (273) */ + /** @name PalletIdentityIdtyStatus (268) */ interface PalletIdentityIdtyStatus extends Enum { - readonly isCreated: boolean; - readonly isConfirmedByOwner: boolean; - readonly isValidated: boolean; - readonly type: 'Created' | 'ConfirmedByOwner' | 'Validated'; + readonly isUnconfirmed: boolean; + readonly isUnvalidated: boolean; + readonly isMember: boolean; + readonly isNotMember: boolean; + readonly isRevoked: boolean; + readonly type: 'Unconfirmed' | 'Unvalidated' | 'Member' | 'NotMember' | 'Revoked'; } - /** @name PalletIdentityError (276) */ + /** @name PalletIdentityError (269) */ interface PalletIdentityError extends Enum { readonly isIdtyAlreadyConfirmed: boolean; readonly isIdtyAlreadyCreated: boolean; - readonly isIdtyAlreadyValidated: boolean; - readonly isIdtyCreationNotAllowed: boolean; readonly isIdtyIndexNotFound: boolean; readonly isIdtyNameAlreadyExist: boolean; readonly isIdtyNameInvalid: boolean; - readonly isIdtyNotConfirmedByOwner: boolean; readonly isIdtyNotFound: boolean; - readonly isIdtyNotMember: boolean; - readonly isIdtyNotValidated: boolean; - readonly isIdtyNotYetRenewable: boolean; readonly isInvalidSignature: boolean; readonly isInvalidRevocationKey: boolean; + readonly isIssuerNotMember: boolean; readonly isNotRespectIdtyCreationPeriod: boolean; - readonly isNotSameIdtyName: boolean; readonly isOwnerKeyAlreadyRecentlyChanged: boolean; readonly isOwnerKeyAlreadyUsed: boolean; readonly isProhibitedToRevertToAnOldKey: boolean; - readonly isRightAlreadyAdded: boolean; - readonly isRightNotExist: boolean; - readonly type: - | 'IdtyAlreadyConfirmed' - | 'IdtyAlreadyCreated' - | 'IdtyAlreadyValidated' - | 'IdtyCreationNotAllowed' - | 'IdtyIndexNotFound' - | 'IdtyNameAlreadyExist' - | 'IdtyNameInvalid' - | 'IdtyNotConfirmedByOwner' - | 'IdtyNotFound' - | 'IdtyNotMember' - | 'IdtyNotValidated' - | 'IdtyNotYetRenewable' - | 'InvalidSignature' - | 'InvalidRevocationKey' - | 'NotRespectIdtyCreationPeriod' - | 'NotSameIdtyName' - | 'OwnerKeyAlreadyRecentlyChanged' - | 'OwnerKeyAlreadyUsed' - | 'ProhibitedToRevertToAnOldKey' - | 'RightAlreadyAdded' - | 'RightNotExist'; - } - - /** @name SpMembershipMembershipData (277) */ + readonly isAlreadyRevoked: boolean; + readonly isCanNotRevokeUnconfirmed: boolean; + readonly isCanNotRevokeUnvalidated: boolean; + readonly isAccountNotExist: boolean; + readonly type: 'IdtyAlreadyConfirmed' | 'IdtyAlreadyCreated' | 'IdtyIndexNotFound' | 'IdtyNameAlreadyExist' | 'IdtyNameInvalid' | 'IdtyNotFound' | 'InvalidSignature' | 'InvalidRevocationKey' | 'IssuerNotMember' | 'NotRespectIdtyCreationPeriod' | 'OwnerKeyAlreadyRecentlyChanged' | 'OwnerKeyAlreadyUsed' | 'ProhibitedToRevertToAnOldKey' | 'AlreadyRevoked' | 'CanNotRevokeUnconfirmed' | 'CanNotRevokeUnvalidated' | 'AccountNotExist'; + } + + /** @name SpMembershipMembershipData (270) */ interface SpMembershipMembershipData extends Struct { readonly expireOn: u32; } - /** @name PalletMembershipError (278) */ + /** @name PalletMembershipError (271) */ interface PalletMembershipError extends Enum { - readonly isIdtyIdNotFound: boolean; - readonly isMembershipAlreadyAcquired: boolean; - readonly isMembershipAlreadyRequested: boolean; readonly isMembershipNotFound: boolean; - readonly isOriginNotAllowedToUseIdty: boolean; - readonly isMembershipRequestNotFound: boolean; - readonly type: - | 'IdtyIdNotFound' - | 'MembershipAlreadyAcquired' - | 'MembershipAlreadyRequested' - | 'MembershipNotFound' - | 'OriginNotAllowedToUseIdty' - | 'MembershipRequestNotFound'; - } - - /** @name PalletCertificationIdtyCertMeta (279) */ + readonly isAlreadyMember: boolean; + readonly type: 'MembershipNotFound' | 'AlreadyMember'; + } + + /** @name PalletCertificationIdtyCertMeta (272) */ interface PalletCertificationIdtyCertMeta extends Struct { readonly issuedCount: u32; readonly nextIssuableOn: u32; readonly receivedCount: u32; } - /** @name PalletCertificationError (280) */ + /** @name PalletCertificationError (273) */ interface PalletCertificationError extends Enum { + readonly isOriginMustHaveAnIdentity: boolean; readonly isCannotCertifySelf: boolean; readonly isIssuedTooManyCert: boolean; - readonly isIssuerNotFound: boolean; readonly isNotEnoughCertReceived: boolean; readonly isNotRespectCertPeriod: boolean; - readonly type: 'CannotCertifySelf' | 'IssuedTooManyCert' | 'IssuerNotFound' | 'NotEnoughCertReceived' | 'NotRespectCertPeriod'; + readonly isCertAlreadyExists: boolean; + readonly isCertDoesNotExist: boolean; + readonly type: 'OriginMustHaveAnIdentity' | 'CannotCertifySelf' | 'IssuedTooManyCert' | 'NotEnoughCertReceived' | 'NotRespectCertPeriod' | 'CertAlreadyExists' | 'CertDoesNotExist'; } - /** @name PalletDistanceEvaluationPool (281) */ + /** @name PalletDistanceEvaluationPool (274) */ interface PalletDistanceEvaluationPool extends Struct { readonly evaluations: Vec<ITuple<[u32, PalletDistanceMedianMedianAcc]>>; readonly evaluators: BTreeSet<AccountId32>; } - /** @name PalletDistanceMedianMedianAcc (284) */ + /** @name PalletDistanceMedianMedianAcc (277) */ interface PalletDistanceMedianMedianAcc extends Struct { readonly samples: Vec<ITuple<[Perbill, u32]>>; readonly medianIndex: Option<u32>; readonly medianSubindex: u32; } - /** @name PalletDistanceError (292) */ + /** @name PalletDistanceError (284) */ interface PalletDistanceError extends Enum { readonly isAlreadyInEvaluation: boolean; - readonly isCannotReserve: boolean; - readonly isManyEvaluationsByAuthor: boolean; - readonly isManyEvaluationsInBlock: boolean; + readonly isTooManyEvaluationsByAuthor: boolean; + readonly isTooManyEvaluationsInBlock: boolean; readonly isNoAuthor: boolean; - readonly isNoIdentity: boolean; - readonly isNonEligibleForEvaluation: boolean; + readonly isCallerHasNoIdentity: boolean; + readonly isCallerIdentityNotFound: boolean; + readonly isCallerNotMember: boolean; + readonly isCallerStatusInvalid: boolean; + readonly isTargetIdentityNotFound: boolean; readonly isQueueFull: boolean; readonly isTooManyEvaluators: boolean; readonly isWrongResultLength: boolean; - readonly type: - | 'AlreadyInEvaluation' - | 'CannotReserve' - | 'ManyEvaluationsByAuthor' - | 'ManyEvaluationsInBlock' - | 'NoAuthor' - | 'NoIdentity' - | 'NonEligibleForEvaluation' - | 'QueueFull' - | 'TooManyEvaluators' - | 'WrongResultLength'; - } - - /** @name PalletAtomicSwapError (297) */ + readonly isTargetMustBeUnvalidated: boolean; + readonly type: 'AlreadyInEvaluation' | 'TooManyEvaluationsByAuthor' | 'TooManyEvaluationsInBlock' | 'NoAuthor' | 'CallerHasNoIdentity' | 'CallerIdentityNotFound' | 'CallerNotMember' | 'CallerStatusInvalid' | 'TargetIdentityNotFound' | 'QueueFull' | 'TooManyEvaluators' | 'WrongResultLength' | 'TargetMustBeUnvalidated'; + } + + /** @name PalletAtomicSwapError (286) */ interface PalletAtomicSwapError extends Enum { readonly isAlreadyExist: boolean; readonly isInvalidProof: boolean; @@ -2497,18 +2453,10 @@ declare module '@polkadot/types/lookup' { readonly isNotExist: boolean; readonly isClaimActionMismatch: boolean; readonly isDurationNotPassed: boolean; - readonly type: - | 'AlreadyExist' - | 'InvalidProof' - | 'ProofTooLarge' - | 'SourceMismatch' - | 'AlreadyClaimed' - | 'NotExist' - | 'ClaimActionMismatch' - | 'DurationNotPassed'; - } - - /** @name PalletMultisigMultisig (298) */ + readonly type: 'AlreadyExist' | 'InvalidProof' | 'ProofTooLarge' | 'SourceMismatch' | 'AlreadyClaimed' | 'NotExist' | 'ClaimActionMismatch' | 'DurationNotPassed'; + } + + /** @name PalletMultisigMultisig (287) */ interface PalletMultisigMultisig extends Struct { readonly when: PalletMultisigTimepoint; readonly deposit: u64; @@ -2516,7 +2464,7 @@ declare module '@polkadot/types/lookup' { readonly approvals: Vec<AccountId32>; } - /** @name PalletMultisigError (300) */ + /** @name PalletMultisigError (289) */ interface PalletMultisigError extends Enum { readonly isMinimumThreshold: boolean; readonly isAlreadyApproved: boolean; @@ -2532,50 +2480,36 @@ declare module '@polkadot/types/lookup' { readonly isUnexpectedTimepoint: boolean; readonly isMaxWeightTooLow: boolean; readonly isAlreadyStored: boolean; - readonly type: - | 'MinimumThreshold' - | 'AlreadyApproved' - | 'NoApprovalsNeeded' - | 'TooFewSignatories' - | 'TooManySignatories' - | 'SignatoriesOutOfOrder' - | 'SenderInSignatories' - | 'NotFound' - | 'NotOwner' - | 'NoTimepoint' - | 'WrongTimepoint' - | 'UnexpectedTimepoint' - | 'MaxWeightTooLow' - | 'AlreadyStored'; - } - - /** @name PalletProvideRandomnessRequest (302) */ + readonly type: 'MinimumThreshold' | 'AlreadyApproved' | 'NoApprovalsNeeded' | 'TooFewSignatories' | 'TooManySignatories' | 'SignatoriesOutOfOrder' | 'SenderInSignatories' | 'NotFound' | 'NotOwner' | 'NoTimepoint' | 'WrongTimepoint' | 'UnexpectedTimepoint' | 'MaxWeightTooLow' | 'AlreadyStored'; + } + + /** @name PalletProvideRandomnessRequest (291) */ interface PalletProvideRandomnessRequest extends Struct { readonly requestId: u64; readonly salt: H256; } - /** @name PalletProvideRandomnessError (303) */ + /** @name PalletProvideRandomnessError (292) */ interface PalletProvideRandomnessError extends Enum { - readonly isFullQueue: boolean; - readonly type: 'FullQueue'; + readonly isQueueFull: boolean; + readonly type: 'QueueFull'; } - /** @name PalletProxyProxyDefinition (306) */ + /** @name PalletProxyProxyDefinition (295) */ interface PalletProxyProxyDefinition extends Struct { readonly delegate: AccountId32; readonly proxyType: GdevRuntimeProxyType; readonly delay: u32; } - /** @name PalletProxyAnnouncement (310) */ + /** @name PalletProxyAnnouncement (299) */ interface PalletProxyAnnouncement extends Struct { readonly real: AccountId32; readonly callHash: H256; readonly height: u32; } - /** @name PalletProxyError (312) */ + /** @name PalletProxyError (301) */ interface PalletProxyError extends Enum { readonly isTooMany: boolean; readonly isNotFound: boolean; @@ -2588,13 +2522,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'TooMany' | 'NotFound' | 'NotProxy' | 'Unproxyable' | 'Duplicate' | 'NoPermission' | 'Unannounced' | 'NoSelfProxy'; } - /** @name PalletUtilityError (313) */ + /** @name PalletUtilityError (302) */ interface PalletUtilityError extends Enum { readonly isTooManyCalls: boolean; readonly type: 'TooManyCalls'; } - /** @name PalletTreasuryProposal (314) */ + /** @name PalletTreasuryProposal (303) */ interface PalletTreasuryProposal extends Struct { readonly proposer: AccountId32; readonly value: u64; @@ -2602,43 +2536,72 @@ declare module '@polkadot/types/lookup' { readonly bond: u64; } - /** @name FrameSupportPalletId (318) */ + /** @name PalletTreasurySpendStatus (305) */ + interface PalletTreasurySpendStatus extends Struct { + readonly assetKind: Null; + readonly amount: u64; + readonly beneficiary: AccountId32; + readonly validFrom: u32; + readonly expireAt: u32; + readonly status: PalletTreasuryPaymentState; + } + + /** @name PalletTreasuryPaymentState (306) */ + interface PalletTreasuryPaymentState extends Enum { + readonly isPending: boolean; + readonly isAttempted: boolean; + readonly asAttempted: { + readonly id: Null; + } & Struct; + readonly isFailed: boolean; + readonly type: 'Pending' | 'Attempted' | 'Failed'; + } + + /** @name FrameSupportPalletId (309) */ interface FrameSupportPalletId extends U8aFixed {} - /** @name PalletTreasuryError (319) */ + /** @name PalletTreasuryError (310) */ interface PalletTreasuryError extends Enum { readonly isInsufficientProposersBalance: boolean; readonly isInvalidIndex: boolean; readonly isTooManyApprovals: boolean; readonly isInsufficientPermission: boolean; readonly isProposalNotApproved: boolean; - readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved'; + readonly isFailedToConvertBalance: boolean; + readonly isSpendExpired: boolean; + readonly isEarlyPayout: boolean; + readonly isAlreadyAttempted: boolean; + readonly isPayoutError: boolean; + readonly isNotAttempted: boolean; + readonly isInconclusive: boolean; + readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved' | 'FailedToConvertBalance' | 'SpendExpired' | 'EarlyPayout' | 'AlreadyAttempted' | 'PayoutError' | 'NotAttempted' | 'Inconclusive'; } - /** @name FrameSystemExtensionsCheckNonZeroSender (322) */ + /** @name FrameSystemExtensionsCheckNonZeroSender (313) */ type FrameSystemExtensionsCheckNonZeroSender = Null; - /** @name FrameSystemExtensionsCheckSpecVersion (323) */ + /** @name FrameSystemExtensionsCheckSpecVersion (314) */ type FrameSystemExtensionsCheckSpecVersion = Null; - /** @name FrameSystemExtensionsCheckTxVersion (324) */ + /** @name FrameSystemExtensionsCheckTxVersion (315) */ type FrameSystemExtensionsCheckTxVersion = Null; - /** @name FrameSystemExtensionsCheckGenesis (325) */ + /** @name FrameSystemExtensionsCheckGenesis (316) */ type FrameSystemExtensionsCheckGenesis = Null; - /** @name PalletOneshotAccountCheckNonce (328) */ + /** @name PalletOneshotAccountCheckNonce (319) */ interface PalletOneshotAccountCheckNonce extends FrameSystemExtensionsCheckNonce {} - /** @name GdevRuntimeRuntime (329) */ + /** @name GdevRuntimeRuntime (320) */ type GdevRuntimeRuntime = Null; - /** @name FrameSystemExtensionsCheckNonce (330) */ + /** @name FrameSystemExtensionsCheckNonce (321) */ interface FrameSystemExtensionsCheckNonce extends Compact<u32> {} - /** @name FrameSystemExtensionsCheckWeight (331) */ + /** @name FrameSystemExtensionsCheckWeight (322) */ type FrameSystemExtensionsCheckWeight = Null; - /** @name PalletTransactionPaymentChargeTransactionPayment (332) */ + /** @name PalletTransactionPaymentChargeTransactionPayment (323) */ interface PalletTransactionPaymentChargeTransactionPayment extends Compact<u64> {} + } // declare module diff --git a/src/interfaces/types.json b/src/interfaces/types.json index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..9ad43e16b7a29087d9ea33d6b2bb19785d2fb803 100644 --- a/src/interfaces/types.json +++ b/src/interfaces/types.json @@ -0,0 +1 @@ +{"jsonrpc":"2.0","result":"0x6d6574610e1105000c1c73705f636f72651863727970746f2c4163636f756e7449643332000004000401205b75383b2033325d0000040000032000000008000800000503000c08306672616d655f73797374656d2c4163636f756e74496e666f08144e6f6e636501102c4163636f756e74446174610114001401146e6f6e63651001144e6f6e6365000124636f6e73756d657273100120526566436f756e7400012470726f766964657273100120526566436f756e7400012c73756666696369656e7473100120526566436f756e740001106461746114012c4163636f756e74446174610000100000050500140c5870616c6c65745f64756e697465725f6163636f756e741474797065732c4163636f756e7444617461081c42616c616e63650118184964747949640110001001106672656518011c42616c616e6365000120726573657276656418011c42616c616e63650001286665655f66726f7a656e18011c42616c616e636500012c6c696e6b65645f696474791c01384f7074696f6e3c4964747949643e00001800000506001c04184f7074696f6e04045401100108104e6f6e6500000010536f6d650400100000010000200c346672616d655f737570706f7274206469737061746368405065724469737061746368436c6173730404540124000c01186e6f726d616c2401045400012c6f7065726174696f6e616c240104540001246d616e6461746f7279240104540000240c2873705f77656967687473247765696768745f76321857656967687400000801207265665f74696d6528010c75363400012870726f6f665f73697a6528010c75363400002800000618002c083c7072696d69746976655f74797065731048323536000004000401205b75383b2033325d000030000002080034102873705f72756e74696d651c67656e65726963186469676573741844696765737400000401106c6f677338013c5665633c4469676573744974656d3e0000380000023c003c102873705f72756e74696d651c67656e6572696318646967657374284469676573744974656d0001142850726552756e74696d650800400144436f6e73656e737573456e67696e654964000030011c5665633c75383e00060024436f6e73656e7375730800400144436f6e73656e737573456e67696e654964000030011c5665633c75383e000400105365616c0800400144436f6e73656e737573456e67696e654964000030011c5665633c75383e000500144f74686572040030011c5665633c75383e0000006452756e74696d65456e7669726f6e6d656e745570646174656400080000400000030400000008004400000248004808306672616d655f73797374656d2c4576656e745265636f7264080445014c0454012c000c011470686173655901011450686173650001146576656e744c010445000118746f706963735d0101185665633c543e00004c0830676465765f72756e74696d653052756e74696d654576656e740001701853797374656d04005001706672616d655f73797374656d3a3a4576656e743c52756e74696d653e0000001c4163636f756e74040078019870616c6c65745f64756e697465725f6163636f756e743a3a4576656e743c52756e74696d653e000100245363686564756c657204007c018070616c6c65745f7363686564756c65723a3a4576656e743c52756e74696d653e0002002042616c616e636573040090017c70616c6c65745f62616c616e6365733a3a4576656e743c52756e74696d653e000600485472616e73616374696f6e5061796d656e7404009801a870616c6c65745f7472616e73616374696f6e5f7061796d656e743a3a4576656e743c52756e74696d653e002000384f6e6573686f744163636f756e7404009c019870616c6c65745f6f6e6573686f745f6163636f756e743a3a4576656e743c52756e74696d653e0007001451756f74610400a8017070616c6c65745f71756f74613a3a4576656e743c52756e74696d653e00420030536d6974684d656d626572730400ac019070616c6c65745f736d6974685f6d656d626572733a3a4576656e743c52756e74696d653e000a0040417574686f726974794d656d626572730400b001a070616c6c65745f617574686f726974795f6d656d626572733a3a4576656e743c52756e74696d653e000b00204f6666656e6365730400b8015870616c6c65745f6f6666656e6365733a3a4576656e74000d001c53657373696f6e0400c0015470616c6c65745f73657373696f6e3a3a4576656e74000f001c4772616e6470610400c4015470616c6c65745f6772616e6470613a3a4576656e7400100020496d4f6e6c696e650400d8018070616c6c65745f696d5f6f6e6c696e653a3a4576656e743c52756e74696d653e001100105375646f0400f0016c70616c6c65745f7375646f3a3a4576656e743c52756e74696d653e00140034557067726164654f726967696e0400f8017070616c6c65745f757067726164655f6f726967696e3a3a4576656e7400150020507265696d6167650400fc017c70616c6c65745f707265696d6167653a3a4576656e743c52756e74696d653e00160048546563686e6963616c436f6d6d69747465650400010101fc70616c6c65745f636f6c6c6563746976653a3a4576656e743c52756e74696d652c2070616c6c65745f636f6c6c6563746976653a3a496e7374616e6365323e00170044556e6976657273616c4469766964656e640400050101a470616c6c65745f756e6976657273616c5f6469766964656e643a3a4576656e743c52756e74696d653e001e00204964656e7469747904000d01017c70616c6c65745f6964656e746974793a3a4576656e743c52756e74696d653e002900284d656d6265727368697004001d01018470616c6c65745f6d656d626572736869703a3a4576656e743c52756e74696d653e002a003443657274696669636174696f6e04002501019070616c6c65745f63657274696669636174696f6e3a3a4576656e743c52756e74696d653e002b002044697374616e636504002901017c70616c6c65745f64697374616e63653a3a4576656e743c52756e74696d653e002c002841746f6d69635377617004002d01018870616c6c65745f61746f6d69635f737761703a3a4576656e743c52756e74696d653e003200204d756c746973696704003901017c70616c6c65745f6d756c74697369673a3a4576656e743c52756e74696d653e0033004450726f7669646552616e646f6d6e65737304004101018070616c6c65745f70726f766964655f72616e646f6d6e6573733a3a4576656e740034001450726f787904004901017070616c6c65745f70726f78793a3a4576656e743c52756e74696d653e0035001c5574696c69747904005101015470616c6c65745f7574696c6974793a3a4576656e7400360020547265617375727904005501017c70616c6c65745f74726561737572793a3a4576656e743c52756e74696d653e00370000500c306672616d655f73797374656d1870616c6c6574144576656e7404045400011c4045787472696e7369635375636365737304013464697370617463685f696e666f5401304469737061746368496e666f00000490416e2065787472696e73696320636f6d706c65746564207375636365737366756c6c792e3c45787472696e7369634661696c656408013864697370617463685f6572726f7260013444697370617463684572726f7200013464697370617463685f696e666f5401304469737061746368496e666f00010450416e2065787472696e736963206661696c65642e2c436f64655570646174656400020450603a636f6465602077617320757064617465642e284e65774163636f756e7404011c6163636f756e74000130543a3a4163636f756e7449640003046841206e6577206163636f756e742077617320637265617465642e344b696c6c65644163636f756e7404011c6163636f756e74000130543a3a4163636f756e74496400040458416e206163636f756e7420776173207265617065642e2052656d61726b656408011873656e646572000130543a3a4163636f756e744964000110686173682c011c543a3a48617368000504704f6e206f6e2d636861696e2072656d61726b2068617070656e65642e4455706772616465417574686f72697a6564080124636f64655f686173682c011c543a3a48617368000134636865636b5f76657273696f6e740110626f6f6c00060468416e20757067726164652077617320617574686f72697a65642e04704576656e7420666f72207468652053797374656d2070616c6c65742e540c346672616d655f737570706f7274206469737061746368304469737061746368496e666f00000c0118776569676874240118576569676874000114636c6173735801344469737061746368436c617373000120706179735f6665655c0110506179730000580c346672616d655f737570706f7274206469737061746368344469737061746368436c61737300010c184e6f726d616c0000002c4f7065726174696f6e616c000100244d616e6461746f7279000200005c0c346672616d655f737570706f727420646973706174636810506179730001080c596573000000084e6f0001000060082873705f72756e74696d653444697370617463684572726f72000138144f746865720000003043616e6e6f744c6f6f6b7570000100244261644f726967696e000200184d6f64756c65040064012c4d6f64756c654572726f7200030044436f6e73756d657252656d61696e696e670004002c4e6f50726f76696465727300050040546f6f4d616e79436f6e73756d65727300060014546f6b656e0400680128546f6b656e4572726f720007002841726974686d6574696304006c013c41726974686d657469634572726f72000800345472616e73616374696f6e616c04007001485472616e73616374696f6e616c4572726f7200090024457868617573746564000a0028436f7272757074696f6e000b002c556e617661696c61626c65000c0038526f6f744e6f74416c6c6f776564000d000064082873705f72756e74696d652c4d6f64756c654572726f720000080114696e64657808010875380001146572726f7240018c5b75383b204d41585f4d4f44554c455f4552524f525f454e434f4445445f53495a455d000068082873705f72756e74696d6528546f6b656e4572726f720001284046756e6473556e617661696c61626c65000000304f6e6c7950726f76696465720001003042656c6f774d696e696d756d0002003043616e6e6f7443726561746500030030556e6b6e6f776e41737365740004001846726f7a656e0005002c556e737570706f727465640006004043616e6e6f74437265617465486f6c64000700344e6f74457870656e6461626c650008001c426c6f636b6564000900006c083473705f61726974686d657469633c41726974686d657469634572726f7200010c24556e646572666c6f77000000204f766572666c6f77000100384469766973696f6e42795a65726f0002000070082873705f72756e74696d65485472616e73616374696f6e616c4572726f72000108304c696d6974526561636865640000001c4e6f4c6179657200010000740000050000780c5870616c6c65745f64756e697465725f6163636f756e741870616c6c6574144576656e74040454000108344163636f756e744c696e6b656408010c77686f000130543a3a4163636f756e7449640001206964656e7469747910012c4964747949644f663c543e000004686163636f756e74206c696e6b656420746f206964656e746974793c4163636f756e74556e6c696e6b65640400000130543a3a4163636f756e744964000104ac546865206163636f756e742077617320756e6c696e6b65642066726f6d20697473206964656e746974792e047c54686520604576656e746020656e756d206f6620746869732070616c6c65747c0c4070616c6c65745f7363686564756c65721870616c6c6574144576656e74040454000118245363686564756c65640801107768656e100144426c6f636b4e756d626572466f723c543e000114696e64657810010c753332000004505363686564756c656420736f6d65207461736b2e2043616e63656c65640801107768656e100144426c6f636b4e756d626572466f723c543e000114696e64657810010c7533320001044c43616e63656c656420736f6d65207461736b2e28446973706174636865640c01107461736b8001785461736b416464726573733c426c6f636b4e756d626572466f723c543e3e00010869648401404f7074696f6e3c5461736b4e616d653e000118726573756c748801384469737061746368526573756c74000204544469737061746368656420736f6d65207461736b2e3c43616c6c556e617661696c61626c650801107461736b8001785461736b416464726573733c426c6f636b4e756d626572466f723c543e3e00010869648401404f7074696f6e3c5461736b4e616d653e00030429015468652063616c6c20666f72207468652070726f7669646564206861736820776173206e6f7420666f756e6420736f20746865207461736b20686173206265656e2061626f727465642e38506572696f6469634661696c65640801107461736b8001785461736b416464726573733c426c6f636b4e756d626572466f723c543e3e00010869648401404f7074696f6e3c5461736b4e616d653e0004043d0154686520676976656e207461736b2077617320756e61626c6520746f2062652072656e657765642073696e636520746865206167656e64612069732066756c6c206174207468617420626c6f636b2e545065726d616e656e746c794f7665727765696768740801107461736b8001785461736b416464726573733c426c6f636b4e756d626572466f723c543e3e00010869648401404f7074696f6e3c5461736b4e616d653e000504f054686520676976656e207461736b2063616e206e657665722062652065786563757465642073696e6365206974206973206f7665727765696768742e04304576656e747320747970652e80000004081010008404184f7074696f6e04045401040108104e6f6e6500000010536f6d650400040000010000880418526573756c74080454018c044501600108084f6b04008c000000000c45727204006000000100008c0000040000900c3c70616c6c65745f62616c616e6365731870616c6c6574144576656e740804540004490001541c456e646f77656408011c6163636f756e74000130543a3a4163636f756e744964000130667265655f62616c616e6365180128543a3a42616c616e6365000004b8416e206163636f756e74207761732063726561746564207769746820736f6d6520667265652062616c616e63652e20447573744c6f737408011c6163636f756e74000130543a3a4163636f756e744964000118616d6f756e74180128543a3a42616c616e63650001083d01416e206163636f756e74207761732072656d6f7665642077686f73652062616c616e636520776173206e6f6e2d7a65726f206275742062656c6f77204578697374656e7469616c4465706f7369742c78726573756c74696e6720696e20616e206f75747269676874206c6f73732e205472616e736665720c011066726f6d000130543a3a4163636f756e744964000108746f000130543a3a4163636f756e744964000118616d6f756e74180128543a3a42616c616e63650002044c5472616e73666572207375636365656465642e2842616c616e636553657408010c77686f000130543a3a4163636f756e74496400011066726565180128543a3a42616c616e636500030468412062616c616e6365207761732073657420627920726f6f742e20526573657276656408010c77686f000130543a3a4163636f756e744964000118616d6f756e74180128543a3a42616c616e6365000404e0536f6d652062616c616e63652077617320726573657276656420286d6f7665642066726f6d206672656520746f207265736572766564292e28556e726573657276656408010c77686f000130543a3a4163636f756e744964000118616d6f756e74180128543a3a42616c616e6365000504e8536f6d652062616c616e63652077617320756e726573657276656420286d6f7665642066726f6d20726573657276656420746f2066726565292e4852657365727665526570617472696174656410011066726f6d000130543a3a4163636f756e744964000108746f000130543a3a4163636f756e744964000118616d6f756e74180128543a3a42616c616e636500014864657374696e6174696f6e5f7374617475739401185374617475730006084d01536f6d652062616c616e636520776173206d6f7665642066726f6d207468652072657365727665206f6620746865206669727374206163636f756e7420746f20746865207365636f6e64206163636f756e742ed846696e616c20617267756d656e7420696e64696361746573207468652064657374696e6174696f6e2062616c616e636520747970652e1c4465706f73697408010c77686f000130543a3a4163636f756e744964000118616d6f756e74180128543a3a42616c616e6365000704d8536f6d6520616d6f756e7420776173206465706f73697465642028652e672e20666f72207472616e73616374696f6e2066656573292e20576974686472617708010c77686f000130543a3a4163636f756e744964000118616d6f756e74180128543a3a42616c616e63650008041d01536f6d6520616d6f756e74207761732077697468647261776e2066726f6d20746865206163636f756e742028652e672e20666f72207472616e73616374696f6e2066656573292e1c536c617368656408010c77686f000130543a3a4163636f756e744964000118616d6f756e74180128543a3a42616c616e63650009040101536f6d6520616d6f756e74207761732072656d6f7665642066726f6d20746865206163636f756e742028652e672e20666f72206d69736265686176696f72292e184d696e74656408010c77686f000130543a3a4163636f756e744964000118616d6f756e74180128543a3a42616c616e6365000a049c536f6d6520616d6f756e7420776173206d696e74656420696e746f20616e206163636f756e742e184275726e656408010c77686f000130543a3a4163636f756e744964000118616d6f756e74180128543a3a42616c616e6365000b049c536f6d6520616d6f756e7420776173206275726e65642066726f6d20616e206163636f756e742e2453757370656e64656408010c77686f000130543a3a4163636f756e744964000118616d6f756e74180128543a3a42616c616e6365000c041501536f6d6520616d6f756e74207761732073757370656e6465642066726f6d20616e206163636f756e74202869742063616e20626520726573746f726564206c61746572292e20526573746f72656408010c77686f000130543a3a4163636f756e744964000118616d6f756e74180128543a3a42616c616e6365000d04a4536f6d6520616d6f756e742077617320726573746f72656420696e746f20616e206163636f756e742e20557067726164656404010c77686f000130543a3a4163636f756e744964000e0460416e206163636f756e74207761732075706772616465642e18497373756564040118616d6f756e74180128543a3a42616c616e6365000f042d01546f74616c2069737375616e63652077617320696e637265617365642062792060616d6f756e74602c206372656174696e6720612063726564697420746f2062652062616c616e6365642e2452657363696e646564040118616d6f756e74180128543a3a42616c616e63650010042501546f74616c2069737375616e636520776173206465637265617365642062792060616d6f756e74602c206372656174696e672061206465627420746f2062652062616c616e6365642e184c6f636b656408010c77686f000130543a3a4163636f756e744964000118616d6f756e74180128543a3a42616c616e636500110460536f6d652062616c616e636520776173206c6f636b65642e20556e6c6f636b656408010c77686f000130543a3a4163636f756e744964000118616d6f756e74180128543a3a42616c616e636500120468536f6d652062616c616e63652077617320756e6c6f636b65642e1846726f7a656e08010c77686f000130543a3a4163636f756e744964000118616d6f756e74180128543a3a42616c616e636500130460536f6d652062616c616e6365207761732066726f7a656e2e1854686177656408010c77686f000130543a3a4163636f756e744964000118616d6f756e74180128543a3a42616c616e636500140460536f6d652062616c616e636520776173207468617765642e047c54686520604576656e746020656e756d206f6620746869732070616c6c65749414346672616d655f737570706f72741874726169747318746f6b656e73106d6973633442616c616e6365537461747573000108104672656500000020526573657276656400010000980c6870616c6c65745f7472616e73616374696f6e5f7061796d656e741870616c6c6574144576656e74040454000104485472616e73616374696f6e466565506169640c010c77686f000130543a3a4163636f756e74496400012861637475616c5f66656518013042616c616e63654f663c543e00010c74697018013042616c616e63654f663c543e000008590141207472616e73616374696f6e20666565206061637475616c5f666565602c206f662077686963682060746970602077617320616464656420746f20746865206d696e696d756d20696e636c7573696f6e206665652c5c686173206265656e2070616964206279206077686f602e047c54686520604576656e746020656e756d206f6620746869732070616c6c65749c0c5870616c6c65745f6f6e6573686f745f6163636f756e741870616c6c6574144576656e7404045400010c544f6e6573686f744163636f756e74437265617465640c011c6163636f756e74000130543a3a4163636f756e74496400011c62616c616e63651801c03c543a3a43757272656e63792061732043757272656e63793c543a3a4163636f756e7449643e3e3a3a42616c616e636500011c63726561746f72000130543a3a4163636f756e7449640000047841206f6e6573686f74206163636f756e742077617320637265617465642e584f6e6573686f744163636f756e74436f6e73756d65640c011c6163636f756e74000130543a3a4163636f756e7449640001146465737431a001010128543a3a4163636f756e7449642c3c543a3a43757272656e63792061732043757272656e63793c543a3a4163636f756e7449643e3e3a3a42616c616e63652c290001146465737432a40129014f7074696f6e3c0a28543a3a4163636f756e7449642c3c543a3a43757272656e63792061732043757272656e63793c543a3a4163636f756e7449643e3e3a3a42616c616e63652c290a3e0001047c41206f6e6573686f74206163636f756e742077617320636f6e73756d65642e20576974686472617708011c6163636f756e74000130543a3a4163636f756e74496400011c62616c616e63651801c03c543a3a43757272656e63792061732043757272656e63793c543a3a4163636f756e7449643e3e3a3a42616c616e6365000204bc41207769746864726177616c20776173206578656375746564206f6e2061206f6e6573686f74206163636f756e742e047c54686520604576656e746020656e756d206f6620746869732070616c6c6574a000000408001800a404184f7074696f6e04045401a00108104e6f6e6500000010536f6d650400a00000010000a80c3070616c6c65745f71756f74611870616c6c6574144576656e7404045400011420526566756e6465640c010c77686f000130543a3a4163636f756e7449640001206964656e746974791001244964747949643c543e000118616d6f756e7418013042616c616e63654f663c543e0000047c5472616e73616374696f6e2066656573207765726520726566756e6465642e384e6f51756f7461466f724964747904001001244964747949643c543e0001048c4e6f206d6f72652071756f746120617661696c61626c6520666f7220726566756e642e5c4e6f4d6f726543757272656e6379466f72526566756e64000208984e6f206d6f72652063757272656e637920617661696c61626c6520666f7220726566756e642e450154686973207363656e6172696f2073686f756c64206e65766572206f636375722069662074686520666565732061726520696e74656e64656420666f722074686520726566756e64206163636f756e742e30526566756e644661696c65640400000130543a3a4163636f756e7449640003085854686520726566756e6420686173206661696c65642eed0154686973207363656e6172696f2073686f756c6420726172656c79206f636375722c20657863657074207768656e20746865206163636f756e74207761732064657374726f79656420696e2074686520696e746572696d206265747765656e20746865207265717565737420616e642074686520726566756e642e3c526566756e64517565756546756c6c00040458526566756e64207175657565207761732066756c6c2e047c54686520604576656e746020656e756d206f6620746869732070616c6c6574ac0c5070616c6c65745f736d6974685f6d656d626572731870616c6c6574144576656e7404045400011838496e7669746174696f6e53656e740801207265636569766572100130543a3a49647479496e646578000118697373756572100130543a3a49647479496e646578000004c0416e206964656e74697479206973206265696e6720696e69766974656420746f206265636f6d65206120736d6974682e48496e7669746174696f6e4163636570746564040128696474795f696e646578100130543a3a49647479496e6465780001048454686520696e7669746174696f6e20686173206265656e2061636365707465642e38536d6974684365727441646465640801207265636569766572100130543a3a49647479496e646578000118697373756572100130543a3a49647479496e6465780002045843657274696669636174696f6e20726563656976656440536d6974684365727452656d6f7665640801207265636569766572100130543a3a49647479496e646578000118697373756572100130543a3a49647479496e6465780003044843657274696669636174696f6e206c6f737450536d6974684d656d626572736869704164646564040128696474795f696e646578100130543a3a49647479496e6465780004045d014120736d69746820676174686572656420656e6f7567682063657274696669636174696f6e7320746f206265636f6d6520616e20617574686f72697479202863616e2063616c6c2060676f5f6f6e6c696e65282960292e58536d6974684d656d6265727368697052656d6f766564040128696474795f696e646578100130543a3a49647479496e646578000504b44120736d69746820686173206265656e2072656d6f7665642066726f6d2074686520736d69746873207365742e04304576656e747320747970652eb00c6070616c6c65745f617574686f726974795f6d656d626572731870616c6c6574144576656e7404045400011c4c496e636f6d696e67417574686f72697469657304011c6d656d62657273b401405665633c543a3a4d656d62657249643e00000435014c697374206f66206d656d62657273207363686564756c656420746f206a6f696e2074686520736574206f6620617574686f72697469657320696e20746865206e6578742073657373696f6e2e4c4f7574676f696e67417574686f72697469657304011c6d656d62657273b401405665633c543a3a4d656d62657249643e0001040d014c697374206f66206d656d62657273206c656176696e672074686520736574206f6620617574686f72697469657320696e20746865206e6578742073657373696f6e2e3c4d656d626572476f4f66666c696e650401186d656d62657210012c543a3a4d656d6265724964000204e441206d656d6265722077696c6c206c656176652074686520736574206f6620617574686f72697469657320696e20322073657373696f6e732e384d656d626572476f4f6e6c696e650401186d656d62657210012c543a3a4d656d6265724964000304e041206d656d6265722077696c6c206a6f696e2074686520736574206f6620617574686f72697469657320696e20322073657373696f6e732e344d656d62657252656d6f7665640401186d656d62657210012c543a3a4d656d62657249640004048d0141206d656d6265722c2077686f206e6f206c6f6e6765722068617320617574686f72697479207269676874732c2077696c6c2062652072656d6f7665642066726f6d2074686520617574686f726974792073657420696e20322073657373696f6e732e684d656d62657252656d6f76656446726f6d426c61636b6c6973740401186d656d62657210012c543a3a4d656d6265724964000504b441206d656d62657220686173206265656e2072656d6f7665642066726f6d2074686520626c61636b6c6973742e584d656d6265724164646564546f426c61636b6c6973740401186d656d62657210012c543a3a4d656d62657249640006047841206d656d62657220686173206265656e20626c61636b6c69737465642e047c54686520604576656e746020656e756d206f6620746869732070616c6c6574b40000021000b80c3c70616c6c65745f6f6666656e6365731870616c6c6574144576656e740001041c4f6666656e63650801106b696e64bc01104b696e6400012074696d65736c6f743001384f706171756554696d65536c6f74000004a901416e206f6666656e736520776173207265706f7274656420647572696e6720746865207370656369666965642074696d6520736c6f742e2054686973206576656e74206973206e6f74206465706f736974656420666f72206475706c696361746520736c61736865732e04304576656e747320747970652ebc000003100000000800c00c3870616c6c65745f73657373696f6e1870616c6c6574144576656e74000104284e657753657373696f6e04013473657373696f6e5f696e64657810013053657373696f6e496e64657800000839014e65772073657373696f6e206861732068617070656e65642e204e6f746520746861742074686520617267756d656e74206973207468652073657373696f6e20696e6465782c206e6f74207468659c626c6f636b206e756d626572206173207468652074797065206d6967687420737567676573742e047c54686520604576656e746020656e756d206f6620746869732070616c6c6574c40c3870616c6c65745f6772616e6470611870616c6c6574144576656e7400010c384e6577417574686f726974696573040134617574686f726974795f736574c80134417574686f726974794c6973740000048c4e657720617574686f726974792073657420686173206265656e206170706c6965642e185061757365640001049843757272656e7420617574686f726974792073657420686173206265656e207061757365642e1c526573756d65640002049c43757272656e7420617574686f726974792073657420686173206265656e20726573756d65642e047c54686520604576656e746020656e756d206f6620746869732070616c6c6574c8000002cc00cc00000408d01800d00c5073705f636f6e73656e7375735f6772616e6470610c617070185075626c696300000400d4013c656432353531393a3a5075626c69630000d40c1c73705f636f72651c65643235353139185075626c6963000004000401205b75383b2033325d0000d80c4070616c6c65745f696d5f6f6e6c696e651870616c6c6574144576656e7404045400010c444865617274626561745265636569766564040130617574686f726974795f6964dc0138543a3a417574686f726974794964000004c041206e657720686561727462656174207761732072656365697665642066726f6d2060417574686f726974794964602e1c416c6c476f6f64000104d041742074686520656e64206f66207468652073657373696f6e2c206e6f206f6666656e63652077617320636f6d6d69747465642e2c536f6d654f66666c696e6504011c6f66666c696e65e4016c5665633c4964656e74696669636174696f6e5475706c653c543e3e000204290141742074686520656e64206f66207468652073657373696f6e2c206174206c65617374206f6e652076616c696461746f722077617320666f756e6420746f206265206f66666c696e652e047c54686520604576656e746020656e756d206f6620746869732070616c6c6574dc104070616c6c65745f696d5f6f6e6c696e651c737232353531392c6170705f73723235353139185075626c696300000400e0013c737232353531393a3a5075626c69630000e00c1c73705f636f72651c73723235353139185075626c6963000004000401205b75383b2033325d0000e4000002e800e80000040800ec00ec0c38636f6d6d6f6e5f72756e74696d6520656e7469746965736c56616c696461746f7246756c6c4964656e74696669636174696f6e00000000f00c2c70616c6c65745f7375646f1870616c6c6574144576656e7404045400011014537564696404012c7375646f5f726573756c748801384469737061746368526573756c7404b454686520726573756c74206f66207468652063616c6c206d61646520627920746865207375646f20757365722e00047041207375646f2063616c6c206a75737420746f6f6b20706c6163652e284b65794368616e67656408010c6f6c64f401504f7074696f6e3c543a3a4163636f756e7449643e04b4546865206f6c64207375646f206b657920286966206f6e65207761732070726576696f75736c7920736574292e010c6e6577000130543a3a4163636f756e7449640488546865206e6577207375646f206b657920286966206f6e652077617320736574292e010478546865207375646f206b657920686173206265656e20757064617465642e284b657952656d6f76656400020480546865206b657920776173207065726d616e656e746c792072656d6f7665642e285375646f4173446f6e6504012c7375646f5f726573756c748801384469737061746368526573756c7404b454686520726573756c74206f66207468652063616c6c206d61646520627920746865207375646f20757365722e0304c841205b7375646f5f61735d2850616c6c65743a3a7375646f5f6173292063616c6c206a75737420746f6f6b20706c6163652e047c54686520604576656e746020656e756d206f6620746869732070616c6c6574f404184f7074696f6e04045401000108104e6f6e6500000010536f6d650400000000010000f80c5470616c6c65745f757067726164655f6f726967696e1870616c6c6574144576656e7400010440446973706174636865644173526f6f74040118726573756c748801384469737061746368526573756c74000004dc412063616c6c20776173206469737061746368656420617320726f6f742066726f6d20616e2075706772616461626c65206f726967696e047c54686520604576656e746020656e756d206f6620746869732070616c6c6574fc0c3c70616c6c65745f707265696d6167651870616c6c6574144576656e7404045400010c144e6f746564040110686173682c011c543a3a48617368000004684120707265696d61676520686173206265656e206e6f7465642e24526571756573746564040110686173682c011c543a3a48617368000104784120707265696d61676520686173206265656e207265717565737465642e1c436c6561726564040110686173682c011c543a3a486173680002046c4120707265696d616765206861732062656e20636c65617265642e047c54686520604576656e746020656e756d206f6620746869732070616c6c657401010c4470616c6c65745f636f6c6c6563746976651870616c6c6574144576656e7408045400044900011c2050726f706f73656410011c6163636f756e74000130543a3a4163636f756e74496400013870726f706f73616c5f696e64657810013450726f706f73616c496e64657800013470726f706f73616c5f686173682c011c543a3a486173680001247468726573686f6c6410012c4d656d626572436f756e74000008490141206d6f74696f6e2028676976656e20686173682920686173206265656e2070726f706f7365642028627920676976656e206163636f756e742920776974682061207468726573686f6c642028676976656e3c604d656d626572436f756e7460292e14566f74656414011c6163636f756e74000130543a3a4163636f756e74496400013470726f706f73616c5f686173682c011c543a3a48617368000114766f746564740110626f6f6c00010c79657310012c4d656d626572436f756e740001086e6f10012c4d656d626572436f756e74000108050141206d6f74696f6e2028676976656e20686173682920686173206265656e20766f746564206f6e20627920676976656e206163636f756e742c206c656176696e671501612074616c6c79202879657320766f74657320616e64206e6f20766f74657320676976656e20726573706563746976656c7920617320604d656d626572436f756e7460292e20417070726f76656404013470726f706f73616c5f686173682c011c543a3a48617368000204c041206d6f74696f6e2077617320617070726f76656420627920746865207265717569726564207468726573686f6c642e2c446973617070726f76656404013470726f706f73616c5f686173682c011c543a3a48617368000304d041206d6f74696f6e20776173206e6f7420617070726f76656420627920746865207265717569726564207468726573686f6c642e20457865637574656408013470726f706f73616c5f686173682c011c543a3a48617368000118726573756c748801384469737061746368526573756c74000404210141206d6f74696f6e207761732065786563757465643b20726573756c742077696c6c20626520604f6b602069662069742072657475726e656420776974686f7574206572726f722e384d656d626572457865637574656408013470726f706f73616c5f686173682c011c543a3a48617368000118726573756c748801384469737061746368526573756c740005044901412073696e676c65206d656d6265722064696420736f6d6520616374696f6e3b20726573756c742077696c6c20626520604f6b602069662069742072657475726e656420776974686f7574206572726f722e18436c6f7365640c013470726f706f73616c5f686173682c011c543a3a4861736800010c79657310012c4d656d626572436f756e740001086e6f10012c4d656d626572436f756e740006045501412070726f706f73616c2077617320636c6f736564206265636175736520697473207468726573686f6c64207761732072656163686564206f7220616674657220697473206475726174696f6e207761732075702e047c54686520604576656e746020656e756d206f6620746869732070616c6c657405010c6470616c6c65745f756e6976657273616c5f6469766964656e641870616c6c6574144576656e74040454000110304e6577556443726561746564100118616d6f756e7418013042616c616e63654f663c543e000114696e6465780901011c5564496e6465780001346d6f6e65746172795f6d61737318013042616c616e63654f663c543e0001346d656d626572735f636f756e7418013042616c616e63654f663c543e0000049041206e657720756e6976657273616c206469766964656e6420697320637265617465642e2c556452656576616c7565640c01346e65775f75645f616d6f756e7418013042616c616e63654f663c543e0001346d6f6e65746172795f6d61737318013042616c616e63654f663c543e0001346d656d626572735f636f756e7418013042616c616e63654f663c543e000104b454686520756e6976657273616c206469766964656e6420686173206265656e2072652d6576616c75617465642e2c5564734175746f506169640c0114636f756e740901011c5564496e646578000114746f74616c18013042616c616e63654f663c543e00010c77686f000130543a3a4163636f756e744964000204fc4455732077657265206175746f6d61746963616c6c79207472616e736665727265642061732070617274206f662061206d656d6265722072656d6f76616c2e28556473436c61696d65640c0114636f756e740901011c5564496e646578000114746f74616c18013042616c616e63654f663c543e00010c77686f000130543a3a4163636f756e7449640003046441206d656d62657220636c61696d656420686973205544732e047c54686520604576656e746020656e756d206f6620746869732070616c6c6574090100000504000d010c3c70616c6c65745f6964656e746974791870616c6c6574144576656e740404540001182c4964747943726561746564080128696474795f696e646578100130543a3a49647479496e6465780001246f776e65725f6b6579000130543a3a4163636f756e7449640000048041206e6577206964656e7469747920686173206265656e20637265617465642e3449647479436f6e6669726d65640c0128696474795f696e646578100130543a3a49647479496e6465780001246f776e65725f6b6579000130543a3a4163636f756e7449640001106e616d6511010120496474794e616d65000104b0416e206964656e7469747920686173206265656e20636f6e6669726d656420627920697473206f776e65722e344964747956616c696461746564040128696474795f696e646578100130543a3a49647479496e6465780002047c416e206964656e7469747920686173206265656e2076616c6964617465642e4c496474794368616e6765644f776e65724b6579080128696474795f696e646578100130543a3a49647479496e6465780001346e65775f6f776e65725f6b6579000130543a3a4163636f756e7449640003002c496474795265766f6b6564080128696474795f696e646578100130543a3a49647479496e646578000118726561736f6e150101405265766f636174696f6e526561736f6e00040474416e206964656e7469747920686173206265656e207265766f6b65642e2c4964747952656d6f766564080128696474795f696e646578100130543a3a49647479496e646578000118726561736f6e1901013452656d6f76616c526561736f6e00050474416e206964656e7469747920686173206265656e2072656d6f7665642e047c54686520604576656e746020656e756d206f6620746869732070616c6c657411010c3c70616c6c65745f6964656e7469747914747970657320496474794e616d650000040030011c5665633c75383e000015010c3c70616c6c65745f6964656e74697479147479706573405265766f636174696f6e526561736f6e00010c10526f6f7400000010557365720001001c457870697265640002000019010c3c70616c6c65745f6964656e746974791474797065733452656d6f76616c526561736f6e00011010526f6f740000002c556e636f6e6669726d65640001002c556e76616c6964617465640002001c5265766f6b6564000300001d010c4470616c6c65745f6d656d626572736869701870616c6c6574144576656e7404045400010c3c4d656d6265727368697041646465640801186d656d626572100124543a3a4964747949640001246578706972655f6f6e100144426c6f636b4e756d626572466f723c543e0000045c41206d656d62657273686970207761732061646465642e444d656d6265727368697052656e657765640801186d656d626572100124543a3a4964747949640001246578706972655f6f6e100144426c6f636b4e756d626572466f723c543e0001046441206d656d62657273686970207761732072656e657765642e444d656d6265727368697052656d6f7665640801186d656d626572100124543a3a496474794964000118726561736f6e2101015c4d656d6265727368697052656d6f76616c526561736f6e0002046441206d656d62657273686970207761732072656d6f7665642e047c54686520604576656e746020656e756d206f6620746869732070616c6c65742101084470616c6c65745f6d656d626572736869705c4d656d6265727368697052656d6f76616c526561736f6e0001101c457870697265640000001c5265766f6b6564000100384e6f74456e6f75676843657274730002001853797374656d0003000025010c5070616c6c65745f63657274696669636174696f6e1870616c6c6574144576656e7404045400010c24436572744164646564080118697373756572100130543a3a49647479496e6465780001207265636569766572100130543a3a49647479496e6465780000047841206e65772063657274696669636174696f6e207761732061646465642e2c4365727452656d6f7665640c0118697373756572100130543a3a49647479496e6465780001207265636569766572100130543a3a49647479496e64657800012865787069726174696f6e740110626f6f6c00010470412063657274696669636174696f6e207761732072656d6f7665642e2c4365727452656e65776564080118697373756572100130543a3a49647479496e6465780001207265636569766572100130543a3a49647479496e64657800020470412063657274696669636174696f6e207761732072656e657765642e047c54686520604576656e746020656e756d206f6620746869732070616c6c657429010c3c70616c6c65745f64697374616e63651870616c6c6574144576656e7404045400010c4c4576616c756174696f6e526571756573746564080128696474795f696e646578100130543a3a49647479496e64657800010c77686f000130543a3a4163636f756e74496400000490412064697374616e6365206576616c756174696f6e20776173207265717565737465642e384576616c756174656456616c6964040128696474795f696e646578100130543a3a49647479496e6465780001047844697374616e63652072756c652077617320666f756e642076616c69642e404576616c7561746564496e76616c6964040128696474795f696e646578100130543a3a49647479496e6465780002048044697374616e63652072756c652077617320666f756e6420696e76616c69642e047c54686520604576656e746020656e756d206f6620746869732070616c6c65742d010c4870616c6c65745f61746f6d69635f737761701870616c6c6574144576656e7404045400010c1c4e6577537761700c011c6163636f756e74000130543a3a4163636f756e74496400011470726f6f6604012c48617368656450726f6f66000110737761703101013850656e64696e67537761703c543e000004345377617020637265617465642e2c53776170436c61696d65640c011c6163636f756e74000130543a3a4163636f756e74496400011470726f6f6604012c48617368656450726f6f6600011c73756363657373740110626f6f6c00010429015377617020636c61696d65642e20546865206c61737420706172616d6574657220696e6469636174657320776865746865722074686520657865637574696f6e2073756363656564732e345377617043616e63656c6c656408011c6163636f756e74000130543a3a4163636f756e74496400011470726f6f6604012c48617368656450726f6f660002043c537761702063616e63656c6c65642e04704576656e74206f662061746f6d696320737761702070616c6c65742e3101084870616c6c65745f61746f6d69635f737761702c50656e64696e675377617004045400000c0118736f75726365000130543a3a4163636f756e744964000118616374696f6e35010134543a3a53776170416374696f6e000124656e645f626c6f636b100144426c6f636b4e756d626572466f723c543e00003501084870616c6c65745f61746f6d69635f737761704442616c616e636553776170416374696f6e08244163636f756e74496401000443000004011476616c756518018c3c432061732043757272656e63793c4163636f756e7449643e3e3a3a42616c616e6365000039010c3c70616c6c65745f6d756c74697369671870616c6c6574144576656e740404540001102c4e65774d756c74697369670c0124617070726f76696e67000130543a3a4163636f756e7449640001206d756c7469736967000130543a3a4163636f756e74496400012463616c6c5f6861736804012043616c6c486173680000048c41206e6577206d756c7469736967206f7065726174696f6e2068617320626567756e2e404d756c7469736967417070726f76616c100124617070726f76696e67000130543a3a4163636f756e74496400012474696d65706f696e743d01017054696d65706f696e743c426c6f636b4e756d626572466f723c543e3e0001206d756c7469736967000130543a3a4163636f756e74496400012463616c6c5f6861736804012043616c6c48617368000104c841206d756c7469736967206f7065726174696f6e20686173206265656e20617070726f76656420627920736f6d656f6e652e404d756c74697369674578656375746564140124617070726f76696e67000130543a3a4163636f756e74496400012474696d65706f696e743d01017054696d65706f696e743c426c6f636b4e756d626572466f723c543e3e0001206d756c7469736967000130543a3a4163636f756e74496400012463616c6c5f6861736804012043616c6c48617368000118726573756c748801384469737061746368526573756c740002049c41206d756c7469736967206f7065726174696f6e20686173206265656e2065786563757465642e444d756c746973696743616e63656c6c656410012863616e63656c6c696e67000130543a3a4163636f756e74496400012474696d65706f696e743d01017054696d65706f696e743c426c6f636b4e756d626572466f723c543e3e0001206d756c7469736967000130543a3a4163636f756e74496400012463616c6c5f6861736804012043616c6c48617368000304a041206d756c7469736967206f7065726174696f6e20686173206265656e2063616e63656c6c65642e047c54686520604576656e746020656e756d206f6620746869732070616c6c65743d01083c70616c6c65745f6d756c74697369672454696d65706f696e74042c426c6f636b4e756d62657201100008011868656967687410012c426c6f636b4e756d626572000114696e64657810010c753332000041010c6470616c6c65745f70726f766964655f72616e646f6d6e6573731870616c6c6574144576656e740001084046696c6c656452616e646f6d6e657373080128726571756573745f696418012452657175657374496400012872616e646f6d6e6573732c0110483235360000049c41207265717565737420666f722072616e646f6d6e657373207761732066756c66696c6c65642e4c52657175657374656452616e646f6d6e6573730c0128726571756573745f696418012452657175657374496400011073616c742c0110483235360001187223747970654501013852616e646f6d6e657373547970650001048841207265717565737420666f722072616e646f6d6e65737320776173206d6164652e047c54686520604576656e746020656e756d206f6620746869732070616c6c657445010c6470616c6c65745f70726f766964655f72616e646f6d6e6573731474797065733852616e646f6d6e6573735479706500010c6c52616e646f6d6e65737346726f6d50726576696f7573426c6f636b0000006452616e646f6d6e65737346726f6d4f6e6545706f636841676f0001006852616e646f6d6e65737346726f6d54776f45706f63687341676f0002000049010c3070616c6c65745f70726f78791870616c6c6574144576656e740404540001143450726f78794578656375746564040118726573756c748801384469737061746368526573756c74000004bc412070726f78792077617320657865637574656420636f72726563746c792c20776974682074686520676976656e2e2c507572654372656174656410011070757265000130543a3a4163636f756e74496400010c77686f000130543a3a4163636f756e74496400012870726f78795f747970654d010130543a3a50726f787954797065000150646973616d626967756174696f6e5f696e6465780901010c753136000108dc412070757265206163636f756e7420686173206265656e2063726561746564206279206e65772070726f7879207769746820676976656e90646973616d626967756174696f6e20696e64657820616e642070726f787920747970652e24416e6e6f756e6365640c01107265616c000130543a3a4163636f756e74496400011470726f7879000130543a3a4163636f756e74496400012463616c6c5f686173682c013443616c6c486173684f663c543e000204e0416e20616e6e6f756e63656d656e742077617320706c6163656420746f206d616b6520612063616c6c20696e20746865206675747572652e2850726f7879416464656410012464656c656761746f72000130543a3a4163636f756e74496400012464656c656761746565000130543a3a4163636f756e74496400012870726f78795f747970654d010130543a3a50726f78795479706500011464656c6179100144426c6f636b4e756d626572466f723c543e00030448412070726f7879207761732061646465642e3050726f787952656d6f76656410012464656c656761746f72000130543a3a4163636f756e74496400012464656c656761746565000130543a3a4163636f756e74496400012870726f78795f747970654d010130543a3a50726f78795479706500011464656c6179100144426c6f636b4e756d626572466f723c543e00040450412070726f7879207761732072656d6f7665642e047c54686520604576656e746020656e756d206f6620746869732070616c6c65744d010830676465765f72756e74696d652450726f78795479706500011024416c6d6f7374416e79000000305472616e736665724f6e6c790001002c43616e63656c50726f787900020064546563686e6963616c436f6d6d697474656550726f706f73650003000051010c3870616c6c65745f7574696c6974791870616c6c6574144576656e74000118404261746368496e746572727570746564080114696e64657810010c7533320001146572726f7260013444697370617463684572726f7200000855014261746368206f66206469737061746368657320646964206e6f7420636f6d706c6574652066756c6c792e20496e646578206f66206669727374206661696c696e6720646973706174636820676976656e2c2061734877656c6c20617320746865206572726f722e384261746368436f6d706c65746564000104c84261746368206f66206469737061746368657320636f6d706c657465642066756c6c792077697468206e6f206572726f722e604261746368436f6d706c65746564576974684572726f7273000204b44261746368206f66206469737061746368657320636f6d706c657465642062757420686173206572726f72732e344974656d436f6d706c657465640003041d01412073696e676c65206974656d2077697468696e2061204261746368206f6620646973706174636865732068617320636f6d706c657465642077697468206e6f206572726f722e284974656d4661696c65640401146572726f7260013444697370617463684572726f720004041101412073696e676c65206974656d2077697468696e2061204261746368206f6620646973706174636865732068617320636f6d706c657465642077697468206572726f722e30446973706174636865644173040118726573756c748801384469737061746368526573756c7400050458412063616c6c2077617320646973706174636865642e047c54686520604576656e746020656e756d206f6620746869732070616c6c657455010c3c70616c6c65745f74726561737572791870616c6c6574144576656e740804540004490001382050726f706f73656404013870726f706f73616c5f696e64657810013450726f706f73616c496e646578000004344e65772070726f706f73616c2e205370656e64696e670401406275646765745f72656d61696e696e6718013c42616c616e63654f663c542c20493e000104e45765206861766520656e6465642061207370656e6420706572696f6420616e642077696c6c206e6f7720616c6c6f636174652066756e64732e1c417761726465640c013870726f706f73616c5f696e64657810013450726f706f73616c496e646578000114617761726418013c42616c616e63654f663c542c20493e00011c6163636f756e74000130543a3a4163636f756e7449640002047c536f6d652066756e64732068617665206265656e20616c6c6f63617465642e2052656a656374656408013870726f706f73616c5f696e64657810013450726f706f73616c496e64657800011c736c617368656418013c42616c616e63654f663c542c20493e000304b0412070726f706f73616c207761732072656a65637465643b2066756e6473207765726520736c61736865642e144275726e7404012c6275726e745f66756e647318013c42616c616e63654f663c542c20493e00040488536f6d65206f66206f75722066756e64732068617665206265656e206275726e742e20526f6c6c6f766572040140726f6c6c6f7665725f62616c616e636518013c42616c616e63654f663c542c20493e0005042d015370656e64696e67206861732066696e69736865643b20746869732069732074686520616d6f756e74207468617420726f6c6c73206f76657220756e74696c206e657874207370656e642e1c4465706f73697404011476616c756518013c42616c616e63654f663c542c20493e0006047c536f6d652066756e64732068617665206265656e206465706f73697465642e345370656e64417070726f7665640c013870726f706f73616c5f696e64657810013450726f706f73616c496e646578000118616d6f756e7418013c42616c616e63654f663c542c20493e00012c62656e6566696369617279000130543a3a4163636f756e7449640007049c41206e6577207370656e642070726f706f73616c20686173206265656e20617070726f7665642e3c55706461746564496e61637469766508012c726561637469766174656418013c42616c616e63654f663c542c20493e00012c646561637469766174656418013c42616c616e63654f663c542c20493e000804cc54686520696e6163746976652066756e6473206f66207468652070616c6c65742068617665206265656e20757064617465642e4841737365745370656e64417070726f766564180114696e6465781001285370656e64496e64657800012861737365745f6b696e648c0130543a3a41737365744b696e64000118616d6f756e74180150417373657442616c616e63654f663c542c20493e00012c62656e6566696369617279000138543a3a42656e656669636961727900012876616c69645f66726f6d100144426c6f636b4e756d626572466f723c543e0001246578706972655f6174100144426c6f636b4e756d626572466f723c543e000904b441206e6577206173736574207370656e642070726f706f73616c20686173206265656e20617070726f7665642e4041737365745370656e64566f69646564040114696e6465781001285370656e64496e646578000a0474416e20617070726f766564207370656e642077617320766f696465642e1050616964080114696e6465781001285370656e64496e6465780001287061796d656e745f69648c01643c543a3a5061796d6173746572206173205061793e3a3a4964000b044c41207061796d656e742068617070656e65642e345061796d656e744661696c6564080114696e6465781001285370656e64496e6465780001287061796d656e745f69648c01643c543a3a5061796d6173746572206173205061793e3a3a4964000c049041207061796d656e74206661696c656420616e642063616e20626520726574726965642e385370656e6450726f636573736564040114696e6465781001285370656e64496e646578000d084d0141207370656e64207761732070726f63657373656420616e642072656d6f7665642066726f6d207468652073746f726167652e204974206d696768742068617665206265656e207375636365737366756c6c797070616964206f72206974206d6179206861766520657870697265642e047c54686520604576656e746020656e756d206f6620746869732070616c6c6574590108306672616d655f73797374656d14506861736500010c384170706c7945787472696e736963040010010c7533320000003046696e616c697a6174696f6e00010038496e697469616c697a6174696f6e000200005d010000022c0061010000028000650108306672616d655f73797374656d584c61737452756e74696d6555706772616465496e666f0000080130737065635f76657273696f6e6901014c636f6465633a3a436f6d706163743c7533323e000124737065635f6e616d656d01016473705f72756e74696d653a3a52756e74696d65537472696e670000690100000610006d010000050200710108306672616d655f73797374656d60436f646555706772616465417574686f72697a6174696f6e0404540000080124636f64655f686173682c011c543a3a48617368000134636865636b5f76657273696f6e740110626f6f6c000075010c306672616d655f73797374656d1870616c6c65741043616c6c04045400012c1872656d61726b04011872656d61726b30011c5665633c75383e0000045c536565205b6050616c6c65743a3a72656d61726b605d2e387365745f686561705f7061676573040114706167657318010c7536340001047c536565205b6050616c6c65743a3a7365745f686561705f7061676573605d2e207365745f636f6465040110636f646530011c5665633c75383e00020464536565205b6050616c6c65743a3a7365745f636f6465605d2e5c7365745f636f64655f776974686f75745f636865636b73040110636f646530011c5665633c75383e000304a0536565205b6050616c6c65743a3a7365745f636f64655f776974686f75745f636865636b73605d2e2c7365745f73746f726167650401146974656d73790101345665633c4b657956616c75653e00040470536565205b6050616c6c65743a3a7365745f73746f72616765605d2e306b696c6c5f73746f726167650401106b657973810101205665633c4b65793e00050474536565205b6050616c6c65743a3a6b696c6c5f73746f72616765605d2e2c6b696c6c5f70726566697808011870726566697830010c4b657900011c7375626b65797310010c75333200060470536565205b6050616c6c65743a3a6b696c6c5f707265666978605d2e4472656d61726b5f776974685f6576656e7404011872656d61726b30011c5665633c75383e00070488536565205b6050616c6c65743a3a72656d61726b5f776974685f6576656e74605d2e44617574686f72697a655f75706772616465040124636f64655f686173682c011c543a3a4861736800090488536565205b6050616c6c65743a3a617574686f72697a655f75706772616465605d2e80617574686f72697a655f757067726164655f776974686f75745f636865636b73040124636f64655f686173682c011c543a3a48617368000a04c4536565205b6050616c6c65743a3a617574686f72697a655f757067726164655f776974686f75745f636865636b73605d2e606170706c795f617574686f72697a65645f75706772616465040110636f646530011c5665633c75383e000b04a4536565205b6050616c6c65743a3a6170706c795f617574686f72697a65645f75706772616465605d2e040d01436f6e7461696e7320612076617269616e742070657220646973706174636861626c652065787472696e736963207468617420746869732070616c6c6574206861732e79010000027d01007d01000004083030008101000002300085010c306672616d655f73797374656d186c696d69747330426c6f636b5765696768747300000c0128626173655f626c6f636b2401185765696768740001246d61785f626c6f636b2401185765696768740001247065725f636c617373890101845065724469737061746368436c6173733c57656967687473506572436c6173733e000089010c346672616d655f737570706f7274206469737061746368405065724469737061746368436c617373040454018d01000c01186e6f726d616c8d0101045400012c6f7065726174696f6e616c8d010104540001246d616e6461746f72798d0101045400008d010c306672616d655f73797374656d186c696d6974733c57656967687473506572436c6173730000100138626173655f65787472696e7369632401185765696768740001346d61785f65787472696e736963910101384f7074696f6e3c5765696768743e0001246d61785f746f74616c910101384f7074696f6e3c5765696768743e0001207265736572766564910101384f7074696f6e3c5765696768743e0000910104184f7074696f6e04045401240108104e6f6e6500000010536f6d65040024000001000095010c306672616d655f73797374656d186c696d6974732c426c6f636b4c656e677468000004010c6d6178990101545065724469737061746368436c6173733c7533323e000099010c346672616d655f737570706f7274206469737061746368405065724469737061746368436c6173730404540110000c01186e6f726d616c1001045400012c6f7065726174696f6e616c100104540001246d616e6461746f72791001045400009d01082873705f776569676874733c52756e74696d65446257656967687400000801107265616418010c753634000114777269746518010c7536340000a101082873705f76657273696f6e3852756e74696d6556657273696f6e0000200124737065635f6e616d656d01013452756e74696d65537472696e67000124696d706c5f6e616d656d01013452756e74696d65537472696e67000144617574686f72696e675f76657273696f6e10010c753332000130737065635f76657273696f6e10010c753332000130696d706c5f76657273696f6e10010c75333200011061706973a501011c4170697356656300014c7472616e73616374696f6e5f76657273696f6e10010c75333200013473746174655f76657273696f6e08010875380000a501040c436f7704045401a901000400a901000000a901000002ad0100ad0100000408b1011000b101000003080000000800b5010c306672616d655f73797374656d1870616c6c6574144572726f720404540001203c496e76616c6964537065634e616d650000081101546865206e616d65206f662073706563696669636174696f6e20646f6573206e6f74206d61746368206265747765656e207468652063757272656e742072756e74696d6550616e6420746865206e65772072756e74696d652e685370656356657273696f6e4e65656473546f496e63726561736500010841015468652073706563696669636174696f6e2076657273696f6e206973206e6f7420616c6c6f77656420746f206465637265617365206265747765656e207468652063757272656e742072756e74696d6550616e6420746865206e65772072756e74696d652e744661696c6564546f4578747261637452756e74696d6556657273696f6e00020cec4661696c656420746f2065787472616374207468652072756e74696d652076657273696f6e2066726f6d20746865206e65772072756e74696d652e0009014569746865722063616c6c696e672060436f72655f76657273696f6e60206f72206465636f64696e67206052756e74696d6556657273696f6e60206661696c65642e4c4e6f6e44656661756c74436f6d706f73697465000304fc537569636964652063616c6c6564207768656e20746865206163636f756e7420686173206e6f6e2d64656661756c7420636f6d706f7369746520646174612e3c4e6f6e5a65726f526566436f756e74000404350154686572652069732061206e6f6e2d7a65726f207265666572656e636520636f756e742070726576656e74696e6720746865206163636f756e742066726f6d206265696e67207075726765642e3043616c6c46696c7465726564000504d0546865206f726967696e2066696c7465722070726576656e74207468652063616c6c20746f20626520646973706174636865642e444e6f7468696e67417574686f72697a6564000604584e6f207570677261646520617574686f72697a65642e30556e617574686f72697a656400070494546865207375626d697474656420636f6465206973206e6f7420617574686f72697a65642e046c4572726f7220666f72207468652053797374656d2070616c6c6574b9010c5870616c6c65745f64756e697465725f6163636f756e741870616c6c65741043616c6c0404540001043c756e6c696e6b5f6964656e7469747900000480536565205b6050616c6c65743a3a756e6c696e6b5f6964656e74697479605d2e040d01436f6e7461696e7320612076617269616e742070657220646973706174636861626c652065787472696e736963207468617420746869732070616c6c6574206861732ebd010c4c626f756e6465645f636f6c6c656374696f6e732c626f756e6465645f76656328426f756e64656456656308045401c101045300000400e90201185665633c543e0000c10104184f7074696f6e04045401c5010108104e6f6e6500000010536f6d650400c5010000010000c501084070616c6c65745f7363686564756c6572245363686564756c656414104e616d6501041043616c6c01c9012c426c6f636b4e756d62657201103450616c6c6574734f726967696e01cd02244163636f756e7449640100001401206d617962655f69648401304f7074696f6e3c4e616d653e0001207072696f726974790801487363686564756c653a3a5072696f7269747900011063616c6cc901011043616c6c0001386d617962655f706572696f646963d50101944f7074696f6e3c7363686564756c653a3a506572696f643c426c6f636b4e756d6265723e3e0001186f726967696ecd02013450616c6c6574734f726967696e0000c90110346672616d655f737570706f72741874726169747324707265696d616765731c426f756e64656408045401cd01044801e102010c184c6567616379040110686173682c0124483a3a4f757470757400000018496e6c696e650400e5020134426f756e646564496e6c696e65000100184c6f6f6b7570080110686173682c0124483a3a4f757470757400010c6c656e10010c75333200020000cd010830676465765f72756e74696d652c52756e74696d6543616c6c0001681853797374656d0400750101ad0173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c53797374656d2c2052756e74696d653e0000001c4163636f756e740400b90101b10173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c4163636f756e742c2052756e74696d653e000100245363686564756c65720400d10101b90173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c5363686564756c65722c2052756e74696d653e00020010426162650400d90101a50173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c426162652c2052756e74696d653e0003002454696d657374616d700400fd0101b90173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c54696d657374616d702c2052756e74696d653e0004002042616c616e6365730400010201b50173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c42616c616e6365732c2052756e74696d653e000600384f6e6573686f744163636f756e740400110201cd0173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c4f6e6573686f744163636f756e742c2052756e74696d653e00070030536d6974684d656d626572730400190201c50173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c536d6974684d656d626572732c2052756e74696d653e000a0040417574686f726974794d656d6265727304001d0201d50173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c417574686f726974794d656d626572732c2052756e74696d653e000b001c53657373696f6e0400290201b10173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c53657373696f6e2c2052756e74696d653e000f001c4772616e64706104002d0201b10173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c4772616e6470612c2052756e74696d653e00100020496d4f6e6c696e6504005d0201b50173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c496d4f6e6c696e652c2052756e74696d653e001100105375646f04006d0201a50173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c5375646f2c2052756e74696d653e00140034557067726164654f726967696e0400710201c90173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c557067726164654f726967696e2c2052756e74696d653e00150020507265696d6167650400750201b50173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c507265696d6167652c2052756e74696d653e00160048546563686e6963616c436f6d6d69747465650400790201dd0173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c546563686e6963616c436f6d6d69747465652c2052756e74696d653e00170044556e6976657273616c4469766964656e640400810201d90173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c556e6976657273616c4469766964656e642c2052756e74696d653e001e00204964656e746974790400850201b50173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c4964656e746974792c2052756e74696d653e0029003443657274696669636174696f6e0400990201c90173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c43657274696669636174696f6e2c2052756e74696d653e002b002044697374616e636504009d0201b50173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c44697374616e63652c2052756e74696d653e002c002841746f6d6963537761700400ad0201bd0173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c41746f6d6963537761702c2052756e74696d653e003200204d756c74697369670400b10201b50173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c4d756c74697369672c2052756e74696d653e0033004450726f7669646552616e646f6d6e6573730400b90201d90173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c50726f7669646552616e646f6d6e6573732c2052756e74696d653e0034001450726f78790400bd0201a90173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c50726f78792c2052756e74696d653e0035001c5574696c6974790400c50201b10173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c5574696c6974792c2052756e74696d653e0036002054726561737572790400dd0201b50173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c54726561737572792c2052756e74696d653e00370000d1010c4070616c6c65745f7363686564756c65721870616c6c65741043616c6c040454000118207363686564756c651001107768656e100144426c6f636b4e756d626572466f723c543e0001386d617962655f706572696f646963d50101ac4f7074696f6e3c7363686564756c653a3a506572696f643c426c6f636b4e756d626572466f723c543e3e3e0001207072696f726974790801487363686564756c653a3a5072696f7269747900011063616c6ccd01017c426f783c3c5420617320436f6e6669673e3a3a52756e74696d6543616c6c3e00000464536565205b6050616c6c65743a3a7363686564756c65605d2e1863616e63656c0801107768656e100144426c6f636b4e756d626572466f723c543e000114696e64657810010c7533320001045c536565205b6050616c6c65743a3a63616e63656c605d2e387363686564756c655f6e616d656414010869640401205461736b4e616d650001107768656e100144426c6f636b4e756d626572466f723c543e0001386d617962655f706572696f646963d50101ac4f7074696f6e3c7363686564756c653a3a506572696f643c426c6f636b4e756d626572466f723c543e3e3e0001207072696f726974790801487363686564756c653a3a5072696f7269747900011063616c6ccd01017c426f783c3c5420617320436f6e6669673e3a3a52756e74696d6543616c6c3e0002047c536565205b6050616c6c65743a3a7363686564756c655f6e616d6564605d2e3063616e63656c5f6e616d656404010869640401205461736b4e616d6500030474536565205b6050616c6c65743a3a63616e63656c5f6e616d6564605d2e387363686564756c655f61667465721001146166746572100144426c6f636b4e756d626572466f723c543e0001386d617962655f706572696f646963d50101ac4f7074696f6e3c7363686564756c653a3a506572696f643c426c6f636b4e756d626572466f723c543e3e3e0001207072696f726974790801487363686564756c653a3a5072696f7269747900011063616c6ccd01017c426f783c3c5420617320436f6e6669673e3a3a52756e74696d6543616c6c3e0004047c536565205b6050616c6c65743a3a7363686564756c655f6166746572605d2e507363686564756c655f6e616d65645f616674657214010869640401205461736b4e616d650001146166746572100144426c6f636b4e756d626572466f723c543e0001386d617962655f706572696f646963d50101ac4f7074696f6e3c7363686564756c653a3a506572696f643c426c6f636b4e756d626572466f723c543e3e3e0001207072696f726974790801487363686564756c653a3a5072696f7269747900011063616c6ccd01017c426f783c3c5420617320436f6e6669673e3a3a52756e74696d6543616c6c3e00050494536565205b6050616c6c65743a3a7363686564756c655f6e616d65645f6166746572605d2e040d01436f6e7461696e7320612076617269616e742070657220646973706174636861626c652065787472696e736963207468617420746869732070616c6c6574206861732ed50104184f7074696f6e04045401800108104e6f6e6500000010536f6d650400800000010000d9010c2c70616c6c65745f626162651870616c6c65741043616c6c04045400010c4c7265706f72745f65717569766f636174696f6e08014865717569766f636174696f6e5f70726f6f66dd010190426f783c45717569766f636174696f6e50726f6f663c486561646572466f723c543e3e3e00013c6b65795f6f776e65725f70726f6f66ed010140543a3a4b65794f776e657250726f6f6600000490536565205b6050616c6c65743a3a7265706f72745f65717569766f636174696f6e605d2e707265706f72745f65717569766f636174696f6e5f756e7369676e656408014865717569766f636174696f6e5f70726f6f66dd010190426f783c45717569766f636174696f6e50726f6f663c486561646572466f723c543e3e3e00013c6b65795f6f776e65725f70726f6f66ed010140543a3a4b65794f776e657250726f6f66000104b4536565205b6050616c6c65743a3a7265706f72745f65717569766f636174696f6e5f756e7369676e6564605d2e48706c616e5f636f6e6669675f6368616e6765040118636f6e666967f10101504e657874436f6e66696744657363726970746f720002048c536565205b6050616c6c65743a3a706c616e5f636f6e6669675f6368616e6765605d2e040d01436f6e7461696e7320612076617269616e742070657220646973706174636861626c652065787472696e736963207468617420746869732070616c6c6574206861732edd01084873705f636f6e73656e7375735f736c6f74734445717569766f636174696f6e50726f6f66081848656164657201e10108496401e501001001206f6666656e646572e50101084964000110736c6f74e9010110536c6f7400013066697273745f686561646572e10101184865616465720001347365636f6e645f686561646572e10101184865616465720000e101102873705f72756e74696d651c67656e65726963186865616465721848656164657208184e756d62657201101048617368000014012c706172656e745f686173682c0130486173683a3a4f75747075740001186e756d626572690101184e756d62657200012873746174655f726f6f742c0130486173683a3a4f757470757400013c65787472696e736963735f726f6f742c0130486173683a3a4f75747075740001186469676573743401184469676573740000e5010c4473705f636f6e73656e7375735f626162650c617070185075626c696300000400e0013c737232353531393a3a5075626c69630000e901084873705f636f6e73656e7375735f736c6f747310536c6f740000040018010c7536340000ed01082873705f73657373696f6e3c4d656d6265727368697050726f6f6600000c011c73657373696f6e10013053657373696f6e496e646578000128747269655f6e6f646573810101305665633c5665633c75383e3e00013c76616c696461746f725f636f756e7410013856616c696461746f72436f756e740000f1010c4473705f636f6e73656e7375735f626162651c64696765737473504e657874436f6e66696744657363726970746f7200010408563108010463f5010128287536342c2075363429000134616c6c6f7765645f736c6f7473f9010130416c6c6f776564536c6f747300010000f50100000408181800f901084473705f636f6e73656e7375735f6261626530416c6c6f776564536c6f747300010c305072696d617279536c6f7473000000745072696d617279416e645365636f6e64617279506c61696e536c6f74730001006c5072696d617279416e645365636f6e64617279565246536c6f747300020000fd010c4070616c6c65745f74696d657374616d701870616c6c65741043616c6c0404540001040c73657404010c6e6f77280124543a3a4d6f6d656e7400000450536565205b6050616c6c65743a3a736574605d2e040d01436f6e7461696e7320612076617269616e742070657220646973706174636861626c652065787472696e736963207468617420746869732070616c6c6574206861732e01020c3c70616c6c65745f62616c616e6365731870616c6c65741043616c6c080454000449000118507472616e736665725f616c6c6f775f646561746808011064657374050201504163636f756e7449644c6f6f6b75704f663c543e00011476616c7565280128543a3a42616c616e636500000494536565205b6050616c6c65743a3a7472616e736665725f616c6c6f775f6465617468605d2e38666f7263655f7472616e736665720c0118736f75726365050201504163636f756e7449644c6f6f6b75704f663c543e00011064657374050201504163636f756e7449644c6f6f6b75704f663c543e00011476616c7565280128543a3a42616c616e63650002047c536565205b6050616c6c65743a3a666f7263655f7472616e73666572605d2e4c7472616e736665725f6b6565705f616c69766508011064657374050201504163636f756e7449644c6f6f6b75704f663c543e00011476616c7565280128543a3a42616c616e636500030490536565205b6050616c6c65743a3a7472616e736665725f6b6565705f616c697665605d2e307472616e736665725f616c6c08011064657374050201504163636f756e7449644c6f6f6b75704f663c543e0001286b6565705f616c697665740110626f6f6c00040474536565205b6050616c6c65743a3a7472616e736665725f616c6c605d2e3c666f7263655f756e7265736572766508010c77686f050201504163636f756e7449644c6f6f6b75704f663c543e000118616d6f756e74180128543a3a42616c616e636500050480536565205b6050616c6c65743a3a666f7263655f756e72657365727665605d2e44666f7263655f7365745f62616c616e636508010c77686f050201504163636f756e7449644c6f6f6b75704f663c543e0001206e65775f66726565280128543a3a42616c616e636500080488536565205b6050616c6c65743a3a666f7263655f7365745f62616c616e6365605d2e040d01436f6e7461696e7320612076617269616e742070657220646973706174636861626c652065787472696e736963207468617420746869732070616c6c6574206861732e05020c2873705f72756e74696d65306d756c746961646472657373304d756c74694164647265737308244163636f756e7449640100304163636f756e74496e646578018c011408496404000001244163636f756e74496400000014496e6465780400090201304163636f756e74496e6465780001000c526177040030011c5665633c75383e0002002441646472657373333204000401205b75383b2033325d0003002441646472657373323004000d0201205b75383b2032305d0004000009020000068c000d0200000314000000080011020c5870616c6c65745f6f6e6573686f745f6163636f756e741870616c6c65741043616c6c04045400010c586372656174655f6f6e6573686f745f6163636f756e74080110646573740502018c3c543a3a4c6f6f6b7570206173205374617469634c6f6f6b75703e3a3a536f7572636500011476616c75652801c03c543a3a43757272656e63792061732043757272656e63793c543a3a4163636f756e7449643e3e3a3a42616c616e63650000049c536565205b6050616c6c65743a3a6372656174655f6f6e6573686f745f6163636f756e74605d2e5c636f6e73756d655f6f6e6573686f745f6163636f756e74080130626c6f636b5f686569676874100144426c6f636b4e756d626572466f723c543e00011064657374150201b04163636f756e743c3c543a3a4c6f6f6b7570206173205374617469634c6f6f6b75703e3a3a536f757263653e000104a0536565205b6050616c6c65743a3a636f6e73756d655f6f6e6573686f745f6163636f756e74605d2e98636f6e73756d655f6f6e6573686f745f6163636f756e745f776974685f72656d61696e696e67100130626c6f636b5f686569676874100144426c6f636b4e756d626572466f723c543e00011064657374150201b04163636f756e743c3c543a3a4c6f6f6b7570206173205374617469634c6f6f6b75703e3a3a536f757263653e00013072656d61696e696e675f746f150201b04163636f756e743c3c543a3a4c6f6f6b7570206173205374617469634c6f6f6b75703e3a3a536f757263653e00011c62616c616e63652801c03c543a3a43757272656e63792061732043757272656e63793c543a3a4163636f756e7449643e3e3a3a42616c616e6365000204dc536565205b6050616c6c65743a3a636f6e73756d655f6f6e6573686f745f6163636f756e745f776974685f72656d61696e696e67605d2e040d01436f6e7461696e7320612076617269616e742070657220646973706174636861626c652065787472696e736963207468617420746869732070616c6c6574206861732e15020c5870616c6c65745f6f6e6573686f745f6163636f756e741474797065731c4163636f756e7404244163636f756e7449640105020108184e6f726d616c0400050201244163636f756e7449640000001c4f6e6573686f740400050201244163636f756e7449640001000019020c5070616c6c65745f736d6974685f6d656d626572731870616c6c65741043616c6c04045400010c30696e766974655f736d6974680401207265636569766572100130543a3a49647479496e64657800000474536565205b6050616c6c65743a3a696e766974655f736d697468605d2e446163636570745f696e7669746174696f6e00010488536565205b6050616c6c65743a3a6163636570745f696e7669746174696f6e605d2e34636572746966795f736d6974680401207265636569766572100130543a3a49647479496e64657800020478536565205b6050616c6c65743a3a636572746966795f736d697468605d2e040d01436f6e7461696e7320612076617269616e742070657220646973706174636861626c652065787472696e736963207468617420746869732070616c6c6574206861732e1d020c6070616c6c65745f617574686f726974795f6d656d626572731870616c6c65741043616c6c04045400011428676f5f6f66666c696e650000046c536565205b6050616c6c65743a3a676f5f6f66666c696e65605d2e24676f5f6f6e6c696e6500010468536565205b6050616c6c65743a3a676f5f6f6e6c696e65605d2e407365745f73657373696f6e5f6b6579730401106b6579732102011c543a3a4b65797300020484536565205b6050616c6c65743a3a7365745f73657373696f6e5f6b657973605d2e3472656d6f76655f6d656d6265720401246d656d6265725f696410012c543a3a4d656d626572496400030478536565205b6050616c6c65743a3a72656d6f76655f6d656d626572605d2e7072656d6f76655f6d656d6265725f66726f6d5f626c61636b6c6973740401246d656d6265725f696410012c543a3a4d656d6265724964000404b4536565205b6050616c6c65743a3a72656d6f76655f6d656d6265725f66726f6d5f626c61636b6c697374605d2e040d01436f6e7461696e7320612076617269616e742070657220646973706174636861626c652065787472696e736963207468617420746869732070616c6c6574206861732e21020c30676465765f72756e74696d65186f70617175652c53657373696f6e4b657973000010011c6772616e647061d001d03c4772616e647061206173202463726174653a3a426f756e64546f52756e74696d654170705075626c69633e3a3a5075626c696300011062616265e50101c43c42616265206173202463726174653a3a426f756e64546f52756e74696d654170705075626c69633e3a3a5075626c6963000124696d5f6f6e6c696e65dc01d43c496d4f6e6c696e65206173202463726174653a3a426f756e64546f52756e74696d654170705075626c69633e3a3a5075626c696300014c617574686f726974795f646973636f76657279250201fc3c417574686f72697479446973636f76657279206173202463726174653a3a426f756e64546f52756e74696d654170705075626c69633e3a3a5075626c6963000025020c5873705f617574686f726974795f646973636f766572790c617070185075626c696300000400e0013c737232353531393a3a5075626c6963000029020c3870616c6c65745f73657373696f6e1870616c6c65741043616c6c040454000108207365745f6b6579730801106b6579732102011c543a3a4b65797300011470726f6f6630011c5665633c75383e00000464536565205b6050616c6c65743a3a7365745f6b657973605d2e2870757267655f6b6579730001046c536565205b6050616c6c65743a3a70757267655f6b657973605d2e040d01436f6e7461696e7320612076617269616e742070657220646973706174636861626c652065787472696e736963207468617420746869732070616c6c6574206861732e2d020c3870616c6c65745f6772616e6470611870616c6c65741043616c6c04045400010c4c7265706f72745f65717569766f636174696f6e08014865717569766f636174696f6e5f70726f6f66310201c8426f783c45717569766f636174696f6e50726f6f663c543a3a486173682c20426c6f636b4e756d626572466f723c543e3e3e00013c6b65795f6f776e65725f70726f6f66ed010140543a3a4b65794f776e657250726f6f6600000490536565205b6050616c6c65743a3a7265706f72745f65717569766f636174696f6e605d2e707265706f72745f65717569766f636174696f6e5f756e7369676e656408014865717569766f636174696f6e5f70726f6f66310201c8426f783c45717569766f636174696f6e50726f6f663c543a3a486173682c20426c6f636b4e756d626572466f723c543e3e3e00013c6b65795f6f776e65725f70726f6f66ed010140543a3a4b65794f776e657250726f6f66000104b4536565205b6050616c6c65743a3a7265706f72745f65717569766f636174696f6e5f756e7369676e6564605d2e306e6f74655f7374616c6c656408011464656c6179100144426c6f636b4e756d626572466f723c543e00016c626573745f66696e616c697a65645f626c6f636b5f6e756d626572100144426c6f636b4e756d626572466f723c543e00020474536565205b6050616c6c65743a3a6e6f74655f7374616c6c6564605d2e040d01436f6e7461696e7320612076617269616e742070657220646973706174636861626c652065787472696e736963207468617420746869732070616c6c6574206861732e3102085073705f636f6e73656e7375735f6772616e6470614445717569766f636174696f6e50726f6f66080448012c044e0110000801187365745f6964180114536574496400013065717569766f636174696f6e3502014845717569766f636174696f6e3c482c204e3e00003502085073705f636f6e73656e7375735f6772616e6470613045717569766f636174696f6e080448012c044e011001081c507265766f7465040039020139016772616e6470613a3a45717569766f636174696f6e3c417574686f7269747949642c206772616e6470613a3a507265766f74653c482c204e3e2c0a417574686f726974795369676e61747572653e00000024507265636f6d6d6974040051020141016772616e6470613a3a45717569766f636174696f6e3c417574686f7269747949642c206772616e6470613a3a507265636f6d6d69743c482c204e3e2c0a417574686f726974795369676e61747572653e000100003902084066696e616c6974795f6772616e6470613045717569766f636174696f6e0c08496401d00456013d02045301410200100130726f756e645f6e756d62657218010c7536340001206964656e74697479d00108496400011466697273744d02011828562c2053290001187365636f6e644d02011828562c20532900003d02084066696e616c6974795f6772616e6470611c507265766f7465080448012c044e01100008012c7461726765745f686173682c0104480001347461726765745f6e756d6265721001044e000041020c5073705f636f6e73656e7375735f6772616e6470610c617070245369676e61747572650000040045020148656432353531393a3a5369676e6174757265000045020c1c73705f636f72651c65643235353139245369676e617475726500000400490201205b75383b2036345d000049020000034000000008004d02000004083d024102005102084066696e616c6974795f6772616e6470613045717569766f636174696f6e0c08496401d00456015502045301410200100130726f756e645f6e756d62657218010c7536340001206964656e74697479d00108496400011466697273745902011828562c2053290001187365636f6e645902011828562c20532900005502084066696e616c6974795f6772616e64706124507265636f6d6d6974080448012c044e01100008012c7461726765745f686173682c0104480001347461726765745f6e756d6265721001044e000059020000040855024102005d020c4070616c6c65745f696d5f6f6e6c696e651870616c6c65741043616c6c04045400010424686561727462656174080124686561727462656174610201704865617274626561743c426c6f636b4e756d626572466f723c543e3e0001247369676e6174757265650201bc3c543a3a417574686f7269747949642061732052756e74696d654170705075626c69633e3a3a5369676e617475726500000468536565205b6050616c6c65743a3a686561727462656174605d2e040d01436f6e7461696e7320612076617269616e742070657220646973706174636861626c652065787472696e736963207468617420746869732070616c6c6574206861732e6102084070616c6c65745f696d5f6f6e6c696e6524486561727462656174042c426c6f636b4e756d626572011000100130626c6f636b5f6e756d62657210012c426c6f636b4e756d62657200013473657373696f6e5f696e64657810013053657373696f6e496e64657800013c617574686f726974795f696e64657810012441757468496e64657800013876616c696461746f72735f6c656e10010c75333200006502104070616c6c65745f696d5f6f6e6c696e651c737232353531392c6170705f73723235353139245369676e61747572650000040069020148737232353531393a3a5369676e6174757265000069020c1c73705f636f72651c73723235353139245369676e617475726500000400490201205b75383b2036345d00006d020c2c70616c6c65745f7375646f1870616c6c65741043616c6c040454000114107375646f04011063616c6ccd01017c426f783c3c5420617320436f6e6669673e3a3a52756e74696d6543616c6c3e00000454536565205b6050616c6c65743a3a7375646f605d2e547375646f5f756e636865636b65645f77656967687408011063616c6ccd01017c426f783c3c5420617320436f6e6669673e3a3a52756e74696d6543616c6c3e00011877656967687424011857656967687400010498536565205b6050616c6c65743a3a7375646f5f756e636865636b65645f776569676874605d2e1c7365745f6b657904010c6e6577050201504163636f756e7449644c6f6f6b75704f663c543e00020460536565205b6050616c6c65743a3a7365745f6b6579605d2e1c7375646f5f617308010c77686f050201504163636f756e7449644c6f6f6b75704f663c543e00011063616c6ccd01017c426f783c3c5420617320436f6e6669673e3a3a52756e74696d6543616c6c3e00030460536565205b6050616c6c65743a3a7375646f5f6173605d2e2872656d6f76655f6b65790004046c536565205b6050616c6c65743a3a72656d6f76655f6b6579605d2e040d01436f6e7461696e7320612076617269616e742070657220646973706174636861626c652065787472696e736963207468617420746869732070616c6c6574206861732e71020c5470616c6c65745f757067726164655f6f726967696e1870616c6c65741043616c6c0404540001084064697370617463685f61735f726f6f7404011063616c6ccd010160426f783c3c5420617320436f6e6669673e3a3a43616c6c3e00000484536565205b6050616c6c65743a3a64697370617463685f61735f726f6f74605d2e8464697370617463685f61735f726f6f745f756e636865636b65645f77656967687408011063616c6ccd010160426f783c3c5420617320436f6e6669673e3a3a43616c6c3e000118776569676874240118576569676874000104c8536565205b6050616c6c65743a3a64697370617463685f61735f726f6f745f756e636865636b65645f776569676874605d2e040d01436f6e7461696e7320612076617269616e742070657220646973706174636861626c652065787472696e736963207468617420746869732070616c6c6574206861732e75020c3c70616c6c65745f707265696d6167651870616c6c65741043616c6c040454000114346e6f74655f707265696d616765040114627974657330011c5665633c75383e00000478536565205b6050616c6c65743a3a6e6f74655f707265696d616765605d2e3c756e6e6f74655f707265696d616765040110686173682c011c543a3a4861736800010480536565205b6050616c6c65743a3a756e6e6f74655f707265696d616765605d2e40726571756573745f707265696d616765040110686173682c011c543a3a4861736800020484536565205b6050616c6c65743a3a726571756573745f707265696d616765605d2e48756e726571756573745f707265696d616765040110686173682c011c543a3a486173680003048c536565205b6050616c6c65743a3a756e726571756573745f707265696d616765605d2e38656e737572655f757064617465640401186861736865735d0101305665633c543a3a486173683e0004047c536565205b6050616c6c65743a3a656e737572655f75706461746564605d2e040d01436f6e7461696e7320612076617269616e742070657220646973706174636861626c652065787472696e736963207468617420746869732070616c6c6574206861732e79020c4470616c6c65745f636f6c6c6563746976651870616c6c65741043616c6c0804540004490001182c7365745f6d656d626572730c012c6e65775f6d656d626572737d0201445665633c543a3a4163636f756e7449643e0001147072696d65f401504f7074696f6e3c543a3a4163636f756e7449643e0001246f6c645f636f756e7410012c4d656d626572436f756e7400000470536565205b6050616c6c65743a3a7365745f6d656d62657273605d2e1c6578656375746508012070726f706f73616ccd01017c426f783c3c5420617320436f6e6669673c493e3e3a3a50726f706f73616c3e0001306c656e6774685f626f756e646901010c75333200010460536565205b6050616c6c65743a3a65786563757465605d2e1c70726f706f73650c01247468726573686f6c646901012c4d656d626572436f756e7400012070726f706f73616ccd01017c426f783c3c5420617320436f6e6669673c493e3e3a3a50726f706f73616c3e0001306c656e6774685f626f756e646901010c75333200020460536565205b6050616c6c65743a3a70726f706f7365605d2e10766f74650c012070726f706f73616c2c011c543a3a48617368000114696e6465786901013450726f706f73616c496e64657800011c617070726f7665740110626f6f6c00030454536565205b6050616c6c65743a3a766f7465605d2e4c646973617070726f76655f70726f706f73616c04013470726f706f73616c5f686173682c011c543a3a4861736800050490536565205b6050616c6c65743a3a646973617070726f76655f70726f706f73616c605d2e14636c6f736510013470726f706f73616c5f686173682c011c543a3a48617368000114696e6465786901013450726f706f73616c496e64657800015470726f706f73616c5f7765696768745f626f756e642401185765696768740001306c656e6774685f626f756e646901010c75333200060458536565205b6050616c6c65743a3a636c6f7365605d2e040d01436f6e7461696e7320612076617269616e742070657220646973706174636861626c652065787472696e736963207468617420746869732070616c6c6574206861732e7d02000002000081020c6470616c6c65745f756e6976657273616c5f6469766964656e641870616c6c65741043616c6c04045400010c24636c61696d5f75647300000468536565205b6050616c6c65743a3a636c61696d5f756473605d2e2c7472616e736665725f7564080110646573740502018c3c543a3a4c6f6f6b7570206173205374617469634c6f6f6b75703e3a3a536f7572636500011476616c756528013042616c616e63654f663c543e00010470536565205b6050616c6c65743a3a7472616e736665725f7564605d2e587472616e736665725f75645f6b6565705f616c697665080110646573740502018c3c543a3a4c6f6f6b7570206173205374617469634c6f6f6b75703e3a3a536f7572636500011476616c756528013042616c616e63654f663c543e0002049c536565205b6050616c6c65743a3a7472616e736665725f75645f6b6565705f616c697665605d2e040d01436f6e7461696e7320612076617269616e742070657220646973706174636861626c652065787472696e736963207468617420746869732070616c6c6574206861732e85020c3c70616c6c65745f6964656e746974791870616c6c65741043616c6c04045400011c3c6372656174655f6964656e746974790401246f776e65725f6b6579000130543a3a4163636f756e74496400000480536565205b6050616c6c65743a3a6372656174655f6964656e74697479605d2e40636f6e6669726d5f6964656e74697479040124696474795f6e616d6511010120496474794e616d6500010484536565205b6050616c6c65743a3a636f6e6669726d5f6964656e74697479605d2e406368616e67655f6f776e65725f6b657908011c6e65775f6b6579000130543a3a4163636f756e74496400012c6e65775f6b65795f73696789020130543a3a5369676e617475726500030484536565205b6050616c6c65743a3a6368616e67655f6f776e65725f6b6579605d2e3c7265766f6b655f6964656e746974790c0128696474795f696e646578100130543a3a49647479496e6465780001387265766f636174696f6e5f6b6579000130543a3a4163636f756e7449640001387265766f636174696f6e5f73696789020130543a3a5369676e617475726500040480536565205b6050616c6c65743a3a7265766f6b655f6964656e74697479605d2e6c7072756e655f6974656d5f6964656e7469746965735f6e616d65730401146e616d6573950201345665633c496474794e616d653e000604b0536565205b6050616c6c65743a3a7072756e655f6974656d5f6964656e7469746965735f6e616d6573605d2e3c6669785f73756666696369656e74730801246f776e65725f6b6579000130543a3a4163636f756e74496400010c696e63740110626f6f6c00070480536565205b6050616c6c65743a3a6669785f73756666696369656e7473605d2e306c696e6b5f6163636f756e740801286163636f756e745f6964000130543a3a4163636f756e74496400012c7061796c6f61645f73696789020130543a3a5369676e617475726500080474536565205b6050616c6c65743a3a6c696e6b5f6163636f756e74605d2e040d01436f6e7461696e7320612076617269616e742070657220646973706174636861626c652065787472696e736963207468617420746869732070616c6c6574206861732e8902082873705f72756e74696d65384d756c74695369676e617475726500010c1c45643235353139040045020148656432353531393a3a5369676e61747572650000001c53723235353139040069020148737232353531393a3a5369676e617475726500010014456364736104008d02014065636473613a3a5369676e6174757265000200008d020c1c73705f636f7265146563647361245369676e6174757265000004009102017c5b75383b205349474e41545552455f53455249414c495a45445f53495a455d00009102000003410000000800950200000211010099020c5070616c6c65745f63657274696669636174696f6e1870616c6c65741043616c6c040454000110206164645f636572740401207265636569766572100130543a3a49647479496e64657800000464536565205b6050616c6c65743a3a6164645f63657274605d2e2872656e65775f636572740401207265636569766572100130543a3a49647479496e6465780003046c536565205b6050616c6c65743a3a72656e65775f63657274605d2e2064656c5f63657274080118697373756572100130543a3a49647479496e6465780001207265636569766572100130543a3a49647479496e64657800010464536565205b6050616c6c65743a3a64656c5f63657274605d2e7072656d6f76655f616c6c5f63657274735f72656365697665645f6279040128696474795f696e646578100130543a3a49647479496e646578000204b4536565205b6050616c6c65743a3a72656d6f76655f616c6c5f63657274735f72656365697665645f6279605d2e040d01436f6e7461696e7320612076617269616e742070657220646973706174636861626c652065787472696e736963207468617420746869732070616c6c6574206861732e9d020c3c70616c6c65745f64697374616e63651870616c6c65741043616c6c0404540001146c726571756573745f64697374616e63655f6576616c756174696f6e000004b0536565205b6050616c6c65743a3a726571756573745f64697374616e63655f6576616c756174696f6e605d2e7c726571756573745f64697374616e63655f6576616c756174696f6e5f666f72040118746172676574100130543a3a49647479496e646578000404c0536565205b6050616c6c65743a3a726571756573745f64697374616e63655f6576616c756174696f6e5f666f72605d2e447570646174655f6576616c756174696f6e040148636f6d7075746174696f6e5f726573756c74a1020144436f6d7075746174696f6e526573756c7400010488536565205b6050616c6c65743a3a7570646174655f6576616c756174696f6e605d2e5c666f7263655f7570646174655f6576616c756174696f6e0801246576616c7561746f720001983c54206173206672616d655f73797374656d3a3a436f6e6669673e3a3a4163636f756e744964000148636f6d7075746174696f6e5f726573756c74a1020144436f6d7075746174696f6e526573756c74000204a0536565205b6050616c6c65743a3a666f7263655f7570646174655f6576616c756174696f6e605d2e6c666f7263655f76616c69645f64697374616e63655f7374617475730401206964656e746974791001a43c542061732070616c6c65745f6964656e746974793a3a436f6e6669673e3a3a49647479496e646578000304b0536565205b6050616c6c65743a3a666f7263655f76616c69645f64697374616e63655f737461747573605d2e040d01436f6e7461696e7320612076617269616e742070657220646973706174636861626c652065787472696e736963207468617420746869732070616c6c6574206861732ea102082c73705f64697374616e636544436f6d7075746174696f6e526573756c74000004012464697374616e636573a50201305665633c50657262696c6c3e0000a502000002a90200a9020c3473705f61726974686d65746963287065725f7468696e67731c50657262696c6c0000040010010c7533320000ad020c4870616c6c65745f61746f6d69635f737761701870616c6c65741043616c6c04045400010c2c6372656174655f73776170100118746172676574000130543a3a4163636f756e7449640001306861736865645f70726f6f6604012c48617368656450726f6f66000118616374696f6e35010134543a3a53776170416374696f6e0001206475726174696f6e100144426c6f636b4e756d626572466f723c543e00000470536565205b6050616c6c65743a3a6372656174655f73776170605d2e28636c61696d5f7377617008011470726f6f6630011c5665633c75383e000118616374696f6e35010134543a3a53776170416374696f6e0001046c536565205b6050616c6c65743a3a636c61696d5f73776170605d2e2c63616e63656c5f73776170080118746172676574000130543a3a4163636f756e7449640001306861736865645f70726f6f6604012c48617368656450726f6f6600020470536565205b6050616c6c65743a3a63616e63656c5f73776170605d2e040d01436f6e7461696e7320612076617269616e742070657220646973706174636861626c652065787472696e736963207468617420746869732070616c6c6574206861732eb1020c3c70616c6c65745f6d756c74697369671870616c6c65741043616c6c0404540001105061735f6d756c74695f7468726573686f6c645f310801446f746865725f7369676e61746f726965737d0201445665633c543a3a4163636f756e7449643e00011063616c6ccd01017c426f783c3c5420617320436f6e6669673e3a3a52756e74696d6543616c6c3e00000494536565205b6050616c6c65743a3a61735f6d756c74695f7468726573686f6c645f31605d2e2061735f6d756c74691401247468726573686f6c640901010c7531360001446f746865725f7369676e61746f726965737d0201445665633c543a3a4163636f756e7449643e00013c6d617962655f74696d65706f696e74b50201904f7074696f6e3c54696d65706f696e743c426c6f636b4e756d626572466f723c543e3e3e00011063616c6ccd01017c426f783c3c5420617320436f6e6669673e3a3a52756e74696d6543616c6c3e0001286d61785f77656967687424011857656967687400010464536565205b6050616c6c65743a3a61735f6d756c7469605d2e40617070726f76655f61735f6d756c74691401247468726573686f6c640901010c7531360001446f746865725f7369676e61746f726965737d0201445665633c543a3a4163636f756e7449643e00013c6d617962655f74696d65706f696e74b50201904f7074696f6e3c54696d65706f696e743c426c6f636b4e756d626572466f723c543e3e3e00012463616c6c5f686173680401205b75383b2033325d0001286d61785f77656967687424011857656967687400020484536565205b6050616c6c65743a3a617070726f76655f61735f6d756c7469605d2e3c63616e63656c5f61735f6d756c74691001247468726573686f6c640901010c7531360001446f746865725f7369676e61746f726965737d0201445665633c543a3a4163636f756e7449643e00012474696d65706f696e743d01017054696d65706f696e743c426c6f636b4e756d626572466f723c543e3e00012463616c6c5f686173680401205b75383b2033325d00030480536565205b6050616c6c65743a3a63616e63656c5f61735f6d756c7469605d2e040d01436f6e7461696e7320612076617269616e742070657220646973706174636861626c652065787472696e736963207468617420746869732070616c6c6574206861732eb50204184f7074696f6e040454013d010108104e6f6e6500000010536f6d6504003d010000010000b9020c6470616c6c65745f70726f766964655f72616e646f6d6e6573731870616c6c65741043616c6c0404540001041c7265717565737408013c72616e646f6d6e6573735f747970654501013852616e646f6d6e6573735479706500011073616c742c01104832353600000460536565205b6050616c6c65743a3a72657175657374605d2e040d01436f6e7461696e7320612076617269616e742070657220646973706174636861626c652065787472696e736963207468617420746869732070616c6c6574206861732ebd020c3070616c6c65745f70726f78791870616c6c65741043616c6c0404540001281470726f78790c01107265616c050201504163636f756e7449644c6f6f6b75704f663c543e000140666f7263655f70726f78795f74797065c10201504f7074696f6e3c543a3a50726f7879547970653e00011063616c6ccd01017c426f783c3c5420617320436f6e6669673e3a3a52756e74696d6543616c6c3e00000458536565205b6050616c6c65743a3a70726f7879605d2e246164645f70726f78790c012064656c6567617465050201504163636f756e7449644c6f6f6b75704f663c543e00012870726f78795f747970654d010130543a3a50726f78795479706500011464656c6179100144426c6f636b4e756d626572466f723c543e00010468536565205b6050616c6c65743a3a6164645f70726f7879605d2e3072656d6f76655f70726f78790c012064656c6567617465050201504163636f756e7449644c6f6f6b75704f663c543e00012870726f78795f747970654d010130543a3a50726f78795479706500011464656c6179100144426c6f636b4e756d626572466f723c543e00020474536565205b6050616c6c65743a3a72656d6f76655f70726f7879605d2e3872656d6f76655f70726f786965730003047c536565205b6050616c6c65743a3a72656d6f76655f70726f78696573605d2e2c6372656174655f707572650c012870726f78795f747970654d010130543a3a50726f78795479706500011464656c6179100144426c6f636b4e756d626572466f723c543e000114696e6465780901010c75313600040470536565205b6050616c6c65743a3a6372656174655f70757265605d2e246b696c6c5f7075726514011c737061776e6572050201504163636f756e7449644c6f6f6b75704f663c543e00012870726f78795f747970654d010130543a3a50726f787954797065000114696e6465780901010c75313600011868656967687469010144426c6f636b4e756d626572466f723c543e0001246578745f696e6465786901010c75333200050468536565205b6050616c6c65743a3a6b696c6c5f70757265605d2e20616e6e6f756e63650801107265616c050201504163636f756e7449644c6f6f6b75704f663c543e00012463616c6c5f686173682c013443616c6c486173684f663c543e00060464536565205b6050616c6c65743a3a616e6e6f756e6365605d2e4c72656d6f76655f616e6e6f756e63656d656e740801107265616c050201504163636f756e7449644c6f6f6b75704f663c543e00012463616c6c5f686173682c013443616c6c486173684f663c543e00070490536565205b6050616c6c65743a3a72656d6f76655f616e6e6f756e63656d656e74605d2e4c72656a6563745f616e6e6f756e63656d656e7408012064656c6567617465050201504163636f756e7449644c6f6f6b75704f663c543e00012463616c6c5f686173682c013443616c6c486173684f663c543e00080490536565205b6050616c6c65743a3a72656a6563745f616e6e6f756e63656d656e74605d2e3c70726f78795f616e6e6f756e63656410012064656c6567617465050201504163636f756e7449644c6f6f6b75704f663c543e0001107265616c050201504163636f756e7449644c6f6f6b75704f663c543e000140666f7263655f70726f78795f74797065c10201504f7074696f6e3c543a3a50726f7879547970653e00011063616c6ccd01017c426f783c3c5420617320436f6e6669673e3a3a52756e74696d6543616c6c3e00090480536565205b6050616c6c65743a3a70726f78795f616e6e6f756e636564605d2e040d01436f6e7461696e7320612076617269616e742070657220646973706174636861626c652065787472696e736963207468617420746869732070616c6c6574206861732ec10204184f7074696f6e040454014d010108104e6f6e6500000010536f6d6504004d010000010000c5020c3870616c6c65745f7574696c6974791870616c6c65741043616c6c04045400011814626174636804011463616c6c73c902017c5665633c3c5420617320436f6e6669673e3a3a52756e74696d6543616c6c3e00000458536565205b6050616c6c65743a3a6261746368605d2e3461735f64657269766174697665080114696e6465780901010c75313600011063616c6ccd01017c426f783c3c5420617320436f6e6669673e3a3a52756e74696d6543616c6c3e00010478536565205b6050616c6c65743a3a61735f64657269766174697665605d2e2462617463685f616c6c04011463616c6c73c902017c5665633c3c5420617320436f6e6669673e3a3a52756e74696d6543616c6c3e00020468536565205b6050616c6c65743a3a62617463685f616c6c605d2e2c64697370617463685f617308012461735f6f726967696ecd020154426f783c543a3a50616c6c6574734f726967696e3e00011063616c6ccd01017c426f783c3c5420617320436f6e6669673e3a3a52756e74696d6543616c6c3e00030470536565205b6050616c6c65743a3a64697370617463685f6173605d2e2c666f7263655f626174636804011463616c6c73c902017c5665633c3c5420617320436f6e6669673e3a3a52756e74696d6543616c6c3e00040470536565205b6050616c6c65743a3a666f7263655f6261746368605d2e2c776974685f77656967687408011063616c6ccd01017c426f783c3c5420617320436f6e6669673e3a3a52756e74696d6543616c6c3e00011877656967687424011857656967687400050470536565205b6050616c6c65743a3a776974685f776569676874605d2e040d01436f6e7461696e7320612076617269616e742070657220646973706174636861626c652065787472696e736963207468617420746869732070616c6c6574206861732ec902000002cd0100cd020830676465765f72756e74696d65304f726967696e43616c6c657200010c1873797374656d0400d10201746672616d655f73797374656d3a3a4f726967696e3c52756e74696d653e00000048546563686e6963616c436f6d6d69747465650400d50201010170616c6c65745f636f6c6c6563746976653a3a4f726967696e3c52756e74696d652c2070616c6c65745f636f6c6c6563746976653a3a496e7374616e6365323e00170010566f69640400d90201410173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a0a5f5f707269766174653a3a566f696400020000d1020c346672616d655f737570706f7274206469737061746368245261774f726967696e04244163636f756e7449640100010c10526f6f74000000185369676e656404000001244163636f756e744964000100104e6f6e6500020000d502084470616c6c65745f636f6c6c656374697665245261774f726967696e08244163636f756e7449640100044900010c1c4d656d62657273080010012c4d656d626572436f756e74000010012c4d656d626572436f756e74000000184d656d62657204000001244163636f756e744964000100205f5068616e746f6d00020000d902081c73705f636f726510566f696400010000dd020c3c70616c6c65745f74726561737572791870616c6c65741043616c6c0804540004490001243470726f706f73655f7370656e6408011476616c756528013c42616c616e63654f663c542c20493e00012c62656e6566696369617279050201504163636f756e7449644c6f6f6b75704f663c543e00000478536565205b6050616c6c65743a3a70726f706f73655f7370656e64605d2e3c72656a6563745f70726f706f73616c04012c70726f706f73616c5f69646901013450726f706f73616c496e64657800010480536565205b6050616c6c65743a3a72656a6563745f70726f706f73616c605d2e40617070726f76655f70726f706f73616c04012c70726f706f73616c5f69646901013450726f706f73616c496e64657800020484536565205b6050616c6c65743a3a617070726f76655f70726f706f73616c605d2e2c7370656e645f6c6f63616c080118616d6f756e7428013c42616c616e63654f663c542c20493e00012c62656e6566696369617279050201504163636f756e7449644c6f6f6b75704f663c543e00030470536565205b6050616c6c65743a3a7370656e645f6c6f63616c605d2e3c72656d6f76655f617070726f76616c04012c70726f706f73616c5f69646901013450726f706f73616c496e64657800040480536565205b6050616c6c65743a3a72656d6f76655f617070726f76616c605d2e147370656e6410012861737365745f6b696e648c0144426f783c543a3a41737365744b696e643e000118616d6f756e74280150417373657442616c616e63654f663c542c20493e00012c62656e656669636961727905020178426f783c42656e65666963696172794c6f6f6b75704f663c542c20493e3e00012876616c69645f66726f6d1c01644f7074696f6e3c426c6f636b4e756d626572466f723c543e3e00050458536565205b6050616c6c65743a3a7370656e64605d2e187061796f7574040114696e6465781001285370656e64496e6465780006045c536565205b6050616c6c65743a3a7061796f7574605d2e30636865636b5f737461747573040114696e6465781001285370656e64496e64657800070474536565205b6050616c6c65743a3a636865636b5f737461747573605d2e28766f69645f7370656e64040114696e6465781001285370656e64496e6465780008046c536565205b6050616c6c65743a3a766f69645f7370656e64605d2e040d01436f6e7461696e7320612076617269616e742070657220646973706174636861626c652065787472696e736963207468617420746869732070616c6c6574206861732ee1020c2873705f72756e74696d65187472616974732c426c616b6554776f32353600000000e5020c4c626f756e6465645f636f6c6c656374696f6e732c626f756e6465645f76656328426f756e64656456656308045401080453000004003001185665633c543e0000e902000002c10100ed020c4070616c6c65745f7363686564756c65721870616c6c6574144572726f72040454000114404661696c6564546f5363686564756c65000004644661696c656420746f207363686564756c6520612063616c6c204e6f74466f756e640001047c43616e6e6f742066696e6420746865207363686564756c65642063616c6c2e5c546172676574426c6f636b4e756d626572496e50617374000204a4476976656e2074617267657420626c6f636b206e756d62657220697320696e2074686520706173742e4852657363686564756c654e6f4368616e6765000304f052657363686564756c65206661696c6564206265636175736520697420646f6573206e6f74206368616e6765207363686564756c65642074696d652e144e616d6564000404d0417474656d707420746f207573652061206e6f6e2d6e616d65642066756e6374696f6e206f6e2061206e616d6564207461736b2e048054686520604572726f726020656e756d206f6620746869732070616c6c65742ef1020c4c626f756e6465645f636f6c6c656374696f6e73407765616b5f626f756e6465645f766563385765616b426f756e64656456656308045401f502045300000400f90201185665633c543e0000f50200000408e5011800f902000002f50200fd020c4c626f756e6465645f636f6c6c656374696f6e732c626f756e6465645f76656328426f756e6465645665630804540104045300000400010301185665633c543e000001030000020400050304184f7074696f6e0404540109030108104e6f6e6500000010536f6d6504000903000001000009030c4473705f636f6e73656e7375735f626162651c646967657374732450726544696765737400010c1c5072696d61727904000d0301405072696d617279507265446967657374000100385365636f6e64617279506c61696e04001503015c5365636f6e64617279506c61696e507265446967657374000200305365636f6e646172795652460400190301545365636f6e64617279565246507265446967657374000300000d030c4473705f636f6e73656e7375735f626162651c64696765737473405072696d61727950726544696765737400000c013c617574686f726974795f696e64657810015473757065723a3a417574686f72697479496e646578000110736c6f74e9010110536c6f740001347672665f7369676e6174757265110301305672665369676e617475726500001103101c73705f636f72651c737232353531390c767266305672665369676e617475726500000801287072655f6f75747075740401305672665072654f757470757400011470726f6f664902012056726650726f6f66000015030c4473705f636f6e73656e7375735f626162651c646967657374735c5365636f6e64617279506c61696e507265446967657374000008013c617574686f726974795f696e64657810015473757065723a3a417574686f72697479496e646578000110736c6f74e9010110536c6f74000019030c4473705f636f6e73656e7375735f626162651c64696765737473545365636f6e6461727956524650726544696765737400000c013c617574686f726974795f696e64657810015473757065723a3a417574686f72697479496e646578000110736c6f74e9010110536c6f740001347672665f7369676e6174757265110301305672665369676e617475726500001d03084473705f636f6e73656e7375735f62616265584261626545706f6368436f6e66696775726174696f6e000008010463f5010128287536342c2075363429000134616c6c6f7765645f736c6f7473f9010130416c6c6f776564536c6f7473000021030c4c626f756e6465645f636f6c6c656374696f6e732c626f756e6465645f76656328426f756e646564566563080454012503045300000400290301185665633c543e000025030000040818100029030000022503002d030c2c70616c6c65745f626162651870616c6c6574144572726f7204045400011060496e76616c696445717569766f636174696f6e50726f6f660000043101416e2065717569766f636174696f6e2070726f6f662070726f76696465642061732070617274206f6620616e2065717569766f636174696f6e207265706f727420697320696e76616c69642e60496e76616c69644b65794f776e65727368697050726f6f66000104310141206b6579206f776e6572736869702070726f6f662070726f76696465642061732070617274206f6620616e2065717569766f636174696f6e207265706f727420697320696e76616c69642e584475706c69636174654f6666656e63655265706f727400020415014120676976656e2065717569766f636174696f6e207265706f72742069732076616c69642062757420616c72656164792070726576696f75736c79207265706f727465642e50496e76616c6964436f6e66696775726174696f6e0003048c5375626d697474656420636f6e66696775726174696f6e20697320696e76616c69642e048054686520604572726f726020656e756d206f6620746869732070616c6c65742e31030c7870616c6c65745f64756e697465725f746573745f706172616d657465727314747970657328506172616d6574657273102c426c6f636b4e756d62657201102443657274436f756e7401102c506572696f64436f756e7401183053657373696f6e436f756e7401100044014c626162655f65706f63685f6475726174696f6e18012c506572696f64436f756e7400012c636572745f706572696f6410012c426c6f636b4e756d626572000148636572745f6d61785f62795f69737375657210012443657274436f756e74000190636572745f6d696e5f72656365697665645f636572745f746f5f69737375655f6365727410012443657274436f756e74000150636572745f76616c69646974795f706572696f6410012c426c6f636b4e756d62657200014c696474795f636f6e6669726d5f706572696f6410012c426c6f636b4e756d626572000150696474795f6372656174696f6e5f706572696f6410012c426c6f636b4e756d6265720001446d656d626572736869705f706572696f6410012c426c6f636b4e756d6265720001646d656d626572736869705f72656e6577616c5f706572696f6410012c426c6f636b4e756d62657200014875645f6372656174696f6e5f706572696f6418012c506572696f64436f756e7400014075645f72656576616c5f706572696f6418012c506572696f64436f756e74000160736d6974685f636572745f6d61785f62795f69737375657210012443657274436f756e74000184736d6974685f776f745f6d696e5f636572745f666f725f6d656d6265727368697010012443657274436f756e74000174736d6974685f696e61637469766974795f6d61785f6475726174696f6e10013053657373696f6e436f756e74000168776f745f66697273745f636572745f6973737561626c655f6f6e10012c426c6f636b4e756d626572000188776f745f6d696e5f636572745f666f725f6372656174655f696474795f726967687410012443657274436f756e7400016c776f745f6d696e5f636572745f666f725f6d656d6265727368697010012443657274436f756e74000035030c3c70616c6c65745f62616c616e6365731474797065732c4163636f756e7444617461041c42616c616e63650118001001106672656518011c42616c616e6365000120726573657276656418011c42616c616e636500011866726f7a656e18011c42616c616e6365000114666c616773390301284578747261466c616773000039030c3c70616c6c65745f62616c616e636573147479706573284578747261466c616773000004003d0301107531323800003d03000005070041030c4c626f756e6465645f636f6c6c656374696f6e73407765616b5f626f756e6465645f766563385765616b426f756e6465645665630804540145030453000004004d0301185665633c543e000045030c3c70616c6c65745f62616c616e6365731474797065732c42616c616e63654c6f636b041c42616c616e63650118000c01086964b10101384c6f636b4964656e746966696572000118616d6f756e7418011c42616c616e636500011c726561736f6e734903011c526561736f6e73000049030c3c70616c6c65745f62616c616e6365731474797065731c526561736f6e7300010c0c466565000000104d6973630001000c416c6c000200004d0300000245030051030c4c626f756e6465645f636f6c6c656374696f6e732c626f756e6465645f76656328426f756e646564566563080454015503045300000400590301185665633c543e000055030c3c70616c6c65745f62616c616e6365731474797065732c52657365727665446174610844526573657276654964656e74696669657201b1011c42616c616e63650118000801086964b1010144526573657276654964656e746966696572000118616d6f756e7418011c42616c616e6365000059030000025503005d030c4c626f756e6465645f636f6c6c656374696f6e732c626f756e6465645f76656328426f756e646564566563080454016103045300000400650301185665633c543e000061030c3c70616c6c65745f62616c616e636573147479706573204964416d6f756e7408084964018c1c42616c616e636501180008010869648c01084964000118616d6f756e7418011c42616c616e63650000650300000261030069030c3c70616c6c65745f62616c616e6365731870616c6c6574144572726f720804540004490001283856657374696e6742616c616e63650000049c56657374696e672062616c616e636520746f6f206869676820746f2073656e642076616c75652e544c69717569646974795265737472696374696f6e73000104c84163636f756e74206c6971756964697479207265737472696374696f6e732070726576656e74207769746864726177616c2e4c496e73756666696369656e7442616c616e63650002047842616c616e636520746f6f206c6f7720746f2073656e642076616c75652e484578697374656e7469616c4465706f736974000304ec56616c756520746f6f206c6f7720746f20637265617465206163636f756e742064756520746f206578697374656e7469616c206465706f7369742e34457870656e646162696c697479000404905472616e736665722f7061796d656e7420776f756c64206b696c6c206163636f756e742e5c4578697374696e6756657374696e675363686564756c65000504cc412076657374696e67207363686564756c6520616c72656164792065786973747320666f722074686973206163636f756e742e2c446561644163636f756e740006048c42656e6566696369617279206163636f756e74206d757374207072652d65786973742e3c546f6f4d616e795265736572766573000704b84e756d626572206f66206e616d65642072657365727665732065786365656420604d61785265736572766573602e30546f6f4d616e79486f6c6473000804884e756d626572206f6620686f6c64732065786365656420604d6178486f6c6473602e38546f6f4d616e79467265657a6573000904984e756d626572206f6620667265657a65732065786365656420604d6178467265657a6573602e048054686520604572726f726020656e756d206f6620746869732070616c6c65742e6d030c3473705f61726974686d657469632c66697865645f706f696e7424466978656455313238000004003d0301107531323800007103086870616c6c65745f7472616e73616374696f6e5f7061796d656e742052656c6561736573000108245631416e6369656e740000000856320001000075030c5870616c6c65745f6f6e6573686f745f6163636f756e741870616c6c6574144572726f7204045400011c4c426c6f636b486569676874496e46757475726500000478426c6f636b2068656967687420697320696e20746865206675747572652e44426c6f636b486569676874546f6f4f6c6400010460426c6f636b2068656967687420697320746f6f206f6c642e4c446573744163636f756e744e6f7445786973740002048c44657374696e6174696f6e206163636f756e7420646f6573206e6f742065786973742e484578697374656e7469616c4465706f736974000304110144657374696e6174696f6e206163636f756e742068617320612062616c616e6365206c657373207468616e20746865206578697374656e7469616c206465706f7369742e4c496e73756666696369656e7442616c616e6365000404a0536f75726365206163636f756e742068617320696e73756666696369656e742062616c616e63652e704f6e6573686f744163636f756e74416c726561647943726561746564000504ac44657374696e6174696f6e206f6e6573686f74206163636f756e7420616c7265616479206578697374732e584f6e6573686f744163636f756e744e6f74457869737400060498536f75726365206f6e6573686f74206163636f756e7420646f6573206e6f742065786973742e048054686520604572726f726020656e756d206f6620746869732070616c6c65742e79030c3070616c6c65745f71756f74611870616c6c65741451756f7461082c426c6f636b4e756d62657201101c42616c616e63650118000801206c6173745f75736510012c426c6f636b4e756d626572000118616d6f756e7418011c42616c616e636500007d030c4c626f756e6465645f636f6c6c656374696f6e732c626f756e6465645f76656328426f756e646564566563080454018103045300000400850301185665633c543e000081030c3070616c6c65745f71756f74611870616c6c657418526566756e640c244163636f756e74496401001849647479496401101c42616c616e63650118000c011c6163636f756e740001244163636f756e7449640001206964656e74697479100118496474794964000118616d6f756e7418011c42616c616e63650000850300000281030089030c5070616c6c65745f736d6974685f6d656d6265727314747970657324536d6974684d657461042449647479496e6465780110001001187374617475738d03012c536d697468537461747573000128657870697265735f6f6e1c01504f7074696f6e3c53657373696f6e496e6465783e0001306973737565645f6365727473b401385665633c49647479496e6465783e00013872656365697665645f6365727473b401385665633c49647479496e6465783e00008d03085070616c6c65745f736d6974685f6d656d626572732c536d6974685374617475730001101c496e76697465640000001c50656e64696e6700010014536d697468000200204578636c756465640003000091030c5070616c6c65745f736d6974685f6d656d626572731870616c6c6574144572726f7204045400013c604f726967696e4d75737448617665416e4964656e746974790000044d01497373756572206f6620616e797468696e672028696e7669746174696f6e2c20616363657074616e63652c2063657274696669636174696f6e29206d757374206861766520616e206964656e74697479204944644f726967696e4861734e657665724265656e496e7669746564000104a4497373756572206d757374206265206b6e6f776e206173206120706f74656e7469616c20736d6974686c496e7669746174696f6e497341536d69746850726976696c65676500020480496e7669746174696f6e20697320726573657665726420746f20736d6974687384496e7669746174696f6e4973414f6e6c696e65536d69746850726976696c6567650003049c496e7669746174696f6e20697320726573657665726420746f206f6e6c696e6520736d6974687364496e7669746174696f6e416c72656164794163636570746564000404a8496e7669746174696f6e206d757374206e6f742068617665206265656e206163636570746564207965747c496e7669746174696f6e4f664578697374696e674e6f6e4578636c756465640005044101496e7669746174696f6e206f6620616e20616c7265616479206b6e6f776e20736d69746820697320666f7262696464656e2065786365707420696620697420686173206265656e206578636c7564656454496e7669746174696f6e4f664e6f6e4d656d626572000604d0496e7669746174696f6e206f662061206e6f6e2d6d656d62657220286f662074686520576f542920697320666f7262696464656e6443657274696669636174696f6e4d7573744265416772656564000704290143657274696669636174696f6e2063616e6e6f74206265206d616465206f6e20736f6d656f6e652077686f20686173206e6f7420616363657074656420616e20696e7669746174696f6e8843657274696669636174696f6e4f6e4578636c756465644973466f7262696464656e000804a043657274696669636174696f6e2063616e6e6f74206265206d616465206f6e206578636c756465647843657274696669636174696f6e497341536d69746850726976696c65676500090458497373756572206d757374206265206120736d6974689043657274696669636174696f6e4973414f6e6c696e65536d69746850726976696c656765000a04784f6e6c79206f6e6c696e6520736d697468732063616e20636572746966797843657274696669636174696f6e4f6653656c664973466f7262696464656e000b046c536d6974682063616e6e6f74206365727469667920697473656c66a043657274696669636174696f6e52656365697665724d757374486176654265656e496e7669746564000c04a45265636569766572206d75737420626520696e766974656420627920616e6f7468657220736d6974686843657274696669636174696f6e416c7265616479457869737473000d04c45265636569766572206d757374206e6f7420616c7265616479206861766520746869732063657274696669636174696f6e7c43657274696669636174696f6e53746f636b46756c6c79436f6e73756d6564000e04b44120736d697468206861732061206c696d697465642073746f636b206f662063657274696669636174696f6e73048054686520604572726f726020656e756d206f6620746869732070616c6c65742e95030c6070616c6c65745f617574686f726974795f6d656d62657273147479706573284d656d6265724461746104244163636f756e7449640100000401246f776e65725f6b65790001244163636f756e744964000099030c6070616c6c65745f617574686f726974795f6d656d626572731870616c6c6574144572726f7204045400012c3c416c7265616479496e636f6d696e67000004604d656d62657220616c726561647920696e636f6d696e672e34416c72656164794f6e6c696e65000104584d656d62657220616c7265616479206f6e6c696e652e3c416c72656164794f7574676f696e67000204604d656d62657220616c7265616479206f7574676f696e672e404d656d62657249644e6f74466f756e64000304844f776e6572206b657920697320696e76616c69642061732061206d656d6265722e444d656d626572426c61636b6c6973746564000404584d656d62657220697320626c61636b6c69737465642e504d656d6265724e6f74426c61636b6c6973746564000504684d656d626572206973206e6f7420626c61636b6c69737465642e384d656d6265724e6f74466f756e64000604444d656d626572206e6f7420666f756e642e504e6f744f6e6c696e654e6f72496e636f6d696e67000704744e656974686572206f6e6c696e65206e6f72207363686564756c65642e244e6f744d656d6265720008042c4e6f74206d656d6265722e5853657373696f6e4b6579734e6f7450726f76696465640009046853657373696f6e206b657973206e6f742070726f76696465642e48546f6f4d616e79417574686f726974696573000a0454546f6f206d616e7920617574686f7269746965732e048054686520604572726f726020656e756d206f6620746869732070616c6c65742e9d030c2873705f7374616b696e671c6f6666656e6365384f6666656e636544657461696c7308205265706f727465720100204f6666656e64657201e8000801206f6666656e646572e801204f6666656e6465720001247265706f72746572737d0201345665633c5265706f727465723e0000a10300000408bc3000a503000004082c1000a903000002ad0300ad030000040800210200b10300000408b5033000b5030c1c73705f636f72651863727970746f244b65795479706549640000040040011c5b75383b20345d0000b9030c3870616c6c65745f73657373696f6e1870616c6c6574144572726f7204045400011430496e76616c696450726f6f6600000460496e76616c6964206f776e6572736869702070726f6f662e5c4e6f4173736f63696174656456616c696461746f7249640001049c4e6f206173736f6369617465642076616c696461746f7220494420666f72206163636f756e742e344475706c6963617465644b65790002046452656769737465726564206475706c6963617465206b65792e184e6f4b657973000304a44e6f206b65797320617265206173736f63696174656420776974682074686973206163636f756e742e244e6f4163636f756e7400040419014b65792073657474696e67206163636f756e74206973206e6f74206c6976652c20736f206974277320696d706f737369626c6520746f206173736f6369617465206b6579732e04744572726f7220666f72207468652073657373696f6e2070616c6c65742ebd03083870616c6c65745f6772616e6470612c53746f726564537461746504044e01100110104c6976650000003050656e64696e6750617573650801307363686564756c65645f61741001044e00011464656c61791001044e000100185061757365640002003450656e64696e67526573756d650801307363686564756c65645f61741001044e00011464656c61791001044e00030000c103083870616c6c65745f6772616e6470614c53746f72656450656e64696e674368616e676508044e0110144c696d697400001001307363686564756c65645f61741001044e00011464656c61791001044e0001406e6578745f617574686f726974696573c503016c426f756e646564417574686f726974794c6973743c4c696d69743e000118666f726365641c01244f7074696f6e3c4e3e0000c5030c4c626f756e6465645f636f6c6c656374696f6e73407765616b5f626f756e6465645f766563385765616b426f756e64656456656308045401cc045300000400c801185665633c543e0000c9030c3870616c6c65745f6772616e6470611870616c6c6574144572726f7204045400011c2c50617573654661696c65640000080501417474656d707420746f207369676e616c204752414e445041207061757365207768656e2074686520617574686f72697479207365742069736e2774206c697665a42865697468657220706175736564206f7220616c72656164792070656e64696e67207061757365292e30526573756d654661696c65640001081101417474656d707420746f207369676e616c204752414e44504120726573756d65207768656e2074686520617574686f72697479207365742069736e277420706175736564a028656974686572206c697665206f7220616c72656164792070656e64696e6720726573756d65292e344368616e676550656e64696e67000204e8417474656d707420746f207369676e616c204752414e445041206368616e67652077697468206f6e6520616c72656164792070656e64696e672e1c546f6f536f6f6e000304bc43616e6e6f74207369676e616c20666f72636564206368616e676520736f20736f6f6e206166746572206c6173742e60496e76616c69644b65794f776e65727368697050726f6f66000404310141206b6579206f776e6572736869702070726f6f662070726f76696465642061732070617274206f6620616e2065717569766f636174696f6e207265706f727420697320696e76616c69642e60496e76616c696445717569766f636174696f6e50726f6f660005043101416e2065717569766f636174696f6e2070726f6f662070726f76696465642061732070617274206f6620616e2065717569766f636174696f6e207265706f727420697320696e76616c69642e584475706c69636174654f6666656e63655265706f727400060415014120676976656e2065717569766f636174696f6e207265706f72742069732076616c69642062757420616c72656164792070726576696f75736c79207265706f727465642e048054686520604572726f726020656e756d206f6620746869732070616c6c65742ecd030c4c626f756e6465645f636f6c6c656374696f6e73407765616b5f626f756e6465645f766563385765616b426f756e64656456656308045401dc045300000400d10301185665633c543e0000d103000002dc00d50300000408100000d9030c4070616c6c65745f696d5f6f6e6c696e651870616c6c6574144572726f7204045400010828496e76616c69644b6579000004604e6f6e206578697374656e74207075626c6963206b65792e4c4475706c696361746564486561727462656174000104544475706c696361746564206865617274626561742e048054686520604572726f726020656e756d206f6620746869732070616c6c65742edd030c4c626f756e6465645f636f6c6c656374696f6e73407765616b5f626f756e6465645f766563385765616b426f756e646564566563080454012502045300000400e10301185665633c543e0000e103000002250200e5030c2c70616c6c65745f7375646f1870616c6c6574144572726f720404540001042c526571756972655375646f0000048053656e646572206d75737420626520746865205375646f206163636f756e742e04684572726f7220666f7220746865205375646f2070616c6c65742ee903083c70616c6c65745f707265696d616765404f6c645265717565737453746174757308244163636f756e74496401001c42616c616e6365011801082c556e72657175657374656408011c6465706f736974a00150284163636f756e7449642c2042616c616e63652900010c6c656e10010c753332000000245265717565737465640c011c6465706f736974a401704f7074696f6e3c284163636f756e7449642c2042616c616e6365293e000114636f756e7410010c75333200010c6c656e1c012c4f7074696f6e3c7533323e00010000ed03083c70616c6c65745f707265696d616765345265717565737453746174757308244163636f756e7449640100185469636b6574018c01082c556e7265717565737465640801187469636b6574f103014c284163636f756e7449642c205469636b65742900010c6c656e10010c753332000000245265717565737465640c01306d617962655f7469636b6574f503016c4f7074696f6e3c284163636f756e7449642c205469636b6574293e000114636f756e7410010c7533320001246d617962655f6c656e1c012c4f7074696f6e3c7533323e00010000f10300000408008c00f50304184f7074696f6e04045401f1030108104e6f6e6500000010536f6d650400f1030000010000f9030c4c626f756e6465645f636f6c6c656374696f6e732c626f756e6465645f76656328426f756e64656456656308045401080453000004003001185665633c543e0000fd030c3c70616c6c65745f707265696d6167651870616c6c6574144572726f7204045400012018546f6f426967000004a0507265696d61676520697320746f6f206c6172676520746f2073746f7265206f6e2d636861696e2e30416c72656164794e6f746564000104a4507265696d6167652068617320616c7265616479206265656e206e6f746564206f6e2d636861696e2e344e6f74417574686f72697a6564000204c85468652075736572206973206e6f7420617574686f72697a656420746f20706572666f726d207468697320616374696f6e2e204e6f744e6f746564000304fc54686520707265696d6167652063616e6e6f742062652072656d6f7665642073696e636520697420686173206e6f7420796574206265656e206e6f7465642e2452657175657374656400040409014120707265696d616765206d6179206e6f742062652072656d6f766564207768656e20746865726520617265206f75747374616e64696e672072657175657374732e304e6f745265717565737465640005042d0154686520707265696d61676520726571756573742063616e6e6f742062652072656d6f7665642073696e6365206e6f206f75747374616e64696e672072657175657374732065786973742e1c546f6f4d616e7900060455014d6f7265207468616e20604d41585f484153485f555047524144455f42554c4b5f434f554e54602068617368657320776572652072657175657374656420746f206265207570677261646564206174206f6e63652e18546f6f466577000704e4546f6f206665772068617368657320776572652072657175657374656420746f2062652075706772616465642028692e652e207a65726f292e048054686520604572726f726020656e756d206f6620746869732070616c6c65742e01040c4c626f756e6465645f636f6c6c656374696f6e732c626f756e6465645f76656328426f756e646564566563080454012c0453000004005d0101185665633c543e00000504084470616c6c65745f636f6c6c65637469766514566f74657308244163636f756e74496401002c426c6f636b4e756d626572011000140114696e64657810013450726f706f73616c496e6465780001247468726573686f6c6410012c4d656d626572436f756e74000110617965737d0201385665633c4163636f756e7449643e0001106e6179737d0201385665633c4163636f756e7449643e00010c656e6410012c426c6f636b4e756d626572000009040c4470616c6c65745f636f6c6c6563746976651870616c6c6574144572726f7208045400044900012c244e6f744d656d6265720000045c4163636f756e74206973206e6f742061206d656d626572444475706c696361746550726f706f73616c0001047c4475706c69636174652070726f706f73616c73206e6f7420616c6c6f7765643c50726f706f73616c4d697373696e670002044c50726f706f73616c206d7573742065786973742857726f6e67496e646578000304404d69736d61746368656420696e646578344475706c6963617465566f7465000404584475706c696361746520766f74652069676e6f72656448416c7265616479496e697469616c697a6564000504804d656d626572732061726520616c726561647920696e697469616c697a65642120546f6f4561726c79000604010154686520636c6f73652063616c6c20776173206d61646520746f6f206561726c792c206265666f72652074686520656e64206f662074686520766f74696e672e40546f6f4d616e7950726f706f73616c73000704fc54686572652063616e206f6e6c792062652061206d6178696d756d206f6620604d617850726f706f73616c7360206163746976652070726f706f73616c732e4c57726f6e6750726f706f73616c576569676874000804d054686520676976656e2077656967687420626f756e6420666f72207468652070726f706f73616c2077617320746f6f206c6f772e4c57726f6e6750726f706f73616c4c656e677468000904d054686520676976656e206c656e67746820626f756e6420666f72207468652070726f706f73616c2077617320746f6f206c6f772e545072696d654163636f756e744e6f744d656d626572000a04745072696d65206163636f756e74206973206e6f742061206d656d626572048054686520604572726f726020656e756d206f6620746869732070616c6c65742e0d040c4c626f756e6465645f636f6c6c656374696f6e732c626f756e6465645f76656328426f756e646564566563080454011104045300000400150401185665633c543e000011040000040809011800150400000211040019040c6470616c6c65745f756e6976657273616c5f6469766964656e641870616c6c6574144572726f720404540001046c4163636f756e744e6f74416c6c6f776564546f436c61696d556473000004a454686973206163636f756e74206973206e6f7420616c6c6f77656420746f20636c61696d205544732e048054686520604572726f726020656e756d206f6620746869732070616c6c65742e1d040c4870616c6c65745f64756e697465725f776f741870616c6c6574144572726f72040454000120384e6f74456e6f756768436572747300000494496e73756666696369656e742063657274696669636174696f6e732072656365697665642e4c546172676574537461747573496e76616c6964000104c85461726765742073746174757320697320696e636f6d70617469626c6520776974682074686973206f7065726174696f6e2e78496474794372656174696f6e506572696f644e6f745265737065637465640002049c4964656e74697479206372656174696f6e20706572696f64206e6f74207265737065637465642e884e6f74456e6f75676852656365697665644365727473546f43726561746549647479000304e0496e73756666696369656e742072656365697665642063657274696669636174696f6e7320746f20637265617465206964656e746974792e584d6178456d6974746564436572747352656163686564000404c44d6178696d756d206e756d626572206f6620656d69747465642063657274696669636174696f6e7320726561636865642e3c4973737565724e6f744d656d626572000504f04973737565722063616e6e6f7420656d697420612063657274696669636174696f6e2062656361757365206974206973206e6f74206d656d6265722e30496474794e6f74466f756e6400060474497373756572206f72207265636569766572206e6f7420666f756e642e8c4d656d6265727368697052656e6577616c506572696f644e6f74526573706563746564000704dc4d656d626572736869702063616e206f6e6c792062652072656e6577656420616674657220616e20616e74697370616d2064656c61792e048054686520604572726f726020656e756d206f6620746869732070616c6c65742e21040c3c70616c6c65745f6964656e74697479147479706573244964747956616c75650c2c426c6f636b4e756d6265720110244163636f756e744964010020496474794461746101250400180110646174612504012049647479446174610001686e6578745f637265617461626c655f6964656e746974795f6f6e10012c426c6f636b4e756d6265720001346f6c645f6f776e65725f6b6579290401804f7074696f6e3c284163636f756e7449642c20426c6f636b4e756d626572293e0001246f776e65725f6b65790001244163636f756e7449640001386e6578745f7363686564756c656410012c426c6f636b4e756d6265720001187374617475733104012849647479537461747573000025040c38636f6d6d6f6e5f72756e74696d6520656e746974696573204964747944617461000004014466697273745f656c696769626c655f7564090101a870616c6c65745f756e6976657273616c5f6469766964656e643a3a4669727374456c696769626c6555640000290404184f7074696f6e040454012d040108104e6f6e6500000010536f6d6504002d0400000100002d040000040800100031040c3c70616c6c65745f6964656e7469747914747970657328496474795374617475730001142c556e636f6e6669726d65640000002c556e76616c696461746564000100184d656d626572000200244e6f744d656d6265720003001c5265766f6b65640004000035040c3c70616c6c65745f6964656e746974791870616c6c6574144572726f720404540001445049647479416c7265616479436f6e6669726d65640000046c4964656e7469747920616c726561647920636f6e6669726d65642e4849647479416c726561647943726561746564000104644964656e7469747920616c726561647920637265617465642e4449647479496e6465784e6f74466f756e64000204644964656e7469747920696e646578206e6f7420666f756e642e50496474794e616d65416c72656164794578697374000304744964656e74697479206e616d6520616c7265616479206578697374732e3c496474794e616d65496e76616c696400040458496e76616c6964206964656e74697479206e616d652e30496474794e6f74466f756e640005044c4964656e74697479206e6f7420666f756e642e40496e76616c69645369676e617475726500060468496e76616c6964207061796c6f6164207369676e61747572652e50496e76616c69645265766f636174696f6e4b65790007045c496e76616c6964207265766f636174696f6e206b65792e3c4973737565724e6f744d656d626572000804d4497373756572206973206e6f74206d656d62657220616e642063616e206e6f7420706572666f726d207468697320616374696f6e2e704e6f7452657370656374496474794372656174696f6e506572696f64000904a84964656e74697479206372656174696f6e20706572696f64206973206e6f74207265737065637465642e784f776e65724b6579416c7265616479526563656e746c794368616e676564000a048c4f776e6572206b657920616c7265616479206368616e67656420726563656e746c792e4c4f776e65724b6579416c726561647955736564000b045c4f776e6572206b657920616c726561647920757365642e7050726f68696269746564546f526576657274546f416e4f6c644b6579000c0498526576657274696e6720746f20616e206f6c64206b65792069732070726f686962697465642e38416c72656164795265766f6b6564000d0440416c7265616479207265766f6b65642e5c43616e4e6f745265766f6b65556e636f6e6669726d6564000e04b843616e206e6f74207265766f6b65206964656e746974792074686174206e6576657220776173206d656d6265722e5c43616e4e6f745265766f6b65556e76616c696461746564000f04b843616e206e6f74207265766f6b65206964656e746974792074686174206e6576657220776173206d656d6265722e3c4163636f756e744e6f7445786973740010049443616e6e6f74206c696e6b20746f20616e20696e6578697374696e67206163636f756e742e048054686520604572726f726020656e756d206f6620746869732070616c6c65742e3904083473705f6d656d62657273686970384d656d6265727368697044617461042c426c6f636b4e756d6265720110000401246578706972655f6f6e10012c426c6f636b4e756d62657200003d040c4470616c6c65745f6d656d626572736869701870616c6c6574144572726f72040454000108484d656d626572736869704e6f74466f756e64000004904d656d62657273686970206e6f7420666f756e642c2063616e206e6f742072656e65772e34416c72656164794d656d6265720001049c416c7265616479206d656d6265722c2063616e206e6f7420616464206d656d626572736869702e048054686520604572726f726020656e756d206f6620746869732070616c6c65742e41040c5070616c6c65745f63657274696669636174696f6e1474797065733049647479436572744d657461042c426c6f636b4e756d6265720110000c01306973737565645f636f756e7410010c7533320001406e6578745f6973737561626c655f6f6e10012c426c6f636b4e756d62657200013872656365697665645f636f756e7410010c753332000045040c5070616c6c65745f63657274696669636174696f6e1870616c6c6574144572726f7204045400011c604f726967696e4d75737448617665416e4964656e74697479000004bc497373756572206f6620612063657274696669636174696f6e206d757374206861766520616e206964656e746974794443616e6e6f744365727469667953656c660001047c4964656e746974792063616e6e6f74206365727469667920697473656c662e44497373756564546f6f4d616e794365727400020405014964656e746974792068617320616c72656164792069737375656420746865206d6178696d756d206e756d626572206f662063657274696669636174696f6e732e544e6f74456e6f75676843657274526563656976656400030494496e73756666696369656e742063657274696669636174696f6e732072656365697665642e504e6f745265737065637443657274506572696f64000404c44964656e74697479206861732069737375656420612063657274696669636174696f6e20746f6f20726563656e746c792e4443657274416c72656164794578697374730005049043616e206e6f742061646420616e20616c72656164792d6578697374696e6720636572744043657274446f65734e6f7445786973740006048443616e206e6f742072656e65772061206e6f6e2d6578697374696e672063657274048054686520604572726f726020656e756d206f6620746869732070616c6c65742e49040c3c70616c6c65745f64697374616e6365147479706573384576616c756174696f6e506f6f6c08244163636f756e74496401002449647479496e64657801100008012c6576616c756174696f6e734d0401bd01426f756e6465645665633c2849647479496e6465782c204d656469616e4163633c50657262696c6c2c204d41585f4556414c5541544f52535f5045525f53455353494f4e3e292c0a436f6e73745533323c4d41585f4556414c554154494f4e535f5045525f53455353494f4e3e2c3e0001286576616c7561746f72736904010101426f756e64656442547265655365743c4163636f756e7449642c20436f6e73745533323c4d41585f4556414c5541544f52535f5045525f53455353494f4e3e3e00004d040c4c626f756e6465645f636f6c6c656374696f6e732c626f756e6465645f76656328426f756e646564566563080454015104045300000400650401185665633c543e00005104000004081055040055040c3c70616c6c65745f64697374616e6365186d656469616e244d656469616e41636304045401a902000c011c73616d706c657359040184426f756e6465645665633c28542c20753332292c20436f6e73745533323c533e3e0001306d656469616e5f696e6465781c012c4f7074696f6e3c7533323e00013c6d656469616e5f737562696e64657810010c753332000059040c4c626f756e6465645f636f6c6c656374696f6e732c626f756e6465645f76656328426f756e646564566563080454015d04045300000400610401185665633c543e00005d0400000408a902100061040000025d0400650400000251040069040c4c626f756e6465645f636f6c6c656374696f6e7344626f756e6465645f62747265655f7365743c426f756e646564425472656553657408045401000453000004006d04012c42547265655365743c543e00006d040420425472656553657404045401000004007d0200000071040c3c70616c6c65745f64697374616e63651870616c6c6574144572726f720404540001344c416c7265616479496e4576616c756174696f6e0000049444697374616e636520697320616c726561647920756e646572206576616c756174696f6e2e68546f6f4d616e794576616c756174696f6e734279417574686f72000104a4546f6f206d616e79206576616c756174696f6e732072657175657374656420627920617574686f722e64546f6f4d616e794576616c756174696f6e73496e426c6f636b00020490546f6f206d616e79206576616c756174696f6e7320666f72207468697320626c6f636b2e204e6f417574686f72000304644e6f20617574686f7220666f72207468697320626c6f636b2e4c43616c6c65724861734e6f4964656e746974790004045c43616c6c657220686173206e6f206964656e746974792e5843616c6c65724964656e746974794e6f74466f756e640005046843616c6c6572206964656e74697479206e6f7420666f756e642e3c43616c6c65724e6f744d656d6265720006044843616c6c6572206e6f74206d656d6265722e4c43616c6c6572537461747573496e76616c6964000700585461726765744964656e746974794e6f74466f756e6400080468546172676574206964656e74697479206e6f7420666f756e642e24517565756546756c6c000904644576616c756174696f6e2071756575652069732066756c6c2e44546f6f4d616e794576616c7561746f7273000a04cc546f6f206d616e79206576616c7561746f727320696e207468652063757272656e74206576616c756174696f6e20706f6f6c2e4457726f6e67526573756c744c656e677468000b04944576616c756174696f6e20726573756c742068617320612077726f6e67206c656e6774682e5c5461726765744d7573744265556e76616c696461746564000c04490154617267657465642064697374616e6365206576616c756174696f6e2072657175657374206973206f6e6c7920706f737369626c6520666f7220616e20756e76616c696461746564206964656e746974792e048054686520604572726f726020656e756d206f6620746869732070616c6c65742e75040000040800040079040c4870616c6c65745f61746f6d69635f737761701870616c6c6574144572726f7204045400012030416c72656164794578697374000004505377617020616c7265616479206578697374732e30496e76616c696450726f6f6600010458537761702070726f6f6620697320696e76616c69642e3450726f6f66546f6f4c617267650002044c50726f6f6620697320746f6f206c617267652e38536f757263654d69736d6174636800030458536f7572636520646f6573206e6f74206d617463682e38416c7265616479436c61696d656400040478537761702068617320616c7265616479206265656e20636c61696d65642e204e6f744578697374000504505377617020646f6573206e6f742065786973742e4c436c61696d416374696f6e4d69736d6174636800060458436c61696d20616374696f6e206d69736d617463682e444475726174696f6e4e6f74506173736564000704e44475726174696f6e20686173206e6f74207965742070617373656420666f7220746865207377617020746f2062652063616e63656c6c65642e048054686520604572726f726020656e756d206f6620746869732070616c6c65742e7d04083c70616c6c65745f6d756c7469736967204d756c7469736967102c426c6f636b4e756d62657201101c42616c616e63650118244163636f756e7449640100304d6178417070726f76616c7300001001107768656e3d01015854696d65706f696e743c426c6f636b4e756d6265723e00011c6465706f73697418011c42616c616e63650001246465706f7369746f720001244163636f756e744964000124617070726f76616c738104018c426f756e6465645665633c4163636f756e7449642c204d6178417070726f76616c733e000081040c4c626f756e6465645f636f6c6c656374696f6e732c626f756e6465645f76656328426f756e64656456656308045401000453000004007d0201185665633c543e000085040c3c70616c6c65745f6d756c74697369671870616c6c6574144572726f72040454000138404d696e696d756d5468726573686f6c640000047c5468726573686f6c64206d7573742062652032206f7220677265617465722e3c416c7265616479417070726f766564000104ac43616c6c20697320616c726561647920617070726f7665642062792074686973207369676e61746f72792e444e6f417070726f76616c734e65656465640002049c43616c6c20646f65736e2774206e65656420616e7920286d6f72652920617070726f76616c732e44546f6f4665775369676e61746f72696573000304a854686572652061726520746f6f20666577207369676e61746f7269657320696e20746865206c6973742e48546f6f4d616e795369676e61746f72696573000404ac54686572652061726520746f6f206d616e79207369676e61746f7269657320696e20746865206c6973742e545369676e61746f726965734f75744f664f726465720005040d01546865207369676e61746f7269657320776572652070726f7669646564206f7574206f66206f726465723b20746865792073686f756c64206265206f7264657265642e4c53656e646572496e5369676e61746f726965730006040d015468652073656e6465722077617320636f6e7461696e656420696e20746865206f74686572207369676e61746f726965733b2069742073686f756c646e27742062652e204e6f74466f756e64000704dc4d756c7469736967206f7065726174696f6e206e6f7420666f756e64207768656e20617474656d7074696e6720746f2063616e63656c2e204e6f744f776e65720008042d014f6e6c7920746865206163636f756e742074686174206f726967696e616c6c79206372656174656420746865206d756c74697369672069732061626c6520746f2063616e63656c2069742e2c4e6f54696d65706f696e740009041d014e6f2074696d65706f696e742077617320676976656e2c2079657420746865206d756c7469736967206f7065726174696f6e20697320616c726561647920756e6465727761792e3857726f6e6754696d65706f696e74000a042d014120646966666572656e742074696d65706f696e742077617320676976656e20746f20746865206d756c7469736967206f7065726174696f6e207468617420697320756e6465727761792e4c556e657870656374656454696d65706f696e74000b04f4412074696d65706f696e742077617320676976656e2c20796574206e6f206d756c7469736967206f7065726174696f6e20697320756e6465727761792e3c4d6178576569676874546f6f4c6f77000c04d0546865206d6178696d756d2077656967687420696e666f726d6174696f6e2070726f76696465642077617320746f6f206c6f772e34416c726561647953746f726564000d04a0546865206461746120746f2062652073746f72656420697320616c72656164792073746f7265642e048054686520604572726f726020656e756d206f6620746869732070616c6c65742e89040000028d04008d040c6470616c6c65745f70726f766964655f72616e646f6d6e6573731474797065731c526571756573740000080128726571756573745f696418012452657175657374496400011073616c742c011048323536000091040c6470616c6c65745f70726f766964655f72616e646f6d6e6573731870616c6c6574144572726f7204045400010424517565756546756c6c00000484526571756573742072616e646f6d6e6573732071756575652069732066756c6c2e048054686520604572726f726020656e756d206f6620746869732070616c6c65742e9504000004089904180099040c4c626f756e6465645f636f6c6c656374696f6e732c626f756e6465645f76656328426f756e646564566563080454019d04045300000400a10401185665633c543e00009d04083070616c6c65745f70726f78793c50726f7879446566696e6974696f6e0c244163636f756e74496401002450726f787954797065014d012c426c6f636b4e756d6265720110000c012064656c65676174650001244163636f756e74496400012870726f78795f747970654d01012450726f78795479706500011464656c617910012c426c6f636b4e756d6265720000a1040000029d0400a50400000408a9041800a9040c4c626f756e6465645f636f6c6c656374696f6e732c626f756e6465645f76656328426f756e64656456656308045401ad04045300000400b10401185665633c543e0000ad04083070616c6c65745f70726f787930416e6e6f756e63656d656e740c244163636f756e74496401001048617368012c2c426c6f636b4e756d6265720110000c01107265616c0001244163636f756e74496400012463616c6c5f686173682c01104861736800011868656967687410012c426c6f636b4e756d6265720000b104000002ad0400b5040c3070616c6c65745f70726f78791870616c6c6574144572726f720404540001201c546f6f4d616e79000004210154686572652061726520746f6f206d616e792070726f786965732072656769737465726564206f7220746f6f206d616e7920616e6e6f756e63656d656e74732070656e64696e672e204e6f74466f756e640001047450726f787920726567697374726174696f6e206e6f7420666f756e642e204e6f7450726f7879000204cc53656e646572206973206e6f7420612070726f7879206f6620746865206163636f756e7420746f2062652070726f786965642e2c556e70726f787961626c650003042101412063616c6c20776869636820697320696e636f6d70617469626c652077697468207468652070726f7879207479706527732066696c7465722077617320617474656d707465642e244475706c69636174650004046c4163636f756e7420697320616c726561647920612070726f78792e304e6f5065726d697373696f6e000504150143616c6c206d6179206e6f74206265206d6164652062792070726f78792062656361757365206974206d617920657363616c617465206974732070726976696c656765732e2c556e616e6e6f756e636564000604d0416e6e6f756e63656d656e742c206966206d61646520617420616c6c2c20776173206d61646520746f6f20726563656e746c792e2c4e6f53656c6650726f78790007046443616e6e6f74206164642073656c662061732070726f78792e048054686520604572726f726020656e756d206f6620746869732070616c6c65742eb9040c3870616c6c65745f7574696c6974791870616c6c6574144572726f7204045400010430546f6f4d616e7943616c6c730000045c546f6f206d616e792063616c6c7320626174636865642e048054686520604572726f726020656e756d206f6620746869732070616c6c65742ebd04083c70616c6c65745f74726561737572792050726f706f73616c08244163636f756e74496401001c42616c616e636501180010012070726f706f7365720001244163636f756e74496400011476616c756518011c42616c616e636500012c62656e65666963696172790001244163636f756e744964000110626f6e6418011c42616c616e63650000c1040c4c626f756e6465645f636f6c6c656374696f6e732c626f756e6465645f76656328426f756e6465645665630804540110045300000400b401185665633c543e0000c504083c70616c6c65745f74726561737572792c5370656e64537461747573142441737365744b696e64018c30417373657442616c616e636501182c42656e656669636961727901002c426c6f636b4e756d6265720110245061796d656e744964018c0018012861737365745f6b696e648c012441737365744b696e64000118616d6f756e74180130417373657442616c616e636500012c62656e656669636961727900012c42656e656669636961727900012876616c69645f66726f6d10012c426c6f636b4e756d6265720001246578706972655f617410012c426c6f636b4e756d626572000118737461747573c904015c5061796d656e7453746174653c5061796d656e7449643e0000c904083c70616c6c65745f7472656173757279305061796d656e74537461746504084964018c010c1c50656e64696e6700000024417474656d7074656404010869648c01084964000100184661696c656400020000cd040c3473705f61726974686d65746963287065725f7468696e67731c5065726d696c6c0000040010010c7533320000d10404184f7074696f6e04045401180108104e6f6e6500000010536f6d650400180000010000d50408346672616d655f737570706f72742050616c6c6574496400000400b101011c5b75383b20385d0000d9040c3c70616c6c65745f74726561737572791870616c6c6574144572726f7208045400044900013070496e73756666696369656e7450726f706f7365727342616c616e63650000047850726f706f73657227732062616c616e636520697320746f6f206c6f772e30496e76616c6964496e646578000104ac4e6f2070726f706f73616c2c20626f756e7479206f72207370656e64206174207468617420696e6465782e40546f6f4d616e79417070726f76616c7300020480546f6f206d616e7920617070726f76616c7320696e207468652071756575652e58496e73756666696369656e745065726d697373696f6e0003084501546865207370656e64206f726967696e2069732076616c6964206275742074686520616d6f756e7420697420697320616c6c6f77656420746f207370656e64206973206c6f776572207468616e207468654c616d6f756e7420746f206265207370656e742e4c50726f706f73616c4e6f74417070726f7665640004047c50726f706f73616c20686173206e6f74206265656e20617070726f7665642e584661696c6564546f436f6e7665727442616c616e636500050451015468652062616c616e6365206f6620746865206173736574206b696e64206973206e6f7420636f6e7665727469626c6520746f207468652062616c616e6365206f6620746865206e61746976652061737365742e305370656e6445787069726564000604b0546865207370656e6420686173206578706972656420616e642063616e6e6f7420626520636c61696d65642e2c4561726c795061796f7574000704a4546865207370656e64206973206e6f742079657420656c696769626c6520666f72207061796f75742e40416c7265616479417474656d707465640008049c546865207061796d656e742068617320616c7265616479206265656e20617474656d707465642e2c5061796f75744572726f72000904cc54686572652077617320736f6d65206973737565207769746820746865206d656368616e69736d206f66207061796d656e742e304e6f74417474656d70746564000a04a4546865207061796f757420776173206e6f742079657420617474656d707465642f636c61696d65642e30496e636f6e636c7573697665000b04c4546865207061796d656e7420686173206e656974686572206661696c6564206e6f7220737563636565646564207965742e04784572726f7220666f72207468652074726561737572792070616c6c65742edd04102873705f72756e74696d651c67656e657269634c756e636865636b65645f65787472696e73696348556e636865636b656445787472696e736963101c416464726573730105021043616c6c01cd01245369676e617475726501890214457874726101e10400040030000000e10400000420e504e904ed04f104f504fd0409050d0500e50410306672616d655f73797374656d28657874656e73696f6e7354636865636b5f6e6f6e5f7a65726f5f73656e64657248436865636b4e6f6e5a65726f53656e64657204045400000000e90410306672616d655f73797374656d28657874656e73696f6e7348636865636b5f737065635f76657273696f6e40436865636b5370656356657273696f6e04045400000000ed0410306672616d655f73797374656d28657874656e73696f6e7340636865636b5f74785f76657273696f6e38436865636b547856657273696f6e04045400000000f10410306672616d655f73797374656d28657874656e73696f6e7334636865636b5f67656e6573697330436865636b47656e6573697304045400000000f50410306672616d655f73797374656d28657874656e73696f6e733c636865636b5f6d6f7274616c69747938436865636b4d6f7274616c69747904045400000400f904010c4572610000f904102873705f72756e74696d651c67656e657269630c6572610c4572610001010420496d6d6f7274616c0000001c4d6f7274616c31040008000001001c4d6f7274616c32040008000002001c4d6f7274616c33040008000003001c4d6f7274616c34040008000004001c4d6f7274616c35040008000005001c4d6f7274616c36040008000006001c4d6f7274616c37040008000007001c4d6f7274616c38040008000008001c4d6f7274616c3904000800000900204d6f7274616c313004000800000a00204d6f7274616c313104000800000b00204d6f7274616c313204000800000c00204d6f7274616c313304000800000d00204d6f7274616c313404000800000e00204d6f7274616c313504000800000f00204d6f7274616c313604000800001000204d6f7274616c313704000800001100204d6f7274616c313804000800001200204d6f7274616c313904000800001300204d6f7274616c323004000800001400204d6f7274616c323104000800001500204d6f7274616c323204000800001600204d6f7274616c323304000800001700204d6f7274616c323404000800001800204d6f7274616c323504000800001900204d6f7274616c323604000800001a00204d6f7274616c323704000800001b00204d6f7274616c323804000800001c00204d6f7274616c323904000800001d00204d6f7274616c333004000800001e00204d6f7274616c333104000800001f00204d6f7274616c333204000800002000204d6f7274616c333304000800002100204d6f7274616c333404000800002200204d6f7274616c333504000800002300204d6f7274616c333604000800002400204d6f7274616c333704000800002500204d6f7274616c333804000800002600204d6f7274616c333904000800002700204d6f7274616c343004000800002800204d6f7274616c343104000800002900204d6f7274616c343204000800002a00204d6f7274616c343304000800002b00204d6f7274616c343404000800002c00204d6f7274616c343504000800002d00204d6f7274616c343604000800002e00204d6f7274616c343704000800002f00204d6f7274616c343804000800003000204d6f7274616c343904000800003100204d6f7274616c353004000800003200204d6f7274616c353104000800003300204d6f7274616c353204000800003400204d6f7274616c353304000800003500204d6f7274616c353404000800003600204d6f7274616c353504000800003700204d6f7274616c353604000800003800204d6f7274616c353704000800003900204d6f7274616c353804000800003a00204d6f7274616c353904000800003b00204d6f7274616c363004000800003c00204d6f7274616c363104000800003d00204d6f7274616c363204000800003e00204d6f7274616c363304000800003f00204d6f7274616c363404000800004000204d6f7274616c363504000800004100204d6f7274616c363604000800004200204d6f7274616c363704000800004300204d6f7274616c363804000800004400204d6f7274616c363904000800004500204d6f7274616c373004000800004600204d6f7274616c373104000800004700204d6f7274616c373204000800004800204d6f7274616c373304000800004900204d6f7274616c373404000800004a00204d6f7274616c373504000800004b00204d6f7274616c373604000800004c00204d6f7274616c373704000800004d00204d6f7274616c373804000800004e00204d6f7274616c373904000800004f00204d6f7274616c383004000800005000204d6f7274616c383104000800005100204d6f7274616c383204000800005200204d6f7274616c383304000800005300204d6f7274616c383404000800005400204d6f7274616c383504000800005500204d6f7274616c383604000800005600204d6f7274616c383704000800005700204d6f7274616c383804000800005800204d6f7274616c383904000800005900204d6f7274616c393004000800005a00204d6f7274616c393104000800005b00204d6f7274616c393204000800005c00204d6f7274616c393304000800005d00204d6f7274616c393404000800005e00204d6f7274616c393504000800005f00204d6f7274616c393604000800006000204d6f7274616c393704000800006100204d6f7274616c393804000800006200204d6f7274616c393904000800006300244d6f7274616c31303004000800006400244d6f7274616c31303104000800006500244d6f7274616c31303204000800006600244d6f7274616c31303304000800006700244d6f7274616c31303404000800006800244d6f7274616c31303504000800006900244d6f7274616c31303604000800006a00244d6f7274616c31303704000800006b00244d6f7274616c31303804000800006c00244d6f7274616c31303904000800006d00244d6f7274616c31313004000800006e00244d6f7274616c31313104000800006f00244d6f7274616c31313204000800007000244d6f7274616c31313304000800007100244d6f7274616c31313404000800007200244d6f7274616c31313504000800007300244d6f7274616c31313604000800007400244d6f7274616c31313704000800007500244d6f7274616c31313804000800007600244d6f7274616c31313904000800007700244d6f7274616c31323004000800007800244d6f7274616c31323104000800007900244d6f7274616c31323204000800007a00244d6f7274616c31323304000800007b00244d6f7274616c31323404000800007c00244d6f7274616c31323504000800007d00244d6f7274616c31323604000800007e00244d6f7274616c31323704000800007f00244d6f7274616c31323804000800008000244d6f7274616c31323904000800008100244d6f7274616c31333004000800008200244d6f7274616c31333104000800008300244d6f7274616c31333204000800008400244d6f7274616c31333304000800008500244d6f7274616c31333404000800008600244d6f7274616c31333504000800008700244d6f7274616c31333604000800008800244d6f7274616c31333704000800008900244d6f7274616c31333804000800008a00244d6f7274616c31333904000800008b00244d6f7274616c31343004000800008c00244d6f7274616c31343104000800008d00244d6f7274616c31343204000800008e00244d6f7274616c31343304000800008f00244d6f7274616c31343404000800009000244d6f7274616c31343504000800009100244d6f7274616c31343604000800009200244d6f7274616c31343704000800009300244d6f7274616c31343804000800009400244d6f7274616c31343904000800009500244d6f7274616c31353004000800009600244d6f7274616c31353104000800009700244d6f7274616c31353204000800009800244d6f7274616c31353304000800009900244d6f7274616c31353404000800009a00244d6f7274616c31353504000800009b00244d6f7274616c31353604000800009c00244d6f7274616c31353704000800009d00244d6f7274616c31353804000800009e00244d6f7274616c31353904000800009f00244d6f7274616c3136300400080000a000244d6f7274616c3136310400080000a100244d6f7274616c3136320400080000a200244d6f7274616c3136330400080000a300244d6f7274616c3136340400080000a400244d6f7274616c3136350400080000a500244d6f7274616c3136360400080000a600244d6f7274616c3136370400080000a700244d6f7274616c3136380400080000a800244d6f7274616c3136390400080000a900244d6f7274616c3137300400080000aa00244d6f7274616c3137310400080000ab00244d6f7274616c3137320400080000ac00244d6f7274616c3137330400080000ad00244d6f7274616c3137340400080000ae00244d6f7274616c3137350400080000af00244d6f7274616c3137360400080000b000244d6f7274616c3137370400080000b100244d6f7274616c3137380400080000b200244d6f7274616c3137390400080000b300244d6f7274616c3138300400080000b400244d6f7274616c3138310400080000b500244d6f7274616c3138320400080000b600244d6f7274616c3138330400080000b700244d6f7274616c3138340400080000b800244d6f7274616c3138350400080000b900244d6f7274616c3138360400080000ba00244d6f7274616c3138370400080000bb00244d6f7274616c3138380400080000bc00244d6f7274616c3138390400080000bd00244d6f7274616c3139300400080000be00244d6f7274616c3139310400080000bf00244d6f7274616c3139320400080000c000244d6f7274616c3139330400080000c100244d6f7274616c3139340400080000c200244d6f7274616c3139350400080000c300244d6f7274616c3139360400080000c400244d6f7274616c3139370400080000c500244d6f7274616c3139380400080000c600244d6f7274616c3139390400080000c700244d6f7274616c3230300400080000c800244d6f7274616c3230310400080000c900244d6f7274616c3230320400080000ca00244d6f7274616c3230330400080000cb00244d6f7274616c3230340400080000cc00244d6f7274616c3230350400080000cd00244d6f7274616c3230360400080000ce00244d6f7274616c3230370400080000cf00244d6f7274616c3230380400080000d000244d6f7274616c3230390400080000d100244d6f7274616c3231300400080000d200244d6f7274616c3231310400080000d300244d6f7274616c3231320400080000d400244d6f7274616c3231330400080000d500244d6f7274616c3231340400080000d600244d6f7274616c3231350400080000d700244d6f7274616c3231360400080000d800244d6f7274616c3231370400080000d900244d6f7274616c3231380400080000da00244d6f7274616c3231390400080000db00244d6f7274616c3232300400080000dc00244d6f7274616c3232310400080000dd00244d6f7274616c3232320400080000de00244d6f7274616c3232330400080000df00244d6f7274616c3232340400080000e000244d6f7274616c3232350400080000e100244d6f7274616c3232360400080000e200244d6f7274616c3232370400080000e300244d6f7274616c3232380400080000e400244d6f7274616c3232390400080000e500244d6f7274616c3233300400080000e600244d6f7274616c3233310400080000e700244d6f7274616c3233320400080000e800244d6f7274616c3233330400080000e900244d6f7274616c3233340400080000ea00244d6f7274616c3233350400080000eb00244d6f7274616c3233360400080000ec00244d6f7274616c3233370400080000ed00244d6f7274616c3233380400080000ee00244d6f7274616c3233390400080000ef00244d6f7274616c3234300400080000f000244d6f7274616c3234310400080000f100244d6f7274616c3234320400080000f200244d6f7274616c3234330400080000f300244d6f7274616c3234340400080000f400244d6f7274616c3234350400080000f500244d6f7274616c3234360400080000f600244d6f7274616c3234370400080000f700244d6f7274616c3234380400080000f800244d6f7274616c3234390400080000f900244d6f7274616c3235300400080000fa00244d6f7274616c3235310400080000fb00244d6f7274616c3235320400080000fc00244d6f7274616c3235330400080000fd00244d6f7274616c3235340400080000fe00244d6f7274616c3235350400080000ff0000fd040c5870616c6c65745f6f6e6573686f745f6163636f756e742c636865636b5f6e6f6e636528436865636b4e6f6e63650404540101050004000505016c6672616d655f73797374656d3a3a436865636b4e6f6e63653c543e000001050830676465765f72756e74696d651c52756e74696d6500000000050510306672616d655f73797374656d28657874656e73696f6e732c636865636b5f6e6f6e636528436865636b4e6f6e63650404540000040069010120543a3a4e6f6e63650000090510306672616d655f73797374656d28657874656e73696f6e7330636865636b5f7765696768742c436865636b576569676874040454000000000d05086870616c6c65745f7472616e73616374696f6e5f7061796d656e74604368617267655472616e73616374696f6e5061796d656e740404540000040028013042616c616e63654f663c543e00008c1853797374656d011853797374656d441c4163636f756e7401010402000ca4000000000000000000000000000000000000000000000000000000000000000000000000000000000004e8205468652066756c6c206163636f756e7420696e666f726d6174696f6e20666f72206120706172746963756c6172206163636f756e742049442e3845787472696e736963436f756e74000010040004b820546f74616c2065787472696e7369637320636f756e7420666f72207468652063757272656e7420626c6f636b2e2c426c6f636b576569676874010020180000000000000488205468652063757272656e742077656967687420666f722074686520626c6f636b2e40416c6c45787472696e736963734c656e000010040004410120546f74616c206c656e6774682028696e2062797465732920666f7220616c6c2065787472696e736963732070757420746f6765746865722c20666f72207468652063757272656e7420626c6f636b2e24426c6f636b4861736801010405102c8000000000000000000000000000000000000000000000000000000000000000000498204d6170206f6620626c6f636b206e756d6265727320746f20626c6f636b206861736865732e3445787472696e736963446174610101040510300400043d012045787472696e73696373206461746120666f72207468652063757272656e7420626c6f636b20286d61707320616e2065787472696e736963277320696e64657820746f206974732064617461292e184e756d6265720100101000000000040901205468652063757272656e7420626c6f636b206e756d626572206265696e672070726f6365737365642e205365742062792060657865637574655f626c6f636b602e28506172656e744861736801002c80000000000000000000000000000000000000000000000000000000000000000004702048617368206f66207468652070726576696f757320626c6f636b2e18446967657374010034040004f020446967657374206f66207468652063757272656e7420626c6f636b2c20616c736f2070617274206f662074686520626c6f636b206865616465722e184576656e747301004404001ca0204576656e7473206465706f736974656420666f72207468652063757272656e7420626c6f636b2e001d01204e4f54453a20546865206974656d20697320756e626f756e6420616e642073686f756c64207468657265666f7265206e657665722062652072656164206f6e20636861696e2ed020497420636f756c64206f746865727769736520696e666c6174652074686520506f562073697a65206f66206120626c6f636b2e002d01204576656e747320686176652061206c6172676520696e2d6d656d6f72792073697a652e20426f7820746865206576656e747320746f206e6f7420676f206f75742d6f662d6d656d6f7279fc206a75737420696e206361736520736f6d656f6e65207374696c6c207265616473207468656d2066726f6d2077697468696e207468652072756e74696d652e284576656e74436f756e74010010100000000004b820546865206e756d626572206f66206576656e747320696e2074686520604576656e74733c543e60206c6973742e2c4576656e74546f70696373010104022c61010400282501204d617070696e67206265747765656e206120746f7069632028726570726573656e74656420627920543a3a486173682920616e64206120766563746f72206f6620696e646578657394206f66206576656e747320696e2074686520603c4576656e74733c543e3e60206c6973742e00510120416c6c20746f70696320766563746f727320686176652064657465726d696e69737469632073746f72616765206c6f636174696f6e7320646570656e64696e67206f6e2074686520746f7069632e2054686973450120616c6c6f7773206c696768742d636c69656e747320746f206c6576657261676520746865206368616e67657320747269652073746f7261676520747261636b696e67206d656368616e69736d20616e64e420696e2063617365206f66206368616e67657320666574636820746865206c697374206f66206576656e7473206f6620696e7465726573742e005901205468652076616c756520686173207468652074797065206028426c6f636b4e756d626572466f723c543e2c204576656e74496e646578296020626563617573652069662077652075736564206f6e6c79206a7573744d012074686520604576656e74496e64657860207468656e20696e20636173652069662074686520746f70696320686173207468652073616d6520636f6e74656e7473206f6e20746865206e65787420626c6f636b0101206e6f206e6f74696669636174696f6e2077696c6c20626520747269676765726564207468757320746865206576656e74206d69676874206265206c6f73742e484c61737452756e74696d65557067726164650000650104000455012053746f726573207468652060737065635f76657273696f6e6020616e642060737065635f6e616d6560206f66207768656e20746865206c6173742072756e74696d6520757067726164652068617070656e65642e545570677261646564546f553332526566436f756e740100740400044d012054727565206966207765206861766520757067726164656420736f207468617420607479706520526566436f756e74602069732060753332602e2046616c7365202864656661756c7429206966206e6f742e605570677261646564546f547269706c65526566436f756e740100740400085d012054727565206966207765206861766520757067726164656420736f2074686174204163636f756e74496e666f20636f6e7461696e73207468726565207479706573206f662060526566436f756e74602e2046616c736548202864656661756c7429206966206e6f742e38457865637574696f6e506861736500005901040004882054686520657865637574696f6e207068617365206f662074686520626c6f636b2e44417574686f72697a65645570677261646500007101040004b82060536f6d6560206966206120636f6465207570677261646520686173206265656e20617574686f72697a65642e01750101501830426c6f636b57656967687473850181012279241f000b00204aa9d10102004001e215a71200010b880260a92e010200d000010b0098f73e5d010200f000010000e215a71200010b888ab213a30102002001010b00204aa9d1010200400101070088526a7402005000e215a7120000000004d020426c6f636b20262065787472696e7369637320776569676874733a20626173652076616c75657320616e64206c696d6974732e2c426c6f636b4c656e67746895013000003c00000050000000500004a820546865206d6178696d756d206c656e677468206f66206120626c6f636b2028696e206279746573292e38426c6f636b48617368436f756e74101060090000045501204d6178696d756d206e756d626572206f6620626c6f636b206e756d62657220746f20626c6f636b2068617368206d617070696e677320746f206b65657020286f6c64657374207072756e6564206669727374292e2044625765696768749d01404098cb010000000050473e07000000000409012054686520776569676874206f662072756e74696d65206461746162617365206f7065726174696f6e73207468652072756e74696d652063616e20696e766f6b652e1c56657273696f6ea101d10210676465763064756e697465722d6764657601000000210300000100000030687ad44ad37f03c201000000cbca25e39f14238702000000df6acb689907609b0400000037e397fc7c91f5e40200000040fe3ad401f8959a06000000d2bc9897eed08f1503000000f78b278be53f454c02000000ab3c0572291feb8b01000000ed99c5acb25eedf503000000bc9d89904f5b923f0100000037c8bb1350a9a2a804000000fbc577b9d747efd60100000001000000010484204765742074686520636861696e27732063757272656e742076657273696f6e2e28535335385072656669780901082a0014a8205468652064657369676e61746564205353353820707265666978206f66207468697320636861696e2e0039012054686973207265706c6163657320746865202273733538466f726d6174222070726f7065727479206465636c6172656420696e2074686520636861696e20737065632e20526561736f6e20697331012074686174207468652072756e74696d652073686f756c64206b6e6f772061626f7574207468652070726566697820696e206f7264657220746f206d616b6520757365206f662069742061737020616e206964656e746966696572206f662074686520636861696e2e01b501001c4163636f756e740001b9010178000001245363686564756c657201245363686564756c65720c3c496e636f6d706c65746553696e6365000010040000184167656e64610101040510bd010400044d01204974656d7320746f2062652065786563757465642c20696e64657865642062792074686520626c6f636b206e756d626572207468617420746865792073686f756c64206265206578656375746564206f6e2e184c6f6f6b7570000104050480040010f8204c6f6f6b75702066726f6d2061206e616d6520746f2074686520626c6f636b206e756d62657220616e6420696e646578206f6620746865207461736b2e00590120466f72207633202d3e207634207468652070726576696f75736c7920756e626f756e646564206964656e7469746965732061726520426c616b65322d3235362068617368656420746f20666f726d2074686520763430206964656e7469746965732e01d101017c08344d6178696d756d576569676874242c0b00806e8774010200000104290120546865206d6178696d756d207765696768742074686174206d6179206265207363686564756c65642070657220626c6f636b20666f7220616e7920646973706174636861626c65732e504d61785363686564756c6564506572426c6f636b101032000000141d0120546865206d6178696d756d206e756d626572206f66207363686564756c65642063616c6c7320696e2074686520717565756520666f7220612073696e676c6520626c6f636b2e0018204e4f54453a5101202b20446570656e64656e742070616c6c657473272062656e63686d61726b73206d696768742072657175697265206120686967686572206c696d697420666f72207468652073657474696e672e205365742061c420686967686572206c696d697420756e646572206072756e74696d652d62656e63686d61726b736020666561747572652e01ed02021042616265011042616265442845706f6368496e64657801001820000000000000000004542043757272656e742065706f636820696e6465782e2c417574686f7269746965730100f1020400046c2043757272656e742065706f636820617574686f7269746965732e2c47656e65736973536c6f740100e90120000000000000000008f82054686520736c6f74206174207768696368207468652066697273742065706f63682061637475616c6c7920737461727465642e205468697320697320309020756e74696c2074686520666972737420626c6f636b206f662074686520636861696e2e2c43757272656e74536c6f740100e90120000000000000000004542043757272656e7420736c6f74206e756d6265722e2852616e646f6d6e65737301000480000000000000000000000000000000000000000000000000000000000000000028b8205468652065706f63682072616e646f6d6e65737320666f7220746865202a63757272656e742a2065706f63682e002c20232053656375726974790005012054686973204d555354204e4f54206265207573656420666f722067616d626c696e672c2061732069742063616e20626520696e666c75656e6365642062792061f8206d616c6963696f75732076616c696461746f7220696e207468652073686f7274207465726d2e204974204d4159206265207573656420696e206d616e7915012063727970746f677261706869632070726f746f636f6c732c20686f77657665722c20736f206c6f6e67206173206f6e652072656d656d6265727320746861742074686973150120286c696b652065766572797468696e6720656c7365206f6e2d636861696e29206974206973207075626c69632e20466f72206578616d706c652c2069742063616e206265050120757365642077686572652061206e756d626572206973206e656564656420746861742063616e6e6f742068617665206265656e2063686f73656e20627920616e0d01206164766572736172792c20666f7220707572706f7365732073756368206173207075626c69632d636f696e207a65726f2d6b6e6f776c656467652070726f6f66732e6050656e64696e6745706f6368436f6e6669674368616e67650000f10104000461012050656e64696e672065706f636820636f6e66696775726174696f6e206368616e676520746861742077696c6c206265206170706c696564207768656e20746865206e6578742065706f636820697320656e61637465642e384e65787452616e646f6d6e657373010004800000000000000000000000000000000000000000000000000000000000000000045c204e6578742065706f63682072616e646f6d6e6573732e3c4e657874417574686f7269746965730100f10204000460204e6578742065706f636820617574686f7269746965732e305365676d656e74496e6465780100101000000000247c2052616e646f6d6e65737320756e64657220636f6e737472756374696f6e2e00f8205765206d616b6520612074726164652d6f6666206265747765656e2073746f7261676520616363657373657320616e64206c697374206c656e6774682e01012057652073746f72652074686520756e6465722d636f6e737472756374696f6e2072616e646f6d6e65737320696e207365676d656e7473206f6620757020746f942060554e4445525f434f4e535452554354494f4e5f5345474d454e545f4c454e475448602e00ec204f6e63652061207365676d656e7420726561636865732074686973206c656e6774682c20776520626567696e20746865206e657874206f6e652e090120576520726573657420616c6c207365676d656e747320616e642072657475726e20746f206030602061742074686520626567696e6e696e67206f662065766572791c2065706f63682e44556e646572436f6e737472756374696f6e0101040510fd0204000415012054574f582d4e4f54453a20605365676d656e74496e6465786020697320616e20696e6372656173696e6720696e74656765722c20736f2074686973206973206f6b61792e2c496e697469616c697a65640000050304000801012054656d706f726172792076616c75652028636c656172656420617420626c6f636b2066696e616c697a6174696f6e292077686963682069732060536f6d65601d01206966207065722d626c6f636b20696e697469616c697a6174696f6e2068617320616c7265616479206265656e2063616c6c656420666f722063757272656e7420626c6f636b2e4c417574686f7256726652616e646f6d6e65737301008404001015012054686973206669656c642073686f756c6420616c7761797320626520706f70756c6174656420647572696e6720626c6f636b2070726f63657373696e6720756e6c6573731901207365636f6e6461727920706c61696e20736c6f74732061726520656e61626c65642028776869636820646f6e277420636f6e7461696e206120565246206f7574707574292e0049012049742069732073657420696e20606f6e5f66696e616c697a65602c206265666f72652069742077696c6c20636f6e7461696e207468652076616c75652066726f6d20746865206c61737420626c6f636b2e2845706f63685374617274010080200000000000000000145d012054686520626c6f636b206e756d62657273207768656e20746865206c61737420616e642063757272656e742065706f6368206861766520737461727465642c20726573706563746976656c7920604e2d316020616e641420604e602e4901204e4f54453a20576520747261636b207468697320697320696e206f7264657220746f20616e6e6f746174652074686520626c6f636b206e756d626572207768656e206120676976656e20706f6f6c206f66590120656e74726f7079207761732066697865642028692e652e20697420776173206b6e6f776e20746f20636861696e206f6273657276657273292e2053696e63652065706f6368732061726520646566696e656420696e590120736c6f74732c207768696368206d617920626520736b69707065642c2074686520626c6f636b206e756d62657273206d6179206e6f74206c696e6520757020776974682074686520736c6f74206e756d626572732e204c6174656e657373010010100000000014d820486f77206c617465207468652063757272656e7420626c6f636b20697320636f6d706172656420746f2069747320706172656e742e001501205468697320656e74727920697320706f70756c617465642061732070617274206f6620626c6f636b20657865637574696f6e20616e6420697320636c65616e65642075701101206f6e20626c6f636b2066696e616c697a6174696f6e2e205175657279696e6720746869732073746f7261676520656e747279206f757473696465206f6620626c6f636bb020657865637574696f6e20636f6e746578742073686f756c6420616c77617973207969656c64207a65726f2e2c45706f6368436f6e66696700001d0304000861012054686520636f6e66696775726174696f6e20666f72207468652063757272656e742065706f63682e2053686f756c64206e6576657220626520604e6f6e656020617320697420697320696e697469616c697a656420696e242067656e657369732e3c4e65787445706f6368436f6e66696700001d030400082d012054686520636f6e66696775726174696f6e20666f7220746865206e6578742065706f63682c20604e6f6e65602069662074686520636f6e6669672077696c6c206e6f74206368616e6765e82028796f752063616e2066616c6c6261636b20746f206045706f6368436f6e6669676020696e737465616420696e20746861742063617365292e34536b697070656445706f6368730100210304002029012041206c697374206f6620746865206c6173742031303020736b69707065642065706f63687320616e642074686520636f72726573706f6e64696e672073657373696f6e20696e64657870207768656e207468652065706f63682077617320736b69707065642e0031012054686973206973206f6e6c79207573656420666f722076616c69646174696e672065717569766f636174696f6e2070726f6f66732e20416e2065717569766f636174696f6e2070726f6f663501206d75737420636f6e7461696e732061206b65792d6f776e6572736869702070726f6f6620666f72206120676976656e2073657373696f6e2c207468657265666f7265207765206e656564206139012077617920746f2074696520746f6765746865722073657373696f6e7320616e642065706f636820696e64696365732c20692e652e207765206e65656420746f2076616c69646174652074686174290120612076616c696461746f722077617320746865206f776e6572206f66206120676976656e206b6579206f6e206120676976656e2073657373696f6e2c20616e64207768617420746865b0206163746976652065706f636820696e6465782077617320647572696e6720746861742073657373696f6e2e01d90100103445706f63684475726174696f6e182058020000000000000cec2054686520616d6f756e74206f662074696d652c20696e20736c6f74732c207468617420656163682065706f63682073686f756c64206c6173742e1901204e4f54453a2043757272656e746c79206974206973206e6f7420706f737369626c6520746f206368616e6765207468652065706f6368206475726174696f6e20616674657221012074686520636861696e2068617320737461727465642e20417474656d7074696e6720746f20646f20736f2077696c6c20627269636b20626c6f636b2070726f64756374696f6e2e444578706563746564426c6f636b54696d651820701700000000000014050120546865206578706563746564206176657261676520626c6f636b2074696d6520617420776869636820424142452073686f756c64206265206372656174696e67110120626c6f636b732e2053696e636520424142452069732070726f626162696c6973746963206974206973206e6f74207472697669616c20746f20666967757265206f75740501207768617420746865206578706563746564206176657261676520626c6f636b2074696d652073686f756c64206265206261736564206f6e2074686520736c6f740901206475726174696f6e20616e642074686520736563757269747920706172616d657465722060636020287768657265206031202d20636020726570726573656e7473a0207468652070726f626162696c697479206f66206120736c6f74206265696e6720656d707479292e384d6178417574686f7269746965731010200000000488204d6178206e756d626572206f6620617574686f72697469657320616c6c6f776564344d61784e6f6d696e61746f727310104000000004d420546865206d6178696d756d206e756d626572206f66206e6f6d696e61746f727320666f7220656163682076616c696461746f722e012d03032454696d657374616d70012454696d657374616d70080c4e6f7701001820000000000000000004a0205468652063757272656e742074696d6520666f72207468652063757272656e7420626c6f636b2e24446964557064617465010074040010d82057686574686572207468652074696d657374616d7020686173206265656e207570646174656420696e207468697320626c6f636b2e00550120546869732076616c7565206973207570646174656420746f206074727565602075706f6e207375636365737366756c207375626d697373696f6e206f6620612074696d657374616d702062792061206e6f64652e4501204974206973207468656e20636865636b65642061742074686520656e64206f66206561636820626c6f636b20657865637574696f6e20696e2074686520606f6e5f66696e616c697a656020686f6f6b2e01fd010004344d696e696d756d506572696f641820b80b000000000000188c20546865206d696e696d756d20706572696f64206265747765656e20626c6f636b732e004d012042652061776172652074686174207468697320697320646966666572656e7420746f20746865202a65787065637465642a20706572696f6420746861742074686520626c6f636b2070726f64756374696f6e4901206170706172617475732070726f76696465732e20596f75722063686f73656e20636f6e73656e7375732073797374656d2077696c6c2067656e6572616c6c7920776f726b2077697468207468697320746f61012064657465726d696e6520612073656e7369626c6520626c6f636b2074696d652e20466f72206578616d706c652c20696e2074686520417572612070616c6c65742069742077696c6c20626520646f75626c6520746869737020706572696f64206f6e2064656661756c742073657474696e67732e000428506172616d65746572730128506172616d65746572730444506172616d657465727353746f7261676501003103410100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000052042616c616e636573012042616c616e6365731c34546f74616c49737375616e636501001820000000000000000004982054686520746f74616c20756e6974732069737375656420696e207468652073797374656d2e40496e61637469766549737375616e63650100182000000000000000000409012054686520746f74616c20756e697473206f66206f75747374616e64696e672064656163746976617465642062616c616e636520696e207468652073797374656d2e1c4163636f756e7401010402003503a000000000000000000000000000000000000000000000000000000000000000000000000000000080600901205468652042616c616e6365732070616c6c6574206578616d706c65206f662073746f72696e67207468652062616c616e6365206f6620616e206163636f756e742e00282023204578616d706c650034206060606e6f636f6d70696c65b02020696d706c2070616c6c65745f62616c616e6365733a3a436f6e66696720666f722052756e74696d65207b19022020202074797065204163636f756e7453746f7265203d2053746f726167654d61705368696d3c53656c663a3a4163636f756e743c52756e74696d653e2c206672616d655f73797374656d3a3a50726f76696465723c52756e74696d653e2c204163636f756e7449642c2053656c663a3a4163636f756e74446174613c42616c616e63653e3e0c20207d102060606000150120596f752063616e20616c736f2073746f7265207468652062616c616e6365206f6620616e206163636f756e7420696e20746865206053797374656d602070616c6c65742e00282023204578616d706c650034206060606e6f636f6d70696c65b02020696d706c2070616c6c65745f62616c616e6365733a3a436f6e66696720666f722052756e74696d65207b7420202074797065204163636f756e7453746f7265203d2053797374656d0c20207d102060606000510120427574207468697320636f6d657320776974682074726164656f6666732c2073746f72696e67206163636f756e742062616c616e63657320696e207468652073797374656d2070616c6c65742073746f7265736d0120606672616d655f73797374656d60206461746120616c6f6e677369646520746865206163636f756e74206461746120636f6e747261727920746f2073746f72696e67206163636f756e742062616c616e63657320696e207468652901206042616c616e636573602070616c6c65742c20776869636820757365732061206053746f726167654d61706020746f2073746f72652062616c616e6365732064617461206f6e6c792e4101204e4f54453a2054686973206973206f6e6c79207573656420696e207468652063617365207468617420746869732070616c6c6574206973207573656420746f2073746f72652062616c616e6365732e144c6f636b7301010402004103040008b820416e79206c6971756964697479206c6f636b73206f6e20736f6d65206163636f756e742062616c616e6365732e2501204e4f54453a2053686f756c64206f6e6c79206265206163636573736564207768656e2073657474696e672c206368616e67696e6720616e642066726565696e672061206c6f636b2e20526573657276657301010402005103040004a4204e616d6564207265736572766573206f6e20736f6d65206163636f756e742062616c616e6365732e14486f6c647301010402005d030400046c20486f6c6473206f6e206163636f756e742062616c616e6365732e1c467265657a657301010402005d030400048820467265657a65206c6f636b73206f6e206163636f756e742062616c616e6365732e010102019014484578697374656e7469616c4465706f7369741820640000000000000020410120546865206d696e696d756d20616d6f756e7420726571756972656420746f206b65657020616e206163636f756e74206f70656e2e204d5553542042452047524541544552205448414e205a45524f2100590120496620796f75202a7265616c6c792a206e65656420697420746f206265207a65726f2c20796f752063616e20656e61626c652074686520666561747572652060696e7365637572655f7a65726f5f65646020666f72610120746869732070616c6c65742e20486f77657665722c20796f7520646f20736f20617420796f7572206f776e207269736b3a20746869732077696c6c206f70656e2075702061206d616a6f7220446f5320766563746f722e590120496e206361736520796f752068617665206d756c7469706c6520736f7572636573206f662070726f7669646572207265666572656e6365732c20796f75206d617920616c736f2067657420756e65787065637465648c206265686176696f757220696620796f7520736574207468697320746f207a65726f2e00f020426f74746f6d206c696e653a20446f20796f757273656c662061206661766f757220616e64206d616b65206974206174206c65617374206f6e6521204d61784c6f636b7310103200000008f420546865206d6178696d756d206e756d626572206f66206c6f636b7320746861742073686f756c64206578697374206f6e20616e206163636f756e742edc204e6f74207374726963746c7920656e666f726365642c20627574207573656420666f722077656967687420657374696d6174696f6e2e2c4d61785265736572766573101005000000040d0120546865206d6178696d756d206e756d626572206f66206e616d656420726573657276657320746861742063616e206578697374206f6e20616e206163636f756e742e204d6178486f6c647310100000000004190120546865206d6178696d756d206e756d626572206f6620686f6c647320746861742063616e206578697374206f6e20616e206163636f756e7420617420616e792074696d652e284d6178467265657a657310100000000004610120546865206d6178696d756d206e756d626572206f6620696e646976696475616c20667265657a65206c6f636b7320746861742063616e206578697374206f6e20616e206163636f756e7420617420616e792074696d652e01690306485472616e73616374696f6e5061796d656e7401485472616e73616374696f6e5061796d656e7408444e6578744665654d756c7469706c69657201006d0340000064a7b3b6e00d0000000000000000003853746f7261676556657273696f6e0100710304000000019804604f7065726174696f6e616c4665654d756c7469706c696572080405545901204120666565206d756c7469706c69657220666f7220604f7065726174696f6e616c602065787472696e7369637320746f20636f6d7075746520227669727475616c207469702220746f20626f6f73742074686569722c20607072696f726974796000510120546869732076616c7565206973206d756c7469706c69656420627920746865206066696e616c5f6665656020746f206f627461696e206120227669727475616c20746970222074686174206973206c61746572f420616464656420746f20612074697020636f6d706f6e656e7420696e20726567756c617220607072696f72697479602063616c63756c6174696f6e732e4d01204974206d65616e732074686174206120604e6f726d616c60207472616e73616374696f6e2063616e2066726f6e742d72756e20612073696d696c61726c792d73697a656420604f7065726174696f6e616c6041012065787472696e736963202877697468206e6f20746970292c20627920696e636c7564696e672061207469702076616c75652067726561746572207468616e20746865207669727475616c207469702e003c20606060727573742c69676e6f726540202f2f20466f7220604e6f726d616c608c206c6574207072696f72697479203d207072696f726974795f63616c6328746970293b0054202f2f20466f7220604f7065726174696f6e616c601101206c6574207669727475616c5f746970203d2028696e636c7573696f6e5f666565202b2074697029202a204f7065726174696f6e616c4665654d756c7469706c6965723bc4206c6574207072696f72697479203d207072696f726974795f63616c6328746970202b207669727475616c5f746970293b1020606060005101204e6f746520746861742073696e636520776520757365206066696e616c5f6665656020746865206d756c7469706c696572206170706c69657320616c736f20746f2074686520726567756c61722060746970605d012073656e74207769746820746865207472616e73616374696f6e2e20536f2c206e6f74206f6e6c7920646f657320746865207472616e73616374696f6e206765742061207072696f726974792062756d702062617365646101206f6e207468652060696e636c7573696f6e5f666565602c2062757420776520616c736f20616d706c6966792074686520696d70616374206f662074697073206170706c69656420746f20604f7065726174696f6e616c6038207472616e73616374696f6e732e0020384f6e6573686f744163636f756e7401384f6e6573686f744163636f756e74043c4f6e6573686f744163636f756e7473000104020018040000011102019c00017503071451756f7461011451756f746108244964747951756f74610001040510790304000474206d617073206964656e7469747920696e64657820746f2071756f74612c526566756e64517565756501007d030400046020666565732077616974696e6720666f7220726566756e640001a80434526566756e644163636f756e7400806d6f646c70792f74727372790000000000000000000000000000000000000000046c204163636f756e74207573656420746f20726566756e6420666565004230536d6974684d656d626572730130536d6974684d656d626572730c18536d697468730001040510890304000490206d617073206964656e7469747920696e64657820746f20736d6974682073746174757324457870697265734f6e0001040510b4040004b8206d6170732073657373696f6e20696e64657820746f20706f737369626c6520736d6974682072656d6f76616c733843757272656e7453657373696f6e010010100000000004842073746f726573207468652063757272656e742073657373696f6e20696e64657801190201ac0c2c4d6178427949737375657210100f00000004c8204d6178696d756d206e756d626572206f66206163746976652063657274696669636174696f6e7320627920697373756572504d696e43657274466f724d656d6265727368697010100200000004cc204d696e696d756d206e756d626572206f662063657274696669636174696f6e7320746f206265636f6d65206120536d69746868536d697468496e61637469766974794d61784475726174696f6e10105001000004e4204d6178696d756d206475726174696f6e206f6620696e6163746976697479206265666f7265206120736d6974682069732072656d6f7665640191030a40417574686f726974794d656d626572730140417574686f726974794d656d62657273144c496e636f6d696e67417574686f7269746965730100b404000468206c69737420696e636f6d696e6720617574686f726974696573444f6e6c696e65417574686f7269746965730100b404000460206c697374206f6e6c696e6520617574686f7269746965734c4f7574676f696e67417574686f7269746965730100b404000468206c697374206f7574676f696e6720617574686f7269746965731c4d656d626572730001040510950304000478206d617073206d656d62657220696420746f206d656d626572206461746124426c61636b6c6973740100b4040000011d0201b004384d6178417574686f7269746965731010200000000488204d6178206e756d626572206f6620617574686f72697469657320616c6c6f7765640199030b28417574686f72736869700128417574686f72736869700418417574686f720000000400046420417574686f72206f662063757272656e7420626c6f636b2e000000000c204f6666656e63657301204f6666656e636573081c5265706f727473000104052c9d03040004490120546865207072696d61727920737472756374757265207468617420686f6c647320616c6c206f6666656e6365207265636f726473206b65796564206279207265706f7274206964656e746966696572732e58436f6e63757272656e745265706f727473496e6465780101080505a1035d010400042901204120766563746f72206f66207265706f727473206f66207468652073616d65206b696e6420746861742068617070656e6564206174207468652073616d652074696d6520736c6f742e0001b800000d28486973746f726963616c0128486973746f726963616c0848486973746f726963616c53657373696f6e730001040510a5030400045d01204d617070696e672066726f6d20686973746f726963616c2073657373696f6e20696e646963657320746f2073657373696f6e2d6461746120726f6f74206861736820616e642076616c696461746f7220636f756e742e2c53746f72656452616e6765000080040004e4205468652072616e6765206f6620686973746f726963616c2073657373696f6e732077652073746f72652e205b66697273742c206c61737429000000000e1c53657373696f6e011c53657373696f6e1c2856616c696461746f727301007d020400047c205468652063757272656e7420736574206f662076616c696461746f72732e3043757272656e74496e646578010010100000000004782043757272656e7420696e646578206f66207468652073657373696f6e2e345175657565644368616e676564010074040008390120547275652069662074686520756e6465726c79696e672065636f6e6f6d6963206964656e746974696573206f7220776569676874696e6720626568696e64207468652076616c696461746f7273a420686173206368616e67656420696e20746865207175657565642076616c696461746f72207365742e285175657565644b6579730100a9030400083d012054686520717565756564206b65797320666f7220746865206e6578742073657373696f6e2e205768656e20746865206e6578742073657373696f6e20626567696e732c207468657365206b657973e02077696c6c206265207573656420746f2064657465726d696e65207468652076616c696461746f7227732073657373696f6e206b6579732e4844697361626c656456616c696461746f72730100b40400148020496e6469636573206f662064697361626c65642076616c696461746f72732e003d01205468652076656320697320616c77617973206b65707420736f7274656420736f20746861742077652063616e2066696e642077686574686572206120676976656e2076616c696461746f722069733d012064697361626c6564207573696e672062696e617279207365617263682e204974206765747320636c6561726564207768656e20606f6e5f73657373696f6e5f656e64696e67602072657475726e73642061206e657720736574206f66206964656e7469746965732e204e6578744b657973000104050021020400049c20546865206e6578742073657373696f6e206b65797320666f7220612076616c696461746f722e204b65794f776e657200010405b10300040004090120546865206f776e6572206f662061206b65792e20546865206b65792069732074686520604b657954797065496460202b2074686520656e636f646564206b65792e01290201c00001b9030f1c4772616e647061011c4772616e6470611c1453746174650100bd0304000490205374617465206f66207468652063757272656e7420617574686f72697479207365742e3450656e64696e674368616e67650000c103040004c42050656e64696e67206368616e67653a20287369676e616c65642061742c207363686564756c6564206368616e6765292e284e657874466f72636564000010040004bc206e65787420626c6f636b206e756d6265722077686572652077652063616e20666f7263652061206368616e67652e1c5374616c6c65640000800400049020607472756560206966207765206172652063757272656e746c79207374616c6c65642e3043757272656e745365744964010018200000000000000000085d0120546865206e756d626572206f66206368616e6765732028626f746820696e207465726d73206f66206b65797320616e6420756e6465726c79696e672065636f6e6f6d696320726573706f6e736962696c697469657329c420696e20746865202273657422206f66204772616e6470612076616c696461746f72732066726f6d2067656e657369732e30536574496453657373696f6e00010405181004002859012041206d617070696e672066726f6d206772616e6470612073657420494420746f2074686520696e646578206f6620746865202a6d6f737420726563656e742a2073657373696f6e20666f722077686963682069747368206d656d62657273207765726520726573706f6e7369626c652e0045012054686973206973206f6e6c79207573656420666f722076616c69646174696e672065717569766f636174696f6e2070726f6f66732e20416e2065717569766f636174696f6e2070726f6f66206d7573744d0120636f6e7461696e732061206b65792d6f776e6572736869702070726f6f6620666f72206120676976656e2073657373696f6e2c207468657265666f7265207765206e65656420612077617920746f20746965450120746f6765746865722073657373696f6e7320616e64204752414e44504120736574206964732c20692e652e207765206e65656420746f2076616c6964617465207468617420612076616c696461746f7241012077617320746865206f776e6572206f66206120676976656e206b6579206f6e206120676976656e2073657373696f6e2c20616e642077686174207468652061637469766520736574204944207761735420647572696e6720746861742073657373696f6e2e00b82054574f582d4e4f54453a2060536574496460206973206e6f7420756e646572207573657220636f6e74726f6c2e2c417574686f7269746965730100c50304000484205468652063757272656e74206c697374206f6620617574686f7269746965732e012d0201c40c384d6178417574686f726974696573101020000000045c204d617820417574686f72697469657320696e20757365344d61784e6f6d696e61746f727310104000000004d420546865206d6178696d756d206e756d626572206f66206e6f6d696e61746f727320666f7220656163682076616c696461746f722e584d6178536574496453657373696f6e456e74726965731820e80300000000000018390120546865206d6178696d756d206e756d626572206f6620656e747269657320746f206b65657020696e207468652073657420696420746f2073657373696f6e20696e646578206d617070696e672e0031012053696e6365207468652060536574496453657373696f6e60206d6170206973206f6e6c79207573656420666f722076616c69646174696e672065717569766f636174696f6e73207468697329012076616c75652073686f756c642072656c61746520746f2074686520626f6e64696e67206475726174696f6e206f66207768617465766572207374616b696e672073797374656d2069733501206265696e6720757365642028696620616e79292e2049662065717569766f636174696f6e2068616e646c696e67206973206e6f7420656e61626c6564207468656e20746869732076616c7565342063616e206265207a65726f2e01c9031020496d4f6e6c696e650120496d4f6e6c696e651038486561727462656174416674657201001010000000002c1d012054686520626c6f636b206e756d6265722061667465722077686963682069742773206f6b20746f2073656e64206865617274626561747320696e207468652063757272656e74242073657373696f6e2e0025012041742074686520626567696e6e696e67206f6620656163682073657373696f6e20776520736574207468697320746f20612076616c756520746861742073686f756c642066616c6c350120726f7567686c7920696e20746865206d6964646c65206f66207468652073657373696f6e206475726174696f6e2e20546865206964656120697320746f206669727374207761697420666f721901207468652076616c696461746f727320746f2070726f64756365206120626c6f636b20696e207468652063757272656e742073657373696f6e2c20736f207468617420746865a820686561727462656174206c61746572206f6e2077696c6c206e6f74206265206e65636573736172792e00390120546869732076616c75652077696c6c206f6e6c79206265207573656420617320612066616c6c6261636b206966207765206661696c20746f2067657420612070726f7065722073657373696f6e2d012070726f677265737320657374696d6174652066726f6d20604e65787453657373696f6e526f746174696f6e602c2061732074686f736520657374696d617465732073686f756c642062650101206d6f7265206163637572617465207468656e207468652076616c75652077652063616c63756c61746520666f7220604865617274626561744166746572602e104b6579730100cd03040004d0205468652063757272656e7420736574206f66206b6579732074686174206d61792069737375652061206865617274626561742e4852656365697665644865617274626561747300010805058074040004350120466f7220656163682073657373696f6e20696e6465782c207765206b6565702061206d617070696e67206f66206053657373696f6e496e6465786020616e64206041757468496e646578602e38417574686f726564426c6f636b730101080505d50310100000000008150120466f7220656163682073657373696f6e20696e6465782c207765206b6565702061206d617070696e67206f66206056616c696461746f7249643c543e6020746f20746865c8206e756d626572206f6620626c6f636b7320617574686f7265642062792074686520676976656e20617574686f726974792e015d0201d80440556e7369676e65645072696f726974791820ffffffffffffffff10f0204120636f6e66696775726174696f6e20666f722062617365207072696f72697479206f6620756e7369676e6564207472616e73616374696f6e732e0015012054686973206973206578706f73656420736f20746861742069742063616e2062652074756e656420666f7220706172746963756c61722072756e74696d652c207768656eb4206d756c7469706c652070616c6c6574732073656e6420756e7369676e6564207472616e73616374696f6e732e01d9031148417574686f72697479446973636f766572790148417574686f72697479446973636f7665727908104b6579730100dd030400048c204b657973206f66207468652063757272656e7420617574686f72697479207365742e204e6578744b6579730100dd0304000480204b657973206f6620746865206e65787420617574686f72697479207365742e0000000012105375646f01105375646f040c4b6579000000040004842054686520604163636f756e74496460206f6620746865207375646f206b65792e016d0201f00001e5031434557067726164654f726967696e0001710201f800001520507265696d6167650120507265696d6167650c24537461747573466f72000104062ce9030400049020546865207265717565737420737461747573206f66206120676976656e20686173682e4052657175657374537461747573466f72000104062ced030400049020546865207265717565737420737461747573206f66206120676976656e20686173682e2c507265696d616765466f7200010406a503f90304000001750201fc0001fd031648546563686e6963616c436f6d6d69747465650148546563686e6963616c436f6d6d6974746565182450726f706f73616c7301000104040004902054686520686173686573206f6620746865206163746976652070726f706f73616c732e2850726f706f73616c4f66000104062ccd01040004cc2041637475616c2070726f706f73616c20666f72206120676976656e20686173682c20696620697427732063757272656e742e18566f74696e67000104062c0504040004b420566f746573206f6e206120676976656e2070726f706f73616c2c206966206974206973206f6e676f696e672e3450726f706f73616c436f756e74010010100000000004482050726f706f73616c7320736f206661722e1c4d656d6265727301007d020400043901205468652063757272656e74206d656d62657273206f662074686520636f6c6c6563746976652e20546869732069732073746f72656420736f7274656420286a7573742062792076616c7565292e145072696d65000000040004650120546865207072696d65206d656d62657220746861742068656c70732064657465726d696e65207468652064656661756c7420766f7465206265686176696f7220696e2063617365206f6620616273656e746174696f6e732e01790201010104444d617850726f706f73616c5765696768742428070010a5d4e80200a00004250120546865206d6178696d756d20776569676874206f6620612064697370617463682063616c6c20746861742063616e2062652070726f706f73656420616e642065786563757465642e0109041744556e6976657273616c4469766964656e640144556e6976657273616c4469766964656e64182443757272656e74556401001820000000000000000004482043757272656e7420554420616d6f756e743843757272656e745564496e6465780100090108010004442043757272656e7420554420696e646578304d6f6e65746172794d61737301001820000000000000000004d50120546f74616c207175616e74697479206f66206d6f6e6579206372656174656420627920756e6976657273616c206469766964656e642028646f6573206e6f742074616b6520696e746f206163636f756e742074686520706f737369626c65206465737472756374696f6e206f66206d6f6e657929284e65787452656576616c00001804000454204e6578742055442072656576616c756174696f6e184e657874556400001804000444204e657874205544206372656174696f6e2c5061737452656576616c7301000d040400045820506173742055442072656576616c756174696f6e7301810201050114344d61785061737452656576616c1010a000000004ec204d6178696d756d206e756d626572206f66207061737420554420726576616c756174696f6e7320746f206b65657020696e2073746f726167652e545371756172654d6f6e657947726f77746852617465a902108056240004ec20537175617265206f6620746865206d6f6e65792067726f7774682072617465207065722075642072656576616c756174696f6e20706572696f644055644372656174696f6e506572696f64182000badb000000000004a020556e6976657273616c206469766964656e64206372656174696f6e20706572696f6420286d732938556452656576616c506572696f641820005c26050000000004b020556e6976657273616c206469766964656e642072656576616c756174696f6e20706572696f6420286d732928556e69747350657255641820e8030000000000000c150120546865206e756d626572206f6620756e69747320746f206469766964652074686520616d6f756e74732065787072657373656420696e206e756d626572206f66205544735501204578616d706c653a20496620796f75207769736820746f20657870726573732074686520554420616d6f756e747320776974682061206d6178696d756d20707265636973696f6e206f6620746865206f7264657270206f6620746865206d696c6c6955442c2063686f6f736520313030300119041e0c576f740000000c3c46697273744973737561626c654f6e10100000000000504d696e43657274466f724d656d6265727368697010100300000000644d696e43657274466f7243726561746549647479526967687410100300000000011d0428204964656e7469747901204964656e7469747918284964656e7469746965730001040510210404000498206d617073206964656e7469747920696e64657820746f206964656e746974792076616c756550436f756e746572466f724964656e746974696573010010100000000004ac436f756e74657220666f72207468652072656c6174656420636f756e7465642073746f72616765206d61703c4964656e74697479496e6465784f6600010402001004000488206d617073206163636f756e7420696420746f206964656e7469747920696e6465783c4964656e7469746965734e616d657300010402110110040004d0206d617073206964656e74697479206e616d6520746f206964656e7469747920696e646578202873696d706c7920612073657429344e65787449647479496e646578010010100000000004ec20636f756e746572206f6620746865206964656e7469747920696e64657820746f206769766520746f20746865206e657874206964656e74697479584964656e746974794368616e67655363686564756c650101040510b40400042d01206d61707320626c6f636b206e756d62657220746f20746865206c697374206f66206964656e7469746965732073657420746f2062652072656d6f766564206174207468697320626c6f63018502010d011834436f6e6669726d506572696f6410104038000004f020506572696f6420647572696e6720776869636820746865206f776e65722063616e20636f6e6669726d20746865206e6577206964656e746974792e4056616c69646174696f6e506572696f64101038600d0004190120506572696f64206265666f726520776869636820746865206964656e746974792068617320746f2062652076616c69646174656420286265636f6d65206d656d626572292e504175746f7265766f636174696f6e506572696f6410105041500004390120506572696f64206265666f726520776869636820616e206964656e746974792077686f206c6f7374206d656d62657273686970206973206175746f6d61746963616c6c79207265766f6b65642e3844656c6574696f6e506572696f641010208d220304250120506572696f642061667465722077686963682061207265766f6b6564206964656e746974792069732072656d6f76656420616e6420746865206b657973206172652066726565642e504368616e67654f776e65724b6579506572696f641010c089010004c0204d696e696d756d206475726174696f6e206265747765656e2074776f206f776e6572206b6579206368616e6765732e48496474794372656174696f6e506572696f64101040380000042d01204d696e696d756d206475726174696f6e206265747765656e20746865206372656174696f6e206f662032206964656e746974696573206279207468652073616d652063726561746f722e01350429284d656d6265727368697001284d656d626572736869700c284d656d626572736869700001040510390404000490206d617073206964656e7469747920696420746f206d656d62657273686970206461746150436f756e746572466f724d656d62657273686970010010100000000004ac436f756e74657220666f72207468652072656c6174656420636f756e7465642073746f72616765206d61704c4d656d62657273686970734578706972654f6e0101040510b40400042501206d61707320626c6f636b206e756d62657220746f20746865206c697374206f66206964656e746974792069642073657420746f20657870697265206174207468697320626c6f636b00011d0108404d656d62657273686970506572696f641010400a100004fc204d6178696d756d206c696665207370616e206f6620612073696e676c65206d656d626572736869702028696e206e756d626572206f6620626c6f636b73295c4d656d6265727368697052656e6577616c506572696f6410104038000004c4204d696e696d756d2064656c617920746f2077616974206265666f72652072656e6577696e67206d656d62657273686970013d042a3443657274696669636174696f6e013443657274696669636174696f6e0c4c53746f7261676549647479436572744d657461010104051041043000000000000000000000000004842043657274696669636174696f6e73206d6574616461206279206973737565722e3c43657274734279526563656976657201010405106101040004702043657274696669636174696f6e732062792072656365697665722e40436572747352656d6f7661626c654f6e00010405106101040004742043657274696669636174696f6e732072656d6f7661626c65206f6e2e019902012501102843657274506572696f64101040380000041d01204d696e696d756d206475726174696f6e206265747765656e2074776f2063657274696669636174696f6e7320697373756564206279207468652073616d65206973737565722e2c4d6178427949737375657210106400000004cc204d6178696d756d206e756d626572206f66206163746976652063657274696669636174696f6e73206279206973737565722e884d696e526563656976656443657274546f426541626c65546f497373756543657274101003000000044901204d696e696d756d206e756d626572206f662063657274696669636174696f6e7320726563656976656420746f20626520616c6c6f77656420746f20697373756520612063657274696669636174696f6e2e3856616c6964697479506572696f6410108014200004a4204475726174696f6e206f662076616c6964697479206f6620612063657274696669636174696f6e2e0145042b2044697374616e6365012044697374616e6365183c4576616c756174696f6e506f6f6c300100490408000004a8204964656e7469746965732071756575656420666f722064697374616e6365206576616c756174696f6e3c4576616c756174696f6e506f6f6c310100490408000004a8204964656e7469746965732071756575656420666f722064697374616e6365206576616c756174696f6e3c4576616c756174696f6e506f6f6c320100490408000004a8204964656e7469746965732071756575656420666f722064697374616e6365206576616c756174696f6e3c4576616c756174696f6e426c6f636b01002c80000000000000000000000000000000000000000000000000000000000000000004c820426c6f636b20666f72207768696368207468652064697374616e63652072756c65206d75737420626520636865636b65646050656e64696e674576616c756174696f6e52657175657374000104051000040010782050656e64696e67206576616c756174696f6e207265717565737465727300f0206163636f756e742077686f2072657175657374656420616e206576616c756174696f6e20616e64207265736572766564207468652070726963652c4901202020666f722077686f6d207468652070726963652077696c6c20626520756e7265736572766564206f7220736c6173686564207768656e20746865206576616c756174696f6e20636f6d706c657465732e24446964557064617465010074040004a820446964206576616c756174696f6e20676574207570646174656420696e207468697320626c6f636b3f019d020129010c3c4576616c756174696f6e50726963651820e803000000000000048820416d6f756e7420726573657276656420647572696e67206576616c756174696f6e484d61785265666572656544697374616e636510100500000008e0204d6178696d756d2064697374616e6365207573656420746f20646566696e6520726566657265652773206163636573736962696c697479dc20556e757365642062792072756e74696d6520627574206e656564656420627920636c69656e742064697374616e6365206f7261636c65544d696e41636365737369626c655265666572656573a902100008af2f0494204d696e696d756d20726174696f206f662061636365737369626c652072656665726565730171042c2841746f6d696353776170012841746f6d696353776170043050656e64696e67537761707300010805027504310104000001ad02012d01042850726f6f664c696d69741010000400002854204c696d6974206f662070726f6f662073697a652e0059012041746f6d69632073776170206973206f6e6c792061746f6d6963206966206f6e6365207468652070726f6f662069732072657665616c65642c20626f746820706172746965732063616e207375626d69742074686565012070726f6f6673206f6e2d636861696e2e204966204120697320746865206f6e6520746861742067656e657261746573207468652070726f6f662c207468656e2069742072657175697265732074686174206569746865723a1101202d2041277320626c6f636b636861696e20686173207468652073616d652070726f6f66206c656e677468206c696d69742061732042277320626c6f636b636861696e2e1901202d204f722041277320626c6f636b636861696e206861732073686f727465722070726f6f66206c656e677468206c696d69742061732042277320626c6f636b636861696e2e005501204966204220736565732041206973206f6e206120626c6f636b636861696e2077697468206c61726765722070726f6f66206c656e677468206c696d69742c207468656e2069742073686f756c64206b696e646c794d012072656675736520746f20616363657074207468652061746f6d69632073776170207265717565737420696620412067656e657261746573207468652070726f6f662c20616e642061736b7320746861742042742067656e657261746573207468652070726f6f6620696e73746561642e01790432204d756c746973696701204d756c746973696704244d756c746973696773000108050275047d04040004942054686520736574206f66206f70656e206d756c7469736967206f7065726174696f6e732e01b1020139010c2c4465706f736974426173651820640000000000000018590120546865206261736520616d6f756e74206f662063757272656e6379206e656564656420746f207265736572766520666f72206372656174696e672061206d756c746973696720657865637574696f6e206f7220746f842073746f726520612064697370617463682063616c6c20666f72206c617465722e00010120546869732069732068656c6420666f7220616e206164646974696f6e616c2073746f72616765206974656d2077686f73652076616c75652073697a652069733101206034202b2073697a656f662828426c6f636b4e756d6265722c2042616c616e63652c204163636f756e74496429296020627974657320616e642077686f7365206b65792073697a652069738020603332202b2073697a656f66284163636f756e74496429602062797465732e344465706f736974466163746f72182020000000000000000c55012054686520616d6f756e74206f662063757272656e6379206e65656465642070657220756e6974207468726573686f6c64207768656e206372656174696e672061206d756c746973696720657865637574696f6e2e00250120546869732069732068656c6420666f7220616464696e67203332206279746573206d6f726520696e746f2061207072652d6578697374696e672073746f726167652076616c75652e384d61785369676e61746f7269657310100a00000004ec20546865206d6178696d756d20616d6f756e74206f66207369676e61746f7269657320616c6c6f77656420696e20746865206d756c74697369672e018504334450726f7669646552616e646f6d6e657373014450726f7669646552616e646f6d6e65737318384e657845706f6368486f6f6b496e0100080400004452657175657374496450726f766964657201001820000000000000000000605265717565737473526561647941744e657874426c6f636b010089040400005052657175657374735265616479417445706f6368010104051889040400002c526571756573747349647300010405188c04000054436f756e746572466f725265717565737473496473010010100000000004ac436f756e74657220666f72207468652072656c6174656420636f756e7465642073746f72616765206d617001b902014101082c4d6178526571756573747310106400000004a8204d6178696d756d206e756d626572206f66206e6f74207965742066696c6c6564207265717565737473305265717565737450726963651820d007000000000000045c20546865207072696365206f6620612072657175657374019104341450726f7879011450726f7879081c50726f7869657301010405009504240000000000000000000845012054686520736574206f66206163636f756e742070726f786965732e204d61707320746865206163636f756e74207768696368206861732064656c65676174656420746f20746865206163636f756e7473210120776869636820617265206265696e672064656c65676174656420746f2c20746f67657468657220776974682074686520616d6f756e742068656c64206f6e206465706f7369742e34416e6e6f756e63656d656e74730101040500a5042400000000000000000004ac2054686520616e6e6f756e63656d656e7473206d616465206279207468652070726f787920286b6579292e01bd02014901184050726f78794465706f7369744261736518206c0000000000000010110120546865206261736520616d6f756e74206f662063757272656e6379206e656564656420746f207265736572766520666f72206372656174696e6720612070726f78792e00010120546869732069732068656c6420666f7220616e206164646974696f6e616c2073746f72616765206974656d2077686f73652076616c75652073697a652069732501206073697a656f662842616c616e6365296020627974657320616e642077686f7365206b65792073697a65206973206073697a656f66284163636f756e74496429602062797465732e4850726f78794465706f736974466163746f721820210000000000000014bc2054686520616d6f756e74206f662063757272656e6379206e6565646564207065722070726f78792061646465642e00350120546869732069732068656c6420666f7220616464696e6720333220627974657320706c757320616e20696e7374616e6365206f66206050726f78795479706560206d6f726520696e746f20616101207072652d6578697374696e672073746f726167652076616c75652e20546875732c207768656e20636f6e6669677572696e67206050726f78794465706f736974466163746f7260206f6e652073686f756c642074616b65f420696e746f206163636f756e7420603332202b2070726f78795f747970652e656e636f646528292e6c656e282960206279746573206f6620646174612e284d617850726f7869657310102000000004f020546865206d6178696d756d20616d6f756e74206f662070726f7869657320616c6c6f77656420666f7220612073696e676c65206163636f756e742e284d617850656e64696e6710102000000004450120546865206d6178696d756d20616d6f756e74206f662074696d652d64656c6179656420616e6e6f756e63656d656e747320746861742061726520616c6c6f77656420746f2062652070656e64696e672e5c416e6e6f756e63656d656e744465706f7369744261736518206c0000000000000010310120546865206261736520616d6f756e74206f662063757272656e6379206e656564656420746f207265736572766520666f72206372656174696e6720616e20616e6e6f756e63656d656e742e00490120546869732069732068656c64207768656e2061206e65772073746f72616765206974656d20686f6c64696e672061206042616c616e636560206973206372656174656420287479706963616c6c7920313620206279746573292e64416e6e6f756e63656d656e744465706f736974466163746f721820420000000000000010d42054686520616d6f756e74206f662063757272656e6379206e65656465642070657220616e6e6f756e63656d656e74206d6164652e00590120546869732069732068656c6420666f7220616464696e6720616e20604163636f756e744964602c2060486173686020616e642060426c6f636b4e756d6265726020287479706963616c6c79203638206279746573298c20696e746f2061207072652d6578697374696e672073746f726167652076616c75652e01b504351c5574696c6974790001c502015101044c626174636865645f63616c6c735f6c696d69741010aa2a000004a820546865206c696d6974206f6e20746865206e756d626572206f6620626174636865642063616c6c732e01b9043620547265617375727901205472656173757279183450726f706f73616c436f756e74010010100000000004a4204e756d626572206f662070726f706f73616c7320746861742068617665206265656e206d6164652e2450726f706f73616c730001040510bd040400047c2050726f706f73616c7320746861742068617665206265656e206d6164652e2c446561637469766174656401001820000000000000000004f02054686520616d6f756e7420776869636820686173206265656e207265706f7274656420617320696e61637469766520746f2043757272656e63792e24417070726f76616c730100c104040004f82050726f706f73616c20696e646963657320746861742068617665206265656e20617070726f76656420627574206e6f742079657420617761726465642e285370656e64436f756e74010010100000000004a42054686520636f756e74206f66207370656e647320746861742068617665206265656e206d6164652e185370656e64730001040510c504040004d0205370656e647320746861742068617665206265656e20617070726f76656420616e64206265696e672070726f6365737365642e01dd02015501203050726f706f73616c426f6e64cd041010270000085501204672616374696f6e206f6620612070726f706f73616c27732076616c756520746861742073686f756c6420626520626f6e64656420696e206f7264657220746f20706c616365207468652070726f706f73616c2e110120416e2061636365707465642070726f706f73616c2067657473207468657365206261636b2e20412072656a65637465642070726f706f73616c20646f6573206e6f742e4c50726f706f73616c426f6e644d696e696d756d18201027000000000000044901204d696e696d756d20616d6f756e74206f662066756e647320746861742073686f756c6420626520706c6163656420696e2061206465706f73697420666f72206d616b696e6720612070726f706f73616c2e4c50726f706f73616c426f6e644d6178696d756dd1040400044901204d6178696d756d20616d6f756e74206f662066756e647320746861742073686f756c6420626520706c6163656420696e2061206465706f73697420666f72206d616b696e6720612070726f706f73616c2e2c5370656e64506572696f64101040380000048820506572696f64206265747765656e2073756363657373697665207370656e64732e104275726ecd0410000000000411012050657263656e74616765206f662073706172652066756e64732028696620616e7929207468617420617265206275726e7420706572207370656e6420706572696f642e2050616c6c65744964d5042070792f74727372790419012054686520747265617375727927732070616c6c65742069642c207573656420666f72206465726976696e672069747320736f7665726569676e206163636f756e742049442e304d6178417070726f76616c731010640000000c150120546865206d6178696d756d206e756d626572206f6620617070726f76616c7320746861742063616e207761697420696e20746865207370656e64696e672071756575652e004d01204e4f54453a205468697320706172616d6574657220697320616c736f20757365642077697468696e2074686520426f756e746965732050616c6c657420657874656e73696f6e20696620656e61626c65642e305061796f7574506572696f6410100a0000000419012054686520706572696f6420647572696e6720776869636820616e20617070726f766564207472656173757279207370656e642068617320746f20626520636c61696d65642e01d90437dd04042048436865636b4e6f6e5a65726f53656e646572e5048c40436865636b5370656356657273696f6ee9041038436865636b547856657273696f6eed041030436865636b47656e65736973f1042c38436865636b4d6f7274616c697479f5042c28436865636b4e6f6e6365fd048c2c436865636b57656967687409058c604368617267655472616e73616374696f6e5061796d656e740d058c0105","id":"1"} \ No newline at end of file diff --git a/src/interfaces/types.ts b/src/interfaces/types.ts index deaa5c34d971ec5f746b59394e87990cfb47b182..dfecb1f8d957ef3e9b28f4d2ee72b5aef82d1e84 100644 --- a/src/interfaces/types.ts +++ b/src/interfaces/types.ts @@ -1,2 +1,3 @@ // Auto-generated via `yarn polkadot-types-from-defs`, do not edit /* eslint-disable */ + diff --git a/src/manifest.json b/src/manifest.json index aa2453c7f4f8986a99115e6551b9fd28a07669ed..daf6d7fd13fa6f7b6115e8775d09c8bdb34690bb 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -2,7 +2,7 @@ "short_name": "Cesium", "name": "Cesium2", "manifest_version": 2, - "version": "2.0.0-alpha38", + "version": "2.0.0-alpha40", "default_locale": "fr", "description": "Cesium Wallet for Ğ1 libre currency", "icons": [ diff --git a/src/theme/_cesium.scss b/src/theme/_cesium.scss index 71689940af7dd85c9e9d0885a6c017eb9b742605..a1f3690755e9c6f8884ae91de42f9e645add2aa6 100644 --- a/src/theme/_cesium.scss +++ b/src/theme/_cesium.scss @@ -57,6 +57,8 @@ ion-list { --border-radius: 5px !important; --border-width: 1px !important; --border-color: var(--ion-color-step-150) !important; + overflow: hidden; + border: var(--border-width, 1px) solid var(--border-color, grey); } a { @@ -87,7 +89,12 @@ ion-list { .text-italic { font-style: italic; } - +.text-bold { + font-weight: bold; +} +.text-help { + color: var(--ion-color-step-700) !important; +} .barcode-scanner-square { position: absolute; z-index: 99999; @@ -107,3 +114,13 @@ ion-list { .searchbar-input.sc-ion-searchbar-md:placeholder-shown { text-overflow: ellipsis; } + +/* -- icons --*/ + +ion-icon.icon-secondary { + position: absolute; + opacity: 1; + font-size: 16px; + left: 8px; + top: -2px; +} diff --git a/src/theme/_variables.scss b/src/theme/_variables.scss index fe785e219cb2187f6817adca28eebba07700d533..337644ea992cb8a496486c5628ece0c191bf8a0a 100644 --- a/src/theme/_variables.scss +++ b/src/theme/_variables.scss @@ -3,6 +3,26 @@ /** Ionic CSS Variables **/ :root { @include css-variables-to-root(); + + --ion-color-step-50: #f3f3f3; + --ion-color-step-100: #e7e7e7; + --ion-color-step-150: #dbdbdb; + --ion-color-step-200: #d0d0d0; + --ion-color-step-250: #c4c4c4; + --ion-color-step-300: #b8b8b8; + --ion-color-step-350: #acacac; + --ion-color-step-400: #a0a0a0; + --ion-color-step-450: #949494; + --ion-color-step-500: #898989; + --ion-color-step-550: #7d7d7d; + --ion-color-step-600: #717171; + --ion-color-step-650: #656565; + --ion-color-step-700: #595959; + --ion-color-step-750: #4d4d4d; + --ion-color-step-800: #414141; + --ion-color-step-850: #363636; + --ion-color-step-900: #2a2a2a; + --ion-color-step-950: #1e1e1e; } /*